File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 1313 merge_args_and_kwargs ,
1414 abi_to_signature ,
1515 fallback_func_abi_exists ,
16- check_if_arguments_can_be_encoded ,
17- get_constructor_abi )
18- from tronapi .base .contracts import find_matching_fn_abi , encode_abi
16+ check_if_arguments_can_be_encoded
17+ )
18+ from tronapi .base .contracts import find_matching_fn_abi
1919from tronapi .base .datatypes import PropertyCheckingFactory
2020from tronapi .base .decorators import (
2121 combomethod ,
3030from tronapi .exceptions import (
3131 NoABIFunctionsFound ,
3232 MismatchedABI ,
33- InvalidAddress ,
3433 FallbackNotFound
3534)
36- from tronapi .utils .hexadecimal import encode_hex , add_0x_prefix
37- from tronapi .utils .types import is_text , is_integer
35+ from tronapi .utils .hexadecimal import encode_hex
36+ from tronapi .utils .types import is_text
3837
3938
4039class NonExistentFallbackFunction :
@@ -47,11 +46,7 @@ def __getattr__(self, attr):
4746
4847
4948class ContractFunction :
50- """Base class for contract functions
51-
52- A function accessed via the api contract.functions.myMethod(*args, **kwargs)
53- is a subclass of this class.
54- """
49+ """Base class for contract functions"""
5550 address = None
5651 function_identifier = None
5752 tron = None
You can’t perform that action at this time.
0 commit comments