Skip to main content

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}
KeyTypeDescription
ownerString(address) owner of contract
nebula_tokenString(address) Nebula Token (NEB) contract
spend_limitUint128Maximum 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#

KeyTypeDescription
ownerOption\<String>(address) owner of contract
spend_limitOption\<Uint128>Maximum amount of NEB tokens that can be spent in a single grant

Spend#

KeyTypeDescription
recipientString(address) recipient of funds
amountUint128Amount of NEB tokens to send

QueryMsg#

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]#[serde(rename_all = "snake_case")]pub enum QueryMsg {    Config {},}

Config#

Request#

KeyTypeDescription
This message takes no arguments.

Response#