pub struct SystemConfig {Show 18 fields
pub block_explorer_url: String,
pub bridged_tokens: Vec<BridgedToken>,
pub environment: String,
pub l1_chain_id: String,
pub l1_core_contract_address: String,
pub l1_operator_address: String,
pub liquidation_fee: f64,
pub oracle_address: String,
pub paraclear_account_hash: String,
pub paraclear_account_proxy_hash: String,
pub paraclear_address: String,
pub paraclear_decimals: u32,
pub partial_liquidation_buffer: f64,
pub partial_liquidation_share_increment: f64,
pub starknet_chain_id: String,
pub starknet_fullnode_rpc_url: String,
pub starknet_gateway_url: String,
pub universal_deployer_address: String,
}Fields§
§block_explorer_url: String§bridged_tokens: Vec<BridgedToken>§environment: String§l1_chain_id: String§l1_core_contract_address: String§l1_operator_address: String§liquidation_fee: f64§oracle_address: String§paraclear_account_hash: String§paraclear_account_proxy_hash: String§paraclear_address: String§paraclear_decimals: u32§partial_liquidation_buffer: f64§starknet_chain_id: String§starknet_fullnode_rpc_url: String§starknet_gateway_url: String§universal_deployer_address: StringTrait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
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 SystemConfig
impl Debug for SystemConfig
Source§impl<'de> Deserialize<'de> for SystemConfig
impl<'de> Deserialize<'de> for SystemConfig
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
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnwindSafe for SystemConfig
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