Search
Preparing search index...
The search index is not available
Mirror.js
Options
All
Public
Public/Protected
All
Inherited
Menu
Mirror.js
contracts/TerraswapToken
TerraswapToken
Class TerraswapToken
Hierarchy
ContractClient
TerraswapToken
Index
Constructors
constructor
Properties
codeID
contract
Address
key
lcd
Accessors
wallet
Methods
burn
burn
From
decrease
Allowance
get
All
Accounts
get
All
Allowances
get
Allowance
get
Balance
get
Minter
get
Token
Info
increase
Allowance
init
mint
send
send
From
transfer
transfer
From
Constructors
constructor
new
Terraswap
Token
(
options
:
Partial
<
{
codeID
:
number
;
contractAddress
:
string
;
key
:
Key
;
lcd
:
LCDClient
}
>
)
:
TerraswapToken
Parameters
options:
Partial
<
{
codeID
:
number
;
contractAddress
:
string
;
key
:
Key
;
lcd
:
LCDClient
}
>
Returns
TerraswapToken
Properties
Optional
codeID
codeID
:
undefined
|
number
Optional
contract
Address
contract
Address
:
undefined
|
string
key
key
:
Key
Optional
lcd
lcd
:
undefined
|
LCDClient
Accessors
wallet
get
wallet
(
)
:
Wallet
Returns
Wallet
Methods
burn
burn
(
amount
:
Value
)
:
MsgExecuteContract
Parameters
amount:
Value
Returns
MsgExecuteContract
burn
From
burn
From
(
owner
:
string
, amount
:
Value
)
:
MsgExecuteContract
Parameters
owner:
string
amount:
Value
Returns
MsgExecuteContract
decrease
Allowance
decrease
Allowance
(
spender
:
string
, amount
:
Value
, expires
?:
ExpirationAtHeight
|
ExpirationAtTime
|
ExpirationNever
)
:
MsgExecuteContract
Parameters
spender:
string
amount:
Value
Optional
expires:
ExpirationAtHeight
|
ExpirationAtTime
|
ExpirationNever
Returns
MsgExecuteContract
get
All
Accounts
get
All
Accounts
(
start_after
?:
string
, limit
?:
number
)
:
Promise
<
AllAccountsResponse
>
Parameters
Optional
start_after:
string
Optional
limit:
number
Returns
Promise
<
AllAccountsResponse
>
get
All
Allowances
get
All
Allowances
(
owner
:
string
, start_after
?:
string
, limit
?:
number
)
:
Promise
<
AllAllowancesResponse
>
Parameters
owner:
string
Optional
start_after:
string
Optional
limit:
number
Returns
Promise
<
AllAllowancesResponse
>
get
Allowance
get
Allowance
(
owner
:
string
, spender
:
string
)
:
Promise
<
AllowanceResponse
>
Parameters
owner:
string
spender:
string
Returns
Promise
<
AllowanceResponse
>
get
Balance
get
Balance
(
address
?:
string
)
:
Promise
<
BalanceResponse
>
Parameters
Optional
address:
string
Returns
Promise
<
BalanceResponse
>
get
Minter
get
Minter
(
)
:
Promise
<
MinterResponse
>
Returns
Promise
<
MinterResponse
>
get
Token
Info
get
Token
Info
(
)
:
Promise
<
TokenInfoResponse
>
Returns
Promise
<
TokenInfoResponse
>
increase
Allowance
increase
Allowance
(
spender
:
string
, amount
:
Value
, expires
?:
ExpirationAtHeight
|
ExpirationAtTime
|
ExpirationNever
)
:
MsgExecuteContract
Parameters
spender:
string
amount:
Value
Optional
expires:
ExpirationAtHeight
|
ExpirationAtTime
|
ExpirationNever
Returns
MsgExecuteContract
init
init
(
init_msg
:
InitMsg
, migratable
:
boolean
)
:
MsgInstantiateContract
Parameters
init_msg:
InitMsg
migratable:
boolean
Returns
MsgInstantiateContract
mint
mint
(
recipient
:
string
, amount
:
Value
)
:
MsgExecuteContract
Parameters
recipient:
string
amount:
Value
Returns
MsgExecuteContract
send
send
(
contract
:
string
, amount
:
Value
, msg
?:
string
)
:
MsgExecuteContract
Parameters
contract:
string
amount:
Value
Optional
msg:
string
Returns
MsgExecuteContract
send
From
send
From
(
owner
:
string
, contract
:
string
, amount
:
Value
, msg
?:
any
)
:
MsgExecuteContract
Parameters
owner:
string
contract:
string
amount:
Value
Optional
msg:
any
Returns
MsgExecuteContract
transfer
transfer
(
recipient
:
string
, amount
:
Value
)
:
MsgExecuteContract
Parameters
recipient:
string
amount:
Value
Returns
MsgExecuteContract
transfer
From
transfer
From
(
owner
:
string
, recipient
:
string
, amount
:
Value
)
:
MsgExecuteContract
Parameters
owner:
string
recipient:
string
amount:
Value
Returns
MsgExecuteContract
Exports
client/
Mirror
contracts/
Contract
Client
contracts/
Mirror
Airdrop
contracts/
Mirror
Collector
contracts/
Mirror
Community
contracts/
Mirror
Factory
contracts/
Mirror
Gov
contracts/
Mirror
Mint
contracts/
Mirror
Oracle
contracts/
Mirror
Staking
contracts/
Terraswap
Factory
contracts/
Terraswap
Pair
contracts/
Terraswap
Token
Terraswap
Token
utils/
Asset
utils/
Empty
Key
utils/
Empty
Object
Terraswap
Token
constructor
codeID
contract
Address
key
lcd
wallet
burn
burn
From
decrease
Allowance
get
All
Accounts
get
All
Allowances
get
Allowance
get
Balance
get
Minter
get
Token
Info
increase
Allowance
init
mint
send
send
From
transfer
transfer
From