Crate ab_contracts_common

Source

Modules§

env
metadata
method

Structs§

CustomContractErrorCode
ExitCode

Enums§

ContractError

Constants§

MAX_CODE_SIZE
Max allowed size of the contract code
MAX_TOTAL_METHOD_ARGS
Max number of arguments in a method.

Traits§

Contract
A trait that indicates the struct is a contact.
ContractTrait
A trait that indicates the implementation of a contract trait by a contract.
ContractTraitDefinition
A trait that is implemented for dyn ContractTrait and includes constants related to trait definition.