Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgUpdateAlliance

MsgUpdateAlliance is gov content type to create a new alliance

Hierarchy

Index

Constructors

  • new MsgUpdateAlliance(authority: string, denom: string, rewardWeight: string, takeRate: string, rewardChangeRate: string, rewardChangeInterval?: Duration): MsgUpdateAlliance
  • description

    Update an existent alliance using the gov module

    Parameters

    • authority: string

      of the proposal

    • denom: string

      of the asset. It could either be a native token or an IBC token

    • rewardWeight: string

      specifies the ratio of rewards that will be given to each alliance asset it does not need to sum to 1. rate = weight / total_weight Native asset is always assumed to have a weight of 1.

    • takeRate: string

      positive take rate is used for liquid staking derivatives. It defines an annualized reward rate that will be redirected to the distribution rewards pool

    • rewardChangeRate: string

      how much the reward weight will change every rewardChangeInterval

    • Optional rewardChangeInterval: Duration

      how often the reward weight will change

    Returns MsgUpdateAlliance

Properties

authority: string
denom: string
rewardChangeInterval?: Duration
rewardChangeRate: string
rewardWeight: string
takeRate: string

Methods

  • packAny(_?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgUpdateAlliance