// 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 IFundingRateOracle$Type { "_format": "hh-sol-artifact-1", "contractName": "IFundingRateOracle", "sourceName": "contracts/interfaces/IFundingRateOracle.sol", "abi": [ { "anonymous": false, "inputs": [ { "components": [ { "internalType": "int112", "name": "fundingRate", "type": "int112" }, { "internalType": "uint32", "name": "fundingTimestamp", "type": "uint32" }, { "internalType": "uint32", "name": "epochDuration", "type": "uint32" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "indexed": false, "internalType": "struct IFundingRateOracle.FundingRateUpdate", "name": "", "type": "tuple" } ], "name": "FundingRateUpdated", "type": "event" }, { "inputs": [], "name": "latestUpdate", "outputs": [ { "internalType": "int112", "name": "fundingRate", "type": "int112" }, { "internalType": "uint32", "name": "fundingTimestamp", "type": "uint32" }, { "internalType": "uint32", "name": "epochDuration", "type": "uint32" }, { "internalType": "uint256", "name": "updatedAt", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxFundingRate", "outputs": [ { "internalType": "int112", "name": "", "type": "int112" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "minFundingRate", "outputs": [ { "internalType": "int112", "name": "", "type": "int112" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "int112", "name": "fundingRate", "type": "int112" }, { "internalType": "uint32", "name": "fundingTimestamp", "type": "uint32" }, { "internalType": "uint32", "name": "epochDuration", "type": "uint32" } ], "name": "updateFundingRate", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IFundingRateOracle", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/interfaces/IFundingRateOracle.sol:IFundingRateOracle", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "IFundingRateOracle", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interfaces/IFundingRateOracle.sol:IFundingRateOracle", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IFundingRateOracle", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/interfaces/IFundingRateOracle.sol:IFundingRateOracle", address: Address, config?: GetContractAtConfig ): Promise>; }