Struct multiversx_sc_snippets::Interactor
source · pub struct Interactor {
pub proxy: CommunicationProxy,
pub network_config: NetworkConfig,
pub sender_map: HashMap<Address, Sender>,
/* private fields */
}
Fields§
§proxy: CommunicationProxy
§network_config: NetworkConfig
§sender_map: HashMap<Address, Sender>
Implementations§
source§impl Interactor
impl Interactor
source§impl Interactor
impl Interactor
pub async fn sc_call<S>(&mut self, sc_call_step: S) -> Stringwhere ScCallStep: From<S>,
pub async fn sc_call_get_result<OriginalResult, RequestedResult>( &mut self, typed_sc_call: TypedScCall<OriginalResult> ) -> InteractorResult<RequestedResult>where OriginalResult: TopEncodeMulti, RequestedResult: CodecFrom<OriginalResult>,
pub async fn sc_call_get_raw_result( &mut self, sc_call_step: ScCallStep ) -> InteractorResult<IgnoreValue>
pub async fn multiple_sc_calls(&mut self, sc_call_steps: &[ScCallStep])
pub async fn transfer(&mut self, transfer_step: TransferStep) -> String
pub async fn transfer_get_raw_result( &mut self, transfer_step: TransferStep ) -> InteractorResult<IgnoreValue>
source§impl Interactor
impl Interactor
pub async fn send_sc_deploy(&mut self, sc_call_step: ScDeployStep) -> String
pub async fn sc_deploy<OriginalResult, RequestedResult>( &mut self, typed_sc_call: TypedScDeploy<OriginalResult> ) -> InteractorResult<RequestedResult>where OriginalResult: TopEncodeMulti, RequestedResult: CodecFrom<OriginalResult>,
source§impl Interactor
impl Interactor
pub async fn recall_nonce(&self, address: &Address) -> u64
source§impl Interactor
impl Interactor
Auto Trait Implementations§
impl !CodecFromSelf for Interactor
impl !RefUnwindSafe for Interactor
impl Send for Interactor
impl Sync for Interactor
impl Unpin for Interactor
impl !UnwindSafe for Interactor
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