docs.rs failed to build alloy-json-abi-0.8.26
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
alloy-json-abi-1.6.1
alloy-json-abi
Full Ethereum JSON-ABI implementation.
This crate is a re-implementation of a part of ethabi's API, with a few main differences:
- the
Contractstruct is now calledJsonAbiand also contains thefallbackandreceivefunctions - the
ParamandEventParamstructs only partially parse the type string instead of fully resolving it into a Solidity type
Examples
Parse a JSON ABI file into a JsonAbi struct:
use JsonAbi;
# stringify!;
# let json = "[]";
let abi: JsonAbi = from_str.unwrap;
for item in abi.items