Distributor
Config
InstantiateMsg
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)]
pub struct InstantiateMsg {
pub gov_contract: String, // anchor gov contract
pub anchor_token: String, // anchor token address
pub whitelist: Vec<String>, // whitelisted contract addresses allowed to spend from distributor
pub spend_limit: Uint128, // spend limit per each `spend` request
}{
"gov_contract": "terra1...",
"anchor_token": "terra1...",
"whitelist": [
"terra1...",
"terra1...",
"terra1..."
],
"spend_limit": "100000000"
}ExecuteMsg
UpdateConfig
UpdateConfigSpend
SpendAddDistributor
AddDistributorRemoveDistributor
RemoveDistributorQueryMsg
Config
ConfigConfigResponse
ConfigResponseLast updated
Was this helpful?