Documentation ¶
Overview ¶
Package tables /**
Package tables /**
Package tables /**
Package mysql /**
Package tables /**
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Quickswap ¶
type Quickswap struct { ID int `json:"id"` Token0Symbol string `gorm:"type:varchar(32)" json:"token0symbol"` Token0Name string `gorm:"type:varchar(128)" json:"token0name"` Token0Address string `gorm:"type:varchar(64)" json:"token0address"` Token1Symbol string `gorm:"type:varchar(32)" json:"token1symbol"` Token1Name string `gorm:"type:varchar(128)" json:"token1name"` Token1Address string `gorm:"type:varchar(64)" json:"token1address"` PairAddress string `gorm:"type:varchar(64)" json:"address" gorm:"primary_key"` CreateTime time.Time `gorm:"column:create_time; type:TIMESTAMP;default:CURRENT_TIMESTAMP;<-:create" json:"createtime,omitempty"` UpdateTime time.Time `gorm:"column:update_time; type:TIMESTAMP;default:CURRENT_TIMESTAMP on update current_timestamp" json:"updatetime,omitempty"` }
type SamePairs ¶
type SamePairs struct { ID int `json:"id"` Token0Symbol string `gorm:"type:varchar(32)" json:"token0symbol"` Token0Name string `gorm:"type:varchar(128)" json:"token0name"` Token0Address string `gorm:"type:varchar(64)" json:"token0address"` PairAddress0 string `gorm:"type:varchar(64)" json:"address0"` Protocol0 string `gorm:"type:varchar(32)" json:"protocol0"` Token1Symbol string `gorm:"type:varchar(32)" json:"token1symbol"` Token1Name string `gorm:"type:varchar(128)" json:"token1name"` Token1Address string `gorm:"type:varchar(64)" json:"token1address"` PairAddress1 string `gorm:"type:varchar(64)" json:"address1"` Protocol1 string `gorm:"type:varchar(32)" json:"protocol1"` CreateTime time.Time `gorm:"column:create_time; type:TIMESTAMP;default:CURRENT_TIMESTAMP;<-:create" json:"createtime,omitempty"` UpdateTime time.Time `gorm:"column:update_time; type:TIMESTAMP;default:CURRENT_TIMESTAMP on update current_timestamp" json:"updatetime,omitempty"` }
type Sushiswap ¶
type Sushiswap struct { ID int `json:"id"` Token0Symbol string `gorm:"type:varchar(32)" json:"token0symbol"` Token0Name string `gorm:"type:varchar(128)" json:"token0name"` Token0Address string `gorm:"type:varchar(64)" json:"token0address"` Token1Symbol string `gorm:"type:varchar(32)" json:"token1symbol"` Token1Name string `gorm:"type:varchar(128)" json:"token1name"` Token1Address string `gorm:"type:varchar(64)" json:"token1address"` PairAddress string `gorm:"type:varchar(64)" json:"address" gorm:"primary_key"` CreateTime time.Time `gorm:"column:createtime; type:TIMESTAMP;default:CURRENT_TIMESTAMP;<-:create" json:"createtime,omitempty"` UpdateTime time.Time `gorm:"column:updatetime; type:TIMESTAMP;default:CURRENT_TIMESTAMP on update current_timestamp" json:"updatetime,omitempty"` }
Click to show internal directories.
Click to hide internal directories.