#[repr(i32)]pub enum TransactionType {
Show 27 variants
Send = 0,
CreateRequest = 1,
RedeemRequest = 2,
CashConfirmation = 3,
RedeemFulfillment = 4,
CreateCancellation = 7,
AllowlistCidrBlock = 8,
RemoveCidrBlock = 9,
RegisterAccountAsMember = 10,
SetTrust = 11,
AddAuthorityKey = 12,
RemoveAuthorityKey = 13,
RootAllowlistCidrBlock = 14,
RootRemoveAllowlistCidrBlock = 15,
SetPendingCreateRequestExpire = 16,
SubmitProposal = 17,
VoteProposal = 18,
RedeemCancellation = 21,
RuntimeUpgrade = 22,
RemoveMember = 23,
SetMemberEncryptionKey = 24,
SetTrustEncryptionKey = 25,
RegisterSessionKeys = 28,
SetLimitedAgent = 29,
SetValidatorEmissionRate = 30,
ExitMember = 31,
WithdrawFromNetwork = 32,
}
Variants§
Send = 0
Send claims from one party to another
CreateRequest = 1
A request to convert fiat into claims
RedeemRequest = 2
A request to convert claims into fiat
CashConfirmation = 3
Issued by the trust when fulfilling a CreateRequest
RedeemFulfillment = 4
Issued by the trust when a RedeemRequest
has been fulfilled
CreateCancellation = 7
Issued by the trust to cancel pending create requests
AllowlistCidrBlock = 8
Issued to add a CIDR block to the allowlist
RemoveCidrBlock = 9
Issued to remove a CIDR block from the allowlist
RegisterAccountAsMember = 10
Issued by root to register members
SetTrust = 11
Issued by root to set the identity of the trust
AddAuthorityKey = 12
Issued by root to add a new keypair for a validator which may participate in consensus
RemoveAuthorityKey = 13
Issued by root to remove a keypair for an existing validator
RootAllowlistCidrBlock = 14
Issued by root to add a CIDR block to the allowlist
RootRemoveAllowlistCidrBlock = 15
Issued by root to remove a CIDR block from the allowlist
SetPendingCreateRequestExpire = 16
Issued by trust to set how long pending create requests are valid before they expire
SubmitProposal = 17
Issued by member or validator, issuer not included
VoteProposal = 18
Issued by member or validator as a vote on specific proposal
RedeemCancellation = 21
Issued to cancel pending redeem requests
RuntimeUpgrade = 22
Update runtime code
RemoveMember = 23
Mark Member for Removal
SetMemberEncryptionKey = 24
Issued by member to set own encryption key
SetTrustEncryptionKey = 25
Issued by trust to set own encryption key
RegisterSessionKeys = 28
Issued by a validator to register its session keys
SetLimitedAgent = 29
Issued by root to set the identity of the limited agent
SetValidatorEmissionRate = 30
Set the emission rate for validator payments
ExitMember = 31
Immediately Exit Member
WithdrawFromNetwork = 32
Network Withdrawal
Implementations§
Trait Implementations§
Source§impl Clone for TransactionType
impl Clone for TransactionType
Source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TransactionType
impl Debug for TransactionType
Source§impl Default for TransactionType
impl Default for TransactionType
Source§fn default() -> TransactionType
fn default() -> TransactionType
Source§impl From<TransactionType> for TransactionType
impl From<TransactionType> for TransactionType
Source§fn from(t: XMTransactionType) -> Self
fn from(t: XMTransactionType) -> Self
Source§impl From<TransactionType> for TransactionType
impl From<TransactionType> for TransactionType
Source§fn from(t: TransactionType) -> Self
fn from(t: TransactionType) -> Self
Source§impl From<TransactionType> for i32
impl From<TransactionType> for i32
Source§fn from(value: TransactionType) -> i32
fn from(value: TransactionType) -> i32
Source§impl Hash for TransactionType
impl Hash for TransactionType
Source§impl Ord for TransactionType
impl Ord for TransactionType
Source§fn cmp(&self, other: &TransactionType) -> Ordering
fn cmp(&self, other: &TransactionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
Source§impl PartialOrd for TransactionType
impl PartialOrd for TransactionType
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request