services

package
v0.0.0-...-eb934a0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 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)
	SlicePortal() (common.Address, *bindings.SlicePortal)
}

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) SlicePortal

func (b *BedrockAddresses) SlicePortal() (common.Address, *bindings.SlicePortal)

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) SlicePortal

func (a *LegacyAddresses) SlicePortal() (common.Address, *bindings.SlicePortal)

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