xiongzhu abfe06b311 first commit 2 years ago
..
lib abfe06b311 first commit 2 years ago
lib.esm abfe06b311 first commit 2 years ago
src.ts abfe06b311 first commit 2 years ago
LICENSE.md abfe06b311 first commit 2 years ago
README.md abfe06b311 first commit 2 years ago
package.json abfe06b311 first commit 2 years ago

README.md

Ethereum ABI Coder

This sub-module is part of the ethers project.

It is responsible for encoding and decoding the Application Binary Interface (ABI) used by most smart contracts to interoperate between other smart contracts and clients.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    ConstructorFragment,
    EventFragment,
    Fragment,
    FunctionFragment,
    ParamType,
    FormatTypes,

    AbiCoder,
    defaultAbiCoder,

    Interface,
    Indexed,

    /////////////////////////
    // Types

    CoerceFunc,
    JsonFragment,
    JsonFragmentType,

    Result,
    checkResultErrors,

    LogDescription,
    TransactionDescription

} = require("@ethersproject/abi");

License

MIT License