context

package
v0.4.9-rc9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

View Source
const (
	BlockHeaderParentHash = "block.header.parentHash"
	BlockHeaderMiner      = "block.header.miner"
	BlockHeaderNumber     = "block.header.number"
	BlockHeaderTimestamp  = "block.header.timestamp"
)

Block Context Related Keys

View Source
const (
	EnvExtraEIPs                              = "env.extraEIPs"
	EnvEnableCreate                           = "env.enableCreate"
	EnvEnableCall                             = "env.enableCall"
	EnvAllowUnprotectedTxs                    = "env.allowUnprotectedTxs"
	EnvChainChainId                           = "env.chain.chainId"
	EnvChainHomesteadBlock                    = "env.chain.homesteadBlock"
	EnvChainDaoForkBlock                      = "env.chain.daoForkBlock"
	EnvChainDaoForkSupport                    = "env.chain.daoForkSupport"
	EnvChainEip150Block                       = "env.chain.eip150Block"
	EnvChainEip155Block                       = "env.chain.eip155Block"
	EnvChainEip158Block                       = "env.chain.eip158Block"
	EnvChainByzantiumBlock                    = "env.chain.byzantiumBlock"
	EnvChainConstantinopleBlock               = "env.chain.constantinopleBlock"
	EnvChainPetersburgBlock                   = "env.chain.petersburgBlock"
	EnvChainIstanbulBlock                     = "env.chain.istanbulBlock"
	EnvChainMuirGlacierBlock                  = "env.chain.muirGlacierBlock"
	EnvChainBerlinBlock                       = "env.chain.berlinBlock"
	EnvChainLondonBlock                       = "env.chain.londonBlock"
	EnvChainArrowGlacierBlock                 = "env.chain.arrowGlacierBlock"
	EnvChainGrayGlacierBlock                  = "env.chain.grayGlacierBlock"
	EnvChainMergeNetSplitBlock                = "env.chain.mergeNetSplitBlock"
	EnvChainShanghaiTime                      = "env.chain.shanghaiTime"
	EnvChainCancunTime                        = "env.chain.cancunTime"
	EnvChainPragueTime                        = "env.chain.pragueTime"
	EnvConsensusParamsBlockMaxGas             = "env.consensusParams.block.maxGas"
	EnvConsensusParamsBlockMaxBytes           = "env.consensusParams.block.maxBytes"
	EnvConsensusParamsEvidenceMaxAgeDuration  = "env.consensusParams.evidence.maxAgeDuration"
	EnvConsensusParamsEvidenceMaxAgeNumBlocks = "env.consensusParams.evidence.maxAgeNumBlocks"
	EnvConsensusParamsEvidenceMaxBytes        = "env.consensusParams.evidence.maxBytes"
	EnvConsensusParamsValidatorPubKeyTypes    = "env.consensusParams.validator.pubKeyTypes"
	EnvConsensusParamsAppVersion              = "env.consensusParams.appVersion"
)

Env Context Related Keys

View Source
const (
	TxType          = "tx.type"
	TxChainId       = "tx.chainId"
	TxAccessList    = "tx.accessList"
	TxNonce         = "tx.nonce"
	TxGasPrice      = "tx.gasPrice"
	TxGas           = "tx.gas"
	TxGasTipCap     = "tx.gasTipCap"
	TxGasFeeCap     = "tx.gasFeeCap"
	TxTo            = "tx.to"
	TxValue         = "tx.value"
	TxData          = "tx.data"
	TxBytes         = "tx.bytes"
	TxHash          = "tx.hash"
	TxUnsignedBytes = "tx.unsigned.bytes"
	TxUnsignedHash  = "tx.unsigned.hash"
	TxSigV          = "tx.sig.v"
	TxSigR          = "tx.sig.r"
	TxSigS          = "tx.sig.s"
	TxFrom          = "tx.from"
	TxIndex         = "tx.index"
)

Tx Context Related Keys

View Source
const (
	AspectId      = "aspect.id"
	AspectVersion = "aspect.version"
)

Aspect Context Related Keys

View Source
const (
	MsgFrom          = "msg.from"
	MsgTo            = "msg.to"
	MsgValue         = "msg.value"
	MsgGas           = "msg.gas"
	MsgInput         = "msg.input"
	MsgIndex         = "msg.index"
	MsgResultRet     = "msg.result.ret"
	MsgResultGasUsed = "msg.result.gasUsed"
	MsgResultError   = "msg.result.error"
)

Msg Context Related Keys

View Source
const (
	ReceiptStatus            = "receipt.status"
	ReceiptLogs              = "receipt.logs"
	ReceiptGasUsed           = "receipt.gasUsed"
	ReceiptCumulativeGasUsed = "receipt.cumulativeGasUsed"
	ReceiptBloom             = "receipt.bloom"
)

Receipt Context Related Keys

View Source
const (
	IsCall = "isCall"
)

IsCall Condition Context Related Keys

Variables

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