Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssetInfoFactory ¶
func NewAssetInfoFactory() terra.AssetInfoFactory
Types ¶
type Farm ¶
func (*Farm) NewBondMessage ¶
type Prism ¶ added in v0.14.0
type Prism struct { Amps *Amps YLUNAStaking *YLUNAStaking Farm *Farm }
type PrismAssetInfo ¶
type PrismAssetInfo struct { Token string `json:"cw20,omitempty"` NativeToken string `json:"native,omitempty"` }
func (PrismAssetInfo) Id ¶
func (ai PrismAssetInfo) Id() string
func (PrismAssetInfo) IsNative ¶
func (ai PrismAssetInfo) IsNative() bool
type RewardInfo ¶
type Router ¶
type Router struct {
*terra.BaseRouter
}
type YLUNAStaking ¶ added in v0.14.0
func NewYLUNAStaking ¶ added in v0.14.0
func NewYLUNAStaking(lcd *terra.LCDClient) (*YLUNAStaking, error)
func (*YLUNAStaking) GetRewardInfo ¶ added in v0.14.0
func (y *YLUNAStaking) GetRewardInfo(ctx context.Context, address string) (RewardInfo, error)
func (*YLUNAStaking) NewClaimAndConvertRewardMessage ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.