Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBAccountRewardHistory ¶
type DBAccountRewardHistory struct { Account string Rewards string TotalRewards string Processor string Signature hexutil.Bytes Date time.Time }
func NewDBAccountRewardHistory ¶
func NewDBAccountRewardHistory(e *types.AccountRewardHistory) *DBAccountRewardHistory
func (*DBAccountRewardHistory) AccountRewardHistory ¶
func (m *DBAccountRewardHistory) AccountRewardHistory() (*types.AccountRewardHistory, error)
func (*DBAccountRewardHistory) Entity ¶
func (m *DBAccountRewardHistory) Entity() string
func (*DBAccountRewardHistory) Key ¶
func (m *DBAccountRewardHistory) Key() string
type DBGatewayRewardHistory ¶
type DBGatewayRewardHistory struct { // ID of the gateway GatewayID string // Date these rewards where issued Date time.Time AssumedCoverageShareUnits string // The reward in THIX "gweis" for this gateway Rewards string }
func NewDBGatewayRewardHistory ¶
func NewDBGatewayRewardHistory(e *types.GatewayRewardHistory) *DBGatewayRewardHistory
func (*DBGatewayRewardHistory) Entity ¶
func (m *DBGatewayRewardHistory) Entity() string
func (DBGatewayRewardHistory) GatewayRewardHistory ¶
func (m DBGatewayRewardHistory) GatewayRewardHistory() (*types.GatewayRewardHistory, error)
func (*DBGatewayRewardHistory) Key ¶
func (m *DBGatewayRewardHistory) Key() string
type DBMapperRewardHistory ¶
type DBMapperRewardHistory struct { // ID of the mapper MapperID string // Date these rewards where issued Date time.Time // The total amount of Coverage Share Units this mapper has a the date. MappingUnits string // The reward in THIX "gweis" for this mapper Rewards string }
func NewDBMapperRewardHistory ¶
func NewDBMapperRewardHistory(e *types.MapperRewardHistory) *DBMapperRewardHistory
func (*DBMapperRewardHistory) Entity ¶
func (m *DBMapperRewardHistory) Entity() string
func (*DBMapperRewardHistory) Key ¶
func (m *DBMapperRewardHistory) Key() string
func (DBMapperRewardHistory) MapperRewardHistory ¶
func (m DBMapperRewardHistory) MapperRewardHistory() (*types.MapperRewardHistory, error)
type DBRewardHistory ¶
type DBRewardHistory struct { // Date these rewards where issued Date time.Time TotalAssumedCoverageShareUnits string // The total amount of MappingUnits the mapper got rewards for TotalMappingUnits string // The total rewards issued in THIX "gweis" TotalRewards string }
func NewDBRewardHistory ¶
func NewDBRewardHistory(e *types.RewardHistory) *DBRewardHistory
func (*DBRewardHistory) Entity ¶
func (m *DBRewardHistory) Entity() string
func (*DBRewardHistory) Key ¶
func (m *DBRewardHistory) Key() string
func (*DBRewardHistory) RewardHistory ¶
func (m *DBRewardHistory) RewardHistory() (*types.RewardHistory, error)
Click to show internal directories.
Click to hide internal directories.