Documentation ¶
Index ¶
Constants ¶
View Source
const ( CooperativeWithdrawWaitResponse CooperativeWithdrawState = iota CooperativeWithdrawWaitTx = 1 CooperativeWithdrawSucceeded = 2 CooperativeWithdrawFailed = 3 )
View Source
const ( DepositWaitApprove DepositState = iota DepositWaitDeposit = 1 DepositSucceeded = 2 DepositFailed = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CooperativeWithdrawJob ¶
type CooperativeWithdrawJob struct { WithdrawHash string State CooperativeWithdrawState TxHash string Error string }
func NewCooperativeWithdrawJob ¶
func NewCooperativeWithdrawJob(withdrawHash string) *CooperativeWithdrawJob
type CooperativeWithdrawState ¶
type CooperativeWithdrawState int
type DepositJob ¶
type DepositJob struct { JobID string State DepositState Amount string ChannelID ctype.CidType ApproveTxHash string DepositTxHash string Error string }
func NewDepositJob ¶
type DepositState ¶
type DepositState int
Click to show internal directories.
Click to hide internal directories.