kopia lustrzana https://github.com/bugout-dev/moonworm
Black formatting
rodzic
82fd462c34
commit
d48434a2ee
|
@ -926,7 +926,11 @@ def generate_brownie_cli(
|
||||||
overloaded_functions = get_overloaded_functions(abi)
|
overloaded_functions = get_overloaded_functions(abi)
|
||||||
handlers.extend(
|
handlers.extend(
|
||||||
[
|
[
|
||||||
generate_cli_handler(function_abi, contract_name, function_abi.get("name") in overloaded_functions)
|
generate_cli_handler(
|
||||||
|
function_abi,
|
||||||
|
contract_name,
|
||||||
|
function_abi.get("name") in overloaded_functions,
|
||||||
|
)
|
||||||
for function_abi in abi
|
for function_abi in abi
|
||||||
if function_abi.get("type") == "function"
|
if function_abi.get("type") == "function"
|
||||||
and function_abi.get("name") is not None
|
and function_abi.get("name") is not None
|
||||||
|
|
Ładowanie…
Reference in New Issue