Trait DeployedContractsApi
Source pub trait DeployedContractsApi: Send + Sync {
// Required methods
fn add_contract_abi<'life0, 'async_trait>(
&'life0 self,
params: AddContractAbiParams,
) -> Pin<Box<dyn Future<Output = Result<ContractWithAbiDto, Error<AddContractAbiError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_contract_abi<'life0, 'async_trait>(
&'life0 self,
params: FetchContractAbiParams,
) -> Pin<Box<dyn Future<Output = Result<ContractWithAbiDto, Error<FetchContractAbiError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_deployed_contract_by_address<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractByAddressParams,
) -> Pin<Box<dyn Future<Output = Result<DeployedContractResponseDto, Error<GetDeployedContractByAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_deployed_contract_by_id<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractByIdParams,
) -> Pin<Box<dyn Future<Output = Result<DeployedContractResponseDto, Error<GetDeployedContractByIdError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_deployed_contracts<'life0, 'async_trait>(
&'life0 self,
params: GetDeployedContractsParams,
) -> Pin<Box<dyn Future<Output = Result<DeployedContractsPaginatedResponse, Error<GetDeployedContractsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}