Search
Preparing search index...
The search index is not available
Mirror.js
Options
All
Public
Public/Protected
All
Inherited
Menu
Mirror.js
contracts/MirrorCommunity
MirrorCommunity
Class MirrorCommunity
Hierarchy
ContractClient
MirrorCommunity
Index
Constructors
constructor
Properties
codeID
contract
Address
key
lcd
Accessors
wallet
Methods
get
Config
init
spend
update
Config
Constructors
constructor
new
Mirror
Community
(
options
:
Partial
<
{
codeID
:
number
;
contractAddress
:
string
;
key
:
Key
;
lcd
:
LCDClient
}
>
)
:
MirrorCommunity
Parameters
options:
Partial
<
{
codeID
:
number
;
contractAddress
:
string
;
key
:
Key
;
lcd
:
LCDClient
}
>
Returns
MirrorCommunity
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
get
Config
get
Config
(
)
:
Promise
<
ConfigResponse
>
Returns
Promise
<
ConfigResponse
>
init
init
(
init_msg
:
InitMsg
, migratable
:
boolean
)
:
MsgInstantiateContract
Parameters
init_msg:
InitMsg
migratable:
boolean
Returns
MsgInstantiateContract
spend
spend
(
recipient
:
string
, amount
:
Value
)
:
MsgExecuteContract
Parameters
recipient:
string
amount:
Value
Returns
MsgExecuteContract
update
Config
update
Config
(
config
:
{
owner
?:
undefined
|
string
;
spend_limit
?:
undefined
|
string
}
)
:
MsgExecuteContract
Parameters
config:
{
owner
?:
undefined
|
string
;
spend_limit
?:
undefined
|
string
}
Optional
owner
?:
undefined
|
string
Optional
spend_
limit
?:
undefined
|
string
Returns
MsgExecuteContract
Exports
client/
Mirror
contracts/
Contract
Client
contracts/
Mirror
Airdrop
contracts/
Mirror
Collector
contracts/
Mirror
Community
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
utils/
Asset
utils/
Empty
Key
utils/
Empty
Object
Mirror
Community
constructor
codeID
contract
Address
key
lcd
wallet
get
Config
init
spend
update
Config