Documentation
¶
Index ¶
- Variables
- func GenerateDeploymentTransaction(initCode []byte, wallet wallet.Wallet, logger gethlog.Logger) (*common.L2Tx, error)
- func GetPlaceholderWallet(chainID *big.Int, logger gethlog.Logger) wallet.Wallet
- func MessageBusInitTransaction(wallet wallet.Wallet, logger gethlog.Logger) (*common.L2Tx, error)
- func SystemDeployerInitTransaction(wallet wallet.Wallet, logger gethlog.Logger, eoaOwner gethcommon.Address) (*common.L2Tx, error)
- func VerifyLogs(receipt *types.Receipt) error
- type SystemContractAddresses
- type SystemContractCallbacks
- type SystemContractsInitializable
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoTransactions = fmt.Errorf("no transactions")
)
Functions ¶
func GetPlaceholderWallet ¶
func VerifyLogs ¶
Types ¶
type SystemContractAddresses ¶
type SystemContractAddresses map[string]*gethcommon.Address
func DeriveAddresses ¶
func DeriveAddresses(receipt *types.Receipt) (SystemContractAddresses, error)
func (*SystemContractAddresses) ToString ¶
func (s *SystemContractAddresses) ToString() string
type SystemContractCallbacks ¶
type SystemContractCallbacks interface { GetOwner() gethcommon.Address Initialize(batch *core.Batch, receipts types.Receipts, msgBusManager SystemContractsInitializable) error Load() error CreateOnBatchEndTransaction(ctx context.Context, stateDB *state.StateDB, transactions common.L2Transactions, receipts types.Receipts) (*types.Transaction, error) TransactionPostProcessor() *gethcommon.Address VerifyOnBlockReceipt(transactions common.L2Transactions, receipt *types.Receipt) (bool, error) }
type SystemContractsInitializable ¶
type SystemContractsInitializable interface {
Initialize(SystemContractAddresses) error
}
Click to show internal directories.
Click to hide internal directories.