Module elrond_wasm::api[][src]

Modules

uncallable

Structs

PanickingErrorApi

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

Enums

Sign

Constants

ESDT_NFT_TRANSFER_STRING
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.

BlockchainApi

Interface to be used by the actual smart contract code.

CallValueApi
CallableContract

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

CallbackProxyObjApi
ContractAbiProvider

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.

ContractBase

Interface to be used by the actual smart contract code.

ContractImpl

Governs the instantiation process of contract implementation. Using a trait for the instantiation helps with code generation.

ContractPrivateApi
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.

ProxyObjApi
SendApi

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

StorageReadApi
StorageWriteApi

Functions

new_contract_impl