Documentation ¶
Index ¶
- func ProveAndFinalizeWithdrawal(ctx context.Context, l2ProofCl ProofClient, l2Client EthClient, ...) (*types.Transaction, error)
- func WaitForOutputBlock(ctx context.Context, outputOracle *bindings.OutputOracle, blockNumber *big.Int, ...) (*big.Int, error)
- func WaitForReceipt(ctx context.Context, client EthClient, txHash common.Hash, ...) (*types.Receipt, error)
- type EthClient
- type OutputOracle
- type Portal
- type ProofClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProveAndFinalizeWithdrawal ¶
func ProveAndFinalizeWithdrawal(ctx context.Context, l2ProofCl ProofClient, l2Client EthClient, opts *bind.TransactOpts, outputOracle OutputOracle, portal Portal, withdrawalTxHash common.Hash, l2OutputBlock *big.Int) (*types.Transaction, error)
func WaitForOutputBlock ¶
Types ¶
type OutputOracle ¶
type Portal ¶
type Portal interface {
ProveAndFinalizeWithdrawalTransaction(opts *bind.TransactOpts, _tx bindings.TypesWithdrawalTransaction, _l2OutputIndex *big.Int, _outputRootProof bindings.TypesOutputRootProof, _withdrawalProof [][]byte) (*types.Transaction, error)
}
type ProofClient ¶
type ProofClient interface {
GetProof(context.Context, common.Address, []string, *big.Int) (*gethclient.AccountResult, error)
}
Click to show internal directories.
Click to hide internal directories.