Skip to content

Commit 0e06e21

Browse files
committed
removed unused parameters
1 parent da0124e commit 0e06e21

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

tronapi/contract.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
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
1919
from tronapi.base.datatypes import PropertyCheckingFactory
2020
from tronapi.base.decorators import (
2121
combomethod,
@@ -30,11 +30,10 @@
3030
from 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

4039
class NonExistentFallbackFunction:
@@ -47,11 +46,7 @@ def __getattr__(self, attr):
4746

4847

4948
class 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

0 commit comments

Comments
 (0)