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]:
114114 return filter_abi_by_type ("receive" , contract_abi )
115115
116116
117- def get_indexed_event_inputs (event_abi : ABIEvent ) -> Sequence [ABIComponentIndexed ]:
117+ def get_indexed_event_inputs (event_abi : ABIEvent ) -> List [ABIComponentIndexed ]:
118118 return [arg for arg in event_abi ["inputs" ] if arg ["indexed" ] is True ]
119119
120120
121- def exclude_indexed_event_inputs (event_abi : ABIEvent ) -> Sequence [ABIComponentIndexed ]:
121+ def exclude_indexed_event_inputs (event_abi : ABIEvent ) -> List [ABIComponentIndexed ]:
122122 return [arg for arg in event_abi ["inputs" ] if arg ["indexed" ] is False ]
123123
124124
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 ]:
126126 return [abi_element for abi_element in contract_abi if abi_element ["type" ] in types ]
127127
128128
@@ -623,7 +623,7 @@ def normalizer(datatype, data):
623623
624624@curry
625625def abi_data_tree (
626- types : Sequence [TypeStr ], data : Sequence [Any ]
626+ types : Iterable [TypeStr ], data : Iterable [Any ]
627627) -> List ["ABITypedData" ]:
628628 """
629629 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