datactx

package
v0.4.7-rc7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectContext

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

func NewAspectContext

func NewAspectContext() *AspectContext

func (*AspectContext) ValueLoader

func (c *AspectContext) ValueLoader(key string) ContextLoader

type AspectContextFieldLoader

type AspectContextFieldLoader func(ctx *artelatypes.RunnerContext) proto.Message

type BlockContext

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

func NewBlockContext

func NewBlockContext(ctx *types.AspectRuntimeContext) *BlockContext

func (*BlockContext) ValueLoader

func (c *BlockContext) ValueLoader(key string) ContextLoader

type BlockContextFieldLoader

type BlockContextFieldLoader func(blockCtx *types.EthBlockContext) proto.Message

type ContextLoader

type ContextLoader func(ctx *artelatypes.RunnerContext) ([]byte, error)

type EVMKeeper

type EVMKeeper interface {
	ChainID() *big.Int
}

type EnvContext

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

func NewEnvContext

func NewEnvContext(ctx *types.AspectRuntimeContext, keeper EVMKeeper) *EnvContext

func (*EnvContext) ValueLoader

func (c *EnvContext) ValueLoader(key string) ContextLoader

type EnvContextFieldLoader

type EnvContextFieldLoader func(sdkCtx sdk.Context, ethTxCtx *types.EthTxContext) proto.Message

type MessageContext

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

func NewMessageContext

func NewMessageContext(getEthTxContext func() *types.EthTxContext,
	getSdkCtx func() sdk.Context) *MessageContext

func (*MessageContext) ValueLoader

func (c *MessageContext) ValueLoader(key string) ContextLoader

type MessageContextFieldLoader

type MessageContextFieldLoader func(ethTxCtx *types.EthTxContext, message *core.Message) proto.Message

type ReceiptContext

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

func NewReceiptContext

func NewReceiptContext(getEthTxContext func() *types.EthTxContext,
	getSdkCtx func() sdk.Context) *ReceiptContext

func (*ReceiptContext) ValueLoader

func (c *ReceiptContext) ValueLoader(key string) ContextLoader

type ReceiptContextFieldLoader

type ReceiptContextFieldLoader func(ethTxCtx *types.EthTxContext, receipt *ethereum.Receipt) proto.Message

type TxContext

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

func NewTxContext

func NewTxContext(getEthTxContext func() *types.EthTxContext,
	getSdkCtx func() sdk.Context) *TxContext

func (*TxContext) ValueLoader

func (c *TxContext) ValueLoader(key string) ContextLoader

type TxContextFieldLoader

type TxContextFieldLoader func(ethTxCtx *types.EthTxContext, tx *ethereum.Transaction) proto.Message

Jump to

Keyboard shortcuts

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