Type Definition sway_types::JsonABI

source · []
pub type JsonABI = Vec<Function>;
Expand description

TODO: The types Function and Property below are copied from fuels-types except for the typeArguments field of Property. Switch back to using fuels-types directly when the typeArguments field is added there

Fuel ABI representation in JSON, originally specified here:

https://github.com/FuelLabs/fuel-specs/blob/master/specs/protocol/abi.md

This type may be used by compilers (e.g. Sway) and related tooling to convert an ABI representation into native Rust structs and vice-versa.