evmnames

package
v1.0.4-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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"

	FuncNewL1Deposit = "newL1Deposit"

	FieldTransaction      = "t"
	FieldCallMsg          = "c"
	FieldChainID          = "chid"
	FieldAddress          = "a"
	FieldAssets           = "s"
	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"

	FieldAgentIDDepositOriginator = "l"
)

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