Struct croncat_sdk_tasks::msg::TasksInstantiateMsg
source · pub struct TasksInstantiateMsg {
pub chain_name: String,
pub version: Option<String>,
pub pause_admin: Addr,
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.
pause_admin: Addr
A multisig admin whose sole responsibility is to pause the contract in event of emergency. Must be a different contract address than DAO, cannot be a regular keypair Does not have the ability to unpause, must rely on the DAO to assess the situation and act accordingly
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
source§impl JsonSchema for TasksInstantiateMsg
impl JsonSchema for TasksInstantiateMsg
source§fn schema_name() -> String
fn schema_name() -> String
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<TasksInstantiateMsg> for TasksInstantiateMsg
impl PartialEq<TasksInstantiateMsg> for TasksInstantiateMsg
source§fn eq(&self, other: &TasksInstantiateMsg) -> bool
fn eq(&self, other: &TasksInstantiateMsg) -> bool
self
and other
values to be equal, and is used
by ==
.