services

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 10 Imported by: 0

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 NewAirdrop

func NewAirdrop(db *db.Database, metrics *metrics.Metrics) *Airdrop

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)

Directories

Path Synopsis
l1
l2

Jump to

Keyboard shortcuts

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