// This file was autogenerated by hardhat-viem, do not edit it. // prettier-ignore // tslint:disable // eslint-disable import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; export interface IAdminModule$Type { "_format": "hh-sol-artifact-1", "contractName": "IAdminModule", "sourceName": "contracts/interfaces/IAdminModule.sol", "abi": [ { "inputs": [], "name": "AMM_FACTORY", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "isPositive", "type": "bool" }, { "components": [ { "internalType": "AMMId", "name": "ammId", "type": "uint24" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "address", "name": "market", "type": "address" }, { "internalType": "uint32", "name": "oracleImpliedRateWindow", "type": "uint32" }, { "internalType": "uint64", "name": "feeRate", "type": "uint64" }, { "internalType": "uint256", "name": "totalSupplyCap", "type": "uint256" }, { "internalType": "MarketAcc", "name": "seeder", "type": "bytes26" }, { "internalType": "address", "name": "permissionController", "type": "address" } ], "internalType": "struct AMMCreateParams", "name": "createParams", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "minAbsRate", "type": "uint256" }, { "internalType": "uint256", "name": "maxAbsRate", "type": "uint256" }, { "internalType": "uint256", "name": "cutOffTimestamp", "type": "uint256" }, { "internalType": "uint256", "name": "initialAbsRate", "type": "uint256" }, { "internalType": "int256", "name": "initialSize", "type": "int256" }, { "internalType": "uint256", "name": "flipLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "initialCash", "type": "uint256" } ], "internalType": "struct AMMSeedParams", "name": "seedParams", "type": "tuple" } ], "name": "newAMM", "outputs": [ { "internalType": "address", "name": "newAMM", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IAdminModule", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/interfaces/IAdminModule.sol:IAdminModule", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "IAdminModule", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interfaces/IAdminModule.sol:IAdminModule", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IAdminModule", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/interfaces/IAdminModule.sol:IAdminModule", address: Address, config?: GetContractAtConfig ): Promise>; }