pub enum ManagerExecuteMsg {
UpdateConfig(Box<UpdateConfig>),
ProxyCall {
task_hash: Option<String>,
},
RefillTaskBalance {
task_hash: String,
},
RefillTaskCw20Balance {
task_hash: String,
cw20: Cw20Coin,
},
Receive(Cw20ReceiveMsg),
CreateTaskBalance(ManagerCreateTaskBalance),
RemoveTask(ManagerRemoveTask),
OwnerWithdraw {},
UserWithdraw {
limit: Option<u64>,
},
AgentWithdraw(Option<AgentWithdrawOnRemovalArgs>),
}Variants§
UpdateConfig(Box<UpdateConfig>)
Updates the croncat Config. Note: it’s shared across contracts
ProxyCall
Execute current task in the queue or task with queries if task_hash given
RefillTaskBalance
Receive native coins to include them to the task
RefillTaskCw20Balance
Receive(Cw20ReceiveMsg)
Receive cw20 coin
CreateTaskBalance(ManagerCreateTaskBalance)
Create task’s balance, called by the tasks contract
RemoveTask(ManagerRemoveTask)
Remove task’s balance, called by the tasks contract
OwnerWithdraw
Fields
Move balances from the manager to the owner address, or treasury_addr if set
UserWithdraw
Withdraw temp coins for users
AgentWithdraw(Option<AgentWithdrawOnRemovalArgs>)
Withdraw agent rewards on agent removal, this should be called only by agent contract
Trait Implementations§
source§impl Clone for ManagerExecuteMsg
impl Clone for ManagerExecuteMsg
source§fn clone(&self) -> ManagerExecuteMsg
fn clone(&self) -> ManagerExecuteMsg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ManagerExecuteMsg
impl Debug for ManagerExecuteMsg
source§impl<'de> Deserialize<'de> for ManagerExecuteMsg
impl<'de> Deserialize<'de> for ManagerExecuteMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for ManagerExecuteMsg
impl JsonSchema for ManagerExecuteMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<ManagerExecuteMsg> for ManagerExecuteMsg
impl PartialEq<ManagerExecuteMsg> for ManagerExecuteMsg
source§fn eq(&self, other: &ManagerExecuteMsg) -> bool
fn eq(&self, other: &ManagerExecuteMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.