pub struct Config {
pub owner_addr: Addr,
pub pause_admin: Addr,
pub croncat_factory_addr: Addr,
pub croncat_tasks_key: (String, [u8; 2]),
pub croncat_agents_key: (String, [u8; 2]),
pub agent_fee: u16,
pub treasury_fee: u16,
pub gas_price: GasPrice,
pub treasury_addr: Option<Addr>,
pub cw20_whitelist: Vec<Addr>,
pub native_denom: String,
pub limit: u64,
}
Fields§
§owner_addr: Addr
§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_factory_addr: Addr
Address of the croncat_factory
croncat_tasks_key: (String, [u8; 2])
Key to query address of the tasks
croncat_agents_key: (String, [u8; 2])
Key to query address of the agents
agent_fee: u16
§treasury_fee: u16
§gas_price: GasPrice
§treasury_addr: Option<Addr>
§cw20_whitelist: Vec<Addr>
§native_denom: String
§limit: u64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl JsonSchema for Config
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 moreimpl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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