Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressManager ¶
type AddressManager interface { L1StandardBridge() (common.Address, *bindings.L1StandardBridge) StateCommitmentChain() (common.Address, *legacy_bindings.StateCommitmentChain) OptimismPortal() (common.Address, *bindings.OptimismPortal) }
func NewBedrockAddresses ¶
func NewBedrockAddresses(client bind.ContractBackend, l1SBAddr, portalAddr common.Address) (AddressManager, error)
func NewLegacyAddresses ¶
func NewLegacyAddresses(client bind.ContractBackend, addrMgrAddr common.Address) (AddressManager, error)
type Airdrop ¶
type Airdrop struct {
// contains filtered or unexported fields
}
func (*Airdrop) GetAirdrop ¶
func (a *Airdrop) GetAirdrop(w http.ResponseWriter, r *http.Request)
type BedrockAddresses ¶
type BedrockAddresses struct {
// contains filtered or unexported fields
}
func (*BedrockAddresses) L1StandardBridge ¶
func (b *BedrockAddresses) L1StandardBridge() (common.Address, *bindings.L1StandardBridge)
func (*BedrockAddresses) OptimismPortal ¶
func (b *BedrockAddresses) OptimismPortal() (common.Address, *bindings.OptimismPortal)
func (*BedrockAddresses) StateCommitmentChain ¶
func (b *BedrockAddresses) StateCommitmentChain() (common.Address, *legacy_bindings.StateCommitmentChain)
type LegacyAddresses ¶
type LegacyAddresses struct {
// contains filtered or unexported fields
}
func (*LegacyAddresses) L1StandardBridge ¶
func (a *LegacyAddresses) L1StandardBridge() (common.Address, *bindings.L1StandardBridge)
func (*LegacyAddresses) OptimismPortal ¶
func (a *LegacyAddresses) OptimismPortal() (common.Address, *bindings.OptimismPortal)
func (*LegacyAddresses) StateCommitmentChain ¶
func (a *LegacyAddresses) StateCommitmentChain() (common.Address, *legacy_bindings.StateCommitmentChain)
Click to show internal directories.
Click to hide internal directories.