evmnames

package
v0.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0, BSD-2-Clause 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"
	FuncEstimateGas                         = "estimateGas"
	FuncGetBalance                          = "getBalance"
	FuncCallContract                        = "callContract"
	FuncGetNonce                            = "getNonce"
	FuncGetReceipt                          = "getReceipt"
	FuncGetCode                             = "getCode"
	FuncGetBlockNumber                      = "getBlockNumber"
	FuncGetBlockByNumber                    = "getBlockByNumber"
	FuncGetBlockByHash                      = "getBlockByHash"
	FuncGetTransactionByHash                = "getTransactionByHash"
	FuncGetTransactionByBlockHashAndIndex   = "getTransactionByBlockHashAndIndex"
	FuncGetTransactionByBlockNumberAndIndex = "getTransactionByBlockNumberAndIndex"
	FuncGetTransactionCountByBlockHash      = "getTransactionCountByBlockHash"
	FuncGetTransactionCountByBlockNumber    = "getTransactionCountByBlockNumber"
	FuncGetStorage                          = "getStorage"
	FuncGetLogs                             = "getLogs"
	FuncGetChainID                          = "getChainID"
	FuncGetCallGasLimit                     = "getCallGasLimit"

	FuncRegisterERC20NativeToken = "registerERC20NativeToken"

	// block context
	FuncOpenBlockContext  = "openBlockContext"
	FuncCloseBlockContext = "closeBlockContext"

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

	FieldFoundrySN         = "fs"
	FieldTokenName         = "n"
	FieldTokenTickerSymbol = "t"
	FieldTokenDecimals     = "d"
)

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