Skip to main content

Module tip20

Module tip20 

Source

Re-exportsยง

use crate::cmd::send::SendTxArgs; ๐Ÿ”’
use crate::tempo; ๐Ÿ”’
use crate::tx::SendTxOpts; ๐Ÿ”’
use crate::tx::TxParams; ๐Ÿ”’
use alloy_ens::NameOrAddress; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use clap::Parser; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use foundry_cli::opts::RpcOpts; ๐Ÿ”’
use foundry_cli::utils::get_chain; ๐Ÿ”’
use foundry_wallets::TempoAccountsWallet; ๐Ÿ”’
use foundry_wallets::WalletSigner; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’
use tempo_alloy::TempoNetwork; ๐Ÿ”’

Modulesยง

create ๐Ÿ”’
logo ๐Ÿ”’
mine ๐Ÿ”’
role ๐Ÿ”’

Structsยง

Tip20Role
A TIP-20 role identifier, parsed from a role name or a raw 32-byte hash.

Enumsยง

Tip20Subcommand
TIP-20 token operations (Tempo).

Constantsยง

MINE_REGISTER_MESSAGES ๐Ÿ”’

Functionsยง

iso4217_warning_message ๐Ÿ”’
Returns a warning message for non-ISO 4217 currency codes used in TIP-20 token creation.
resolve_tip20_signer ๐Ÿ”’
Resolves the Tempo session, access key, or wallet that signs a cast send style transaction.
send_tip20_transaction ๐Ÿ”’
Sends pre-encoded data to the Tempo contract at to through the cast send flow, signing with the selected Tempo session, access key, or wallet.