Community
Custodian for the NEB balance of the Community Pool. Owned by [[nebula-gov]].
InstantiateMsg#
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]pub struct InstantiateMsg { pub owner: String, // nebula gov contract pub nebula_token: String, // nebula token address pub spend_limit: Uint128, // spend limit per each `spend` request}| Key | Type | Description |
|---|---|---|
| owner | String | (address) owner of contract |
| nebula_token | String | (address) Nebula Token (NEB) contract |
| spend_limit | Uint128 | Maximum amount of NEB tokens that can be spent in a single grant |
ExecuteMsg#
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]#[serde(rename_all = "snake_case")]pub enum ExecuteMsg { /// OWNER-CALLABLE UpdateConfig { owner: Option<String>, spend_limit: Option<Uint128>, }, Spend { recipient: String, amount: Uint128, },}UpdateConfig#
| Key | Type | Description |
|---|---|---|
| owner | Option\<String> | (address) owner of contract |
| spend_limit | Option\<Uint128> | Maximum amount of NEB tokens that can be spent in a single grant |
Spend#
| Key | Type | Description |
|---|---|---|
| recipient | String | (address) recipient of funds |
| amount | Uint128 | Amount of NEB tokens to send |
QueryMsg#
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]#[serde(rename_all = "snake_case")]pub enum QueryMsg { Config {},}Config#
Request#
| Key | Type | Description |
|---|---|---|
| This message takes no arguments. | ||