Enum webb_proposals::ProposalKind
source · pub enum ProposalKind {
Show 17 variants
Refresh,
ProposerSetUpdate,
EVM,
AnchorCreate,
AnchorUpdate,
TokenAdd,
TokenRemove,
WrappingFeeUpdate,
ResourceIdUpdate,
RescueTokens,
MaxDepositLimitUpdate,
MinWithdrawalLimitUpdate,
SetVerifier,
SetTreasuryHandler,
FeeRecipientUpdate,
SetNativeAllowed,
SetDailyWithdrawalLimit,
}
Expand description
Proposal kind enum
Variants§
Refresh
Refresh proposal for DKG rotation
ProposerSetUpdate
Proposer set update for emergency fallback mechanism
EVM
EVM transaction proposal
AnchorCreate
Anchor create proposal for linking anchors together
AnchorUpdate
Anchor update proposal for linking anchors together
TokenAdd
Token add proposal for adding new tokens to the asset application
TokenRemove
Token remove proposal for removing tokens from the asset application
WrappingFeeUpdate
Wrapping fee update proposal for changing the wrapping fee of the asset application
ResourceIdUpdate
Resource id update for any connection or application
RescueTokens
Rescue tokens proposal for rescuing tokens from the asset application
MaxDepositLimitUpdate
Max deposit limit proposal for changing the max deposit limit of the asset application
MinWithdrawalLimitUpdate
Min withdrawal limit proposal for changing the min withdrawal limit of the asset application
SetVerifier
Set verifier proposal for changing the zero-knowledge verifier of an application
SetTreasuryHandler
Set treasury handler proposal for changing the treasury handler of the asset application
FeeRecipientUpdate
Set fee recipient proposal for changing the fee recipient of the asset application
SetNativeAllowed
Toggles whether or not the native token is allowed to be wrapped.
SetDailyWithdrawalLimit
Set daily withdrawal limit proposal for changing the daily withdrawal limits.
Trait Implementations§
source§impl Clone for ProposalKind
impl Clone for ProposalKind
source§fn clone(&self) -> ProposalKind
fn clone(&self) -> ProposalKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProposalKind
impl Debug for ProposalKind
source§impl Decode for ProposalKind
impl Decode for ProposalKind
source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>
source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
source§impl Encode for ProposalKind
impl Encode for ProposalKind
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
source§impl MaxEncodedLen for ProposalKind
impl MaxEncodedLen for ProposalKind
source§fn max_encoded_len() -> usize
fn max_encoded_len() -> usize
source§impl PartialEq for ProposalKind
impl PartialEq for ProposalKind
source§fn eq(&self, other: &ProposalKind) -> bool
fn eq(&self, other: &ProposalKind) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TypeInfo for ProposalKind
impl TypeInfo for ProposalKind
impl Copy for ProposalKind
impl EncodeLike for ProposalKind
impl Eq for ProposalKind
impl StructuralEq for ProposalKind
impl StructuralPartialEq for ProposalKind
Auto Trait Implementations§
impl RefUnwindSafe for ProposalKind
impl Send for ProposalKind
impl Sync for ProposalKind
impl Unpin for ProposalKind
impl UnwindSafe for ProposalKind
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
source§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere
T: Decode,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.