model

package
v0.0.0-...-1369677 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Airdrop

type Airdrop struct {
	gorm.Model
	ContractAddress string `gorm:"comment:合约地址"`
	TokenId         string `gorm:"comment:TokenId"`
	ToAddress       string `gorm:"comment:接收空投地址"`
	State           int    `gorm:"comment:状态:0-待转出 1-正在转出 2-已转出 3-转出失败 4-跳过转出"`
	Txid            string `gorm:"comment:交易ID"`
	FromAddress     string `gorm:"comment:转出地址"`
	Nonce           uint64 `gorm:"comment:Nonce"`
	Raw             string `gorm:"type:text;comment:原始交易"`
	Version         int
}

func (*Airdrop) TableName

func (a *Airdrop) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL