Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AllTables = []interface{}{ &ERC20Transfer{}, &ERC1155Transfer{}, &FaucetClaimed{}, &GovernorProposal{}, &GovernorVoteCast{}, } )
Functions ¶
This section is empty.
Types ¶
type AddressList ¶
func (*AddressList) Get ¶
func (list *AddressList) Get() []common.Address
func (*AddressList) Scan ¶
func (list *AddressList) Scan(src interface{}) error
type BigIntList ¶
func (*BigIntList) Get ¶
func (list *BigIntList) Get() []*big.Int
func (*BigIntList) MarshalJSON ¶
func (list *BigIntList) MarshalJSON() ([]byte, error)
func (*BigIntList) Scan ¶
func (list *BigIntList) Scan(src interface{}) error
func (*BigIntList) UnmarshalJSON ¶
func (list *BigIntList) UnmarshalJSON(input []byte) error
type ERC1155Transfer ¶
type ERC20Transfer ¶
type FaucetClaimed ¶
type GovernorProposal ¶
type GovernorProposal struct {
Raw
Active bool // true:Pending,Active,Succeeded; false:Canceled,Defeated,Expired,Executed
ProposalId *BigInt `gorm:"type:char(32)"`
Proposer common.Address `gorm:"type:char(20)"`
Targets *AddressList
Values *BigIntList
Signatures *StringList
Calldatas *BytesList
VoteStart uint64
VoteEnd uint64
Description string `gorm:"size:2048"`
}
type GovernorVoteCast ¶
type StringList ¶
type StringList []string
func (*StringList) Get ¶
func (list *StringList) Get() []string
func (*StringList) Scan ¶
func (list *StringList) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.