Struct croncat_sdk_tasks::msg::TasksInstantiateMsg
source · pub struct TasksInstantiateMsg {
pub chain_name: String,
pub version: Option<String>,
pub owner_addr: Option<String>,
pub croncat_manager_key: (String, [u8; 2]),
pub croncat_agents_key: (String, [u8; 2]),
pub slot_granularity_time: Option<u64>,
pub gas_base_fee: Option<u64>,
pub gas_action_fee: Option<u64>,
pub gas_query_fee: Option<u64>,
pub gas_limit: Option<u64>,
}
Fields§
§chain_name: String
Chain name to add prefix to the task_hash
version: Option<String>
Assigned by Factory, denotes the version of this contract (CW2 spec) & used as the task verion as well.
owner_addr: Option<String>
Address of the contract owner, defaults to the sender
croncat_manager_key: (String, [u8; 2])
Name of the key for raw querying Manager address from the factory
croncat_agents_key: (String, [u8; 2])
Name of the key for raw querying Agents address from the factory
slot_granularity_time: Option<u64>
Time in nanos for each bucket of tasks
gas_base_fee: Option<u64>
Gas needed to cover proxy call without any action
gas_action_fee: Option<u64>
Gas needed to cover single non-wasm task’s Action
gas_query_fee: Option<u64>
Gas needed to cover single query
gas_limit: Option<u64>
Gas limit, to make sure task won’t lock contract
Trait Implementations§
source§impl Clone for TasksInstantiateMsg
impl Clone for TasksInstantiateMsg
source§fn clone(&self) -> TasksInstantiateMsg
fn clone(&self) -> TasksInstantiateMsg
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 TasksInstantiateMsg
impl Debug for TasksInstantiateMsg
source§impl<'de> Deserialize<'de> for TasksInstantiateMsg
impl<'de> Deserialize<'de> for TasksInstantiateMsg
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 TasksInstantiateMsg
impl JsonSchema for TasksInstantiateMsg
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<TasksInstantiateMsg> for TasksInstantiateMsg
impl PartialEq<TasksInstantiateMsg> for TasksInstantiateMsg
source§fn eq(&self, other: &TasksInstantiateMsg) -> bool
fn eq(&self, other: &TasksInstantiateMsg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.