Community
Last updated
Was this helpful?
Last updated
Was this helpful?
The Community Contract holds the funds of the , which can be spent through a governance poll.
Name
Type
Description
gov_contract
CanonicalAddr
Contract address of Gov
anchor_token
CanonicalAddr
Contract address of Anchor Token (ANC)
spend_limit
Uint128
Upper cap on community grant size
Name
Type
Description
gov_contract
String
Contract address of Gov
anchor_token
String
Contract address of Anchor Token (ANC)
spend_limit
Uint128
Upper cap on community grant size
UpdateConfig
Updates the Collector contract configuration.
Name
Type
Description
spend_limit
*
Uint128
New upper cap on community grant size
* = optional
Spend
Transfers ANC tokens to the grant recipient. Can only be issued by the Gov contract.
Name
Type
Description
recipient
String
Recipient of community grant
amount
Uint128
Community grant amount
Config
Gets the Collector contract configuration.
Name
Type
Description
ConfigResponse
Name
Type
Description
gov_contract
String
Contract address of Gov
anchor_token
String
Contract address of Anchor Token (ANC)
spend_limit
Uint128
Upper cap on community grant size