Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

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

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

burn

  • burn(amount: Value): MsgExecuteContract

burnFrom

  • burnFrom(owner: string, amount: Value): MsgExecuteContract

decreaseAllowance

getAllAccounts

getAllAllowances

getAllowance

getBalance

getMinter

getTokenInfo

increaseAllowance

init

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

mint

  • mint(recipient: string, amount: Value): MsgExecuteContract

send

  • send(contract: string, amount: Value, msg?: string): MsgExecuteContract

sendFrom

  • sendFrom(owner: string, contract: string, amount: Value, msg?: any): MsgExecuteContract

transfer

  • transfer(recipient: string, amount: Value): MsgExecuteContract

transferFrom

  • transferFrom(owner: string, recipient: string, amount: Value): MsgExecuteContract