pub struct PriceManagerClient<T> { /* private fields */ }Expand description
Price manager contract
Implementations§
Source§impl<T> PriceManagerClient<T>
impl<T> PriceManagerClient<T>
Trait Implementations§
Source§impl<T> ContractCall<JsonRpcResponse, ToolError> for PriceManagerClient<T>
impl<T> ContractCall<JsonRpcResponse, ToolError> for PriceManagerClient<T>
Source§fn prepare_call_args(
&self,
name: &str,
values: &[&str],
to_addr: Option<Address>,
) -> Result<(String, String), ToolError>
fn prepare_call_args( &self, name: &str, values: &[&str], to_addr: Option<Address>, ) -> Result<(String, String), ToolError>
Prepare contract call arguments
Source§fn contract_send_tx(
&mut self,
name: &str,
values: &[&str],
quota: Option<u64>,
to_addr: Option<Address>,
) -> Result<JsonRpcResponse, ToolError>
fn contract_send_tx( &mut self, name: &str, values: &[&str], quota: Option<u64>, to_addr: Option<Address>, ) -> Result<JsonRpcResponse, ToolError>
SendTx a contract method
Source§impl<T> PriceManagerExt<T, JsonRpcResponse, ToolError> for PriceManagerClient<T>
impl<T> PriceManagerExt<T, JsonRpcResponse, ToolError> for PriceManagerClient<T>
Auto Trait Implementations§
impl<T> Freeze for PriceManagerClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for PriceManagerClient<T>where
T: RefUnwindSafe,
impl<T> Send for PriceManagerClient<T>where
T: Send,
impl<T> Sync for PriceManagerClient<T>where
T: Sync,
impl<T> Unpin for PriceManagerClient<T>where
T: Unpin,
impl<T> UnwindSafe for PriceManagerClient<T>where
T: UnwindSafe,
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