Documentation
¶
Index ¶
- type Transaction
- func (t *Transaction) CheckBlockOnChain(hash qlctypes.Hash) bool
- func (t *Transaction) Client() *qlcchain.QLCClient
- func (t *Transaction) GetSwapInfoHashByWithdrawSendBlock(hash qlctypes.Hash, store *gorm.DB) (*types.QGasSwapInfo, error)
- func (t *Transaction) ProcessAndWaitConfirmed(block *qlctypes.StateBlock) error
- func (t *Transaction) ReceiverBlockHash(hash qlctypes.Hash) (qlctypes.Hash, error)
- func (t *Transaction) ValidateAddress(addr string) error
- func (t *Transaction) WaitBlockConfirmedOnChain(hash qlctypes.Hash) bool
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 (*Transaction) ValidateAddress ¶
func (t *Transaction) ValidateAddress(addr string) error
func (*Transaction) WaitBlockConfirmedOnChain ¶
func (t *Transaction) WaitBlockConfirmedOnChain(hash qlctypes.Hash) bool
Click to show internal directories.
Click to hide internal directories.