Struct entropy_testing_utils::chain_api::entropy::identity::calls::TransactionApi
source · pub struct TransactionApi;Implementations§
source§impl TransactionApi
impl TransactionApi
pub fn add_registrar( &self, account: MultiAddress<AccountId32, u32>, ) -> Payload<AddRegistrar>
pub fn set_identity(&self, info: IdentityInfo) -> Payload<SetIdentity>
pub fn set_subs(&self, subs: Vec<(AccountId32, Data)>) -> Payload<SetSubs>
pub fn clear_identity(&self) -> Payload<ClearIdentity>
pub fn request_judgement( &self, reg_index: u32, max_fee: u128, ) -> Payload<RequestJudgement>
pub fn cancel_request(&self, reg_index: u32) -> Payload<CancelRequest>
pub fn set_fee(&self, index: u32, fee: u128) -> Payload<SetFee>
pub fn set_account_id( &self, index: u32, new: MultiAddress<AccountId32, u32>, ) -> Payload<SetAccountId>
pub fn set_fields(&self, index: u32, fields: u64) -> Payload<SetFields>
pub fn provide_judgement( &self, reg_index: u32, target: MultiAddress<AccountId32, u32>, judgement: Judgement<u128>, identity: H256, ) -> Payload<ProvideJudgement>
pub fn kill_identity( &self, target: MultiAddress<AccountId32, u32>, ) -> Payload<KillIdentity>
pub fn add_sub( &self, sub: MultiAddress<AccountId32, u32>, data: Data, ) -> Payload<AddSub>
pub fn rename_sub( &self, sub: MultiAddress<AccountId32, u32>, data: Data, ) -> Payload<RenameSub>
pub fn remove_sub( &self, sub: MultiAddress<AccountId32, u32>, ) -> Payload<RemoveSub>
pub fn quit_sub(&self) -> Payload<QuitSub>
pub fn set_username_for( &self, who: MultiAddress<AccountId32, u32>, username: Vec<u8>, signature: Option<MultiSignature>, ) -> Payload<SetUsernameFor>
pub fn accept_username( &self, username: BoundedVec<u8>, ) -> Payload<AcceptUsername>
pub fn remove_expired_approval( &self, username: BoundedVec<u8>, ) -> Payload<RemoveExpiredApproval>
pub fn set_primary_username( &self, username: BoundedVec<u8>, ) -> Payload<SetPrimaryUsername>
pub fn remove_dangling_username( &self, username: BoundedVec<u8>, ) -> Payload<RemoveDanglingUsername>
Auto Trait Implementations§
impl Freeze for TransactionApi
impl RefUnwindSafe for TransactionApi
impl Send for TransactionApi
impl Sync for TransactionApi
impl Unpin for TransactionApi
impl UnwindSafe for TransactionApi
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
Mutably borrows from an owned value. Read more
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
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>
Converts
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>
Converts
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<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> Pointable for T
impl<T> Pointable 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>,
Consume self to return an equivalent value of
T. Read moresource§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>,
Consume self to return an equivalent value of
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
The counterpart to
unchecked_from.source§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
The counterpart to
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
Consume self to return an equivalent value of
T.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
Consume self to return an equivalent value of
T.