pub enum Chain {
Show 13 variants
Solana(SolanaGrinder),
Evm(EvmGrinder),
Bitcoin(BitcoinLikeGrinder),
Litecoin(BitcoinLikeGrinder),
Dogecoin(BitcoinLikeGrinder),
Tron(TronGrinder),
Cosmos(CosmosGrinder),
Osmosis(CosmosGrinder),
Ripple(RippleGrinder),
Stellar(StellarGrinder),
Aptos(AptosGrinder),
Sui(SuiGrinder),
Near(NearGrinder),
}Variants§
Solana(SolanaGrinder)
Evm(EvmGrinder)
Bitcoin(BitcoinLikeGrinder)
Litecoin(BitcoinLikeGrinder)
Dogecoin(BitcoinLikeGrinder)
Tron(TronGrinder)
Cosmos(CosmosGrinder)
Osmosis(CosmosGrinder)
Ripple(RippleGrinder)
Stellar(StellarGrinder)
Aptos(AptosGrinder)
Sui(SuiGrinder)
Near(NearGrinder)
Implementations§
Trait Implementations§
Source§impl ChainGrinder for Chain
impl ChainGrinder for Chain
fn id(&self) -> &'static str
fn display_name(&self) -> &'static str
Source§fn grind_attempt(&self) -> (String, GrindAttempt)
fn grind_attempt(&self) -> (String, GrindAttempt)
Generate address + retain secret material for finalize on match.
Source§fn finalize(&self, attempt: GrindAttempt) -> KeypairResult
fn finalize(&self, attempt: GrindAttempt) -> KeypairResult
Build export formats from a winning attempt (called once on success).
fn build_pattern( &self, prefix: Option<&str>, suffix: Option<&str>, exact: bool, ) -> Result<Pattern, String>
fn expected_attempts(&self, pattern: &Pattern) -> f64
fn matches(&self, address: &str, pattern: &Pattern) -> bool
fn supports_exact_case(&self) -> bool
fn pattern_hint(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for Chain
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chain
impl UnwindSafe for Chain
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> 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 more