Trait ContractInteractionsApi
Source pub trait ContractInteractionsApi: Send + Sync {
// Required methods
fn get_deployed_contract_abi<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractAbiParams,
) -> Pin<Box<dyn Future<Output = Result<ContractAbiResponseDto, Error<GetDeployedContractAbiError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_transaction_receipt<'life0, 'async_trait>(
&'life0 self,
params: GetTransactionReceiptParams,
) -> Pin<Box<dyn Future<Output = Result<TransactionReceiptResponse, Error<GetTransactionReceiptError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_call_function<'life0, 'async_trait>(
&'life0 self,
params: ReadCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<ParameterWithValue>, Error<ReadCallFunctionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write_call_function<'life0, 'async_trait>(
&'life0 self,
params: WriteCallFunctionParams,
) -> Pin<Box<dyn Future<Output = Result<WriteCallFunctionResponseDto, Error<WriteCallFunctionError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}