Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAccountEVM ¶
func GenerateAccountEVM()
func GenerateAccountEVM33 ¶
func GenerateAccountEVM33(uid string)
Types ¶
type DepositOrder ¶
type DepositState ¶
type DepositState uint8
充币状态
const ( DepositInit DepositState = 1 //充币交易-初始化 DepositTransactionConfirming DepositState = 2 //充币交易-链上确认中 DepositTransactionConfirmSuccess DepositState = 3 //充币交易-链上确认成功 DepositTransactionConfirmFail DepositState = 4 //充币交易-链上确认失败 DepositBillConfirming DepositState = 5 //充币交易-交易所上账中 DepositBillConfirmSuccess DepositState = 6 //充币交易-交易所上账成功 DepositBillConfirmFail DepositState = 7 //充币交易-交易所上账失败 )
type PrivateKeyType ¶
type PrivateKeyType uint16
const ( PrivateKeyTypeEVM PrivateKeyType = 1 PrivateKeyTypeTron PrivateKeyType = 2 )
func SupportPrivateKeyType ¶
func SupportPrivateKeyType() []PrivateKeyType
type TokenDeposit ¶
type TokenWithdraw ¶
type WithdrawOrder ¶
type WithdrawOrder struct { WithdrawID uint64 `json:"WithdrawID"` //交易所指定的全局唯一ID Hash string `json:"Hash"` WithdrawState WithdrawState `json:"WithdrawState"` From string `json:"From"` To string `json:"To"` WithdrawAmount string `json:"WithdrawAmount"` FeeAmount string `json:"FeeAmount"` TotalAmount string `json:"TotalAmount"` Ts int64 `json:"Ts"` Remark string `json:"Remark"` //备注 }
type WithdrawState ¶
type WithdrawState uint8
提币状态
const ( WithdrawInit WithdrawState = 1 //提币交易-初始化 WithdrawTransactionBuild WithdrawState = 2 //提币交易-链上构建 WithdrawTransactionSign WithdrawState = 3 //提币交易-链上签名 WithdrawTransactionBroadcast WithdrawState = 4 //提币交易-链上广播 WithdrawTransactionConfirming WithdrawState = 5 //提币交易-链上确认中 WithdrawTransactionSuccess WithdrawState = 6 //提币交易-链上成功 WithdrawTransactionFail WithdrawState = 7 //提币交易-链上失败 WithdrawBillConfirming WithdrawState = 8 //充币交易-交易所上账中 WithdrawBillConfirmSuccess WithdrawState = 9 //充币交易-交易所上账成功 WithdrawBillConfirmFail WithdrawState = 10 //充币交易-交易所上账失败 )
Click to show internal directories.
Click to hide internal directories.