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§

source

fn get_allocations<BS: Blockstore>( &self, store: &BS, address: &Address, ) -> Result<HashMap<AllocationID, Allocation>>

source

fn get_all_allocations<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<AllocationID, Allocation>>

source

fn get_claims<BS: Blockstore>( &self, store: &BS, provider_id_address: &Address, ) -> Result<HashMap<ClaimID, Claim>>

source

fn get_all_claims<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<ClaimID, Claim>>

source

fn root_key(&self) -> Address

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl VerifiedRegistryStateExt for State

source§

fn get_allocations<BS: Blockstore>( &self, store: &BS, address: &Address, ) -> Result<HashMap<AllocationID, Allocation>>

source§

fn get_all_allocations<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<AllocationID, Allocation>>

source§

fn get_claims<BS: Blockstore>( &self, store: &BS, provider_id_address: &Address, ) -> Result<HashMap<ClaimID, Claim>>

source§

fn get_all_claims<BS: Blockstore>( &self, store: &BS, ) -> Result<HashMap<ClaimID, Claim>>

source§

fn root_key(&self) -> Address

Implementors§