Module api

Source

Modules§

const_handles
uncallable

Structs§

ExternalViewApi
InvalidSliceError
Returned if load/copy slice could not be performed. No further data needed.
PanickingErrorApi
An error handler that simply panics whenever signal_error is called. Especially useful for unit tests. Implements ErrorApi.
PanickingErrorApiImpl
An error handler that simply panics whenever signal_error is called. Especially useful for unit tests. Implements ErrorApi.
StaticVarApiFlags

Enums§

Sign
Only used for sending sign information from the API.

Constants§

CHANGE_OWNER_BUILTIN_FUNC_NAME
CLAIM_DEVELOPER_REWARDS_FUNC_NAME
DELETE_USERNAME_FUNC_NAME
ED25519_KEY_BYTE_LEN
ED25519_SIGNATURE_BYTE_LEN
ESDT_LOCAL_BURN_FUNC_NAME
ESDT_LOCAL_MINT_FUNC_NAME
ESDT_METADATA_RECREATE_FUNC_NAME
ESDT_METADATA_UPDATE_FUNC_NAME
ESDT_MODIFY_CREATOR_FUNC_NAME
ESDT_MODIFY_ROYALTIES_FUNC_NAME
ESDT_MULTI_TRANSFER_FUNC_NAME
ESDT_NFT_ADD_QUANTITY_FUNC_NAME
ESDT_NFT_ADD_URI_FUNC_NAME
ESDT_NFT_BURN_FUNC_NAME
ESDT_NFT_CREATE_FUNC_NAME
ESDT_NFT_TRANSFER_FUNC_NAME
ESDT_NFT_UPDATE_ATTRIBUTES_FUNC_NAME
ESDT_SET_NEW_URIS_FUNC_NAME
ESDT_TRANSFER_FUNC_NAME
EXTERNAL_VIEW_TARGET_ADRESS_KEY
KECCAK256_RESULT_LEN
MIGRATE_USERNAME_FUNC_NAME
RIPEMD_RESULT_LEN
SET_USERNAME_FUNC_NAME
SHA256_RESULT_LEN
UPGRADE_CONTRACT_FUNC_NAME

Traits§

BigFloatApiImpl
Definition of the BigFloat type required by the API.
BigIntApiImpl
Definition of the BigInt type required by the API.
BlockchainApi
BlockchainApiImpl
Interface to be used by the actual smart contract code.
CallTypeApi
Provided for convenience. Designed to be used in any types that send tokens or calls.
CallValueApi
CallValueApiImpl
CryptoApi
CryptoApiImpl
EllipticCurveApiImpl
Wrapper around the EllipticCurve functionality provided by Arwen.
EndpointArgumentApi
EndpointArgumentApiImpl
Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
EndpointFinishApi
EndpointFinishApiImpl
Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
ErrorApi
ErrorApiImpl
HandleConstraints
HandleTypeInfo
LogApi
LogApiImpl
Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
ManagedBufferApiImpl
A raw bytes buffer managed by Arwen.
ManagedMapApiImpl
A raw bytes buffer managed by Arwen.
ManagedTypeApi
ManagedTypeApiImpl
PrintApi
PrintApiImpl
SendApi
SendApiImpl
API that groups methods that either send EGLD or ESDT, or that call other contracts.
StaticVarApi
StaticVarApiImpl
A raw bytes buffer stored statically:
StorageMapperApi
Provided for convenience. Designed to be used in storage mappers.
StorageReadApi
StorageReadApiImpl
StorageWriteApi
StorageWriteApiImpl
VMApi

Functions§

handle_to_be_bytes
use_raw_handle

Type Aliases§

RawHandle