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, ()>
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<AssetId, bool>
pub fn venue_filtering(&self) -> StoragePaged<AssetId, bool>
Tracks if a token has enabled filtering venues that can create instructions involving their token. AssetId -> filtering_enabled
Sourcepub fn venue_allow_list(&self, key_0: AssetId) -> StoragePaged<VenueId, bool>
pub fn venue_allow_list(&self, key_0: AssetId) -> StoragePaged<VenueId, bool>
Venues that are allowed to create instructions involving a particular asset. Only used if filtering is enabled.
([AssetId
], 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
]
Sourcepub fn number_of_venue_signers(&self) -> StoragePaged<VenueId, u32>
pub fn number_of_venue_signers(&self) -> StoragePaged<VenueId, u32>
Tracks the number of signers each venue has.
Sourcepub fn instruction_mediators_affirmations(
&self,
key_0: InstructionId,
) -> StoragePaged<IdentityId, MediatorAffirmationStatus<u64>>
pub fn instruction_mediators_affirmations( &self, key_0: InstructionId, ) -> StoragePaged<IdentityId, MediatorAffirmationStatus<u64>>
The status for the mediators affirmation.
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> Freeze for SettlementPagedQueryApi<'api>
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
Source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
Source§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 moreSource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§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
.