Trait forest_filecoin::shim::actors::verifreg::VerifiedRegistryStateExt
source · pub trait VerifiedRegistryStateExt {
// Required methods
fn get_allocations<BS: Blockstore>(
&self,
store: &BS,
address: &Address,
) -> Result<HashMap<AllocationID, Allocation>>;
fn get_all_allocations<BS: Blockstore>(
&self,
store: &BS,
) -> Result<HashMap<AllocationID, Allocation>>;
fn get_claims<BS: Blockstore>(
&self,
store: &BS,
provider_id_address: &Address,
) -> Result<HashMap<ClaimID, Claim>>;
fn get_all_claims<BS: Blockstore>(
&self,
store: &BS,
) -> Result<HashMap<ClaimID, Claim>>;
fn root_key(&self) -> Address;
}
Required Methods§
fn get_allocations<BS: Blockstore>( &self, store: &BS, address: &Address, ) -> Result<HashMap<AllocationID, Allocation>>
fn get_all_allocations<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<AllocationID, Allocation>>
fn get_claims<BS: Blockstore>( &self, store: &BS, provider_id_address: &Address, ) -> Result<HashMap<ClaimID, Claim>>
fn get_all_claims<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<ClaimID, Claim>>
fn root_key(&self) -> Address
Object Safety§
This trait is not object safe.