Skip to main contentModule eip712
Source use alloy_primitives::B256; ๐ use alloy_primitives::keccak256; ๐ use clap::Parser; ๐ use clap::ValueHint; ๐ use eyre::Result; ๐ use foundry_cli::opts::BuildOpts; ๐ use foundry_cli::utils::LoadConfig; ๐ use foundry_common::compile::ProjectCompiler; ๐ use foundry_common::shell; ๐ use serde::Serialize; ๐ use serde::Serialize; ๐ use solar::sema::Gcx; ๐ use solar::sema::Hir; ๐ use solar::sema::hir::StructId; ๐ use solar::sema::ty::Ty; ๐ use solar::sema::ty::TyKind; ๐ use std::collections::BTreeMap; ๐ use std::fmt::Display; ๐ use std::fmt::Formatter; ๐ use std::fmt::Result as FmtResult; ๐ use std::fmt::Write; ๐ use std::ops::ControlFlow; ๐ use std::path::Path; ๐ use std::path::PathBuf; ๐
- Eip712Args
- CLI arguments for
forge eip712. - Eip712Output ๐
- Resolver
- Generates the EIP-712
encodeType string for a given struct.