Versions in this module Expand all Collapse all v0 v0.0.1 Oct 8, 2022 Changes in this version + const RoleBurn + const RoleMint + const RoleNFTAddQuantity + const RoleNFTBurn + const RoleNFTCreate + func BigFloatImports(imports motherearthapimeta.EIFunctionReceiver) error + func BigIntImports(imports motherearthapimeta.EIFunctionReceiver) error + func BigIntToStringWithHost(host andes.VMHost, bigIntHandle int32, destinationHandle int32) + func CleanReturnDataWithHost(host andes.VMHost) + func DeleteFromReturnDataWithHost(host andes.VMHost, resultID int32) + func DeployFromSourceContractWithTypedArgs(host andes.VMHost, sourceContractAddress []byte, codeMetadata []byte, ...) ([]byte, error) + func ExecuteOnDestContextByCallerWithHost(host andes.VMHost, gasLimit int64, addressOffset int32, valueOffset int32, ...) int32 + func ExecuteOnDestContextByCallerWithTypedArgs(host andes.VMHost, gasLimit int64, value *big.Int, function []byte, ...) int32 + func ExecuteOnDestContextWithHost(host andes.VMHost, gasLimit int64, addressOffset int32, valueOffset int32, ...) int32 + func ExecuteOnDestContextWithTypedArgs(host andes.VMHost, gasLimit int64, value *big.Int, function []byte, ...) int32 + func ExecuteOnSameContextWithHost(host andes.VMHost, gasLimit int64, addressOffset int32, valueOffset int32, ...) int32 + func ExecuteOnSameContextWithTypedArgs(host andes.VMHost, gasLimit int64, value *big.Int, function []byte, ...) int32 + func ExecuteReadOnlyWithHost(host andes.VMHost, gasLimit int64, addressOffset int32, functionOffset int32, ...) int32 + func ExecuteReadOnlyWithTypedArguments(host andes.VMHost, gasLimit int64, function []byte, dest []byte, args [][]byte) int32 + func GetReturnDataWithHostAndTypedArgs(host andes.VMHost, resultID int32) []byte + func ManagedAsyncCallWithHost(host andes.VMHost, destHandle int32, valueHandle int32, functionHandle int32, ...) + func ManagedBufferCopyByteSliceWithHost(host andes.VMHost, sourceHandle int32, startingPosition int32, ...) int32 + func ManagedBufferImports(imports motherearthapimeta.EIFunctionReceiver) error + func ManagedBufferSetByteSliceWithHost(host andes.VMHost, mBufferHandle int32, startingPosition int32, ...) int32 + func ManagedBufferSetByteSliceWithTypedArgs(host andes.VMHost, mBufferHandle int32, startingPosition int32, ...) int32 + func ManagedBufferToHexWithHost(host andes.VMHost, sourceHandle int32, destHandle int32) + func ManagedEIImports(imports motherearthapimeta.EIFunctionReceiver) error + func ManagedIsMECTFrozenWithHost(host andes.VMHost, addressHandle int32, tokenIDHandle int32, nonce int64) int32 + func ManagedIsMECTLimitedTransferWithHost(host andes.VMHost, tokenIDHandle int32) int32 + func ManagedIsMECTPausedWithHost(host andes.VMHost, tokenIDHandle int32) int32 + func MotherEarthEIImports(imports motherearthapimeta.EIFunctionReceiver) error + func SetStorageLockWithHost(host andes.VMHost, keyOffset int32, keyLength int32, lockTimestamp int64) int32 + func SetStorageLockWithTypedArgs(host andes.VMHost, key []byte, lockTimestamp int64) int32 + func SmallIntImports(imports motherearthapimeta.EIFunctionReceiver) error + func StorageLoadFromAddressWithHost(host andes.VMHost, addressOffset int32, keyOffset int32, keyLength int32, ...) int32 + func StorageLoadFromAddressWithTypedArgs(host andes.VMHost, address []byte, key []byte) []byte + func StorageLoadWithHost(host andes.VMHost, keyOffset int32, keyLength int32, dataOffset int32) int32 + func StorageLoadWithWithTypedArgs(host andes.VMHost, key []byte) []byte + func StorageStoreWithHost(host andes.VMHost, keyOffset int32, keyLength int32, dataOffset int32, ...) int32 + func StorageStoreWithTypedArgs(host andes.VMHost, key []byte, data []byte) int32 + func TransferMECTNFTExecuteWithHost(host andes.VMHost, destOffset int32, tokenIDOffset int32, tokenIDLen int32, ...) int32 + func TransferMECTNFTExecuteWithTypedArgs(host andes.VMHost, dest []byte, transfers []*vmcommon.MECTTransfer, ...) int32 + func TransferValueExecuteWithHost(host andes.VMHost, destOffset int32, valueOffset int32, gasLimit int64, ...) int32 + func TransferValueExecuteWithTypedArgs(host andes.VMHost, dest []byte, value *big.Int, gasLimit int64, ...) int32 + func UpgradeFromSourceContractWithTypedArgs(host andes.VMHost, sourceContractAddress []byte, destContractAddress []byte, ...) + func ValidateToken(tokenID []byte) bool