Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new MirrorStaking(options: Partial<{ codeID: number; contractAddress: string; key: Key; lcd: LCDClient }>): MirrorStaking

Properties

Optional codeID

codeID: undefined | number

Optional contractAddress

contractAddress: undefined | string

key

key: Key

Optional lcd

lcd: undefined | LCDClient

Accessors

wallet

  • get wallet(): Wallet

Methods

bond

  • bond(asset_token: string, amount: Value, lp_token: TerraswapToken): MsgExecuteContract

depositReward

  • depositReward(asset_token: string, amount: Value, mirror_token: TerraswapToken): MsgExecuteContract

getConfig

getPoolInfo

getRewardInfo

init

  • init(init_msg: InitMsg, migratable: boolean): MsgInstantiateContract

registerAsset

  • registerAsset(asset_token: string, staking_token: string): MsgExecuteContract

unbond

  • unbond(asset_token: string, amount: Value): MsgExecuteContract

updateConfig

  • updateConfig(config: { owner?: undefined | string }): MsgExecuteContract
  • Parameters

    • config: { owner?: undefined | string }
      • Optional owner?: undefined | string

    Returns MsgExecuteContract

withdraw

  • withdraw(asset_token?: string): MsgExecuteContract