ethereum

package
v0.0.0-...-a330c89 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SolanaVAASubmitter

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

func NewSolanaVAASubmitter

func NewSolanaVAASubmitter(url string, lockEvents chan *common.ChainLock, vaaQueue chan *vaa.VAA) *SolanaVAASubmitter

func (*SolanaVAASubmitter) Run

type SolanaWatcher

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

func NewSolanaWatcher

func NewSolanaWatcher(wsUrl, rpcUrl string, bridgeAddress solana.PublicKey, lockEvents chan *common.ChainLock) *SolanaWatcher

func (*SolanaWatcher) Run

func (s *SolanaWatcher) Run(ctx context.Context) error

type TransferOutProposal

type TransferOutProposal struct {
	Amount           *big.Int
	ToChainID        vaa.ChainID
	SourceAddress    vaa.Address
	ForeignAddress   vaa.Address
	Asset            vaa.AssetMeta
	Nonce            uint32
	VAA              [1001]byte
	VaaTime          time.Time
	LockupTime       time.Time
	PokeCounter      uint8
	SignatureAccount solana.PublicKey
}

func ParseTransferOutProposal

func ParseTransferOutProposal(data []byte) (*TransferOutProposal, error)

Jump to

Keyboard shortcuts

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