Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [encode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
148 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
0 votes
1 answer
42 views

Output of abi.encodeCall - is it one or more bytes32?

I am looking at a contract that uses abi.encodeCall. I'm wondering whether the result of abi.encodeCall(//CALL INFO//) will always result in a bytes32. The larger reason I am asking is that this abi....
user127148's user avatar
0 votes
1 answer
410 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