Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancellableContext ¶
type CancellableContext interface {
Cancel()
}
type Chain ¶
type Chain interface { ChainReader ChainWriter ChainSubscriber }
type ChainReader ¶
type ChainReader interface { CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error) CurrentBlock() (*types.Block, error) GetBlockByNumber(number uint64) (*types.Block, error) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) }
type ChainSubscriber ¶
type ChainWriter ¶
type ChainWriter interface {
SendTransaction(ctx context.Context, tx *types.Transaction) error
}
type Context ¶
func NewContext ¶
func UnwrapContext ¶
UnwrapContext unwraps the sdk context.
func (*Context) DB ¶
func (c *Context) DB() ethdb.KeyValueStore
Directories ¶
Path | Synopsis |
---|---|
kms
|
|
queue
|
|
mem
package mem provides an in-memory implementation of a queue data structure.
|
package mem provides an in-memory implementation of a queue data structure. |
sqs
package sqs provides an aws sqs backed implementation of a queue data structure.
|
package sqs provides an aws sqs backed implementation of a queue data structure. |
Click to show internal directories.
Click to hide internal directories.