Enum cw_croncat_core::msg::ExecuteMsg
source · pub enum ExecuteMsg {
Show 15 variants
UpdateSettings {
owner_id: Option<String>,
slot_granularity_time: Option<u64>,
paused: Option<bool>,
agent_fee: Option<u64>,
gas_base_fee: Option<Uint64>,
gas_action_fee: Option<Uint64>,
gas_query_fee: Option<Uint64>,
gas_wasm_query_fee: Option<Uint64>,
gas_price: Option<GasPrice>,
proxy_callback_gas: Option<u32>,
min_tasks_per_agent: Option<u64>,
agents_eject_threshold: Option<u64>,
},
MoveBalances {
balances: Vec<Balance>,
account_id: String,
},
RegisterAgent {
payable_account_id: Option<String>,
},
UpdateAgent {
payable_account_id: String,
},
CheckInAgent {},
UnregisterAgent {
from_behind: Option<bool>,
},
WithdrawReward {},
CreateTask {
task: TaskRequest,
},
RemoveTask {
task_hash: String,
},
RefillTaskBalance {
task_hash: String,
},
RefillTaskCw20Balance {
task_hash: String,
cw20_coins: Vec<Cw20Coin>,
},
ProxyCall {
task_hash: Option<String>,
},
Receive(Cw20ReceiveMsg),
WithdrawWalletBalance {
cw20_amounts: Vec<Cw20Coin>,
},
Tick {},
}Variants§
UpdateSettings
Fields
MoveBalances
RegisterAgent
UpdateAgent
CheckInAgent
Fields
UnregisterAgent
WithdrawReward
Fields
CreateTask
Fields
§
task: TaskRequestRemoveTask
RefillTaskBalance
RefillTaskCw20Balance
ProxyCall
Receive(Cw20ReceiveMsg)
Receive cw20 token
WithdrawWalletBalance
Tick
Fields
Trait Implementations§
source§impl Clone for ExecuteMsg
impl Clone for ExecuteMsg
source§fn clone(&self) -> ExecuteMsg
fn clone(&self) -> ExecuteMsg
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 ExecuteMsg
impl Debug for ExecuteMsg
source§impl<'de> Deserialize<'de> for ExecuteMsg
impl<'de> Deserialize<'de> for ExecuteMsg
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 ExecuteMsg
impl JsonSchema for ExecuteMsg
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
source§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<ExecuteMsg> for ExecuteMsg
impl PartialEq<ExecuteMsg> for ExecuteMsg
source§fn eq(&self, other: &ExecuteMsg) -> bool
fn eq(&self, other: &ExecuteMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.