[−][src]Struct sunshine_bounty_client::Client
Fields
cache: Mutex<BlockBuilder<I, Codec>>
Implementations
impl<T, P, I> Client<T, P, I> where
T: Runtime + Org + Vote + Donate + Bank + Bounty,
<T as System>::AccountId: Into<<T as System>::Address> + Ss58Codec,
T::Signature: Decode + From<P::Signature>,
<T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = <T as System>::AccountId>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
P: Pair,
<P as Pair>::Public: Into<<T as System>::AccountId>,
<P as Pair>::Seed: From<[u8; 32]>,
I: Store,
[src]
T: Runtime + Org + Vote + Donate + Bank + Bounty,
<T as System>::AccountId: Into<<T as System>::Address> + Ss58Codec,
T::Signature: Decode + From<P::Signature>,
<T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = <T as System>::AccountId>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
P: Pair,
<P as Pair>::Public: Into<<T as System>::AccountId>,
<P as Pair>::Seed: From<[u8; 32]>,
I: Store,
pub fn new(keystore: KeyStore, subxt: Client<T>, store: I) -> Self
[src]
pub async fn has_device_key<'_>(&'_ self) -> bool
[src]
Set device key, directly from substrate-identity to use with keystore
pub async fn set_device_key<'_, '_, '_>(
&'_ self,
dk: &'_ DeviceKey,
password: &'_ Password,
force: bool
) -> Result<<T as System>::AccountId, Error>
[src]
&'_ self,
dk: &'_ DeviceKey,
password: &'_ Password,
force: bool
) -> Result<<T as System>::AccountId, Error>
Set device key, directly from substrate-identity to use with keystore
pub async fn signer<'_>(&'_ self) -> Result<PairSigner<T, P>, Error>
[src]
Returns a signer for alice
pub async fn register_flat_org<'_, '_>(
&'_ self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
members: &'_ [<T as System>::AccountId]
) -> Result<NewFlatOrganizationRegisteredEvent<T>, Error>
[src]
&'_ self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
members: &'_ [<T as System>::AccountId]
) -> Result<NewFlatOrganizationRegisteredEvent<T>, Error>
pub async fn register_weighted_org<'_, '_>(
&'_ self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
weighted_members: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<NewWeightedOrganizationRegisteredEvent<T>, Error>
[src]
&'_ self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
weighted_members: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<NewWeightedOrganizationRegisteredEvent<T>, Error>
pub async fn issue_shares<'_>(
&'_ self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Result<SharesIssuedEvent<T>, Error>
[src]
&'_ self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Result<SharesIssuedEvent<T>, Error>
pub async fn burn_shares<'_>(
&'_ self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Result<SharesBurnedEvent<T>, Error>
[src]
&'_ self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Result<SharesBurnedEvent<T>, Error>
pub async fn batch_issue_shares<'_, '_>(
&'_ self,
organization: <T as Org>::OrgId,
new_accounts: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<SharesBatchIssuedEvent<T>, Error>
[src]
&'_ self,
organization: <T as Org>::OrgId,
new_accounts: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<SharesBatchIssuedEvent<T>, Error>
pub async fn batch_burn_shares<'_, '_>(
&'_ self,
organization: <T as Org>::OrgId,
old_accounts: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<SharesBatchBurnedEvent<T>, Error>
[src]
&'_ self,
organization: <T as Org>::OrgId,
old_accounts: &'_ [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Result<SharesBatchBurnedEvent<T>, Error>
pub async fn reserve_shares<'_, '_>(
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesReservedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesReservedEvent<T>, Error>
pub async fn unreserve_shares<'_, '_>(
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesUnReservedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesUnReservedEvent<T>, Error>
pub async fn lock_shares<'_, '_>(
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesLockedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesLockedEvent<T>, Error>
pub async fn unlock_shares<'_, '_>(
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesUnlockedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
who: &'_ <T as System>::AccountId
) -> Result<SharesUnlockedEvent<T>, Error>
pub async fn create_threshold_approval_vote<'_>(
&'_ self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
support_requirement: T::Signal,
turnout_requirement: Option<T::Signal>,
duration: Option<<T as System>::BlockNumber>
) -> Result<NewVoteStartedEvent<T>, Error>
[src]
&'_ self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
support_requirement: T::Signal,
turnout_requirement: Option<T::Signal>,
duration: Option<<T as System>::BlockNumber>
) -> Result<NewVoteStartedEvent<T>, Error>
pub async fn create_unanimous_consent_approval_vote<'_>(
&'_ self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
duration: Option<<T as System>::BlockNumber>
) -> Result<NewVoteStartedEvent<T>, Error>
[src]
&'_ self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
duration: Option<<T as System>::BlockNumber>
) -> Result<NewVoteStartedEvent<T>, Error>
pub async fn submit_vote<'_>(
&'_ self,
vote_id: <T as Vote>::VoteId,
direction: VoterView,
justification: Option<<T as Org>::IpfsReference>
) -> Result<VotedEvent<T>, Error>
[src]
&'_ self,
vote_id: <T as Vote>::VoteId,
direction: VoterView,
justification: Option<<T as Org>::IpfsReference>
) -> Result<VotedEvent<T>, Error>
pub async fn make_prop_donation_with_fee<'_>(
&'_ self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Result<DonationExecutedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Result<DonationExecutedEvent<T>, Error>
pub async fn make_prop_donation_without_fee<'_>(
&'_ self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Result<DonationExecutedEvent<T>, Error>
[src]
&'_ self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Result<DonationExecutedEvent<T>, Error>
pub async fn open_org_bank_account<'_>(
&'_ self,
seed: <T as Bank>::Currency,
hosting_org: <T as Org>::OrgId,
bank_operator: Option<<T as System>::AccountId>
) -> Result<OrgBankAccountOpenedEvent<T>, Error>
[src]
&'_ self,
seed: <T as Bank>::Currency,
hosting_org: <T as Org>::OrgId,
bank_operator: Option<<T as System>::AccountId>
) -> Result<OrgBankAccountOpenedEvent<T>, Error>
pub async fn account_posts_bounty<'_>(
&'_ self,
description: <T as Org>::IpfsReference,
amount_reserved_for_bounty: <T as Bank>::Currency,
acceptance_committee: ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>,
supervision_committee: Option<ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>>
) -> Result<BountyPostedEvent<T>, Error>
[src]
&'_ self,
description: <T as Org>::IpfsReference,
amount_reserved_for_bounty: <T as Bank>::Currency,
acceptance_committee: ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>,
supervision_committee: Option<ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>>
) -> Result<BountyPostedEvent<T>, Error>
pub async fn account_applies_for_bounty<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
description: <T as Org>::IpfsReference,
total_amount: <T as Bank>::Currency
) -> Result<BountyApplicationSubmittedEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
description: <T as Org>::IpfsReference,
total_amount: <T as Bank>::Currency
) -> Result<BountyApplicationSubmittedEvent<T>, Error>
pub async fn account_triggers_application_review<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
new_grant_app_id: <T as Bounty>::BountyId
) -> Result<ApplicationReviewTriggeredEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
new_grant_app_id: <T as Bounty>::BountyId
) -> Result<ApplicationReviewTriggeredEvent<T>, Error>
pub async fn account_sudo_approves_application<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Result<SudoApprovedApplicationEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Result<SudoApprovedApplicationEvent<T>, Error>
pub async fn poll_application<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Result<ApplicationPolledEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Result<ApplicationPolledEvent<T>, Error>
pub async fn submit_milestone<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId,
submission_reference: <T as Org>::IpfsReference,
amount_requested: <T as Bank>::Currency
) -> Result<MilestoneSubmittedEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId,
submission_reference: <T as Org>::IpfsReference,
amount_requested: <T as Bank>::Currency
) -> Result<MilestoneSubmittedEvent<T>, Error>
pub async fn trigger_milestone_review<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestoneReviewTriggeredEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestoneReviewTriggeredEvent<T>, Error>
pub async fn sudo_approves_milestone<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestoneSudoApprovedEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestoneSudoApprovedEvent<T>, Error>
pub async fn poll_milestone<'_>(
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestonePolledEvent<T>, Error>
[src]
&'_ self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Result<MilestonePolledEvent<T>, Error>
Trait Implementations
impl<T, P, I> AbstractClient<T, P> for Client<T, P, I> where
T: Runtime + Org + Vote + Donate + Bank + Bounty,
<T as System>::AccountId: Into<<T as System>::Address> + Ss58Codec,
T::Signature: Decode + From<P::Signature>,
<T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = <T as System>::AccountId>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
P: Pair,
<P as Pair>::Public: Into<<T as System>::AccountId>,
<P as Pair>::Seed: From<[u8; 32]>,
I: Store + Send + Sync,
[src]
T: Runtime + Org + Vote + Donate + Bank + Bounty,
<T as System>::AccountId: Into<<T as System>::Address> + Ss58Codec,
T::Signature: Decode + From<P::Signature>,
<T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = <T as System>::AccountId>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
P: Pair,
<P as Pair>::Public: Into<<T as System>::AccountId>,
<P as Pair>::Seed: From<[u8; 32]>,
I: Store + Send + Sync,
fn has_device_key<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn set_device_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
dk: &'life1 DeviceKey,
password: &'life2 Password,
force: bool
) -> Pin<Box<dyn Future<Output = Result<T::AccountId, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
dk: &'life1 DeviceKey,
password: &'life2 Password,
force: bool
) -> Pin<Box<dyn Future<Output = Result<T::AccountId, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn signer<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Signer<T> + Send + Sync>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Signer<T> + Send + Sync>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn lock<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn unlock<'life0, 'life1, 'async_trait>(
&'life0 self,
password: &'life1 Password
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
password: &'life1 Password
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn register_flat_org<'life0, 'life1, 'async_trait>(
&'life0 self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
members: &'life1 [<T as System>::AccountId]
) -> Pin<Box<dyn Future<Output = Result<NewFlatOrganizationRegisteredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
members: &'life1 [<T as System>::AccountId]
) -> Pin<Box<dyn Future<Output = Result<NewFlatOrganizationRegisteredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn register_weighted_org<'life0, 'life1, 'async_trait>(
&'life0 self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
weighted_members: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<NewWeightedOrganizationRegisteredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
sudo: Option<<T as System>::AccountId>,
parent_org: Option<<T as Org>::OrgId>,
constitution: <T as Org>::IpfsReference,
weighted_members: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<NewWeightedOrganizationRegisteredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn issue_shares<'life0, 'async_trait>(
&'life0 self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Pin<Box<dyn Future<Output = Result<SharesIssuedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Pin<Box<dyn Future<Output = Result<SharesIssuedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn burn_shares<'life0, 'async_trait>(
&'life0 self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Pin<Box<dyn Future<Output = Result<SharesBurnedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
organization: <T as Org>::OrgId,
who: <T as System>::AccountId,
shares: <T as Org>::Shares
) -> Pin<Box<dyn Future<Output = Result<SharesBurnedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_issue_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
organization: <T as Org>::OrgId,
new_accounts: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<SharesBatchIssuedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
organization: <T as Org>::OrgId,
new_accounts: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<SharesBatchIssuedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn batch_burn_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
organization: <T as Org>::OrgId,
old_accounts: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<SharesBatchBurnedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
organization: <T as Org>::OrgId,
old_accounts: &'life1 [(<T as System>::AccountId, <T as Org>::Shares)]
) -> Pin<Box<dyn Future<Output = Result<SharesBatchBurnedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn reserve_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesReservedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesReservedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn unreserve_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesUnReservedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesUnReservedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn lock_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesLockedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesLockedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn unlock_shares<'life0, 'life1, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesUnlockedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
who: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<SharesUnlockedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_threshold_approval_vote<'life0, 'async_trait>(
&'life0 self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
support_requirement: T::Signal,
turnout_requirement: Option<T::Signal>,
duration: Option<<T as System>::BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<NewVoteStartedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
support_requirement: T::Signal,
turnout_requirement: Option<T::Signal>,
duration: Option<<T as System>::BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<NewVoteStartedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_unanimous_consent_approval_vote<'life0, 'async_trait>(
&'life0 self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
duration: Option<<T as System>::BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<NewVoteStartedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
topic: Option<<T as Org>::IpfsReference>,
organization: T::OrgId,
duration: Option<<T as System>::BlockNumber>
) -> Pin<Box<dyn Future<Output = Result<NewVoteStartedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn submit_vote<'life0, 'async_trait>(
&'life0 self,
vote_id: <T as Vote>::VoteId,
direction: VoterView,
justification: Option<<T as Org>::IpfsReference>
) -> Pin<Box<dyn Future<Output = Result<VotedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
vote_id: <T as Vote>::VoteId,
direction: VoterView,
justification: Option<<T as Org>::IpfsReference>
) -> Pin<Box<dyn Future<Output = Result<VotedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn make_prop_donation_with_fee<'life0, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Pin<Box<dyn Future<Output = Result<DonationExecutedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Pin<Box<dyn Future<Output = Result<DonationExecutedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn make_prop_donation_without_fee<'life0, 'async_trait>(
&'life0 self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Pin<Box<dyn Future<Output = Result<DonationExecutedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
org: <T as Org>::OrgId,
amt: <T as Donate>::DCurrency
) -> Pin<Box<dyn Future<Output = Result<DonationExecutedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn open_org_bank_account<'life0, 'async_trait>(
&'life0 self,
seed: <T as Bank>::Currency,
hosting_org: <T as Org>::OrgId,
bank_operator: Option<<T as System>::AccountId>
) -> Pin<Box<dyn Future<Output = Result<OrgBankAccountOpenedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
seed: <T as Bank>::Currency,
hosting_org: <T as Org>::OrgId,
bank_operator: Option<<T as System>::AccountId>
) -> Pin<Box<dyn Future<Output = Result<OrgBankAccountOpenedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn account_posts_bounty<'life0, 'async_trait>(
&'life0 self,
description: <T as Org>::IpfsReference,
amount_reserved_for_bounty: <T as Bank>::Currency,
acceptance_committee: ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>,
supervision_committee: Option<ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>>
) -> Pin<Box<dyn Future<Output = Result<BountyPostedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
description: <T as Org>::IpfsReference,
amount_reserved_for_bounty: <T as Bank>::Currency,
acceptance_committee: ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>,
supervision_committee: Option<ResolutionMetadata<<T as Org>::OrgId, <T as Vote>::Signal, <T as System>::BlockNumber>>
) -> Pin<Box<dyn Future<Output = Result<BountyPostedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn account_applies_for_bounty<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
description: <T as Org>::IpfsReference,
total_amount: <T as Bank>::Currency
) -> Pin<Box<dyn Future<Output = Result<BountyApplicationSubmittedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
description: <T as Org>::IpfsReference,
total_amount: <T as Bank>::Currency
) -> Pin<Box<dyn Future<Output = Result<BountyApplicationSubmittedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn account_triggers_application_review<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
new_grant_app_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<ApplicationReviewTriggeredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
new_grant_app_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<ApplicationReviewTriggeredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn account_sudo_approves_application<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<SudoApprovedApplicationEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<SudoApprovedApplicationEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn poll_application<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<ApplicationPolledEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<ApplicationPolledEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn submit_milestone<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId,
submission_reference: <T as Org>::IpfsReference,
amount_requested: <T as Bank>::Currency
) -> Pin<Box<dyn Future<Output = Result<MilestoneSubmittedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
application_id: <T as Bounty>::BountyId,
submission_reference: <T as Org>::IpfsReference,
amount_requested: <T as Bank>::Currency
) -> Pin<Box<dyn Future<Output = Result<MilestoneSubmittedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn trigger_milestone_review<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestoneReviewTriggeredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestoneReviewTriggeredEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn sudo_approves_milestone<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestoneSudoApprovedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestoneSudoApprovedEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn poll_milestone<'life0, 'async_trait>(
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestonePolledEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounty_id: <T as Bounty>::BountyId,
milestone_id: <T as Bounty>::BountyId
) -> Pin<Box<dyn Future<Output = Result<MilestonePolledEvent<T>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn subxt(&self) -> &Client<T>
[src]
Auto Trait Implementations
impl<T, P, I> !RefUnwindSafe for Client<T, P, I>
impl<T, P, I> Send for Client<T, P, I> where
I: Send,
<T as Runtime>::Extra: Send,
<T as System>::Hash: Send,
I: Send,
<T as Runtime>::Extra: Send,
<T as System>::Hash: Send,
impl<T, P, I> Sync for Client<T, P, I> where
I: Send,
<T as Runtime>::Extra: Sync,
<T as System>::Hash: Sync,
I: Send,
<T as Runtime>::Extra: Sync,
<T as System>::Hash: Sync,
impl<T, P, I> Unpin for Client<T, P, I> where
I: Unpin,
P: Unpin,
T: Unpin,
<T as Runtime>::Extra: Unpin,
<T as System>::Hash: Unpin,
I: Unpin,
P: Unpin,
T: Unpin,
<T as Runtime>::Extra: Unpin,
<T as System>::Hash: Unpin,
impl<T, P, I> !UnwindSafe for Client<T, P, I>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedConversion for T
[src]
fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IsType<T> for T
[src]
fn from_ref(t: &T) -> &T
[src]
fn into_ref(&self) -> &T
[src]
fn from_mut(t: &mut T) -> &mut T
[src]
fn into_mut(&mut self) -> &mut T
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
[src]
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
fn from_ref(outer: &Outer) -> &T
[src]
Get a reference to the inner from the outer.
fn from_mut(outer: &mut Outer) -> &mut T
[src]
Get a mutable reference to the inner from the outer.
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Self: UniqueSaturatedFrom<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Self: UniqueSaturatedInto<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
T: UncheckedFrom<S>,
fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
S: TryInto<T>,
T: Bounded,
S: TryInto<T>,
T: Bounded,
fn unique_saturated_into(self) -> T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,