Re-exportsยง
use crate::cmd::send::cast_send_raw;๐use crate::tempo;๐use crate::tx::CastTxSender;๐use crate::tx::SendTxOpts;๐use crate::tx::TxParams;๐use crate::tx::apply_poll_interval;๐use crate::tx::fill_transaction_gas_fees;๐use alloy_network::EthereumWallet;๐use alloy_primitives::Address;๐use alloy_primitives::B256;๐use alloy_primitives::keccak256;๐use alloy_signer::Signer;๐use eyre::Result;๐use foundry_cli::utils::get_chain;๐use foundry_common::FoundryTransactionBuilder;๐use foundry_common::provider::ProviderBuilder;๐use foundry_evm::hardfork::TempoHardfork;๐use rand::RngCore;๐use rand::SeedableRng;๐use rand::rngs::StdRng;๐use std::time::Duration;๐use std::time::Instant;๐use tempo_alloy::TempoNetwork;๐use tempo_alloy::contracts::precompiles::ADDRESS_REGISTRY_ADDRESS;๐use tempo_alloy::contracts::precompiles::IAddressRegistry;๐use tempo_primitives::MasterId;๐use tempo_primitives::TempoAddressExt;๐use tempo_primitives::UserTag;๐
Structsยง
- Output ๐
- Register
Messages ๐ - Command-specific wording for
register_virtual_master.
Constantsยง
- POW_
BYTES ๐ - Number of leading zero bytes a TIP-1022 registration hash must have.
Functionsยง
- derive ๐
- find_
salt ๐ - Validates
masterand returns the registration to submit:saltafter checking its proof of work, or a freshly mined salt together with the time it took to find it. - has_pow ๐
- mine ๐
- register_
virtual_ ๐master - Submits
registerVirtualMaster(salt)frommasterand returns the transaction hash. - run ๐