pub struct Contract {
pub id: Uuid,
pub chain_id: i64,
pub program_address: Option<String>,
pub controller_address: String,
pub proxy_address: String,
pub deposit_address: String,
pub tokens: Vec<ContractToken>,
pub contract_version: i64,
pub onramp: Option<Onramp>,
}Expand description
Smart contract information
Fields§
§id: Uuid§chain_id: i64§program_address: Option<String>§controller_address: String§proxy_address: String§deposit_address: String§tokens: Vec<ContractToken>§contract_version: i64§onramp: Option<Onramp>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contract
impl<'de> Deserialize<'de> for Contract
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 Contract
impl RefUnwindSafe for Contract
impl Send for Contract
impl Sync for Contract
impl Unpin for Contract
impl UnwindSafe for Contract
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