Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asset ¶
type Asset struct { CreatedAt time.Time `gorm:"index:,"` ID uint `gorm:"primary_key; uniqueIndex"` Asset string `gorm:"type:varchar(128); uniqueIndex"` Decimals uint `gorm:"int(4)"` Name string `gorm:"type:varchar(128)"` Symbol string `gorm:"type:varchar(128)"` Type string `gorm:"type:varchar(12)"` Coin uint }
func AssetFromTokenTransfer ¶
func AssetsFrom ¶
type Subscription ¶
type SubscriptionsAssetAssociation ¶
type SubscriptionsAssetAssociation struct { CreatedAt time.Time `gorm:"index;"` Subscription Subscription `gorm:"ForeignKey:SubscriptionId; not null"` SubscriptionId uint `gorm:"primary_key; autoIncrement:false; index"` Asset Asset `gorm:"ForeignKey:AssetId; not null"` AssetId uint `gorm:"primary_key; autoIncrement:false; index"` }
Click to show internal directories.
Click to hide internal directories.