Struct croncat_sdk_manager::msg::ManagerInstantiateMsg
source · pub struct ManagerInstantiateMsg {
pub denom: String,
pub version: Option<String>,
pub croncat_tasks_key: (String, [u8; 2]),
pub croncat_agents_key: (String, [u8; 2]),
pub owner_addr: Option<String>,
pub gas_price: Option<GasPrice>,
pub treasury_addr: Option<String>,
pub cw20_whitelist: Option<Vec<String>>,
}Fields§
§denom: StringThe native denominator of current chain
version: Option<String>CW2 Version provided by factory
croncat_tasks_key: (String, [u8; 2])Name of the key for raw querying Tasks address from the factory
croncat_agents_key: (String, [u8; 2])Name of the key for raw querying Agents address from the factory
owner_addr: Option<String>Address of the contract owner, defaults to the sender
gas_price: Option<GasPrice>Gas prices that expected to be used by the agent
treasury_addr: Option<String>Contract’s treasury. Fees from tasks will go to this address, if set or to the owner address otherwise
cw20_whitelist: Option<Vec<String>>List of whitelisted cw20s
Trait Implementations§
source§impl Clone for ManagerInstantiateMsg
impl Clone for ManagerInstantiateMsg
source§fn clone(&self) -> ManagerInstantiateMsg
fn clone(&self) -> ManagerInstantiateMsg
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 ManagerInstantiateMsg
impl Debug for ManagerInstantiateMsg
source§impl<'de> Deserialize<'de> for ManagerInstantiateMsg
impl<'de> Deserialize<'de> for ManagerInstantiateMsg
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 ManagerInstantiateMsg
impl JsonSchema for ManagerInstantiateMsg
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<ManagerInstantiateMsg> for ManagerInstantiateMsg
impl PartialEq<ManagerInstantiateMsg> for ManagerInstantiateMsg
source§fn eq(&self, other: &ManagerInstantiateMsg) -> bool
fn eq(&self, other: &ManagerInstantiateMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.