datactx

package
v0.4.5-beta Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const AccountBalanceMagic = ".balance"

Variables

This section is empty.

Functions

func ConvertChainConfig

func ConvertChainConfig(param *params.ChainConfig) *artelatypes.ChainConfig

func ConvertConsParams

func ConvertConsParams(param *tmproto.ConsensusParams) *artelatypes.ConsParams

func ConvertEvmParams

func ConvertEvmParams(ctx support.Params) *artelatypes.EvmParams

func ConvertVoteInfo

func ConvertVoteInfo(info abci.VoteInfo) *artelatypes.VoteInfo

func ConvertVoteInfos

func ConvertVoteInfos(infos []abci.VoteInfo) []*artelatypes.VoteInfo

Types

type BlockLastCommitInfo

type BlockLastCommitInfo struct {
	// contains filtered or unexported fields
}

block last commit info

func NewBlockLastCommitInfo

func NewBlockLastCommitInfo(getExtBlockContext func() *types.ExtBlockContext) *BlockLastCommitInfo

func (BlockLastCommitInfo) Execute

type BlockMinGasPrice

type BlockMinGasPrice struct{}

block minGasPrice

func NewBlockMinGasPrice

func NewBlockMinGasPrice() *BlockMinGasPrice

func (BlockMinGasPrice) Execute

getAspectContext data

type EnvBaseInfo

type EnvBaseInfo struct {
	// contains filtered or unexported fields
}

func NewEnvBaseInfo

func NewEnvBaseInfo(getEthTxContext func() *types.EthTxContext) *EnvBaseInfo

func (EnvBaseInfo) Execute

type EnvChainConfig

type EnvChainConfig struct {
	// contains filtered or unexported fields
}

func NewEnvChainConfig

func NewEnvChainConfig(getEthTxContext func() *types.EthTxContext) *EnvChainConfig

func (EnvChainConfig) Execute

type EnvConsParams

type EnvConsParams struct{}

func NewEnvConsParams

func NewEnvConsParams() *EnvConsParams

func (EnvConsParams) Execute

getAspectContext data

type EnvEvmParams

type EnvEvmParams struct {
	// contains filtered or unexported fields
}

func NewEnvEvmParams

func NewEnvEvmParams(getEthTxContext func() *types.EthTxContext) *EnvEvmParams

func (EnvEvmParams) Execute

type EthBlockEvidence

type EthBlockEvidence struct {
	// contains filtered or unexported fields
}

func NewEthBlockEvidence

func NewEthBlockEvidence(getExtBlockContext func() *types.ExtBlockContext) *EthBlockEvidence

func (EthBlockEvidence) Execute

type EthBlockGasMeter

type EthBlockGasMeter struct{}

func NewEthBlockGasMeter

func NewEthBlockGasMeter() *EthBlockGasMeter

func (EthBlockGasMeter) Execute

getAspectContext data

type EthBlockHeader

type EthBlockHeader struct {
	// contains filtered or unexported fields
}

func NewEthBlockHeader

func NewEthBlockHeader(getCtxByHeight func(height int64, prove bool) (sdk.Context, error)) *EthBlockHeader

func (EthBlockHeader) Execute

getAspectContext data Todo : How to query the information of block 0 ? Now pass in the latest block found by 0 query

type EthBlockId

type EthBlockId struct {
	// contains filtered or unexported fields
}

func NewEthBlockId

func NewEthBlockId(getExtBlockContext func() *types.ExtBlockContext) *EthBlockId

func (EthBlockId) Execute

type EthBlockTxs

type EthBlockTxs struct {
	// contains filtered or unexported fields
}

func NewEthBlockTxs

func NewEthBlockTxs(getExtBlockContext func() *types.ExtBlockContext) *EthBlockTxs

func (EthBlockTxs) Execute

type Executor

type Executor interface {
	Execute(sdkCtx sdk.Context, ctx *artelatypes.RunnerContext, keys []string) *artelatypes.ContextQueryResponse
}

type ExtProperties

type ExtProperties struct {
	// contains filtered or unexported fields
}

func NewExtProperties

func NewExtProperties(getEthTxContext func() *types.EthTxContext) *ExtProperties

func (ExtProperties) Execute

type StateChanges

type StateChanges struct {
	// contains filtered or unexported fields
}

func NewStateChanges

func NewStateChanges(getEthTxContext func() *types.EthTxContext) *StateChanges

func (StateChanges) Execute

Execute retrieves the state changes of given state variable and it subordinates indices

type TxAspectContent

type TxAspectContent struct {
	// contains filtered or unexported fields
}

func NewTxAspectContent

func NewTxAspectContent(getAspectContext func() *types.AspectContext) *TxAspectContent

func (TxAspectContent) Execute

getAspectContext data

type TxCallTree

type TxCallTree struct {
	// contains filtered or unexported fields
}

TxCallTree

func NewTxCallTree

func NewTxCallTree(getEthTxContext func() *types.EthTxContext) *TxCallTree

func (TxCallTree) Execute

getAspectContext data

type TxContent

type TxContent struct {
	// contains filtered or unexported fields
}

func NewTxContent

func NewTxContent(getEthTxContext func() *types.EthTxContext) *TxContent

func (TxContent) Execute

type TxGasMeter

type TxGasMeter struct{}

func NewTxGasMeter

func NewTxGasMeter() *TxGasMeter

func (TxGasMeter) Execute

type TxMsgHash

type TxMsgHash struct {
	// contains filtered or unexported fields
}

func NewTxMsgHash

func NewTxMsgHash(getEthTxContext func() *types.EthTxContext,
	getEthereumConfig func(ctx sdk.Context) *params.ChainConfig) *TxMsgHash

func (TxMsgHash) Execute

type TxReceipt

type TxReceipt struct {
	// contains filtered or unexported fields
}

func NewTxReceipt

func NewTxReceipt(getEthTxContext func() *types.EthTxContext) *TxReceipt

func (TxReceipt) Execute

Jump to

Keyboard shortcuts

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