// 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 IFIndexOracle$Type { "_format": "hh-sol-artifact-1", "contractName": "IFIndexOracle", "sourceName": "contracts/interfaces/IFIndexOracle.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "newSettleFeeRate", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "newUpdatePeriod", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "newMaxUpdateDelay", "type": "uint32" } ], "name": "ConfigUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newKeeper", "type": "address" } ], "name": "KeeperUpdated", "type": "event" }, { "inputs": [], "name": "getConfig", "outputs": [ { "internalType": "uint64", "name": "settleFeeRate", "type": "uint64" }, { "internalType": "uint32", "name": "updatePeriod", "type": "uint32" }, { "internalType": "uint32", "name": "maxUpdateDelay", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLatestFIndex", "outputs": [ { "internalType": "FIndex", "name": "", "type": "bytes26" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isDueForUpdateNow", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "keeper", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "latestAnnualizedRate", "outputs": [ { "internalType": "int256", "name": "rate", "type": "int256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "market", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maturity", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "nextFIndexUpdateTime", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "settleFeeRate", "type": "uint64" }, { "internalType": "uint32", "name": "updatePeriod", "type": "uint32" }, { "internalType": "uint32", "name": "maxFUpdateDelay", "type": "uint32" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "keeper", "type": "address" } ], "name": "setKeeper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "int112", "name": "floatingIndexDelta", "type": "int112" }, { "internalType": "uint32", "name": "desiredTimestamp", "type": "uint32" } ], "name": "updateFloatingIndex", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IFIndexOracle", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function deployContract( contractName: "contracts/interfaces/IFIndexOracle.sol:IFIndexOracle", constructorArgs?: [], config?: DeployContractConfig ): Promise>; export function sendDeploymentTransaction( contractName: "IFIndexOracle", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "contracts/interfaces/IFIndexOracle.sol:IFIndexOracle", constructorArgs?: [], config?: SendDeploymentTransactionConfig ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function getContractAt( contractName: "IFIndexOracle", address: Address, config?: GetContractAtConfig ): Promise>; export function getContractAt( contractName: "contracts/interfaces/IFIndexOracle.sol:IFIndexOracle", address: Address, config?: GetContractAtConfig ): Promise>; }