File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,15 @@ def receive_func_abi_exists(contract_abi: ABI) -> Sequence[ABIReceive]:
114
114
return filter_abi_by_type ("receive" , contract_abi )
115
115
116
116
117
- def get_indexed_event_inputs (event_abi : ABIEvent ) -> Sequence [ABIComponentIndexed ]:
117
+ def get_indexed_event_inputs (event_abi : ABIEvent ) -> List [ABIComponentIndexed ]:
118
118
return [arg for arg in event_abi ["inputs" ] if arg ["indexed" ] is True ]
119
119
120
120
121
- def exclude_indexed_event_inputs (event_abi : ABIEvent ) -> Sequence [ABIComponentIndexed ]:
121
+ def exclude_indexed_event_inputs (event_abi : ABIEvent ) -> List [ABIComponentIndexed ]:
122
122
return [arg for arg in event_abi ["inputs" ] if arg ["indexed" ] is False ]
123
123
124
124
125
- def filter_by_types (types : Collection [str ], contract_abi : ABI ) -> Sequence [ABIElement ]:
125
+ def filter_by_types (types : Collection [str ], contract_abi : ABI ) -> List [ABIElement ]:
126
126
return [abi_element for abi_element in contract_abi if abi_element ["type" ] in types ]
127
127
128
128
@@ -623,7 +623,7 @@ def normalizer(datatype, data):
623
623
624
624
@curry
625
625
def abi_data_tree (
626
- types : Sequence [TypeStr ], data : Sequence [Any ]
626
+ types : Iterable [TypeStr ], data : Iterable [Any ]
627
627
) -> List ["ABITypedData" ]:
628
628
"""
629
629
Decorate the data tree with pairs of (type, data). The pair tuple is actually an
You can’t perform that action at this time.
0 commit comments