Struct polymesh_api::polymesh::api::settlement::SettlementPagedQueryApi
source · pub struct SettlementPagedQueryApi<'api> { /* private fields */ }
Implementations§
source§impl<'api> SettlementPagedQueryApi<'api>
impl<'api> SettlementPagedQueryApi<'api>
sourcepub fn venue_info(&self) -> StoragePaged<VenueId, Venue>
pub fn venue_info(&self) -> StoragePaged<VenueId, Venue>
Info about a venue. venue_id -> venue
sourcepub fn details(&self) -> StoragePaged<VenueId, VenueDetails>
pub fn details(&self) -> StoragePaged<VenueId, VenueDetails>
Free-form text about a venue. venue_id -> VenueDetails
Only needed for the UI.
sourcepub fn venue_instructions(
&self,
key_0: VenueId
) -> StoragePaged<InstructionId, ()>
pub fn venue_instructions( &self, key_0: VenueId ) -> StoragePaged<InstructionId, ()>
Instructions under a venue. Only needed for the UI.
venue_id -> instruction_id -> ()
sourcepub fn venue_signers(&self, key_0: VenueId) -> StoragePaged<AccountId, bool>
pub fn venue_signers(&self, key_0: VenueId) -> StoragePaged<AccountId, bool>
Signers allowed by the venue. (venue_id, signer) -> bool
sourcepub fn user_venues(&self, key_0: IdentityId) -> StoragePaged<VenueId, ()>
pub fn user_venues(&self, key_0: IdentityId) -> StoragePaged<VenueId, ()>
Array of venues created by an identity. Only needed for the UI. IdentityId -> Vec<venue_id> Venues create by an identity. Only needed for the UI.
identity -> venue_id ()
sourcepub fn instruction_details(
&self
) -> StoragePaged<InstructionId, Instruction<u64, u32>>
pub fn instruction_details( &self ) -> StoragePaged<InstructionId, Instruction<u64, u32>>
Details about an instruction. instruction_id -> instruction_details
sourcepub fn instruction_leg_status(
&self,
key_0: InstructionId
) -> StoragePaged<LegId, LegStatus<AccountId>>
pub fn instruction_leg_status( &self, key_0: InstructionId ) -> StoragePaged<LegId, LegStatus<AccountId>>
Status of a leg under an instruction. (instruction_id, leg_id) -> LegStatus
sourcepub fn instruction_affirms_pending(&self) -> StoragePaged<InstructionId, u64>
pub fn instruction_affirms_pending(&self) -> StoragePaged<InstructionId, u64>
Number of affirmations pending before instruction is executed. instruction_id -> affirm_pending
sourcepub fn affirms_received(
&self,
key_0: InstructionId
) -> StoragePaged<PortfolioId, AffirmationStatus>
pub fn affirms_received( &self, key_0: InstructionId ) -> StoragePaged<PortfolioId, AffirmationStatus>
Tracks affirmations received for an instruction. (instruction_id, counter_party) -> AffirmationStatus
sourcepub fn user_affirmations(
&self,
key_0: PortfolioId
) -> StoragePaged<InstructionId, AffirmationStatus>
pub fn user_affirmations( &self, key_0: PortfolioId ) -> StoragePaged<InstructionId, AffirmationStatus>
Helps a user track their pending instructions and affirmations (only needed for UI). (counter_party, instruction_id) -> AffirmationStatus
sourcepub fn receipts_used(&self, key_0: AccountId) -> StoragePaged<u64, bool>
pub fn receipts_used(&self, key_0: AccountId) -> StoragePaged<u64, bool>
Tracks redemption of receipts. (signer, receipt_uid) -> receipt_used
sourcepub fn venue_filtering(&self) -> StoragePaged<Ticker, bool>
pub fn venue_filtering(&self) -> StoragePaged<Ticker, bool>
Tracks if a token has enabled filtering venues that can create instructions involving their token. Ticker -> filtering_enabled
sourcepub fn venue_allow_list(&self, key_0: Ticker) -> StoragePaged<VenueId, bool>
pub fn venue_allow_list(&self, key_0: Ticker) -> StoragePaged<VenueId, bool>
Venues that are allowed to create instructions involving a particular ticker. Only used if filtering is enabled. (ticker, venue_id) -> allowed
sourcepub fn instruction_memos(&self) -> StoragePaged<InstructionId, Memo>
pub fn instruction_memos(&self) -> StoragePaged<InstructionId, Memo>
Instruction memo
sourcepub fn instruction_statuses(
&self
) -> StoragePaged<InstructionId, InstructionStatus<u32>>
pub fn instruction_statuses( &self ) -> StoragePaged<InstructionId, InstructionStatus<u32>>
Instruction statuses. instruction_id -> InstructionStatus
sourcepub fn instruction_legs(&self, key_0: InstructionId) -> StoragePaged<LegId, Leg>
pub fn instruction_legs(&self, key_0: InstructionId) -> StoragePaged<LegId, Leg>
Legs under an instruction. (instruction_id, leg_id) -> Leg
sourcepub fn off_chain_affirmations(
&self,
key_0: InstructionId
) -> StoragePaged<LegId, AffirmationStatus>
pub fn off_chain_affirmations( &self, key_0: InstructionId ) -> StoragePaged<LegId, AffirmationStatus>
Tracks the affirmation status for offchain legs in a instruction. [(InstructionId, LegId)
] -> [AffirmationStatus
]
Trait Implementations§
source§impl<'api> Clone for SettlementPagedQueryApi<'api>
impl<'api> Clone for SettlementPagedQueryApi<'api>
source§fn clone(&self) -> SettlementPagedQueryApi<'api>
fn clone(&self) -> SettlementPagedQueryApi<'api>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<'api> !RefUnwindSafe for SettlementPagedQueryApi<'api>
impl<'api> Send for SettlementPagedQueryApi<'api>
impl<'api> Sync for SettlementPagedQueryApi<'api>
impl<'api> Unpin for SettlementPagedQueryApi<'api>
impl<'api> !UnwindSafe for SettlementPagedQueryApi<'api>
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.