Enum brontes_types::protocol::ArchivedProtocol
source · #[repr(u8)]pub enum ArchivedProtocol {
Show 38 variants
UniswapV2 = 0,
SushiSwapV2 = 1,
PancakeSwapV2 = 2,
UniswapV3 = 3,
SushiSwapV3 = 4,
PancakeSwapV3 = 5,
AaveV2 = 6,
AaveV3 = 7,
BalancerV1 = 8,
BalancerV2 = 9,
BalancerV1CRP = 10,
UniswapX = 11,
ZeroX = 12,
Cowswap = 13,
CurveBasePool2 = 14,
CurveBasePool3 = 15,
CurveBasePool4 = 16,
CurveV1MetaPool = 17,
CurveV1MetapoolImpl = 18,
CurveV2MetaPool = 19,
CurveV2MetapoolImpl = 20,
CurveV2PlainPool = 21,
CurveV2PlainPoolImpl = 22,
CurvecrvUSDMetaPool = 23,
CurvecrvUSDMetapoolImpl = 24,
CurvecrvUSDPlainPool = 25,
CurvecrvUSDPlainPoolImpl = 26,
CurveCryptoSwapPool = 27,
CurveTriCryptoPool = 28,
CompoundV2 = 29,
MakerPSM = 30,
MakerDssFlash = 31,
OneInchV5 = 32,
OneInchFusion = 33,
ClipperExchange = 34,
PropellerLabsSolver = 35,
Dodo = 36,
Unknown = 37,
}
Expand description
An archived Protocol
Variants§
UniswapV2 = 0
The archived counterpart of Protocol::UniswapV2
SushiSwapV2 = 1
The archived counterpart of Protocol::SushiSwapV2
PancakeSwapV2 = 2
The archived counterpart of Protocol::PancakeSwapV2
UniswapV3 = 3
The archived counterpart of Protocol::UniswapV3
SushiSwapV3 = 4
The archived counterpart of Protocol::SushiSwapV3
PancakeSwapV3 = 5
The archived counterpart of Protocol::PancakeSwapV3
AaveV2 = 6
The archived counterpart of Protocol::AaveV2
AaveV3 = 7
The archived counterpart of Protocol::AaveV3
BalancerV1 = 8
The archived counterpart of Protocol::BalancerV1
BalancerV2 = 9
The archived counterpart of Protocol::BalancerV2
BalancerV1CRP = 10
The archived counterpart of Protocol::BalancerV1CRP
UniswapX = 11
The archived counterpart of Protocol::UniswapX
ZeroX = 12
The archived counterpart of Protocol::ZeroX
Cowswap = 13
The archived counterpart of Protocol::Cowswap
CurveBasePool2 = 14
The archived counterpart of Protocol::CurveBasePool2
CurveBasePool3 = 15
The archived counterpart of Protocol::CurveBasePool3
CurveBasePool4 = 16
The archived counterpart of Protocol::CurveBasePool4
CurveV1MetaPool = 17
The archived counterpart of Protocol::CurveV1MetaPool
CurveV1MetapoolImpl = 18
The archived counterpart of Protocol::CurveV1MetapoolImpl
CurveV2MetaPool = 19
The archived counterpart of Protocol::CurveV2MetaPool
CurveV2MetapoolImpl = 20
The archived counterpart of Protocol::CurveV2MetapoolImpl
CurveV2PlainPool = 21
The archived counterpart of Protocol::CurveV2PlainPool
CurveV2PlainPoolImpl = 22
The archived counterpart of Protocol::CurveV2PlainPoolImpl
CurvecrvUSDMetaPool = 23
The archived counterpart of Protocol::CurvecrvUSDMetaPool
CurvecrvUSDMetapoolImpl = 24
The archived counterpart of Protocol::CurvecrvUSDMetapoolImpl
CurvecrvUSDPlainPool = 25
The archived counterpart of Protocol::CurvecrvUSDPlainPool
CurvecrvUSDPlainPoolImpl = 26
The archived counterpart of Protocol::CurvecrvUSDPlainPoolImpl
CurveCryptoSwapPool = 27
The archived counterpart of Protocol::CurveCryptoSwapPool
CurveTriCryptoPool = 28
The archived counterpart of Protocol::CurveTriCryptoPool
CompoundV2 = 29
The archived counterpart of Protocol::CompoundV2
MakerPSM = 30
The archived counterpart of Protocol::MakerPSM
MakerDssFlash = 31
The archived counterpart of Protocol::MakerDssFlash
OneInchV5 = 32
The archived counterpart of Protocol::OneInchV5
OneInchFusion = 33
The archived counterpart of Protocol::OneInchFusion
ClipperExchange = 34
The archived counterpart of Protocol::ClipperExchange
PropellerLabsSolver = 35
The archived counterpart of Protocol::PropellerLabsSolver
Dodo = 36
The archived counterpart of Protocol::Dodo
Unknown = 37
The archived counterpart of Protocol::Unknown
Auto Trait Implementations§
impl Freeze for ArchivedProtocol
impl RefUnwindSafe for ArchivedProtocol
impl Send for ArchivedProtocol
impl Sync for ArchivedProtocol
impl Unpin for ArchivedProtocol
impl UnwindSafe for ArchivedProtocol
Blanket Implementations§
source§impl<T, O> ActionComparison<O> for Twhere
T: SubordinateAction<O>,
O: ActionCmp<T>,
impl<T, O> ActionComparison<O> for Twhere
T: SubordinateAction<O>,
O: ActionCmp<T>,
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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> Conv for T
impl<T> Conv for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
§impl<T, U> ExactFrom<T> for Uwhere
U: TryFrom<T>,
impl<T, U> ExactFrom<T> for Uwhere
U: TryFrom<T>,
fn exact_from(value: T) -> U
§impl<T, U> ExactInto<U> for Twhere
U: ExactFrom<T>,
impl<T, U> ExactInto<U> for Twhere
U: ExactFrom<T>,
fn exact_into(self) -> U
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§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>
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>
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>
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 more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
source§impl<T, O> SubordinateAction<O> for Twhere
O: ActionCmp<T>,
impl<T, O> SubordinateAction<O> for Twhere
O: ActionCmp<T>,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T, U> WrappingInto<U> for Twhere
U: WrappingFrom<T>,
impl<T, U> WrappingInto<U> for Twhere
U: WrappingFrom<T>,
fn wrapping_into(self) -> U
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
UniswapV2
: 0 bytesSushiSwapV2
: 0 bytesPancakeSwapV2
: 0 bytesUniswapV3
: 0 bytesSushiSwapV3
: 0 bytesPancakeSwapV3
: 0 bytesAaveV2
: 0 bytesAaveV3
: 0 bytesBalancerV1
: 0 bytesBalancerV2
: 0 bytesBalancerV1CRP
: 0 bytesUniswapX
: 0 bytesZeroX
: 0 bytesCowswap
: 0 bytesCurveBasePool2
: 0 bytesCurveBasePool3
: 0 bytesCurveBasePool4
: 0 bytesCurveV1MetaPool
: 0 bytesCurveV1MetapoolImpl
: 0 bytesCurveV2MetaPool
: 0 bytesCurveV2MetapoolImpl
: 0 bytesCurveV2PlainPool
: 0 bytesCurveV2PlainPoolImpl
: 0 bytesCurvecrvUSDMetaPool
: 0 bytesCurvecrvUSDMetapoolImpl
: 0 bytesCurvecrvUSDPlainPool
: 0 bytesCurvecrvUSDPlainPoolImpl
: 0 bytesCurveCryptoSwapPool
: 0 bytesCurveTriCryptoPool
: 0 bytesCompoundV2
: 0 bytesMakerPSM
: 0 bytesMakerDssFlash
: 0 bytesOneInchV5
: 0 bytesOneInchFusion
: 0 bytesClipperExchange
: 0 bytesPropellerLabsSolver
: 0 bytesDodo
: 0 bytesUnknown
: 0 bytes