Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DropInfo ¶
type DropInfo struct { Id string `json:"id" gorm:"id"` ActivityId int64 `gorm:"activity_id" json:"activityId"` Address string `json:"address" gorm:"address"` DropAmount *big.Int `json:"dropAmount" gorm:"serializer:u256;column:drop_amount"` DropType int8 `gorm:"drop_type" json:"dropType"` Timestamp uint64 `json:"timestamp" gorm:"timestamp"` TokenContractAddr string `gorm:"token_contract_addr" json:"tokenContractAddr"` BusinessName string `gorm:"business_name" json:"businessName"` TransactionHash string `gorm:"transaction_hash" json:"transactionHash"` EventSignature string `gorm:"event_signature" json:"eventSignature"` ReturnAmount *big.Int `gorm:"serializer:u256;column:return_amount" json:"returnAmount"` MinedAmount *big.Int `gorm:"serializer:u256;column:mined_amount" json:"minedAmount"` }
type DropInfoDB ¶
type DropInfoDB interface { DropInfoView StoreDropInfo(drop DropInfo) error }
func NewDropInfoDB ¶
func NewDropInfoDB(db *gorm.DB) DropInfoDB
Click to show internal directories.
Click to hide internal directories.