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