File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
22
)
23
23
from eth_typing import (
24
24
ABI ,
25
+ ABIComponent ,
26
+ ABIComponentIndexed ,
25
27
ABIElement ,
26
28
ABIEvent ,
27
29
ABIFunction ,
@@ -218,7 +220,7 @@ def anonymous(self) -> Optional[bool]:
218
220
return self .abi .get ("anonymous" )
219
221
220
222
@property
221
- def inputs (self ) -> Optional [List ]:
223
+ def inputs (self ) -> Optional [Sequence [ "ABIComponentIndexed" ] ]:
222
224
return self .abi .get ("inputs" )
223
225
224
226
@combomethod
@@ -617,11 +619,11 @@ def type(self) -> str:
617
619
return "function"
618
620
619
621
@property
620
- def inputs (self ) -> Optional [List ]:
622
+ def inputs (self ) -> Optional [Sequence [ "ABIComponent" ] ]:
621
623
return self .abi .get ("inputs" )
622
624
623
625
@property
624
- def outputs (self ) -> Optional [List ]:
626
+ def outputs (self ) -> Optional [Sequence [ "ABIComponent" ] ]:
625
627
return self .abi .get ("outputs" )
626
628
627
629
@combomethod
You can’t perform that action at this time.
0 commit comments