Documentation ¶
Index ¶
- func DeployChallengeFactory(auth *bind.TransactOpts, client ethutils.EthClient) (ethcommon.Address, error)
- func DeployRollupFactory(auth *bind.TransactOpts, client ethutils.EthClient) (ethcommon.Address, error)
- func GetReceiptBlockID(receipt *types.Receipt) *common.BlockId
- func WaitForReceiptWithResults(ctx context.Context, client ethutils.EthClient, from ethcommon.Address, ...) (*types.Receipt, error)
- func WaitForReceiptWithResultsSimple(ctx context.Context, client ethutils.ReceiptFetcher, txHash ethcommon.Hash) (*types.Receipt, error)
- type ArbAddresses
- type EthArbAuthClient
- func (c *EthArbAuthClient) Address() common.Address
- func (c *EthArbAuthClient) NewArbFactory(address common.Address) (arbbridge.ArbFactory, error)
- func (c *EthArbAuthClient) NewChallengeFactory(address common.Address) (arbbridge.ChallengeFactory, error)
- func (c *EthArbAuthClient) NewExecutionChallenge(address common.Address) (arbbridge.ExecutionChallenge, error)
- func (c *EthArbAuthClient) NewGlobalInbox(address common.Address, rollupAddress common.Address) (arbbridge.GlobalInbox, error)
- func (c *EthArbAuthClient) NewIERC20(address common.Address) (arbbridge.IERC20, error)
- func (c *EthArbAuthClient) NewInboxTopChallenge(address common.Address) (arbbridge.InboxTopChallenge, error)
- func (c *EthArbAuthClient) NewRollup(address common.Address) (arbbridge.ArbRollup, error)
- type EthArbClient
- func (c *EthArbClient) BlockIdForHeight(ctx context.Context, height *common.TimeBlocks) (*common.BlockId, error)
- func (c *EthArbClient) GetBalance(ctx context.Context, account common.Address) (*big.Int, error)
- func (c *EthArbClient) NewArbFactoryWatcher(address common.Address) (arbbridge.ArbFactoryWatcher, error)
- func (c *EthArbClient) NewExecutionChallengeWatcher(address common.Address) (arbbridge.ExecutionChallengeWatcher, error)
- func (c *EthArbClient) NewGlobalInboxWatcher(address common.Address, rollupAddress common.Address) (arbbridge.GlobalInboxWatcher, error)
- func (c *EthArbClient) NewIERC20Watcher(address common.Address) (arbbridge.IERC20Watcher, error)
- func (c *EthArbClient) NewInboxTopChallengeWatcher(address common.Address) (arbbridge.InboxTopChallengeWatcher, error)
- func (c *EthArbClient) NewRollupWatcher(address common.Address) (arbbridge.ArbRollupWatcher, error)
- func (c *EthArbClient) SubscribeBlockHeaders(ctx context.Context, startBlockId *common.BlockId) (<-chan arbbridge.MaybeBlockId, error)
- func (c *EthArbClient) SubscribeBlockHeadersAfter(ctx context.Context, prevBlockId *common.BlockId) (<-chan arbbridge.MaybeBlockId, error)
- func (c *EthArbClient) TimestampForBlockHash(ctx context.Context, hash common.Hash) (*big.Int, error)
- type IERC20
- type IERC20Watcher
- type MerkleTree
- type TransactAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployChallengeFactory ¶ added in v0.7.0
func DeployRollupFactory ¶ added in v0.7.0
func GetReceiptBlockID ¶ added in v0.6.0
Types ¶
type ArbAddresses ¶
type ArbAddresses struct {
ArbFactory string `json:"ArbFactory"`
}
func (ArbAddresses) ArbFactoryAddress ¶
func (a ArbAddresses) ArbFactoryAddress() common.Address
type EthArbAuthClient ¶
type EthArbAuthClient struct { *EthArbClient // contains filtered or unexported fields }
func NewEthAuthClient ¶
func NewEthAuthClient(client ethutils.EthClient, auth *bind.TransactOpts) *EthArbAuthClient
func (*EthArbAuthClient) Address ¶
func (c *EthArbAuthClient) Address() common.Address
func (*EthArbAuthClient) NewArbFactory ¶
func (c *EthArbAuthClient) NewArbFactory(address common.Address) (arbbridge.ArbFactory, error)
func (*EthArbAuthClient) NewChallengeFactory ¶
func (c *EthArbAuthClient) NewChallengeFactory(address common.Address) (arbbridge.ChallengeFactory, error)
func (*EthArbAuthClient) NewExecutionChallenge ¶
func (c *EthArbAuthClient) NewExecutionChallenge(address common.Address) (arbbridge.ExecutionChallenge, error)
func (*EthArbAuthClient) NewGlobalInbox ¶
func (c *EthArbAuthClient) NewGlobalInbox(address common.Address, rollupAddress common.Address) (arbbridge.GlobalInbox, error)
func (*EthArbAuthClient) NewInboxTopChallenge ¶
func (c *EthArbAuthClient) NewInboxTopChallenge(address common.Address) (arbbridge.InboxTopChallenge, error)
type EthArbClient ¶
type EthArbClient struct {
// contains filtered or unexported fields
}
func NewEthClient ¶
func NewEthClient(client ethutils.EthClient) *EthArbClient
func (*EthArbClient) BlockIdForHeight ¶
func (c *EthArbClient) BlockIdForHeight(ctx context.Context, height *common.TimeBlocks) (*common.BlockId, error)
func (*EthArbClient) GetBalance ¶
func (*EthArbClient) NewArbFactoryWatcher ¶
func (c *EthArbClient) NewArbFactoryWatcher(address common.Address) (arbbridge.ArbFactoryWatcher, error)
func (*EthArbClient) NewExecutionChallengeWatcher ¶
func (c *EthArbClient) NewExecutionChallengeWatcher(address common.Address) (arbbridge.ExecutionChallengeWatcher, error)
func (*EthArbClient) NewGlobalInboxWatcher ¶ added in v0.6.5
func (c *EthArbClient) NewGlobalInboxWatcher(address common.Address, rollupAddress common.Address) (arbbridge.GlobalInboxWatcher, error)
func (*EthArbClient) NewIERC20Watcher ¶ added in v0.7.0
func (c *EthArbClient) NewIERC20Watcher(address common.Address) (arbbridge.IERC20Watcher, error)
func (*EthArbClient) NewInboxTopChallengeWatcher ¶
func (c *EthArbClient) NewInboxTopChallengeWatcher(address common.Address) (arbbridge.InboxTopChallengeWatcher, error)
func (*EthArbClient) NewRollupWatcher ¶
func (c *EthArbClient) NewRollupWatcher(address common.Address) (arbbridge.ArbRollupWatcher, error)
func (*EthArbClient) SubscribeBlockHeaders ¶
func (c *EthArbClient) SubscribeBlockHeaders(ctx context.Context, startBlockId *common.BlockId) (<-chan arbbridge.MaybeBlockId, error)
func (*EthArbClient) SubscribeBlockHeadersAfter ¶ added in v0.7.0
func (c *EthArbClient) SubscribeBlockHeadersAfter(ctx context.Context, prevBlockId *common.BlockId) (<-chan arbbridge.MaybeBlockId, error)
func (*EthArbClient) TimestampForBlockHash ¶ added in v0.7.0
type IERC20 ¶ added in v0.7.0
type IERC20 struct { *IERC20Watcher // contains filtered or unexported fields }
type IERC20Watcher ¶ added in v0.7.0
type IERC20Watcher struct { IERC20 *ethbridgecontracts.IERC20 // contains filtered or unexported fields }
type MerkleTree ¶
type MerkleTree struct {
// contains filtered or unexported fields
}
func NewMerkleTree ¶
func NewMerkleTree(elements []common.Hash) *MerkleTree
func (*MerkleTree) GetProofFlat ¶
func (m *MerkleTree) GetProofFlat(index int) []byte
func (*MerkleTree) GetRoot ¶
func (m *MerkleTree) GetRoot() common.Hash
type TransactAuth ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.