JSPM

  • Created
  • Published
  • Downloads 1687620
  • Score
    100M100P100Q192784F
  • License MIT

Utilities and Classes for parsing, formatting and managing Ethereum ABIs.

Package Exports

  • @ethersproject/abi
  • @ethersproject/abi/lib.esm/index.js
  • @ethersproject/abi/lib/coders/abstract-coder
  • @ethersproject/abi/lib/coders/abstract-coder.js
  • @ethersproject/abi/lib/coders/address
  • @ethersproject/abi/lib/coders/address.js
  • @ethersproject/abi/lib/coders/array
  • @ethersproject/abi/lib/coders/array.js
  • @ethersproject/abi/lib/coders/tuple
  • @ethersproject/abi/lib/coders/tuple.js
  • @ethersproject/abi/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ethersproject/abi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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