pub struct InstantiateMsg {
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<TasksInstantiateMsg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TasksInstantiateMsg, <__D as Deserializer<'de>>::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 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