evmnames

package
v1.0.1-rc.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

package evmnames provides the names of EVM core contract functions and fields. It is separated from the evm interface to avoid import loops (the names are used by isc.evmOffLedgerRequest).

Index

Constants

View Source
const (
	Contract = "evm"

	// EVM state
	FuncSendTransaction = "sendTransaction"
	FuncCallContract    = "callContract"
	FuncGetChainID      = "getChainID"

	FuncRegisterERC20NativeToken              = "registerERC20NativeToken"
	FuncRegisterERC20NativeTokenOnRemoteChain = "registerERC20NativeTokenOnRemoteChain"
	FuncRegisterERC20ExternalNativeToken      = "registerERC20ExternalNativeToken"
	FuncGetERC20ExternalNativeTokenAddress    = "getERC20ExternalNativeTokenAddress"
	FuncRegisterERC721NFTCollection           = "registerERC721NFTCollection"

	FieldTransaction      = "t"
	FieldCallMsg          = "c"
	FieldChainID          = "chid"
	FieldAddress          = "a"
	FieldKey              = "k"
	FieldAgentID          = "i"
	FieldTransactionIndex = "ti"
	FieldTransactionHash  = "h"
	FieldResult           = "r"
	FieldBlockNumber      = "bn"
	FieldBlockHash        = "bh"
	FieldFilterQuery      = "fq"
	FieldBlockKeepAmount  = "bk"

	FieldNativeTokenID      = "N"
	FieldFoundrySN          = "fs"
	FieldTokenName          = "n"
	FieldTokenTickerSymbol  = "t"
	FieldTokenDecimals      = "d"
	FieldNFTCollectionID    = "C"
	FieldFoundryTokenScheme = "T"
	FieldTargetAddress      = "A"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL