Documentation ¶
Index ¶
- type Bootstrap
- func (b *Bootstrap) Config(ctx context.Context) (BootstrapConfig, error)
- func (b *Bootstrap) NewClaimRewardsMessage(sender cosmos.AccAddress, withDrawUnlockedShares bool) (cosmos.Msg, error)
- func (b *Bootstrap) RewardPair() terra.Pair
- func (b *Bootstrap) UserInfo(ctx context.Context, address cosmos.AccAddress) (BootstrapUserInfo, error)
- type BootstrapConfig
- type BootstrapUserInfo
- type Field
- type FieldSnapshot
- type Governance
- type Mars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
func NewBootstrap ¶
func (*Bootstrap) NewClaimRewardsMessage ¶
func (*Bootstrap) RewardPair ¶
func (*Bootstrap) UserInfo ¶
func (b *Bootstrap) UserInfo(ctx context.Context, address cosmos.AccAddress) (BootstrapUserInfo, error)
type BootstrapConfig ¶
type BootstrapConfig struct {
MarsUstPoolAddress string
}
type BootstrapUserInfo ¶
type BootstrapUserInfo struct {
}type FieldSnapshot ¶
type Governance ¶
func NewGovernance ¶
func NewGovernance(querier *terra.Querier) (*Governance, error)
func (*Governance) MARSperXMARS ¶ added in v0.8.0
func (*Governance) NewStakeMessage ¶
func (g *Governance) NewStakeMessage(sender cosmos.AccAddress, amount decimal.Decimal) (cosmos.Msg, error)
func (*Governance) XMARSperMARS ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.