Questions tagged [decode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Decode the multiple variables stored in one storage slot

In the following code the 3 declared variables will be packed and stored in one slot together. When the slot 0 zero is accessed to get the value we get an encoded value, like here we get ...
priyanshu bindal's user avatar
1 vote
1 answer
20 views

abi.decode() does not accept "address payable" as type

function myStatic() public returns (uint256[] memory, address payable[] memory, bytes32, string memory) { bytes memory encodedResult; bool success; (success, encodedResult) = address(...
user130657's user avatar
1 vote
1 answer
107 views

abi.encode an already encoded parameter

I want to use an already abi-encoded parameter and encode it again with another value. Encoding works, but I cannot figure out the decoding. I technically could decode it and encode it again with that ...
mttttt's user avatar
  • 11
1 vote
0 answers
112 views

Decoding Result Struct from tryAggregate3 Multicall3 with web3.py

Hello Ethereum StackExchange community, I'm currently working with the Multicall3 contract's tryAggregate3 function which returns an array of Result structs with the following format: struct Result { ...
Baraa's user avatar
  • 11
0 votes
1 answer
110 views

Solidity Event String parameter decoding

The value of aggregatorId in the event emitted by the below tx is not equal to value “oneInchV5FeeDynamic” in the tx? Also, I can’t decode the value emitted in the event “...
Waiz Khan's user avatar
2 votes
2 answers
908 views

How to decode universal router of uniswap

How can I decode the exacute function going through: "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad" router Etherscan decodes the data as follows: 0 commands bytes 0x0b08 1 inputs ...
Gencehan ARPAÇAY's user avatar
0 votes
1 answer
357 views

Abi encode / decode mystery additional 32 byte field Uniswap v2

When I encode my abi data in web3js or web3.py for a uni v2 trade I get the following: 0x 00000000000000000000000000000000000000000000000000000000000000a0 ...
Nat's user avatar
  • 279