mirror of
https://github.com/autistic-symposium/web3-starter-py.git
synced 2025-05-17 06:02:12 -04:00
Update decode_calldata.py
This commit is contained in:
parent
33b4422bcc
commit
77e3078f19
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def decode_calldata(data) -> dict:
|
|||
network=data['network'])
|
||||
|
||||
w3.get_pair_contract(address=data['contract_address'), abi=data['abi'))
|
||||
return we.pair_contract.decode_function_input(data['calldata'])
|
||||
return w3.pair_contract.decode_function_input(data['calldata'])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue