Module abi_json

Source

Structs§

BuildInfoAbiJson
ConstructorAbiJson
Same as EndpointAbiJson but ignores the name
ContractAbiJson
EndpointAbiJson
EnumVariantDescriptionJson
EsdtAttributeAbiJson
Represents an entire ESDT attribute ABI file. The type descriptions only show up here.
EsdtAttributeJson
EventAbiJson
EventInputAbiJson
InputAbiJson
OutputAbiJson
RustcAbiJson
StructFieldDescriptionJson
TypeDescriptionJson

Enums§

EndpointMutabilityAbiJson

Constants§

TYPE_DESCRIPTION_JSON_TYPE_ENUM
TYPE_DESCRIPTION_JSON_TYPE_EXPLICIT_ENUM
TYPE_DESCRIPTION_JSON_TYPE_NOT_SPECIFIED
TYPE_DESCRIPTION_JSON_TYPE_STRUCT

Functions§

abi_to_json_dummy_environment
Same as contract_abi, but allows caller to replace the compiler metadata, so that ABI tests are deterministc and independent on compiler version. Will return the main contract ABI + view contract ABI.
contract_abi
Function provided for convenience. Yields the ABI JSON of a contract as string.
convert_type_descriptions_to_json
deserialize_abi_from_json
print_abi
Function provided for convenience. Prints the ABI JSON of a contract to console.
serialize_abi_to_json