Struct ClassHashes
pub struct ClassHashes {Show 15 fields
pub normal_amm: String,
pub normal_math_runtime: String,
pub normal_factory_plugin: String,
pub lognormal_amm: String,
pub lognormal_math_runtime: String,
pub lognormal_factory_plugin: String,
pub bivariate_amm: String,
pub bivariate_math_runtime: String,
pub bivariate_factory_plugin: String,
pub multinoulli_amm: String,
pub multinoulli_math_runtime: String,
pub multinoulli_factory_plugin: String,
pub distribution_factory: String,
pub oracle: String,
pub insurance: String,
}Expand description
Class hashes for every contract in a Deadeye deployment.
Fields§
§normal_amm: StringNormal AMM contract class hash.
normal_math_runtime: StringNormal math runtime class hash.
normal_factory_plugin: StringNormal factory plugin class hash.
lognormal_amm: StringLognormal AMM class hash.
lognormal_math_runtime: StringLognormal math runtime class hash.
lognormal_factory_plugin: StringLognormal factory plugin class hash.
bivariate_amm: StringBivariate AMM class hash.
bivariate_math_runtime: StringBivariate math runtime class hash.
bivariate_factory_plugin: StringBivariate factory plugin class hash.
multinoulli_amm: StringMultinoulli AMM class hash.
multinoulli_math_runtime: StringMultinoulli math runtime class hash.
multinoulli_factory_plugin: StringMultinoulli factory plugin class hash.
distribution_factory: StringDistribution factory contract class hash.
oracle: StringOracle extension class hash.
insurance: StringInsurance contract class hash (absent in early mainnet deployments).
Trait Implementations§
§impl Clone for ClassHashes
impl Clone for ClassHashes
§fn clone(&self) -> ClassHashes
fn clone(&self) -> ClassHashes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ClassHashes
impl Debug for ClassHashes
§impl<'de> Deserialize<'de> for ClassHashes
impl<'de> Deserialize<'de> for ClassHashes
§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
§impl Serialize for ClassHashes
impl Serialize for ClassHashes
Auto Trait Implementations§
impl Freeze for ClassHashes
impl RefUnwindSafe for ClassHashes
impl Send for ClassHashes
impl Sync for ClassHashes
impl Unpin for ClassHashes
impl UnsafeUnpin for ClassHashes
impl UnwindSafe for ClassHashes
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