Module elrond_wasm::api[][src]

Structs

PanickingErrorApi

An error handler that simply panics whenever signal_error is called. Especially useful for unit tests. Implements ErrorApi.

Enums

Sign

Constants

ESDT_TRANSFER_STRING

Traits

BigIntApi

Definition of the BigInt type required by the API.

BigUintApi

Definition of the BigUint type required by the API. The API doesn’t care about the actual BigInt implementation. The Arwen VM provides an implementation directly in the protocol. For debugging we use a different implementation, based on Rust’s BigInt.

CallValueApi
CallableContract

CallableContract is the means by which the debugger calls methods in the contract.

ContractHookApi

Interface to be used by the actual smart contract code.

ContractWithAbi

ContractWithAbi is the means by which a contract can provide an ABI.

CryptoApi
EndpointArgumentApi

Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.

EndpointFinishApi

Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.

ErrorApi
LogApi

Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.

SendApi

API that groups methods that either send EGLD or ESDT, or that call other contracts.

StorageReadApi
StorageWriteApi