Skip to content

Latest commit

 

History

History
95 lines (47 loc) · 2.1 KB

NOTES-I.md

File metadata and controls

95 lines (47 loc) · 2.1 KB

ABI Coder Notes

Todos

  • check encode_string / bytes for special case data.size/arg.size == 32 no need for length - gets placed "inline" as a convention - yes/no? why? why not?

  • make sure encode always returns BINARY / ASCII_8BIT encoding !!!!!

Notes

inspired by and follow ethers.js - why? why not?

see https://docs.ethers.org/v5/api/utils/abi/coder/

About ABIs

More ABI Coders / Codecs

Fuel Abi Coder

ETH ABI (Python)

Abi Coder

Abi Decoder

Abi Decoder (Go Lang)

Truffle Codec

more

Online Abi Encoder

todo

add / move to abiparser

Abi, to represent the full ABI array Entry, to represent items in ABI arrays FunctionEntry, to represent named functions ConstructorEntry, to represent constructors FallbackEntry, to represent old or new fallback functions ReceiveEntry, to represent receive functions Parameter, to represent parameters defined in entry inputs or outputs EventParameter, to represent event parameters

for more abi packages (in js) see the abi keyword