pub enum ManagerExecuteMsg {
Show 14 variants
UpdateConfig(Box<UpdateConfig>),
ProxyCall {
task_hash: Option<String>,
},
ProxyBatch(Vec<Option<String>>),
ProxyCallForwarded {
agent_addr: Addr,
task_hash: Option<String>,
},
RefillTaskBalance {
task_hash: String,
},
RefillTaskCw20Balance {
task_hash: String,
cw20: Cw20Coin,
},
Receive(Cw20ReceiveMsg),
CreateTaskBalance(Box<ManagerCreateTaskBalance>),
RemoveTask(ManagerRemoveTask),
OwnerWithdraw {},
UserWithdraw {
limit: Option<u64>,
},
AgentWithdraw(Option<AgentWithdrawOnRemovalArgs>),
PauseContract {},
UnpauseContract {},
}
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
ProxyBatch(Vec<Option<String>>)
Execute current task in the queue or task with queries if task_hash given
ProxyCallForwarded
Execute task just like in ProxyCall but used in conjunction of ProxyBatch. Can only be used internally via ProxyBatch entry point.
RefillTaskBalance
Receive native coins to include them to the task
RefillTaskCw20Balance
Receive(Cw20ReceiveMsg)
Receive cw20 coin
CreateTaskBalance(Box<ManagerCreateTaskBalance>)
Create task’s balance, called by the tasks contract
RemoveTask(ManagerRemoveTask)
Remove task’s balance, called by the tasks contract
OwnerWithdraw
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
PauseContract
Pauses all operations for this contract, can only be done by pause_admin
UnpauseContract
unpauses all operations for this contract, can only be unpaused by owner_addr
Trait Implementations§
Source§impl Clone for ManagerExecuteMsg
impl Clone for ManagerExecuteMsg
Source§fn clone(&self) -> ManagerExecuteMsg
fn clone(&self) -> ManagerExecuteMsg
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
Source§impl JsonSchema for ManagerExecuteMsg
impl JsonSchema for ManagerExecuteMsg
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more