Module multiversx_sc::contract_base
source · Structs
- Interface to be used by the actual smart contract code.
- Replaces the EndpointArgumentApi inside a promises callback, and causes it to read arguments from the callback data instead of the regular tx input.
- API that groups methods that either send EGLD or ESDT, or that call other contracts.
- A unique empty structure that automatically implements all smart contract traits.
Traits
- CallableContract is the means by which the debugger calls methods in the contract.
- Describes objects that can create instances of contract objects, with the given API.
- Required by contract ABI generators. Provides the same associated types as the
ContractBase
, so that associated types that show up in arguments and results match. - Interface to be used by the actual smart contract code.