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
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
PauseContract
Fields
Pauses all operations for this contract, can only be done by pause_admin
UnpauseContract
Fields
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$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
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ManagerExecuteMsg
impl Serialize for ManagerExecuteMsg
impl StructuralPartialEq for ManagerExecuteMsg
Auto Trait Implementations§
impl RefUnwindSafe for ManagerExecuteMsg
impl Send for ManagerExecuteMsg
impl Sync for ManagerExecuteMsg
impl Unpin for ManagerExecuteMsg
impl UnwindSafe for ManagerExecuteMsg
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere T: CastFrom<U>,
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read more