Enum evm_utils::SubCommands [−][src]
pub(crate) enum SubCommands { SendRawTx { raw_tx: String, }, TransferToEvm { amount: u64, ether_address: Hex<Address>, }, FindBlockHeader { expected_block_hash: Hex<H256>, range: u64, file: String, }, PrintEvmAddress { secret_key: SecretKey, }, GetEvmBalance { secret_key: Option<SecretKey>, address: Option<Hex<Address>>, }, CreateDummy { tx_file: String, contract_code: Option<String>, }, CallDummy { create_tx: String, tx_file: String, abi: Option<String>, }, ParseArray { array: String, }, }
Variants
Broadcast raw ethereum transaction.
Fields of SendRawTx
raw_tx: String
A path to a file where raw transaction is stored in bincode encoding.
Transfer native chain token to EVM world.
Fields of TransferToEvm
At some point in our history, in database was found incorrect blocks (native chain slots was changed). In order to recover that blocks from database, we found a solution.
Print EVM address.
Fields of PrintEvmAddress
secret_key: SecretKey
HEX representated private key.
Print EVM address.
Fields of GetEvmBalance
DEBUG: Create dummy “CREATE” transaction.
DEBUG: Create dummy “CALL” transaction.
DEBUG: Parse binary array as hex/utf8.
Fields of ParseArray
array: String
Trait Implementations
impl Debug for SubCommands
[src][+]
impl ParseArgs for SubCommands
[src][+]
impl StructOpt for SubCommands
[src][+]
impl StructOptInternal for SubCommands
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for SubCommands
impl Send for SubCommands
impl Sync for SubCommands
impl Unpin for SubCommands
impl UnwindSafe for SubCommands
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,