-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decode errors with same pattern #10
Comments
Hello! Here is the decoded input for the first transaction (0x8b02d0ac0c11da014e04a027eaa49ddf7913e64eef29fcb64f9595d277425f46) : {'commands': b'\x00\x00\x08',
'inputs': [(<Function V3_SWAP_EXACT_IN(address,uint256,uint256,bytes,bool)>,
{'recipient': '0x0000000000000000000000000000000000000001',
'amountIn': 539689947,
'amountOutMin': 22539188087083765897187811,
'path': b"\xda\xc1\x7f\x95\x8d.\xe5#\xa2 b\x06\x99E\x97\xc1=\x83\x1e\xc7\x00\x0b\xb8\xc0*\xaa9\xb2#\xfe\x8d\n\x0e\\O'\xea\xd9\x08<ul\xc2\x00'\x10}\x81F\xcf!\xe8\xd7\xcb\xe4`T\xe0\x15\x88 {Q\x19\x87)",
'payerIsSender': True}),
(<Function V3_SWAP_EXACT_IN(address,uint256,uint256,bytes,bool)>,
{'recipient': '0xbe8BC29765E11894f803906Ee1055a344fDf2511',
'amountIn': 4857209527,
'amountOutMin': 0,
'path': b"\xda\xc1\x7f\x95\x8d.\xe5#\xa2 b\x06\x99E\x97\xc1=\x83\x1e\xc7\x00\x01\xf4\xc0*\xaa9\xb2#\xfe\x8d\n\x0e\\O'\xea\xd9\x08<ul\xc2",
'payerIsSender': True}),
(<Function V2_SWAP_EXACT_IN(address,uint256,uint256,address[],bool)>,
{'recipient': '0x0000000000000000000000000000000000000001',
'amountIn': 57896044618658097711785492504343953926634992332820282019728792003956564819968,
'amountOutMin': 201706613530196448705261836,
'path': ['0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
'0x7D8146cf21e8D7cbe46054e01588207b51198729'],
'payerIsSender': False})],
'deadline': 1686896447} Are you talking about the |
yes, the |
You say it is not right because this amount ( |
this is the real weth also you can find out that all txs I pasted decoded result have a same ether |
Ok, thanks. To handle that, you can set the Does it make sense ? PS: The amount you underlined in your screenshot, along with all the data in the "Transaction Action" section, comes from the trx logs, not from the input data. |
Closing as there is no error from the decoder. And thank you for your interest in this lib! :) |
thanks man, this is a very useful lib :) |
Thanks for your feedback!! :) |
please check out those txs:
https://etherscan.io/tx/0x8b02d0ac0c11da014e04a027eaa49ddf7913e64eef29fcb64f9595d277425f46
https://etherscan.io/tx/0x802f46df800388276bc4901fb5eeb62630770491138af14239d4de3def2c33e6
https://etherscan.io/tx/0xbbacb5a789ea5e1f795f70b3a52ca953ae3fbf5eb96413ae4942b5f499641597
https://etherscan.io/tx/0xf5b500136df991d18faadfbda87282b07f00d7fbe3e5116e064881d951b0ad62
The text was updated successfully, but these errors were encountered: