Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

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

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

claim

  • claim(stage: number, amount: Value, proof: string[]): MsgExecuteContract

getConfig

getIsClaimed

getLatestStage

getMerkleRoot

init

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

registerMerkleRoot

  • registerMerkleRoot(merkleRoot: string): MsgExecuteContract

updateConfig

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

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

    Returns MsgExecuteContract

updateMerkleRoot

  • updateMerkleRoot(stage: number, merkleRoot: string): MsgExecuteContract