Documentation ¶
Index ¶
- type Binding
- func (b *Binding) AddUser(user meter.Address, blockTime uint64)
- func (b *Binding) CreditPlan() (credit, recoveryRate *big.Int)
- func (b *Binding) CurrentSponsor() meter.Address
- func (b *Binding) IsSponsor(sponsor meter.Address) (flag bool)
- func (b *Binding) IsUser(user meter.Address) bool
- func (b *Binding) RemoveUser(user meter.Address)
- func (b *Binding) SelectSponsor(sponsor meter.Address)
- func (b *Binding) SetCreditPlan(credit, recoveryRate *big.Int)
- func (b *Binding) SetUserCredit(user meter.Address, credit *big.Int, blockTime uint64)
- func (b *Binding) Sponsor(sponsor meter.Address, flag bool)
- func (b *Binding) UserCredit(user meter.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.