pub enum Operation {
Send(Send),
CreateRequest(CreateRequest),
RedeemRequest(RedeemRequest),
CashConfirmation(CashConfirmation),
RedeemFulfillment(RedeemFulfillment),
CreateCancellation(CreateCancellation),
AllowlistCidrBlock(AllowlistCidrBlock),
RemoveCidrBlock(RemoveAllowlistCidrBlock),
RedeemCancellation(RedeemCancellation),
RegisterSessionKeys(RegisterSessionKeys),
SetPendingCreateRequestExpire(SetPendingCreateRequestExpire),
WithdrawFromNetwork(WithdrawFromNetwork),
}
Expand description
The transaction being issued
Variants§
Send(Send)
Send claims from one party to another
CreateRequest(CreateRequest)
A request to convert fiat into claims
RedeemRequest(RedeemRequest)
A request to convert claims into fiat
CashConfirmation(CashConfirmation)
Issued when fulfilling a CreateRequest
RedeemFulfillment(RedeemFulfillment)
Issued when a RedeemRequest
has been fulfilled
CreateCancellation(CreateCancellation)
Issued to cancel pending create requests
AllowlistCidrBlock(AllowlistCidrBlock)
Issued to add a CIDR block to their allowlist
RemoveCidrBlock(RemoveAllowlistCidrBlock)
Issued to remove a CIDR block from their allowlist
RedeemCancellation(RedeemCancellation)
Issued to cancel pending redeem requests
RegisterSessionKeys(RegisterSessionKeys)
Issued to register session keys
SetPendingCreateRequestExpire(SetPendingCreateRequestExpire)
Issued to set how long pending create requests are valid before they expire
WithdrawFromNetwork(WithdrawFromNetwork)
Initiate voluntary withdrawal
Implementations§
Trait Implementations§
Source§impl TryFrom<XandTransaction> for Operation
impl TryFrom<XandTransaction> for Operation
Source§type Error = XandApiProtoErrs
type Error = XandApiProtoErrs
The type returned in the event of a conversion error.
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request