Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct {
Address string `gorm:"primary_key;not null"`
ContractType ContractType `gorm:"contract_type" sql:"max_type"`
}
Enum doesn't work properly for now
func GetContract ¶
type ContractType ¶
type ContractType string
const ( ERC721 ContractType = "ERC721" ERC20 ContractType = "ERC20" )
func (*ContractType) Scan ¶
func (fit *ContractType) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.