1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package models
- type UserInfo struct {
- Id int64
- Addr string `xorm:"pk"`
- Direct string
- DirectNumber int
- IndirectRewards float64 `xorm:"Decimal"`
- Indirect string
- IndirectNumber int
- DirectRewards float64 `xorm:"Decimal"`
- Superiors string
- AvailableClaim float64 `xorm:"Decimal"`
- TotalClaimed float64 `xorm:"Decimal"`
- AvailableReinput float64 `xorm:"Decimal"`
- TotalReinputed float64 `xorm:"Decimal"`
- ParticipateAmount float64 `xorm:"Decimal"`
- State int
- CreateTime string
- Hash string
- }
- type Performance struct {
- Addr string `xorm:"pk"`
- TotalPerformance float64 `xorm:"Decimal"`
- PerformanceLevel int
- PerformanceRewards float64 `xorm:"Decimal"`
- Recorded int
- MarketNum int
- MarketLevel int
- MarketRewards float64 `xorm:"Decimal"`
- CommunityGift float64 `xorm:"Decimal"`
- CommunityNode float64 `xorm:"Decimal"`
- }
- type BlockInfo struct {
- Id int64
- BlockNumber int64
- Hash string
- }
- type RewardsPool struct {
- Id int64
- TeamPerformance float64 `xorm:"Decimal"`
- TeamCultivate float64 `xorm:"Decimal"`
- TotalPool float64 `xorm:"Decimal"`
- }
- type ClaimedTxs struct {
- Id int64
- Addr string
- Amount float64 `xorm:"Decimal"`
- BlockHeight int64
- Hash string `xorm:"pk"`
- Signature string
- CreateTime string
- State int
- Droped int
- }
|