Struct tea_sdk::solc::ContractAddresses
pub struct ContractAddresses {
pub lock: String,
pub storage: String,
pub maintainer: String,
pub token_vesting: String,
pub erc721: String,
}
Fields§
§lock: String
§storage: String
§maintainer: String
§token_vesting: String
§erc721: String
Implementations§
§impl ContractAddresses
impl ContractAddresses
pub fn lock_address(&self) -> Result<H160, Global>
pub fn storage_address(&self) -> Result<H160, Global>
pub fn maintainer_address(&self) -> Result<H160, Global>
pub fn token_vesting_address(&self) -> Result<H160, Global>
pub fn erc721_address(&self) -> Result<H160, Global>
Trait Implementations§
§impl Clone for ContractAddresses
impl Clone for ContractAddresses
§fn clone(&self) -> ContractAddresses
fn clone(&self) -> ContractAddresses
Returns a copy 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 more§impl Debug for ContractAddresses
impl Debug for ContractAddresses
§impl Default for ContractAddresses
impl Default for ContractAddresses
§fn default() -> ContractAddresses
fn default() -> ContractAddresses
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ContractAddresses
impl<'de> Deserialize<'de> for ContractAddresses
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ContractAddresses, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ContractAddresses, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ContractAddresses
impl Serialize for ContractAddresses
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ContractAddresses
impl Send for ContractAddresses
impl Sync for ContractAddresses
impl Unpin for ContractAddresses
impl UnwindSafe for ContractAddresses
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