Community
The Community Contract holds the funds of the Community Pool, which can be spent through a governance poll.
InstantiateMsg
Key
Type
Description
admins
Ves<String>
Campaign manager address
managing_token
String
Managed token address
ExecuteMsg
Receive
Key
Type
Description
Cw20ReceiveMsg
Uint128
Amount of tokens received
sender
Addr
Sender of token transfer
msg
*
Binary
Base64-encoded JSON of receive hook
* = optional
UpdateConfig
Key
Type
Description
admins*
Ves<String>
Campaign manager address
* = optional
IncreaseAllowance
Key
Type
Description
address
String
Wallet address of allowance campaign
amount
Uint128
Amount of increase
DecreaseAllowance
Key
Type
Description
address
String
Wallet address of allowance campaign
amount*
Uint128
Amount of decrease (None = Total)
* = optional
Transfer
Key
Type
Description
recipient
String
Address to receive payment
amount
Uint128
Amount to send
QueryMsg
Config
Config
Response
Key
Type
Description
admins
Ves<String>
Campaign manager address
managing_token
String
Managed token address
Balance
Response
Key
Type
Description
total_balance
Uint128
Contract balance
allowance_amount
Uint128
Entitled amount
free_balance
Uint128
Unauthorized or freely transferable number
Allowance
Key
Type
Description
address
String
Wallet address of allowance campaign
Response
Key
Type
Description
address
String
Wallet address of allowance campaign
allowed_amount
Uint128
Amount granted
remain_amount
Uint128
Transferable amount
Allowances
Key
Type
Description
start_after*
String
Wallet address to start query at
limit*
u32
Maximum number of query entries
order_by*
OrderBy
Order to make query
*=optional
Response
Key
Type
Description
allowances
Vec<AllowanceResponse>
List of Allowance
Last updated
Was this helpful?