1 2 3 4 5 6 7 8 9 10 11
use alloy_primitives::Address; use alloy_sol_types::SolInterface; pub struct DeployedContract<A: SolInterface> { /// Name of the contract. pub name: String, /// ABI contract object. pub functions: A, /// Address of the contract. pub address: Address, }