pub struct ManagerInstantiateMsg {
pub version: Option<String>,
pub croncat_tasks_key: (String, [u8; 2]),
pub croncat_agents_key: (String, [u8; 2]),
pub pause_admin: Addr,
pub gas_price: Option<GasPrice>,
pub treasury_addr: Option<String>,
pub cw20_whitelist: Option<Vec<String>>,
}Fields§
§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
pause_admin: AddrA 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
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 duplicate 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 schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 for ManagerInstantiateMsg
impl PartialEq for ManagerInstantiateMsg
Source§impl Serialize for ManagerInstantiateMsg
impl Serialize for ManagerInstantiateMsg
impl StructuralPartialEq for ManagerInstantiateMsg
Auto Trait Implementations§
impl Freeze for ManagerInstantiateMsg
impl RefUnwindSafe for ManagerInstantiateMsg
impl Send for ManagerInstantiateMsg
impl Sync for ManagerInstantiateMsg
impl Unpin for ManagerInstantiateMsg
impl UnwindSafe for ManagerInstantiateMsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more