qlc

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

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

func NewTransaction

func NewTransaction(url string, signer *signer.SignerClient) (*Transaction, error)

func (*Transaction) CheckBlockOnChain

func (t *Transaction) CheckBlockOnChain(hash qlctypes.Hash) bool

func (*Transaction) Client

func (t *Transaction) Client() *qlcchain.QLCClient

func (*Transaction) GetSwapInfoHashByWithdrawSendBlock

func (t *Transaction) GetSwapInfoHashByWithdrawSendBlock(hash qlctypes.Hash, store *gorm.DB) (*types.QGasSwapInfo, error)

func (*Transaction) ProcessAndWaitConfirmed

func (t *Transaction) ProcessAndWaitConfirmed(block *qlctypes.StateBlock) error

func (*Transaction) ReceiverBlockHash

func (t *Transaction) ReceiverBlockHash(hash qlctypes.Hash) (qlctypes.Hash, error)

func (*Transaction) ValidateAddress

func (t *Transaction) ValidateAddress(addr string) error

func (*Transaction) WaitBlockConfirmedOnChain

func (t *Transaction) WaitBlockConfirmedOnChain(hash qlctypes.Hash) bool

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL