types

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDB

type IDB interface {
	BeginStateTransaction(ctx context.Context) (pgx.Tx, error)
}

type IEthTxManager

type IEthTxManager interface {
	Add(ctx context.Context, owner, id string, from common.Address, to *common.Address, value *big.Int, data []byte, gasOffset uint64, dbTx pgx.Tx) error
	Result(ctx context.Context, owner, id string, dbTx pgx.Tx) (txmTypes.MonitoredTxResult, error)
}

type IEtherman

type IEtherman interface {
	GetSequencerAddr(rollupId uint32) (common.Address, error)
	BuildTrustedVerifyBatchesTxData(lastVerifiedBatch, newVerifiedBatch uint64, proof tx.ZKP, rollupId uint32) (data []byte, err error)
	CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
	txmTypes.EthermanInterface
	GetLastBlock(ctx context.Context, dbTx pgx.Tx) (*state.Block, error)
}

type IZkEVMClient

type IZkEVMClient interface {
	BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)
}

type IZkEVMClientClientCreator

type IZkEVMClientClientCreator interface {
	NewClient(rpc string) IZkEVMClient
}

Jump to

Keyboard shortcuts

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