Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deposit ¶
type Deposit struct { ID uint64 Status DepositStatus Src mint.PublicKey Tx mint.Digest Dst common.Address Token mint.Token Amount *amount.Amount NextCheckAt time.Time }
Deposit is MNT transaction received to specific deposit address
type DepositStatus ¶
type DepositStatus uint8
DepositStatus enum
const ( // DepositEnqueued means MNT transactions has been just received DepositEnqueued DepositStatus = iota + 1 // DepositRequested means MNTP emission request has been sent to the external service (ethsvc) DepositRequested // DepositFailed means MNTP emission request failed DepositFailed )
func (DepositStatus) String ¶
func (ds DepositStatus) String() string
String is Stringer implementation
Click to show internal directories.
Click to hide internal directories.