Documentation
¶
Index ¶
- type Binding
- func (b *Binding) AddUser(user powerplay.Address, blockTime uint64)
- func (b *Binding) CreditPlan() (credit, recoveryRate *big.Int)
- func (b *Binding) CurrentSponsor() powerplay.Address
- func (b *Binding) IsSponsor(sponsor powerplay.Address) (flag bool)
- func (b *Binding) IsUser(user powerplay.Address) bool
- func (b *Binding) RemoveUser(user powerplay.Address)
- func (b *Binding) SelectSponsor(sponsor powerplay.Address)
- func (b *Binding) SetCreditPlan(credit, recoveryRate *big.Int)
- func (b *Binding) SetUserCredit(user powerplay.Address, credit *big.Int, blockTime uint64)
- func (b *Binding) Sponsor(sponsor powerplay.Address, flag bool)
- func (b *Binding) UserCredit(user powerplay.Address, blockTime uint64) *big.Int
- type Prototype
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
type Binding struct {
// contains filtered or unexported fields
}
func (*Binding) CreditPlan ¶
func (*Binding) CurrentSponsor ¶
func (*Binding) RemoveUser ¶
func (*Binding) SelectSponsor ¶
func (*Binding) SetCreditPlan ¶
func (*Binding) SetUserCredit ¶
Click to show internal directories.
Click to hide internal directories.