Skip to main content

Module permit

Module permit 

Source
Expand description

ERC-2612 signed approvals.

Re-exportsΒ§

use crate::cmd::send::SendTxArgs; πŸ”’
use crate::tempo; πŸ”’
use crate::tx::SendTxOpts; πŸ”’
use crate::tx::TxParams; πŸ”’
use alloy_consensus::SignableTransaction; πŸ”’
use alloy_consensus::Signed; πŸ”’
use alloy_dyn_abi::TypedData; πŸ”’
use alloy_ens::NameOrAddress; πŸ”’
use alloy_network::Ethereum; πŸ”’
use alloy_network::Network; πŸ”’
use alloy_primitives::Address; πŸ”’
use alloy_primitives::B256; πŸ”’
use alloy_primitives::U256; πŸ”’
use alloy_primitives::hex; πŸ”’
use alloy_primitives::hex; πŸ”’
use alloy_provider::Provider; πŸ”’
use alloy_signer::Signature; πŸ”’
use alloy_signer::Signer; πŸ”’
use alloy_sol_types::Eip712Domain; πŸ”’
use alloy_sol_types::SolCall; πŸ”’
use alloy_sol_types::sol; πŸ”’
use clap::Args; πŸ”’
use eyre::Result; πŸ”’
use eyre::WrapErr; πŸ”’
use eyre::ensure; πŸ”’
use foundry_cli::json::print_json_success; πŸ”’
use foundry_cli::json::print_scalar; πŸ”’
use foundry_cli::utils::LoadConfig; πŸ”’
use foundry_cli::utils::get_provider; πŸ”’
use foundry_common::FoundryTransactionBuilder; πŸ”’
use foundry_common::fmt::UIfmt; πŸ”’
use foundry_common::fmt::UIfmtReceiptExt; πŸ”’
use foundry_common::provider::ProviderBuilder; πŸ”’
use foundry_common::shell; πŸ”’
use foundry_config::Config; πŸ”’
use foundry_wallets::WalletSigner; πŸ”’
use serde::Serialize; πŸ”’
use serde::Serialize; πŸ”’
use serde_json::json; πŸ”’
use std::str::FromStr; πŸ”’
use tempo_alloy::TempoNetwork; πŸ”’

ModulesΒ§

IERC2612
Module containing a contract’s types and functions.

StructsΒ§

Permit
PermitArgs
Arguments for signing and submitting an ERC-2612 permit.
permitCall
Function with signature permit(address,address,uint256,uint256,uint8,bytes32,bytes32) and selector 0xd505accf.
permitReturn
Container type for the return parameters of the permit(address,address,uint256,uint256,uint8,bytes32,bytes32) function.

FunctionsΒ§

discovered_domain πŸ”’
validate_domain πŸ”’