relayer

package
v0.0.0-...-1a342eb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RelayerBridgeRelation

type RelayerBridgeRelation struct {
	// contains filtered or unexported fields
}

func NewRelayerBridgeRelation

func NewRelayerBridgeRelation(
	db *database.DB,
	bridgeRpcService bridge.BridgeRpcService,
	shutdown context.CancelCauseFunc) (*RelayerBridgeRelation, error)

func (*RelayerBridgeRelation) ChangeTransferStatus

func (rbr *RelayerBridgeRelation) ChangeTransferStatus() error

func (*RelayerBridgeRelation) CrossChainTransfer

func (rbr *RelayerBridgeRelation) CrossChainTransfer() error

func (*RelayerBridgeRelation) Start

func (rbr *RelayerBridgeRelation) Start() error

type RelayerFundingPool

type RelayerFundingPool struct {
	// contains filtered or unexported fields
}

func NewRelayerFundingPool

func NewRelayerFundingPool(
	db *database.DB,
	bridgeRpcService bridge.BridgeRpcService,
	rpcS []*config.RPC,
	shutdown context.CancelCauseFunc) (*RelayerFundingPool, error)

func (*RelayerFundingPool) FundingPoolCross

func (rfp *RelayerFundingPool) FundingPoolCross()

func (*RelayerFundingPool) ScanL1NeedFundBalance

func (rfp *RelayerFundingPool) ScanL1NeedFundBalance() error

func (*RelayerFundingPool) ScanL2NeedFundBalance

func (rfp *RelayerFundingPool) ScanL2NeedFundBalance() error

func (*RelayerFundingPool) Start

func (rfp *RelayerFundingPool) Start() error

type RelayerListener

type RelayerListener struct {
	// contains filtered or unexported fields
}

func NewRelayerListener

func NewRelayerListener(
	db *database.DB,
	chainId string,
	l1Contracts []string,
	l2Contracts []string,
	l1EventStartBlock uint64,
	l2EventStartBlock uint64,
	layerType int,
	shutdown context.CancelCauseFunc,
	loopInterval time.Duration, epoch uint64) (*RelayerListener, error)

func (*RelayerListener) Start

func (rl *RelayerListener) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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