import { Client } from 'viem'; import * as configRaw from './config/contracts'; import { Blockish, HexString, NetworkNumber } from './types/common'; export type ConfigKey = keyof typeof configRaw; export declare const getConfigContractAddress: (name: ConfigKey, network: NetworkNumber, block?: Blockish) => HexString; export declare const getConfigContractAbi: (name: TKey, network?: NetworkNumber, block?: Blockish) => (typeof configRaw)[TKey]["abi"]; export declare const createViemContractFromConfigFunc: (name: TKey, _address?: HexString) => (client: Client, network: NetworkNumber, block?: Blockish) => ((import("viem").IsNever<(typeof configRaw)[TKey]["abi"] extends infer T_2 ? T_2 extends (typeof configRaw)[TKey]["abi"] ? T_2 extends import("viem").Abi ? import("viem").Abi extends T_2 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never> extends true ? unknown : { read: { [functionName in (typeof configRaw)[TKey]["abi"] extends infer T_3 ? T_3 extends (typeof configRaw)[TKey]["abi"] ? T_3 extends import("viem").Abi ? import("viem").Abi extends T_3 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_4 ? T_4 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_4 extends true ? (...parameters: ((((typeof configRaw)[TKey]["abi"] extends infer T_7 ? T_7 extends (typeof configRaw)[TKey]["abi"] ? T_7 extends import("viem").Abi ? Extract, { name: functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_6 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_6]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_5 ? { [key in keyof T_5]: T_5[key]; } : never) extends infer T_8 ? T_8 extends ((((typeof configRaw)[TKey]["abi"] extends infer T_14 ? T_14 extends (typeof configRaw)[TKey]["abi"] ? T_14 extends import("viem").Abi ? Extract, { name: functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_13 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_13]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_12 ? { [key in keyof T_12]: T_12[key]; } : never) ? T_8 extends readonly [] ? [options?: import("viem").Prettify ? functionName : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "view" | "pure", functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never>>, "address" | "args" | "abi" | "functionName">> | undefined] : [args: (((typeof configRaw)[TKey]["abi"] extends infer T_11 ? T_11 extends (typeof configRaw)[TKey]["abi"] ? T_11 extends import("viem").Abi ? Extract, { name: functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_10 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_10]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_9 ? { [key in keyof T_9]: T_9[key]; } : never, options?: import("viem").Prettify ? functionName : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "view" | "pure", functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never>>, "address" | "args" | "abi" | "functionName">> | undefined] : never : never) => Promise ? functionName : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "view" | "pure", functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never>>> : (...parameters: [options?: import("viem").Prettify ? functionName : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "view" | "pure", functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never>>, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly unknown[], options?: import("viem").Prettify ? functionName : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "view" | "pure", functionName extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "view" | "pure"> ? functionName : never>>, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise : never : never; }; }) & (import("viem").IsNever<(typeof configRaw)[TKey]["abi"] extends infer T_4 ? T_4 extends (typeof configRaw)[TKey]["abi"] ? T_4 extends import("viem").Abi ? import("viem").Abi extends T_4 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never> extends true ? unknown : { estimateGas: { [functionName_1 in (typeof configRaw)[TKey]["abi"] extends infer T_5 ? T_5 extends (typeof configRaw)[TKey]["abi"] ? T_5 extends import("viem").Abi ? import("viem").Abi extends T_5 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_6 ? T_6 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_6 extends true ? (...parameters: ((((typeof configRaw)[TKey]["abi"] extends infer T_9 ? T_9 extends (typeof configRaw)[TKey]["abi"] ? T_9 extends import("viem").Abi ? Extract, { name: functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_8 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_8]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_7 ? { [key in keyof T_7]: T_7[key]; } : never) extends infer T_10 ? T_10 extends ((((typeof configRaw)[TKey]["abi"] extends infer T_16 ? T_16 extends (typeof configRaw)[TKey]["abi"] ? T_16 extends import("viem").Abi ? Extract, { name: functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_15 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_15]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_14 ? { [key in keyof T_14]: T_14[key]; } : never) ? T_10 extends readonly [] ? [options: import("viem").Prettify ? functionName_1 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] : [args: (((typeof configRaw)[TKey]["abi"] extends infer T_13 ? T_13 extends (typeof configRaw)[TKey]["abi"] ? T_13 extends import("viem").Abi ? Extract, { name: functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_12 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_12]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_11 ? { [key in keyof T_11]: T_11[key]; } : never, options: import("viem").Prettify ? functionName_1 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] : never : never) => Promise : (...parameters: [options: import("viem").Prettify ? functionName_1 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify ? functionName_1 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_1 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_1 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>]) => Promise : never : never; }; simulate: { [functionName_2 in (typeof configRaw)[TKey]["abi"] extends infer T_6 ? T_6 extends (typeof configRaw)[TKey]["abi"] ? T_6 extends import("viem").Abi ? import("viem").Abi extends T_6 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_7 ? T_7 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_7 extends true ? (...parameters: ((((typeof configRaw)[TKey]["abi"] extends infer T_10 ? T_10 extends (typeof configRaw)[TKey]["abi"] ? T_10 extends import("viem").Abi ? Extract, { name: functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_9 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_9]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_8 ? { [key in keyof T_8]: T_8[key]; } : never) extends infer T_11 ? T_11 extends ((((typeof configRaw)[TKey]["abi"] extends infer T_17 ? T_17 extends (typeof configRaw)[TKey]["abi"] ? T_17 extends import("viem").Abi ? Extract, { name: functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_16 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_16]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_15 ? { [key in keyof T_15]: T_15[key]; } : never) ? T_11 extends readonly [] ? [options?: Omit ? functionName_2 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never>, import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined] : [args: (((typeof configRaw)[TKey]["abi"] extends infer T_14 ? T_14 extends (typeof configRaw)[TKey]["abi"] ? T_14 extends import("viem").Abi ? Extract, { name: functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_13 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_13]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_12 ? { [key in keyof T_12]: T_12[key]; } : never, options?: Omit ? functionName_2 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never>, import("viem").Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined] : never : never) => Promise ? functionName_2 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never>, import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride, accountOverride>> : (...parameters: [options?: Omit ? functionName_2 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never>, import("viem").Chain | undefined, chainOverride, accountOverride_1>, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly unknown[], options?: Omit ? functionName_2 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_2 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_2 : never>, import("viem").Chain | undefined, chainOverride, accountOverride_1>, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise : never : never; }; }) & (import("viem").IsNever<(typeof configRaw)[TKey]["abi"] extends infer T_7 ? T_7 extends (typeof configRaw)[TKey]["abi"] ? T_7 extends import("viem").Abi ? import("viem").Abi extends T_7 ? string : import("abitype").ExtractAbiEventNames : string : never : never> extends true ? unknown : { createEventFilter: { [EventName in (typeof configRaw)[TKey]["abi"] extends infer T_8 ? T_8 extends (typeof configRaw)[TKey]["abi"] ? T_8 extends import("viem").Abi ? import("viem").Abi extends T_8 ? string : import("abitype").ExtractAbiEventNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_9 ? T_9 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_9 extends true ? ? EventName : never> | undefined, strict extends boolean | undefined = undefined>(...parameters: import("viem").IsNever, { name: EventName extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName : never; }> : import("viem").AbiEvent : never : never)["inputs"][number], { indexed: true; }>> extends true ? [options?: ((Omit ? EventName : never>, "address" | "args" | "abi" | "strict" | "eventName"> extends infer T_11 ? { [K_2 in keyof T_11]: T_11[K_2]; } : never) & { strict?: strict | undefined; }) | undefined] : [args: import("viem").AbiEventParametersToPrimitiveTypes<((typeof configRaw)[TKey]["abi"] extends infer T_12 ? T_12 extends (typeof configRaw)[TKey]["abi"] ? T_12 extends import("viem").Abi ? Extract, { name: EventName extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName : never; }> : import("viem").AbiEvent : never : never)["inputs"], { EnableUnion: true; IndexedOnly: true; Required: false; }> | (import("viem").AbiEventParametersToPrimitiveTypes<((typeof configRaw)[TKey]["abi"] extends infer T_13 ? T_13 extends (typeof configRaw)[TKey]["abi"] ? T_13 extends import("viem").Abi ? Extract, { name: EventName extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName : never; }> : import("viem").AbiEvent : never : never)["inputs"], { EnableUnion: true; IndexedOnly: true; Required: false; }> extends infer T_14 ? T_14 extends import("viem").AbiEventParametersToPrimitiveTypes<((typeof configRaw)[TKey]["abi"] extends infer T_15 ? T_15 extends (typeof configRaw)[TKey]["abi"] ? T_15 extends import("viem").Abi ? Extract, { name: EventName extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName : never; }> : import("viem").AbiEvent : never : never)["inputs"], { EnableUnion: true; IndexedOnly: true; Required: false; }> ? T_14 extends args ? Readonly : never : never : never), options?: ((Omit ? EventName : never>, "address" | "args" | "abi" | "strict" | "eventName"> extends infer T_16 ? { [K_2 in keyof T_16]: T_16[K_2]; } : never) & { strict?: strict | undefined; }) | undefined]) => Promise ? EventName : never, args, strict>> : (...parameters: [options?: ((Omit ? EventName : never>, "address" | "args" | "abi" | "strict" | "eventName"> extends infer T_10 ? { [K_2 in keyof T_10]: T_10[K_2]; } : never) & { strict?: strict_1 | undefined; }) | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; eventName?: undefined; fromBlock?: undefined; strict?: undefined; toBlock?: undefined; args?: undefined; }, options?: ((Omit ? EventName : never>, "address" | "args" | "abi" | "strict" | "eventName"> extends infer T_11 ? { [K_2 in keyof T_11]: T_11[K_2]; } : never) & { strict?: strict_1 | undefined; }) | undefined]) => Promise : never : never; }; getEvents: { [EventName_1 in (typeof configRaw)[TKey]["abi"] extends infer T_9 ? T_9 extends (typeof configRaw)[TKey]["abi"] ? T_9 extends import("viem").Abi ? import("viem").Abi extends T_9 ? string : import("abitype").ExtractAbiEventNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_10 ? T_10 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_10 extends true ? (...parameters: import("viem").IsNever, { name: EventName_1 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_1 : never; }> : import("viem").AbiEvent : never : never)["inputs"][number], { indexed: true; }>> extends true ? [options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined] : [args?: import("viem").AbiEventParametersToPrimitiveTypes<((typeof configRaw)[TKey]["abi"] extends infer T_12 ? T_12 extends (typeof configRaw)[TKey]["abi"] ? T_12 extends import("viem").Abi ? Extract, { name: EventName_1 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_1 : never; }> : import("viem").AbiEvent : never : never)["inputs"], { EnableUnion: true; IndexedOnly: true; Required: false; }> | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined]) => Promise ? EventName_1 : never>> : (...parameters: [options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined] | [args?: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined]) => Promise ? EventName_1 : never>> : never : never; }; watchEvent: { [EventName_2 in (typeof configRaw)[TKey]["abi"] extends infer T_10 ? T_10 extends (typeof configRaw)[TKey]["abi"] ? T_10 extends import("viem").Abi ? import("viem").Abi extends T_10 ? string : import("abitype").ExtractAbiEventNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_11 ? T_11 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_11 extends true ? (...parameters: import("viem").IsNever, { name: EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never; }> : import("viem").AbiEvent : never : never)["inputs"][number], { indexed: true; }>> extends true ? [options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<(typeof configRaw)[TKey]["abi"], (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) extends infer T_13 ? T_13 extends (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) ? T_13 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? T_13 : import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> : never : never, undefined>; poll?: true | undefined | undefined; }] : [args: import("viem").AbiEventParametersToPrimitiveTypes<((typeof configRaw)[TKey]["abi"] extends infer T_14 ? T_14 extends (typeof configRaw)[TKey]["abi"] ? T_14 extends import("viem").Abi ? Extract, { name: EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never; }> : import("viem").AbiEvent : never : never)["inputs"], { EnableUnion: true; IndexedOnly: true; Required: false; }>, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<(typeof configRaw)[TKey]["abi"], (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) extends infer T_15 ? T_15 extends (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) ? T_15 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? T_15 : import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> : never : never, undefined>; poll?: true | undefined | undefined; }]) => import("viem").WatchContractEventReturnType : (...parameters: [options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<(typeof configRaw)[TKey]["abi"], (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) extends infer T_12 ? T_12 extends (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) ? T_12 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? T_12 : import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> : never : never, undefined>; poll?: true | undefined | undefined; } | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; }, options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<(typeof configRaw)[TKey]["abi"], (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) extends infer T_13 ? T_13 extends (EventName_2 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? EventName_2 : never) ? T_13 extends import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> ? T_13 : import("viem").ContractEventName<(typeof configRaw)[TKey]["abi"]> : never : never, undefined>; poll?: true | undefined | undefined; } | undefined]) => import("viem").WatchContractEventReturnType : never : never; }; }) & (import("viem").IsNever<(typeof configRaw)[TKey]["abi"] extends infer T_11 ? T_11 extends (typeof configRaw)[TKey]["abi"] ? T_11 extends import("viem").Abi ? import("viem").Abi extends T_11 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never> extends true ? unknown : { estimateGas: { [functionName_3 in (typeof configRaw)[TKey]["abi"] extends infer T_12 ? T_12 extends (typeof configRaw)[TKey]["abi"] ? T_12 extends import("viem").Abi ? import("viem").Abi extends T_12 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_13 ? T_13 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_13 extends true ? (...parameters: ((((typeof configRaw)[TKey]["abi"] extends infer T_16 ? T_16 extends (typeof configRaw)[TKey]["abi"] ? T_16 extends import("viem").Abi ? Extract, { name: functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_15 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_15]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_14 ? { [key in keyof T_14]: T_14[key]; } : never) extends infer T_17 ? T_17 extends ((((typeof configRaw)[TKey]["abi"] extends infer T_23 ? T_23 extends (typeof configRaw)[TKey]["abi"] ? T_23 extends import("viem").Abi ? Extract, { name: functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_22 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_22]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_21 ? { [key in keyof T_21]: T_21[key]; } : never) ? T_17 extends readonly [] ? [options: import("viem").Prettify ? functionName_3 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] : [args: (((typeof configRaw)[TKey]["abi"] extends infer T_20 ? T_20 extends (typeof configRaw)[TKey]["abi"] ? T_20 extends import("viem").Abi ? Extract, { name: functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_19 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_19]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_18 ? { [key in keyof T_18]: T_18[key]; } : never, options: import("viem").Prettify ? functionName_3 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] : never : never) => Promise : (...parameters: [options: import("viem").Prettify ? functionName_3 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify ? functionName_3 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_3 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_3 : never>, import("viem").Chain | undefined>, "address" | "args" | "abi" | "functionName">>]) => Promise : never : never; }; write: { [functionName_4 in (typeof configRaw)[TKey]["abi"] extends infer T_13 ? T_13 extends (typeof configRaw)[TKey]["abi"] ? T_13 extends import("viem").Abi ? import("viem").Abi extends T_13 ? string : import("abitype").ExtractAbiFunctionNames : string : never : never]: import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> extends infer T_14 ? T_14 extends import("viem").IsNarrowable<(typeof configRaw)[TKey]["abi"], import("viem").Abi> ? T_14 extends true ? ? functionName_4 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_4 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_4 : never>, import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T_15 ? { [K_2 in keyof T_15]: T_15[K_2]; } : never>(...parameters: ((((typeof configRaw)[TKey]["abi"] extends infer T_18 ? T_18 extends (typeof configRaw)[TKey]["abi"] ? T_18 extends import("viem").Abi ? Extract, { name: functionName_4 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_4 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_17 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_17]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_16 ? { [key in keyof T_16]: T_16[key]; } : never) extends infer T_19 ? T_19 extends ((((typeof configRaw)[TKey]["abi"] extends infer T_25 ? T_25 extends (typeof configRaw)[TKey]["abi"] ? T_25 extends import("viem").Abi ? Extract, { name: functionName_4 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_4 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_24 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_24]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_23 ? { [key in keyof T_23]: T_23[key]; } : never) ? T_19 extends readonly [] ? [options: options] : [args: (((typeof configRaw)[TKey]["abi"] extends infer T_22 ? T_22 extends (typeof configRaw)[TKey]["abi"] ? T_22 extends import("viem").Abi ? Extract, { name: functionName_4 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_4 : never; }> : import("viem").AbiFunction : never : never)["inputs"] extends infer T_21 extends readonly import("viem").AbiParameter[] ? { [key_1 in keyof T_21]: import("viem").AbiParameterToPrimitiveType; } : never) extends infer T_20 ? { [key in keyof T_20]: T_20[key]; } : never, options: options] : never : never) => Promise : ? functionName_4 : never, import("viem").ContractFunctionArgs<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable", functionName_4 extends import("viem").ContractFunctionName<(typeof configRaw)[TKey]["abi"], "nonpayable" | "payable"> ? functionName_4 : never>, import("viem").Chain | undefined, import("viem").Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T_15 ? { [K_2 in keyof T_15]: T_15[K_2]; } : never, Rest extends unknown[] = [options: options_1]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise : never : never; }; }) extends infer T_1 ? { [K_1 in keyof T_1]: T_1[K_1]; } : never) & { address: `0x${string}`; abi: (typeof configRaw)[TKey]["abi"]; } extends infer T ? { [K in keyof T]: T[K]; } : never; export declare const getMorphoVaultContractViem: (client: Client, address: HexString) => { read: { totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; convertToAssets: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; previewRedeem: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; DECIMALS_OFFSET: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { acceptTimelock: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { acceptTimelock: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { acceptTimelock: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { acceptTimelock: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "acceptTimelock"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "convertToAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "DECIMALS_OFFSET"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "previewRedeem"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalSupply"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const getYearnVaultContractViem: (client: Client, address: HexString) => { read: { totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly stateMutability: "view"; readonly type: "function"; readonly name: "balanceOf"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly gas: 3923; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "totalAssets"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly gas: 8698; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "totalSupply"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly gas: 3768; }]; }; export declare const getSparkSavingsVaultContractViem: (client: Client, address: HexString) => { read: { decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; nowChi: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; RAY: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "nowChi"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "RAY"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const getErc20ContractViem: (client: Client, address: HexString) => { read: { symbol: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; name: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; stopped: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; authority: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; approve: (...parameters: [args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; burn: (...parameters: [args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; mint: (...parameters: [args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; stop: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setOwner: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setName: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAuthority: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; push: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; start: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; pull: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; approve: (...parameters: [args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; burn: (...parameters: [args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; mint: (...parameters: [args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; stop: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setOwner: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setName: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAuthority: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; push: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; start: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; pull: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transfer: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; approve: (...parameters: [args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; burn: (...parameters: [args: readonly [bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; mint: (...parameters: [args: readonly [bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; stop: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setOwner: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setName: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setAuthority: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; push: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; start: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; pull: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { Transfer: (args: { src?: `0x${string}` | `0x${string}`[] | null | undefined; dst?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ src?: `0x${string}` | `0x${string}`[] | null | undefined; dst?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { src?: `0x${string}` | `0x${string}`[] | null | undefined; dst?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Approval: (args: { src?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ src?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { src?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; foo?: `0x${string}` | `0x${string}`[] | null | undefined; bar?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ sig?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; foo?: `0x${string}` | `0x${string}`[] | null | undefined; bar?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { sig?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; foo?: `0x${string}` | `0x${string}`[] | null | undefined; bar?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Mint: (args: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ guy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Burn: (args: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ guy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LogSetAuthority: (args: { authority?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ authority?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { authority?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LogSetOwner: (args: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ owner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { owner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { Transfer: (args?: { src?: `0x${string}` | `0x${string}`[] | null | undefined; dst?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Approval: (args?: { src?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LogNote: (args?: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; foo?: `0x${string}` | `0x${string}`[] | null | undefined; bar?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Mint: (args?: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Burn: (args?: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LogSetAuthority: (args?: { authority?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LogSetOwner: (args?: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { Transfer: (args: { src?: `0x${string}` | `0x${string}`[] | null | undefined; dst?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Approval: (args: { src?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; guy?: `0x${string}` | `0x${string}`[] | null | undefined; foo?: `0x${string}` | `0x${string}`[] | null | undefined; bar?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Mint: (args: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Burn: (args: { guy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LogSetAuthority: (args: { authority?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LogSetOwner: (args: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transfer: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; transferFrom: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; approve: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [`0x${string}`], options: options] | [args: readonly [`0x${string}`, bigint], options: options]) => Promise; move: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; burn: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [bigint], options: options] | [args: readonly [`0x${string}`, bigint], options: options]) => Promise; mint: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [bigint], options: options] | [args: readonly [`0x${string}`, bigint], options: options]) => Promise; stop: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; setOwner: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setName: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setAuthority: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; push: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; start: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; pull: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly constant: true; readonly inputs: readonly []; readonly name: "name"; readonly outputs: readonly [{ readonly name: ""; readonly type: "string"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly []; readonly name: "stop"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "guy"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "approve"; readonly outputs: readonly [{ readonly name: ""; readonly type: "bool"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "owner_"; readonly type: "address"; }]; readonly name: "setOwner"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "totalSupply"; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "src"; readonly type: "address"; }, { readonly name: "dst"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "transferFrom"; readonly outputs: readonly [{ readonly name: ""; readonly type: "bool"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "guy"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "mint"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "burn"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "name_"; readonly type: "bytes32"; }]; readonly name: "setName"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly name: "src"; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "stopped"; readonly outputs: readonly [{ readonly name: ""; readonly type: "bool"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "authority_"; readonly type: "address"; }]; readonly name: "setAuthority"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "symbol"; readonly outputs: readonly [{ readonly name: ""; readonly type: "string"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "guy"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "burn"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "mint"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "dst"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "transfer"; readonly outputs: readonly [{ readonly name: ""; readonly type: "bool"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "dst"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "push"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "src"; readonly type: "address"; }, { readonly name: "dst"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "move"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly []; readonly name: "start"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "authority"; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "guy"; readonly type: "address"; }]; readonly name: "approve"; readonly outputs: readonly [{ readonly name: ""; readonly type: "bool"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly name: "src"; readonly type: "address"; }, { readonly name: "guy"; readonly type: "address"; }]; readonly name: "allowance"; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly name: "src"; readonly type: "address"; }, { readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "pull"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly name: "symbol_"; readonly type: "bytes32"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "guy"; readonly type: "address"; }, { readonly indexed: false; readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "Mint"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "guy"; readonly type: "address"; }, { readonly indexed: false; readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "Burn"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "authority"; readonly type: "address"; }]; readonly name: "LogSetAuthority"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "owner"; readonly type: "address"; }]; readonly name: "LogSetOwner"; readonly type: "event"; }, { readonly anonymous: true; readonly inputs: readonly [{ readonly indexed: true; readonly name: "sig"; readonly type: "bytes4"; }, { readonly indexed: true; readonly name: "guy"; readonly type: "address"; }, { readonly indexed: true; readonly name: "foo"; readonly type: "bytes32"; }, { readonly indexed: true; readonly name: "bar"; readonly type: "bytes32"; }, { readonly indexed: false; readonly name: "wad"; readonly type: "uint256"; }, { readonly indexed: false; readonly name: "fax"; readonly type: "bytes"; }]; readonly name: "LogNote"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "src"; readonly type: "address"; }, { readonly indexed: true; readonly name: "guy"; readonly type: "address"; }, { readonly indexed: false; readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "Approval"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly name: "src"; readonly type: "address"; }, { readonly indexed: true; readonly name: "dst"; readonly type: "address"; }, { readonly indexed: false; readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "Transfer"; readonly type: "event"; }]; }; export declare const getErc4626ContractViem: (client: Client, address: HexString) => { read: { symbol: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; asset: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; DOMAIN_SEPARATOR: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; name: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; nonces: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; maxWithdraw: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; convertToShares: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; convertToAssets: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; maxDeposit: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; maxMint: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; maxRedeem: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; previewDeposit: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; previewMint: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; previewRedeem: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; previewWithdraw: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { deposit: (args: readonly [bigint, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; withdraw: (args: readonly [bigint, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; approve: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; permit: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; mint: (args: readonly [bigint, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; redeem: (args: readonly [bigint, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { deposit: (args: readonly [bigint, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; withdraw: (args: readonly [bigint, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transfer: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; approve: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; permit: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; mint: (args: readonly [bigint, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; redeem: (args: readonly [bigint, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { deposit: (args: readonly [bigint, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; withdraw: (args: readonly [bigint, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; transfer: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; approve: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; permit: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; mint: (args: readonly [bigint, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; redeem: (args: readonly [bigint, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { Withdraw: (args: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; receiver?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ caller?: `0x${string}` | `0x${string}`[] | null | undefined; receiver?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { caller?: `0x${string}` | `0x${string}`[] | null | undefined; receiver?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Transfer: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Approval: (args: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; spender?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ owner?: `0x${string}` | `0x${string}`[] | null | undefined; spender?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { owner?: `0x${string}` | `0x${string}`[] | null | undefined; spender?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Deposit: (args: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ caller?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { caller?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { Withdraw: (args?: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; receiver?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Transfer: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Approval: (args?: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; spender?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Deposit: (args?: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { Withdraw: (args: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; receiver?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Transfer: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Approval: (args: { owner?: `0x${string}` | `0x${string}`[] | null | undefined; spender?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Deposit: (args: { caller?: `0x${string}` | `0x${string}`[] | null | undefined; owner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { deposit: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [bigint, `0x${string}`], options: options) => Promise; withdraw: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [bigint, `0x${string}`, `0x${string}`], options: options) => Promise; transfer: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; transferFrom: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; approve: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; permit: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, number, `0x${string}`, `0x${string}`], options: options) => Promise; mint: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [bigint, `0x${string}`], options: options) => Promise; redeem: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [bigint, `0x${string}`, `0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "spender"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "Approval"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "caller"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "Deposit"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "Transfer"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "caller"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "receiver"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "Withdraw"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "DOMAIN_SEPARATOR"; readonly outputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }, { readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "allowance"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "spender"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "approve"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "asset"; readonly outputs: readonly [{ readonly internalType: "contract ERC20"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "convertToAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly name: "convertToShares"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "receiver"; readonly type: "address"; }]; readonly name: "deposit"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "maxDeposit"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "maxMint"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "maxRedeem"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "maxWithdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "receiver"; readonly type: "address"; }]; readonly name: "mint"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "name"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "nonces"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "spender"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "value"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "deadline"; readonly type: "uint256"; }, { readonly internalType: "uint8"; readonly name: "v"; readonly type: "uint8"; }, { readonly internalType: "bytes32"; readonly name: "r"; readonly type: "bytes32"; }, { readonly internalType: "bytes32"; readonly name: "s"; readonly type: "bytes32"; }]; readonly name: "permit"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly name: "previewDeposit"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "previewMint"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly name: "previewRedeem"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly name: "previewWithdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "receiver"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "redeem"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "symbol"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalSupply"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "transfer"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "transferFrom"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "receiver"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "withdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "shares"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }]; }; export declare const getYearnV3VaultContractViem: (client: Client, address: HexString) => { read: { totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalDebt: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly stateMutability: "view"; readonly type: "function"; readonly name: "balanceOf"; readonly inputs: readonly [{ readonly name: "addr"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "totalAssets"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "totalDebt"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "totalSupply"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }]; }; export declare const MorphoBlueViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getApyAfterValuesEstimation: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, readonly { isBorrowOperation: boolean; liquidityAdded: bigint; liquidityRemoved: bigint; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getMarketId: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; LEGACY_MORPHO_TOKEN: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; MORPHO_BLUE_ADDRESS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; MORPHO_TOKEN_WRAPPER: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; PUBLIC_ALLOCATOR: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getMarketInfoNotTuple: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ id: `0x${string}`; totalSupplyAssets: bigint; totalSupplyShares: bigint; totalBorrowAssets: bigint; totalBorrowShares: bigint; lastUpdate: bigint; fee: bigint; borrowRate: bigint; oracle: bigint; }>; getUserInfo: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ supplyShares: bigint; suppliedInAssets: bigint; borrowShares: bigint; borrowedInAssets: bigint; collateral: bigint; }>; morphoBlue: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { getRatio: (args: readonly [`0x${string}`, { loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getMarketInfo: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRatioUsingId: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRatioUsingParams: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { getRatio: (args: readonly [`0x${string}`, { loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getMarketInfo: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRatioUsingId: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRatioUsingParams: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { getRatio: (args: readonly [`0x${string}`, { loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; getMarketInfo: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; getRatioUsingId: (args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; getRatioUsingParams: (args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { getRatio: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, { loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: options) => Promise; getMarketInfo: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }], options: options) => Promise; getRatioUsingId: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise; getRatioUsingParams: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [{ loanToken: `0x${string}`; collateralToken: `0x${string}`; oracle: `0x${string}`; irm: `0x${string}`; lltv: bigint; }, `0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "LEGACY_MORPHO_TOKEN"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "MORPHO_BLUE_ADDRESS"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "MORPHO_TOKEN_WRAPPER"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "PUBLIC_ALLOCATOR"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "_marketParams"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "bool"; readonly name: "isBorrowOperation"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityRemoved"; readonly type: "uint256"; }]; readonly internalType: "struct MorphoBlueView.LiquidityChangeParams[]"; readonly name: "_params"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "totalSupplyAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalSupplyShares"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowShares"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "lastUpdate"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "fee"; readonly type: "uint128"; }]; readonly internalType: "struct Market"; readonly name: "market"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "marketParams"; readonly type: "tuple"; }]; readonly name: "getMarketId"; readonly outputs: readonly [{ readonly internalType: "Id"; readonly name: "id"; readonly type: "bytes32"; }]; readonly stateMutability: "pure"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "marketParams"; readonly type: "tuple"; }]; readonly name: "getMarketInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "Id"; readonly name: "id"; readonly type: "bytes32"; }, { readonly internalType: "uint128"; readonly name: "totalSupplyAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalSupplyShares"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowShares"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "lastUpdate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oracle"; readonly type: "uint256"; }]; readonly internalType: "struct MorphoBlueView.MarketInfo"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly name: "getMarketInfoNotTuple"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "Id"; readonly name: "id"; readonly type: "bytes32"; }, { readonly internalType: "uint128"; readonly name: "totalSupplyAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalSupplyShares"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowAssets"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "totalBorrowShares"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "lastUpdate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oracle"; readonly type: "uint256"; }]; readonly internalType: "struct MorphoBlueView.MarketInfo"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "Id"; readonly name: "marketId"; readonly type: "bytes32"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "marketParams"; readonly type: "tuple"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "Id"; readonly name: "marketId"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "getRatioUsingId"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "marketParams"; readonly type: "tuple"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "getRatioUsingParams"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "irm"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }]; readonly internalType: "struct MarketParams"; readonly name: "marketParams"; readonly type: "tuple"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "getUserInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "supplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "suppliedInAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowedInAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }]; readonly internalType: "struct MorphoBlueView.PositionInfo"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "morphoBlue"; readonly outputs: readonly [{ readonly internalType: "contract IMorphoBlue"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const MorphoMidnightViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getMarketInfo: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ id: `0x${string}`; totalUnits: bigint; lossFactor: bigint; withdrawable: bigint; continuousFeeCredit: bigint; settlementFees: readonly [number, number, number, number, number, number, number]; continuousFee: number; tickSpacing: number; prices: readonly bigint[]; }>; getPositionInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ credit: bigint; pendingFee: bigint; debt: bigint; collateralBitmap: bigint; collateral: readonly bigint[]; ratio: bigint; }>; toId: (args: readonly [{ chainId: bigint; midnight: `0x${string}`; loanToken: `0x${string}`; collateralParams: readonly { token: `0x${string}`; lltv: bigint; liquidationCursor: bigint; oracle: `0x${string}`; }[]; maturity: bigint; rcfThreshold: bigint; enterGate: `0x${string}`; liquidatorGate: `0x${string}`; }], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; toMarket: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ chainId: bigint; midnight: `0x${string}`; loanToken: `0x${string}`; collateralParams: readonly { token: `0x${string}`; lltv: bigint; liquidationCursor: bigint; oracle: `0x${string}`; }[]; maturity: bigint; rcfThreshold: bigint; enterGate: `0x${string}`; liquidatorGate: `0x${string}`; }>; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "InvalidCollateralIndex"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "InvalidOfferMarketId"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "InvalidOfferType"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "NoOrdersProvided"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "ZeroAmountRequested"; readonly type: "error"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "_id"; readonly type: "bytes32"; }]; readonly name: "getMarketInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "bytes32"; readonly name: "id"; readonly type: "bytes32"; }, { readonly internalType: "uint128"; readonly name: "totalUnits"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "lossFactor"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "withdrawable"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "continuousFeeCredit"; readonly type: "uint128"; }, { readonly internalType: "uint16[7]"; readonly name: "settlementFees"; readonly type: "uint16[7]"; }, { readonly internalType: "uint32"; readonly name: "continuousFee"; readonly type: "uint32"; }, { readonly internalType: "uint8"; readonly name: "tickSpacing"; readonly type: "uint8"; }, { readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly internalType: "struct MidnightView.MarketInfo"; readonly name: "info"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "_id"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getPositionInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "credit"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "pendingFee"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "debt"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "collateralBitmap"; readonly type: "uint128"; }, { readonly internalType: "uint128[]"; readonly name: "collateral"; readonly type: "uint128[]"; }, { readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }]; readonly internalType: "struct MidnightView.PositionInfo"; readonly name: "pos"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "_id"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "chainId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "midnight"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationCursor"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }]; readonly internalType: "struct CollateralParams[]"; readonly name: "collateralParams"; readonly type: "tuple[]"; }, { readonly internalType: "uint256"; readonly name: "maturity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rcfThreshold"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "enterGate"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "liquidatorGate"; readonly type: "address"; }]; readonly internalType: "struct Market"; readonly name: "_market"; readonly type: "tuple"; }]; readonly name: "toId"; readonly outputs: readonly [{ readonly internalType: "bytes32"; readonly name: "id"; readonly type: "bytes32"; }]; readonly stateMutability: "pure"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "_id"; readonly type: "bytes32"; }]; readonly name: "toMarket"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "chainId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "midnight"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "loanToken"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "lltv"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationCursor"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }]; readonly internalType: "struct CollateralParams[]"; readonly name: "collateralParams"; readonly type: "tuple[]"; }, { readonly internalType: "uint256"; readonly name: "maturity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rcfThreshold"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "enterGate"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "liquidatorGate"; readonly type: "address"; }]; readonly internalType: "struct Market"; readonly name: "market"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveLoanInfoV2ContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { AAVE_REFERRAL_CODE: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly { reserveAddress: `0x${string}`; liquidityAdded: bigint; liquidityTaken: bigint; isDebtAsset: boolean; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollFactors: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFullTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; ratio: bigint; collAddr: readonly `0x${string}`[]; enabledAsColl: readonly boolean[]; borrowAddr: readonly `0x${string}`[]; collAmounts: readonly bigint[]; borrowStableAmounts: readonly bigint[]; borrowVariableAmounts: readonly bigint[]; }>; getLoanDataArr: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenInfoFull: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ aTokenAddress: `0x${string}`; underlyingTokenAddress: `0x${string}`; supplyRate: bigint; borrowRateVariable: bigint; borrowRateStable: bigint; totalSupply: bigint; availableLiquidity: bigint; totalBorrow: bigint; collateralFactor: bigint; liquidationRatio: bigint; price: bigint; totalBorrowVar: bigint; totalBorrowStab: bigint; isActive: boolean; isFrozen: boolean; usageAsCollateralEnabled: boolean; borrowingEnabled: boolean; stableBorrowRateEnabled: boolean; }>; getTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; AaveIncentivesController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; DATA_PROVIDER_ID: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; StakedToken: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getIncentivesRewardsBalance: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getStakingRewardsBalance: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserUnclaimedRewards: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { enableAsCollateral: (args: readonly [`0x${string}`, `0x${string}`, boolean], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { enableAsCollateral: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, boolean], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "AAVE_REFERRAL_CODE"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "AaveIncentivesController"; readonly outputs: readonly [{ readonly internalType: "contract IAaveIncentivesController"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "DATA_PROVIDER_ID"; readonly outputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "StakedToken"; readonly outputs: readonly [{ readonly internalType: "contract IStakedToken"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "_useAsCollateral"; readonly type: "bool"; }]; readonly name: "enableAsCollateral"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityTaken"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isDebtAsset"; readonly type: "bool"; }]; readonly internalType: "struct AaveView.LiquidityChangeParams[]"; readonly name: "_reserveParams"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableBorrowRate"; readonly type: "uint256"; }]; readonly internalType: "struct AaveView.EstimatedRates[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getCollFactors"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "collFactors"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getFullTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }]; readonly internalType: "struct AaveView.TokenInfoFull[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_assets"; readonly type: "address[]"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getIncentivesRewardsBalance"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }]; readonly internalType: "struct AaveView.LoanData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataArr"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }]; readonly internalType: "struct AaveView.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getPrices"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getRatios"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "ratios"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getSafetyRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_staker"; readonly type: "address"; }]; readonly name: "getStakingRewardsBalance"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getTokenBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "balance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stableBorrowRate"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "enabledAsCollateral"; readonly type: "bool"; }]; readonly internalType: "struct AaveView.UserToken[]"; readonly name: "userTokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IAaveProtocolDataProviderV2"; readonly name: "_dataProvider"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_priceOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_token"; readonly type: "address"; }]; readonly name: "getTokenInfoFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }]; readonly internalType: "struct AaveView.TokenInfoFull"; readonly name: "_tokenInfo"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct AaveView.TokenInfo[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getUserUnclaimedRewards"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveV3ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { AAVE_REFERRAL_CODE: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAdditionalUmbrellaStakingData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAllEmodes: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly { reserveAddress: `0x${string}`; liquidityAdded: bigint; liquidityTaken: bigint; isDebtAsset: boolean; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAssetPrice: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollFactors: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEModeCollateralFactor: (args: readonly [bigint, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEOAApprovalsAndBalances: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ asset: `0x${string}`; aToken: `0x${string}`; variableDebtToken: `0x${string}`; assetApproval: bigint; aTokenApproval: bigint; variableDebtDelegation: bigint; borrowedVariableAmount: bigint; eoaBalance: bigint; aTokenBalance: bigint; }>; getEOAApprovalsAndBalancesForAllTokens: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEmodeData: (args: readonly [`0x${string}`, number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ ltv: number; liquidationThreshold: number; liquidationBonus: number; collateralBitmap: bigint; isolated: boolean; label: string; borrowableBitmap: bigint; ltvzeroBitmap: bigint; }>; getFullTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getHealthFactor: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; ratio: bigint; eMode: bigint; collAddr: readonly `0x${string}`[]; enabledAsColl: readonly boolean[]; borrowAddr: readonly `0x${string}`[]; collAmounts: readonly bigint[]; borrowStableAmounts: readonly bigint[]; borrowVariableAmounts: readonly bigint[]; ltv: number; liquidationThreshold: number; liquidationBonus: number; priceSource: `0x${string}`; label: string; }>; getLoanDataArr: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenInfoFull: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ aTokenAddress: `0x${string}`; underlyingTokenAddress: `0x${string}`; assetId: number; supplyRate: bigint; borrowRateVariable: bigint; borrowRateStable: bigint; totalSupply: bigint; availableLiquidity: bigint; totalBorrow: bigint; totalBorrowVar: bigint; totalBorrowStab: bigint; collateralFactor: bigint; liquidationRatio: bigint; price: bigint; supplyCap: bigint; borrowCap: bigint; emodeCategory: bigint; debtCeilingForIsolationMode: bigint; isolationModeTotalDebt: bigint; usageAsCollateralEnabled: boolean; borrowingEnabled: boolean; stableBorrowRateEnabled: boolean; isolationModeBorrowingEnabled: boolean; isSiloedForBorrowing: boolean; eModeCollateralFactor: bigint; isFlashLoanEnabled: boolean; ltv: number; liquidationThreshold: number; liquidationBonus: number; priceSource: `0x${string}`; label: string; isActive: boolean; isPaused: boolean; isFrozen: boolean; debtTokenAddress: `0x${string}`; }>; getTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isBorrowAllowed: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "AAVE_REFERRAL_CODE"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_umbrella"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getAdditionalUmbrellaStakingData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "stkToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalShares"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "stkUnderlyingToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "cooldownPeriod"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "unstakeWindow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stkTokenToWaTokenRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "waTokenToATokenRate"; readonly type: "uint256"; }, { readonly internalType: "uint256[]"; readonly name: "rewardsEmissionRates"; readonly type: "uint256[]"; }, { readonly internalType: "uint256"; readonly name: "userCooldownAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userEndOfCooldown"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userWithdrawalWindow"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV3View.UmbrellaStkData[]"; readonly name: "retVal"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getAllEmodes"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "uint128"; readonly name: "collateralBitmap"; readonly type: "uint128"; }, { readonly internalType: "bool"; readonly name: "isolated"; readonly type: "bool"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "uint128"; readonly name: "borrowableBitmap"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "ltvzeroBitmap"; readonly type: "uint128"; }]; readonly internalType: "struct DataTypes.EModeCategoryNew[]"; readonly name: "emodesData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityTaken"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isDebtAsset"; readonly type: "bool"; }]; readonly internalType: "struct AaveV3View.LiquidityChangeParams[]"; readonly name: "_reserveParams"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableBorrowRate"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV3View.EstimatedRates[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getAssetPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getCollFactors"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "collFactors"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "contract IPoolV3"; readonly name: "lendingPool"; readonly type: "address"; }]; readonly name: "getEModeCollateralFactor"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getEOAApprovalsAndBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "variableDebtToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "aTokenApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableDebtDelegation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowedVariableAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "eoaBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "aTokenBalance"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV3View.EOAApprovalData"; readonly name: "approvalData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getEOAApprovalsAndBalancesForAllTokens"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "variableDebtToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "aTokenApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableDebtDelegation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowedVariableAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "eoaBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "aTokenBalance"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV3View.EOAApprovalData[]"; readonly name: "approvalData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IPoolV3"; readonly name: "_lendingPool"; readonly type: "address"; }, { readonly internalType: "uint8"; readonly name: "_id"; readonly type: "uint8"; }]; readonly name: "getEmodeData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "uint128"; readonly name: "collateralBitmap"; readonly type: "uint128"; }, { readonly internalType: "bool"; readonly name: "isolated"; readonly type: "bool"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "uint128"; readonly name: "borrowableBitmap"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "ltvzeroBitmap"; readonly type: "uint128"; }]; readonly internalType: "struct DataTypes.EModeCategoryNew"; readonly name: "emodeData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getFullTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtCeilingForIsolationMode"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "isolationModeTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isolationModeBorrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSiloedForBorrowing"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "eModeCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isFlashLoanEnabled"; readonly type: "bool"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }, { readonly internalType: "address"; readonly name: "debtTokenAddress"; readonly type: "address"; }]; readonly internalType: "struct AaveV3View.TokenInfoFull[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getHealthFactor"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "eMode"; readonly type: "uint256"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct AaveV3View.LoanData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataArr"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "eMode"; readonly type: "uint256"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct AaveV3View.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getPrices"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getRatios"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "ratios"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getSafetyRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getTokenBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "balance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stableBorrowRate"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "enabledAsCollateral"; readonly type: "bool"; }]; readonly internalType: "struct AaveV3View.UserToken[]"; readonly name: "userTokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getTokenInfoFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtCeilingForIsolationMode"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "isolationModeTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isolationModeBorrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSiloedForBorrowing"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "eModeCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isFlashLoanEnabled"; readonly type: "bool"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }, { readonly internalType: "address"; readonly name: "debtTokenAddress"; readonly type: "address"; }]; readonly internalType: "struct AaveV3View.TokenInfoFull"; readonly name: "_tokenInfo"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV3View.TokenInfo[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "isBorrowAllowed"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "pure"; readonly type: "function"; }]; }; export declare const AaveIncentiveDataProviderV3ContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getFullReservesIncentiveData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getReservesIncentivesData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserReservesIncentivesData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getFullReservesIncentiveData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "aIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "vIncentiveData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "aTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "vTokenIncentivesUserData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }]; readonly name: "getReservesIncentivesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "aIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "vIncentiveData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getUserReservesIncentivesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "aTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "vTokenIncentivesUserData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const FeedRegistryContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; description: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedGetRoundData: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAccessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getCurrentPhaseId: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFeed: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getNextRoundId: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPhase: (args: readonly [`0x${string}`, `0x${string}`, number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ phaseId: number; startingAggregatorRoundId: bigint; endingAggregatorRoundId: bigint; }>; getPhaseFeed: (args: readonly [`0x${string}`, `0x${string}`, number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getPhaseRange: (args: readonly [`0x${string}`, `0x${string}`, number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPreviousRoundId: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getProposedFeed: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getRoundFeed: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; isFeedEnabled: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; typeAndVersion: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAccessController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAccessController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setAccessController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmFeed: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options) => Promise; proposeFeed: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options) => Promise; setAccessController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aggregator"; readonly type: "address"; }]; readonly name: "confirmFeed"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "getAccessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "getCurrentPhaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: "currentPhaseId"; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "getFeed"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: "aggregator"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }]; readonly name: "getNextRoundId"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "nextRoundId"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "phaseId"; readonly type: "uint16"; }]; readonly name: "getPhase"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "phaseId"; readonly type: "uint16"; }, { readonly internalType: "uint80"; readonly name: "startingAggregatorRoundId"; readonly type: "uint80"; }, { readonly internalType: "uint80"; readonly name: "endingAggregatorRoundId"; readonly type: "uint80"; }]; readonly internalType: "struct FeedRegistryInterface.Phase"; readonly name: "phase"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "phaseId"; readonly type: "uint16"; }]; readonly name: "getPhaseFeed"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: "aggregator"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "phaseId"; readonly type: "uint16"; }]; readonly name: "getPhaseRange"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "startingRoundId"; readonly type: "uint80"; }, { readonly internalType: "uint80"; readonly name: "endingRoundId"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }]; readonly name: "getPreviousRoundId"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "previousRoundId"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "getProposedFeed"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: "proposedAggregator"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }]; readonly name: "getRoundFeed"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: "aggregator"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "timestamp"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "aggregator"; readonly type: "address"; }]; readonly name: "isFeedEnabled"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "timestamp"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aggregator"; readonly type: "address"; }]; readonly name: "proposeFeed"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "id"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "id"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setAccessController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "typeAndVersion"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "pure"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const DFSFeedRegistryContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { latestRoundData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFeed: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; adminVault: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregators: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { kill: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setFeeds: (args: readonly [readonly `0x${string}`[], readonly `0x${string}`[], readonly `0x${string}`[]], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; withdrawStuckFunds: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { kill: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setFeeds: (args: readonly [readonly `0x${string}`[], readonly `0x${string}`[], readonly `0x${string}`[]], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; withdrawStuckFunds: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { kill: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setFeed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setFeeds: (args: readonly [readonly `0x${string}`[], readonly `0x${string}`[], readonly `0x${string}`[]], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; withdrawStuckFunds: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { kill: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; setFeed: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options) => Promise; setFeeds: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [readonly `0x${string}`[], readonly `0x${string}`[], readonly `0x${string}`[]], options: options) => Promise; withdrawStuckFunds: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "NonContractCall"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "SenderNotAdmin"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "SenderNotOwner"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "adminVault"; readonly outputs: readonly [{ readonly internalType: "contract AdminVault"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }, { readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "aggregators"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "getFeed"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "aggregator"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "kill"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }]; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "base"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "quote"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "aggregator"; readonly type: "address"; }]; readonly name: "setFeed"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "bases"; readonly type: "address[]"; }, { readonly internalType: "address[]"; readonly name: "quotes"; readonly type: "address[]"; }, { readonly internalType: "address[]"; readonly name: "aggregator"; readonly type: "address[]"; }]; readonly name: "setFeeds"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_token"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_receiver"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_amount"; readonly type: "uint256"; }]; readonly name: "withdrawStuckFunds"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }]; }; export declare const COMPPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; accessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; phaseAggregators: (args: readonly [number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; phaseId: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; proposedGetRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | ({ current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; AnswerUpdated: (args?: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewRound: (args?: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; proposeAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "int256"; readonly name: "current"; readonly type: "int256"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }]; readonly name: "AnswerUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "startedBy"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }]; readonly name: "NewRound"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "accessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "aggregator"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "confirmAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address payable"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly name: "phaseAggregators"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "phaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "proposeAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const ETHPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; accessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; phaseAggregators: (args: readonly [number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; phaseId: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; proposedGetRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | ({ current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; AnswerUpdated: (args?: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewRound: (args?: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; proposeAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "int256"; readonly name: "current"; readonly type: "int256"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }]; readonly name: "AnswerUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "startedBy"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }]; readonly name: "NewRound"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "accessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "aggregator"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "confirmAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address payable"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly name: "phaseAggregators"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "phaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "proposeAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const USDCPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; accessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; phaseAggregators: (args: readonly [number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; phaseId: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; proposedGetRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | ({ current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; AnswerUpdated: (args?: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewRound: (args?: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; proposeAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "int256"; readonly name: "current"; readonly type: "int256"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }]; readonly name: "AnswerUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "startedBy"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }]; readonly name: "NewRound"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "accessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "aggregator"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "confirmAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly name: "phaseAggregators"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "phaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "proposeAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const WstETHPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; stETHToETHPriceFeedDecimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; stETHtoETHPriceFeed: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; wstETH: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; wstETHScale: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "stETHtoETHPriceFeed_"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "wstETH_"; readonly type: "address"; }, { readonly internalType: "uint8"; readonly name: "decimals_"; readonly type: "uint8"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly inputs: readonly []; readonly name: "BadDecimals"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "InvalidInt256"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "stETHToETHPriceFeedDecimals"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "stETHtoETHPriceFeed"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "wstETH"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "wstETHScale"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const CompV3ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getApyAfterValuesEstimation: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAssetPrice: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; collAddr: readonly `0x${string}`[]; collAmounts: readonly bigint[]; depositAmount: bigint; depositValue: bigint; borrowAmount: bigint; borrowValue: bigint; collValue: bigint; }>; getLoanDataArr: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUtilization: (args: readonly [{ baseSupplyIndex: bigint; baseBorrowIndex: bigint; trackingSupplyIndex: bigint; trackingBorrowIndex: bigint; totalSupplyBase: bigint; totalBorrowBase: bigint; lastAccrualTime: number; pauseFlags: number; }], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isAllowed: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAssets: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFullBaseTokenInfo: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ tokenAddr: `0x${string}`; price: bigint; supplyIndex: bigint; borrowIndex: bigint; trackingSupplyIndex: bigint; trackingBorrowIndex: bigint; supplyRate: bigint; borrowRate: bigint; totalSupply: bigint; totalBorrow: bigint; utilization: bigint; baseBorrowMin: bigint; baseTrackingBorrowRewardsSpeed: bigint; baseTrackingSupplyRewardsSpeed: bigint; }>; getFullCollInfos: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getGovernanceInfoFull: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ isSupplyPaused: boolean; isTransferPaused: boolean; isWithdrawPaused: boolean; isAbsorbPaused: boolean; }>; getRewardsOwed: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ token: `0x${string}`; owed: bigint; }>; }; estimateGas: { getFullCollInfo: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRewardsOwed: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { getFullCollInfo: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getRewardsOwed: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { getFullCollInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; getRewardsOwed: (args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { getFullCollInfo: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise; getRewardsOwed: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_supplyAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_borrowAmount"; readonly type: "uint256"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getAssetPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getAssets"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint8"; readonly name: "offset"; readonly type: "uint8"; }, { readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "priceFeed"; readonly type: "address"; }, { readonly internalType: "uint64"; readonly name: "scale"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "borrowCollateralFactor"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "liquidateCollateralFactor"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "liquidationFactor"; readonly type: "uint64"; }, { readonly internalType: "uint128"; readonly name: "supplyCap"; readonly type: "uint128"; }]; readonly internalType: "struct IComet.AssetInfo[]"; readonly name: "assets"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getFullBaseTokenInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "trackingSupplyIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "trackingBorrowIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseBorrowMin"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseTrackingBorrowRewardsSpeed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseTrackingSupplyRewardsSpeed"; readonly type: "uint256"; }]; readonly internalType: "struct CompV3View.BaseTokenInfoFull"; readonly name: "baseToken"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getFullCollInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyReserved"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidateCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }]; readonly internalType: "struct CompV3View.CollateralInfoFull"; readonly name: "coll"; readonly type: "tuple"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getFullCollInfos"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyReserved"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidateCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }]; readonly internalType: "struct CompV3View.CollateralInfoFull[]"; readonly name: "colls"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getGovernanceInfoFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "bool"; readonly name: "isSupplyPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isTransferPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isWithdrawPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isAbsorbPaused"; readonly type: "bool"; }]; readonly internalType: "struct CompV3View.GovernanceInfoFull"; readonly name: "govInfo"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256"; readonly name: "depositAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "depositValue"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowValue"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collValue"; readonly type: "uint256"; }]; readonly internalType: "struct CompV3View.LoanData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataArr"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256"; readonly name: "depositAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "depositValue"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowValue"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collValue"; readonly type: "uint256"; }]; readonly internalType: "struct CompV3View.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRewardsOwed"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "owed"; readonly type: "uint256"; }]; readonly internalType: "struct ICometRewards.RewardOwed"; readonly name: "rewardsOwed"; readonly type: "tuple"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint64"; readonly name: "baseSupplyIndex"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "baseBorrowIndex"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "trackingSupplyIndex"; readonly type: "uint64"; }, { readonly internalType: "uint64"; readonly name: "trackingBorrowIndex"; readonly type: "uint64"; }, { readonly internalType: "uint104"; readonly name: "totalSupplyBase"; readonly type: "uint104"; }, { readonly internalType: "uint104"; readonly name: "totalBorrowBase"; readonly type: "uint104"; }, { readonly internalType: "uint40"; readonly name: "lastAccrualTime"; readonly type: "uint40"; }, { readonly internalType: "uint8"; readonly name: "pauseFlags"; readonly type: "uint8"; }]; readonly internalType: "struct IComet.TotalsBasic"; readonly name: "totals"; readonly type: "tuple"; }]; readonly name: "getUtilization"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "pure"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_owner"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_manager"; readonly type: "address"; }]; readonly name: "isAllowed"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRewardsOwed"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "owed"; readonly type: "uint256"; }]; readonly internalType: "struct ICometRewards.RewardOwed"; readonly name: "rewardsOwed"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const SparkViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getAllEmodes: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly { reserveAddress: `0x${string}`; liquidityAdded: bigint; liquidityTaken: bigint; isDebtAsset: boolean; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAssetPrice: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollFactors: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEModeCollateralFactor: (args: readonly [bigint, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEOAApprovalsAndBalances: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ asset: `0x${string}`; spToken: `0x${string}`; variableDebtToken: `0x${string}`; assetApproval: bigint; spTokenApproval: bigint; variableDebtDelegation: bigint; borrowedVariableAmount: bigint; eoaBalance: bigint; spTokenBalance: bigint; }>; getEOAApprovalsAndBalancesForAllTokens: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEmodeData: (args: readonly [`0x${string}`, number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ ltv: number; liquidationThreshold: number; liquidationBonus: number; priceSource: `0x${string}`; label: string; }>; getFullTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getHealthFactor: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; ratio: bigint; eMode: bigint; collAddr: readonly `0x${string}`[]; enabledAsColl: readonly boolean[]; borrowAddr: readonly `0x${string}`[]; collAmounts: readonly bigint[]; borrowStableAmounts: readonly bigint[]; borrowVariableAmounts: readonly bigint[]; ltv: number; liquidationThreshold: number; liquidationBonus: number; priceSource: `0x${string}`; label: string; }>; getLoanDataArr: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPrices: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatios: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSafetyRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenBalances: (args: readonly [`0x${string}`, `0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenInfoFull: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ aTokenAddress: `0x${string}`; underlyingTokenAddress: `0x${string}`; assetId: number; supplyRate: bigint; borrowRateVariable: bigint; borrowRateStable: bigint; totalSupply: bigint; availableLiquidity: bigint; totalBorrow: bigint; totalBorrowVar: bigint; totalBorrowStab: bigint; collateralFactor: bigint; liquidationRatio: bigint; price: bigint; supplyCap: bigint; borrowCap: bigint; emodeCategory: bigint; debtCeilingForIsolationMode: bigint; isolationModeTotalDebt: bigint; usageAsCollateralEnabled: boolean; borrowingEnabled: boolean; stableBorrowRateEnabled: boolean; isolationModeBorrowingEnabled: boolean; isSiloedForBorrowing: boolean; eModeCollateralFactor: bigint; isFlashLoanEnabled: boolean; ltv: number; liquidationThreshold: number; liquidationBonus: number; priceSource: `0x${string}`; label: string; isActive: boolean; isPaused: boolean; isFrozen: boolean; }>; getTokensInfo: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLtv: (args: readonly [{ data: bigint; }], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; LTV_ZERO_OFFSET: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; SPARK_REFERRAL_CODE: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSafetyRatioWithLtvZeroFallback: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "LTV_ZERO_OFFSET"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "SPARK_REFERRAL_CODE"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getAllEmodes"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct SparkDataTypes.EModeCategory[]"; readonly name: "emodesData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityTaken"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isDebtAsset"; readonly type: "bool"; }]; readonly internalType: "struct SparkView.LiquidityChangeParams[]"; readonly name: "_reserveParams"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "reserveAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableBorrowRate"; readonly type: "uint256"; }]; readonly internalType: "struct SparkView.EstimatedRates[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getAssetPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getCollFactors"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "collFactors"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "contract ISparkPool"; readonly name: "lendingPool"; readonly type: "address"; }]; readonly name: "getEModeCollateralFactor"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getEOAApprovalsAndBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "spToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "variableDebtToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spTokenApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableDebtDelegation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowedVariableAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "eoaBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spTokenBalance"; readonly type: "uint256"; }]; readonly internalType: "struct SparkView.EOAApprovalData"; readonly name: "approvalData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getEOAApprovalsAndBalancesForAllTokens"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "spToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "variableDebtToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spTokenApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "variableDebtDelegation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowedVariableAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "eoaBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spTokenBalance"; readonly type: "uint256"; }]; readonly internalType: "struct SparkView.EOAApprovalData[]"; readonly name: "approvalData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract ISparkPool"; readonly name: "_lendingPool"; readonly type: "address"; }, { readonly internalType: "uint8"; readonly name: "_id"; readonly type: "uint8"; }]; readonly name: "getEmodeData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct SparkDataTypes.EModeCategory"; readonly name: "emodeData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getFullTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtCeilingForIsolationMode"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "isolationModeTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isolationModeBorrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSiloedForBorrowing"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "eModeCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isFlashLoanEnabled"; readonly type: "bool"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }]; readonly internalType: "struct SparkView.TokenInfoFull[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getHealthFactor"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "eMode"; readonly type: "uint256"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct SparkView.LoanData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataArr"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "eMode"; readonly type: "uint256"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "bool[]"; readonly name: "enabledAsColl"; readonly type: "bool[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowStableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowVariableAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }]; readonly internalType: "struct SparkView.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly internalType: "struct SparkDataTypes.ReserveConfigurationMap"; readonly name: "self"; readonly type: "tuple"; }]; readonly name: "getLtv"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "pure"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getPrices"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getRatios"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "ratios"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getSafetyRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getSafetyRatioWithLtvZeroFallback"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokens"; readonly type: "address[]"; }]; readonly name: "getTokenBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "balance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowsVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stableBorrowRate"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "enabledAsCollateral"; readonly type: "bool"; }]; readonly internalType: "struct SparkView.UserToken[]"; readonly name: "userTokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tokenAddr"; readonly type: "address"; }]; readonly name: "getTokenInfoFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateVariable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRateStable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "availableLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVar"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowStab"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emodeCategory"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtCeilingForIsolationMode"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "isolationModeTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "usageAsCollateralEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "stableBorrowRateEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isolationModeBorrowingEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSiloedForBorrowing"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "eModeCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isFlashLoanEnabled"; readonly type: "bool"; }, { readonly internalType: "uint16"; readonly name: "ltv"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonus"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "priceSource"; readonly type: "address"; }, { readonly internalType: "string"; readonly name: "label"; readonly type: "string"; }, { readonly internalType: "bool"; readonly name: "isActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isPaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isFrozen"; readonly type: "bool"; }]; readonly internalType: "struct SparkView.TokenInfoFull"; readonly name: "_tokenInfo"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_tokenAddresses"; readonly type: "address[]"; }]; readonly name: "getTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "aTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct SparkView.TokenInfo[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const SparkIncentiveDataProviderContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getFullReservesIncentiveData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getReservesIncentivesData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserReservesIncentivesData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getFullReservesIncentiveData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "aIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "vIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "sIncentiveData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "aTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "vTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "sTokenIncentivesUserData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }]; readonly name: "getReservesIncentivesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "aIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "vIncentiveData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "emissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "incentivesLastUpdateTimestamp"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "emissionEndTimestamp"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "precision"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]"; readonly name: "rewardsTokenInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.IncentiveData"; readonly name: "sIncentiveData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IPoolAddressesProvider"; readonly name: "provider"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getUserReservesIncentivesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "aTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "vTokenIncentivesUserData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "incentiveControllerAddress"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "string"; readonly name: "rewardTokenSymbol"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "rewardOracleAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "rewardTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userUnclaimedRewards"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "tokenIncentivesUserIndex"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "rewardPriceFeed"; readonly type: "int256"; }, { readonly internalType: "uint8"; readonly name: "priceFeedDecimals"; readonly type: "uint8"; }, { readonly internalType: "uint8"; readonly name: "rewardTokenDecimals"; readonly type: "uint8"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]"; readonly name: "userRewardsInformation"; readonly type: "tuple[]"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData"; readonly name: "sTokenIncentivesUserData"; readonly type: "tuple"; }]; readonly internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const CrvUSDViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { WBTC_HEALTH_ZAP: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; WBTC_MARKET: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; createLoanData: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ health: bigint; minColl: bigint; maxBorrow: bigint; bands: readonly { id: bigint; lowPrice: bigint; highPrice: bigint; collAmount: bigint; debtAmount: bigint; }[]; }>; maxBorrow: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBandData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ id: bigint; lowPrice: bigint; highPrice: bigint; collAmount: bigint; debtAmount: bigint; }>; getBandsData: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBandsDataForPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollAmountsFromAMM: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollateralRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; globalData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ collateral: `0x${string}`; decimals: bigint; activeBand: bigint; A: bigint; totalDebt: bigint; ammPrice: bigint; basePrice: bigint; oraclePrice: bigint; minted: bigint; redeemed: bigint; monetaryPolicyRate: bigint; ammRate: bigint; minBand: bigint; maxBand: bigint; }>; healthCalculator: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, boolean, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isControllerValid: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; minCollateral: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; userData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ loanExists: boolean; collateralPrice: bigint; marketCollateralAmount: bigint; curveUsdCollateralAmount: bigint; debtAmount: bigint; N: bigint; priceLow: bigint; priceHigh: bigint; liquidationDiscount: bigint; health: bigint; bandRange: readonly [bigint, bigint]; usersBands: readonly [readonly bigint[], readonly bigint[]]; collRatio: bigint; isInSoftLiquidation: boolean; }>; userMaxWithdraw: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "CurveUsdInvalidController"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "WBTC_HEALTH_ZAP"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "WBTC_MARKET"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "createLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "minColl"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrow"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct CurveUsdView.Band[]"; readonly name: "bands"; readonly type: "tuple[]"; }]; readonly internalType: "struct CurveUsdView.CreateLoanData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "n"; readonly type: "int256"; }]; readonly name: "getBandData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct CurveUsdView.Band"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "from"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "to"; readonly type: "int256"; }]; readonly name: "getBandsData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct CurveUsdView.Band[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "getBandsDataForPosition"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct CurveUsdView.Band[]"; readonly name: "bands"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getCollAmountsFromAMM"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "crvUsdAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_controllerAddr"; readonly type: "address"; }]; readonly name: "getCollateralRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "collRatio"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isInSoftLiquidation"; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }]; readonly name: "globalData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "collateral"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "decimals"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "activeBand"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "A"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ammPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "basePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oraclePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "minted"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "redeemed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "monetaryPolicyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ammRate"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "minBand"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "maxBand"; readonly type: "int256"; }]; readonly internalType: "struct CurveUsdView.GlobalData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "collChange"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "debtChange"; readonly type: "int256"; }, { readonly internalType: "bool"; readonly name: "isFull"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "numBands"; readonly type: "uint256"; }]; readonly name: "healthCalculator"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddr"; readonly type: "address"; }]; readonly name: "isControllerValid"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "maxBorrow"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "minCollateral"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "userData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "bool"; readonly name: "loanExists"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "collateralPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "marketCollateralAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "curveUsdCollateralAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "priceLow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "priceHigh"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationDiscount"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }, { readonly internalType: "int256[2]"; readonly name: "bandRange"; readonly type: "int256[2]"; }, { readonly internalType: "uint256[][2]"; readonly name: "usersBands"; readonly type: "uint256[][2]"; }, { readonly internalType: "uint256"; readonly name: "collRatio"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isInSoftLiquidation"; readonly type: "bool"; }]; readonly internalType: "struct CurveUsdView.UserData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "userMaxWithdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "maxWithdraw"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const CrvUSDFactoryContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { admin: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; total_debt: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; debt_ceiling: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; fee_receiver: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; stablecoin: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; get_controller: (...parameters: [args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; get_amm: (...parameters: [args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; controllers: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; amms: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; controller_implementation: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; amm_implementation: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; n_collaterals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; collaterals: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; collaterals_index: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; debt_ceiling_residual: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; WETH: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { set_admin: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; add_market: (args: readonly [`0x${string}`, bigint, bigint, bigint, `0x${string}`, `0x${string}`, bigint, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_implementations: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_fee_receiver: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_debt_ceiling: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; rug_debt_ceiling: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; collect_fees_above_ceiling: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { set_admin: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; add_market: (args: readonly [`0x${string}`, bigint, bigint, bigint, `0x${string}`, `0x${string}`, bigint, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_implementations: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_fee_receiver: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; set_debt_ceiling: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; rug_debt_ceiling: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; collect_fees_above_ceiling: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { set_admin: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; add_market: (args: readonly [`0x${string}`, bigint, bigint, bigint, `0x${string}`, `0x${string}`, bigint, bigint, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; set_implementations: (args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; set_fee_receiver: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; set_debt_ceiling: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; rug_debt_ceiling: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; collect_fees_above_ceiling: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { AddMarket: (args: { collateral?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ collateral?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { collateral?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SetDebtCeiling: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ addr?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; MintForMarket: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ addr?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; RemoveFromMarket: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ addr?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SetImplementations: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SetAdmin: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SetFeeReceiver: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { AddMarket: (args?: { collateral?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SetDebtCeiling: (args?: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; MintForMarket: (args?: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; RemoveFromMarket: (args?: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SetImplementations: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SetAdmin: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SetFeeReceiver: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { AddMarket: (args: { collateral?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SetDebtCeiling: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; MintForMarket: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; RemoveFromMarket: (args: { addr?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SetImplementations: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SetAdmin: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SetFeeReceiver: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { set_admin: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; add_market: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint, bigint, bigint, `0x${string}`, `0x${string}`, bigint, bigint, bigint], options: options) => Promise; set_implementations: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise; set_fee_receiver: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; set_debt_ceiling: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; rug_debt_ceiling: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; collect_fees_above_ceiling: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly name: "AddMarket"; readonly inputs: readonly [{ readonly name: "collateral"; readonly type: "address"; readonly indexed: true; }, { readonly name: "controller"; readonly type: "address"; readonly indexed: false; }, { readonly name: "amm"; readonly type: "address"; readonly indexed: false; }, { readonly name: "monetary_policy"; readonly type: "address"; readonly indexed: false; }, { readonly name: "ix"; readonly type: "uint256"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "SetDebtCeiling"; readonly inputs: readonly [{ readonly name: "addr"; readonly type: "address"; readonly indexed: true; }, { readonly name: "debt_ceiling"; readonly type: "uint256"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "MintForMarket"; readonly inputs: readonly [{ readonly name: "addr"; readonly type: "address"; readonly indexed: true; }, { readonly name: "amount"; readonly type: "uint256"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "RemoveFromMarket"; readonly inputs: readonly [{ readonly name: "addr"; readonly type: "address"; readonly indexed: true; }, { readonly name: "amount"; readonly type: "uint256"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "SetImplementations"; readonly inputs: readonly [{ readonly name: "amm"; readonly type: "address"; readonly indexed: false; }, { readonly name: "controller"; readonly type: "address"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "SetAdmin"; readonly inputs: readonly [{ readonly name: "admin"; readonly type: "address"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly name: "SetFeeReceiver"; readonly inputs: readonly [{ readonly name: "fee_receiver"; readonly type: "address"; readonly indexed: false; }]; readonly anonymous: false; readonly type: "event"; }, { readonly stateMutability: "nonpayable"; readonly type: "constructor"; readonly inputs: readonly [{ readonly name: "stablecoin"; readonly type: "address"; }, { readonly name: "admin"; readonly type: "address"; }, { readonly name: "fee_receiver"; readonly type: "address"; }, { readonly name: "weth"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "stablecoin"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "add_market"; readonly inputs: readonly [{ readonly name: "token"; readonly type: "address"; }, { readonly name: "A"; readonly type: "uint256"; }, { readonly name: "fee"; readonly type: "uint256"; }, { readonly name: "admin_fee"; readonly type: "uint256"; }, { readonly name: "_price_oracle_contract"; readonly type: "address"; }, { readonly name: "monetary_policy"; readonly type: "address"; }, { readonly name: "loan_discount"; readonly type: "uint256"; }, { readonly name: "liquidation_discount"; readonly type: "uint256"; }, { readonly name: "debt_ceiling"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address[2]"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "total_debt"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "get_controller"; readonly inputs: readonly [{ readonly name: "collateral"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "get_controller"; readonly inputs: readonly [{ readonly name: "collateral"; readonly type: "address"; }, { readonly name: "i"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "get_amm"; readonly inputs: readonly [{ readonly name: "collateral"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "get_amm"; readonly inputs: readonly [{ readonly name: "collateral"; readonly type: "address"; }, { readonly name: "i"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "set_implementations"; readonly inputs: readonly [{ readonly name: "controller"; readonly type: "address"; }, { readonly name: "amm"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "set_admin"; readonly inputs: readonly [{ readonly name: "admin"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "set_fee_receiver"; readonly inputs: readonly [{ readonly name: "fee_receiver"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "set_debt_ceiling"; readonly inputs: readonly [{ readonly name: "_to"; readonly type: "address"; }, { readonly name: "debt_ceiling"; readonly type: "uint256"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "rug_debt_ceiling"; readonly inputs: readonly [{ readonly name: "_to"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "nonpayable"; readonly type: "function"; readonly name: "collect_fees_above_ceiling"; readonly inputs: readonly [{ readonly name: "_to"; readonly type: "address"; }]; readonly outputs: readonly []; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "controllers"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "amms"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "admin"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "fee_receiver"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "controller_implementation"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "amm_implementation"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "n_collaterals"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "collaterals"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "collaterals_index"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "address"; }, { readonly name: "arg1"; readonly type: "uint256"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "debt_ceiling"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "debt_ceiling_residual"; readonly inputs: readonly [{ readonly name: "arg0"; readonly type: "address"; }]; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; }, { readonly stateMutability: "view"; readonly type: "function"; readonly name: "WETH"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: ""; readonly type: "address"; }]; }]; }; export declare const LlamaLendViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { createLoanData: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ health: bigint; minColl: bigint; maxBorrow: bigint; bands: readonly { id: bigint; lowPrice: bigint; highPrice: bigint; collAmount: bigint; debtAmount: bigint; }[]; }>; maxBorrow: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBandData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ id: bigint; lowPrice: bigint; highPrice: bigint; collAmount: bigint; debtAmount: bigint; }>; getBandsData: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBandsDataForPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollAmountsFromAMM: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollateralRatio: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; globalData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ collateralToken: `0x${string}`; debtToken: `0x${string}`; decimals: bigint; activeBand: bigint; A: bigint; totalDebt: bigint; ammPrice: bigint; basePrice: bigint; oraclePrice: bigint; minted: bigint; redeemed: bigint; monetaryPolicyRate: bigint; ammRate: bigint; minBand: bigint; maxBand: bigint; borrowApr: bigint; lendApr: bigint; debtTokenTotalSupply: bigint; debtTokenLeftToBorrow: bigint; loanDiscount: bigint; }>; healthCalculator: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint, boolean, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isControllerValid: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; minCollateral: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; userData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ loanExists: boolean; collateralPrice: bigint; marketCollateralAmount: bigint; debtTokenCollateralAmount: bigint; debtAmount: bigint; N: bigint; priceLow: bigint; priceHigh: bigint; liquidationDiscount: bigint; health: bigint; bandRange: readonly [bigint, bigint]; usersBands: readonly [readonly bigint[], readonly bigint[]]; collRatio: bigint; isInSoftLiquidation: boolean; debtTokenSuppliedShares: bigint; debtTokenSuppliedAssets: bigint; }>; userMaxWithdraw: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "InvalidLlamaLendController"; readonly type: "error"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "createLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "minColl"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrow"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.Band[]"; readonly name: "bands"; readonly type: "tuple[]"; }]; readonly internalType: "struct LlamaLendView.CreateLoanData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "n"; readonly type: "int256"; }]; readonly name: "getBandData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.Band"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "from"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "to"; readonly type: "int256"; }]; readonly name: "getBandsData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.Band[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "getBandsDataForPosition"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "int256"; readonly name: "id"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "lowPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "highPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.Band[]"; readonly name: "bands"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getCollAmountsFromAMM"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "debtAssetCollAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAssetCollAmount"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_controllerAddr"; readonly type: "address"; }]; readonly name: "getCollateralRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "collRatio"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isInSoftLiquidation"; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }]; readonly name: "globalData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "collateralToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "debtToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "decimals"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "activeBand"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "A"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ammPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "basePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oraclePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "minted"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "redeemed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "monetaryPolicyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ammRate"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "minBand"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "maxBand"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "borrowApr"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lendApr"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtTokenTotalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtTokenLeftToBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "loanDiscount"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.GlobalData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "collChange"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "debtChange"; readonly type: "int256"; }, { readonly internalType: "bool"; readonly name: "isFull"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "numBands"; readonly type: "uint256"; }]; readonly name: "healthCalculator"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_controllerId"; readonly type: "uint256"; }]; readonly name: "isControllerValid"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "maxBorrow"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }]; readonly name: "minCollateral"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "userData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "bool"; readonly name: "loanExists"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "collateralPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "marketCollateralAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtTokenCollateralAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "N"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "priceLow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "priceHigh"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidationDiscount"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "health"; readonly type: "int256"; }, { readonly internalType: "int256[2]"; readonly name: "bandRange"; readonly type: "int256[2]"; }, { readonly internalType: "uint256[][2]"; readonly name: "usersBands"; readonly type: "uint256[][2]"; }, { readonly internalType: "uint256"; readonly name: "collRatio"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isInSoftLiquidation"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "debtTokenSuppliedShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtTokenSuppliedAssets"; readonly type: "uint256"; }]; readonly internalType: "struct LlamaLendView.UserData"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_controllerAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "userMaxWithdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "maxWithdraw"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdGetCdpsContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getCdpsAsc: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly constant: true; readonly inputs: readonly [{ readonly name: "manager"; readonly type: "address"; }, { readonly name: "guy"; readonly type: "address"; }]; readonly name: "getCdpsAsc"; readonly outputs: readonly [{ readonly name: "ids"; readonly type: "uint256[]"; }, { readonly name: "urns"; readonly type: "address[]"; }, { readonly name: "ilks"; readonly type: "bytes32[]"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getRatio: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPrice: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; vat: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; MCD_MANAGER: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; VAT_ADDRESS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; _getProxyOwner: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getCdpInfo: (...parameters: [args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly [`0x${string}`, bigint, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; getCropJoinCdps: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getOwner: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getUrnAndIlk: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getVaultInfo: (args: readonly [`0x${string}`, bigint, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; spotter: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "MCD_MANAGER"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "VAT_ADDRESS"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "_getProxyOwner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "userAddr"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_cdpId"; readonly type: "uint256"; }]; readonly name: "getCdpInfo"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "urn"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "userAddr"; readonly type: "address"; }, { readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "collateral"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IManager"; readonly name: "_manager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_cdpId"; readonly type: "uint256"; }, { readonly internalType: "bytes32"; readonly name: "_ilk"; readonly type: "bytes32"; }]; readonly name: "getCdpInfo"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32[]"; readonly name: "_ilks"; readonly type: "bytes32[]"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getCropJoinCdps"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "ids"; readonly type: "uint256[]"; }, { readonly internalType: "address[]"; readonly name: "urns"; readonly type: "address[]"; }, { readonly internalType: "bytes32[]"; readonly name: "ilks"; readonly type: "bytes32[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IManager"; readonly name: "_manager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_cdpId"; readonly type: "uint256"; }]; readonly name: "getOwner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "_ilk"; readonly type: "bytes32"; }]; readonly name: "getPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_managerAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_vaultId"; readonly type: "uint256"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_mcdManager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_vaultId"; readonly type: "uint256"; }]; readonly name: "getUrnAndIlk"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "urn"; readonly type: "address"; }, { readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_managerAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_vaultId"; readonly type: "uint256"; }, { readonly internalType: "bytes32"; readonly name: "_ilk"; readonly type: "bytes32"; }]; readonly name: "getVaultInfo"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "spotter"; readonly outputs: readonly [{ readonly internalType: "contract ISpotter"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "vat"; readonly outputs: readonly [{ readonly internalType: "contract IVat"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdVatContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { live: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; debt: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; urns: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; ilks: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; Line: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; can: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; dai: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; gem: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; sin: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { cage: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; flux: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; fork: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; frob: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; grab: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; heal: (args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; hope: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; init: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; nope: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; slip: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; suck: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { cage: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; flux: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; fork: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; frob: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; grab: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; heal: (args: readonly [bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; hope: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; init: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; nope: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; slip: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; suck: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { cage: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; file: (...parameters: [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; rely: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; flux: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; fork: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; frob: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; grab: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; heal: (args: readonly [bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; hope: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; init: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; move: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; nope: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; slip: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; suck: (args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; arg3?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ sig?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; arg3?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { sig?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; arg3?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { LogNote: (args?: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; arg3?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; arg3?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { cage: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; file: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [`0x${string}`, bigint], options: options] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: options]) => Promise; rely: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; flux: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint], options: options) => Promise; fork: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: options) => Promise; frob: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: options) => Promise; grab: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`, `0x${string}`, bigint, bigint], options: options) => Promise; heal: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [bigint], options: options) => Promise; hope: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; init: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; move: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; nope: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; slip: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; suck: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: true; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes4"; readonly name: "sig"; readonly type: "bytes4"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "arg1"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "arg2"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "arg3"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "bytes"; readonly name: "data"; readonly type: "bytes"; }]; readonly name: "LogNote"; readonly type: "event"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "Line"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly []; readonly name: "cage"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }, { readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "can"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "dai"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "debt"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "src"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "dst"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "wad"; readonly type: "uint256"; }]; readonly name: "flux"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "src"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "dst"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "dink"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "dart"; readonly type: "int256"; }]; readonly name: "fork"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "i"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "u"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "v"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "w"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "dink"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "dart"; readonly type: "int256"; }]; readonly name: "frob"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "gem"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "i"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "u"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "v"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "w"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "dink"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "dart"; readonly type: "int256"; }]; readonly name: "grab"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "rad"; readonly type: "uint256"; }]; readonly name: "heal"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "hope"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }]; readonly name: "ilks"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "Art"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spot"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "line"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "dust"; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }]; readonly name: "init"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "live"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "src"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "dst"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "rad"; readonly type: "uint256"; }]; readonly name: "move"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "nope"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "rely"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "sin"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "wad"; readonly type: "int256"; }]; readonly name: "slip"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "u"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "v"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "rad"; readonly type: "uint256"; }]; readonly name: "suck"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "urns"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "ink"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "art"; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdSpotterContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { ilks: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; par: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly constant: true; readonly inputs: readonly []; readonly name: "par"; readonly outputs: readonly [{ readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly name: ""; readonly type: "bytes32"; }]; readonly name: "ilks"; readonly outputs: readonly [{ readonly name: "pip"; readonly type: "address"; }, { readonly name: "mat"; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdDogContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { live: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; vat: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; vow: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; wards: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; ilks: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; Dirt: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; Hole: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; chop: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { cage: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; deny: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; bark: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; digs: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { cage: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; deny: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; bark: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; digs: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { cage: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; deny: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; rely: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; bark: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; digs: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { Bark: (args: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; urn?: `0x${string}` | `0x${string}`[] | null | undefined; id?: bigint | bigint[] | null | undefined; } | ({ ilk?: `0x${string}` | `0x${string}`[] | null | undefined; urn?: `0x${string}` | `0x${string}`[] | null | undefined; id?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; urn?: `0x${string}` | `0x${string}`[] | null | undefined; id?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Cage: (options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Deny: (args: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ usr?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Digs: (args: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ ilk?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; File: (args: { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ what?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { what?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never) | ({ what?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T_1 ? T_1 extends { what?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T_1 extends args ? Readonly : never : never : never) | ({ ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T_2 ? T_2 extends { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T_2 extends args ? Readonly : never : never : never) | ({ ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T_3 ? T_3 extends { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T_3 extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Rely: (args: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ usr?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { Bark: (args?: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; urn?: `0x${string}` | `0x${string}`[] | null | undefined; id?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Cage: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Deny: (args?: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Digs: (args?: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; File: (args?: { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Rely: (args?: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { Bark: (args: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; urn?: `0x${string}` | `0x${string}`[] | null | undefined; id?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Cage: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Deny: (args: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Digs: (args: { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; File: (args: { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; } | { ilk?: `0x${string}` | `0x${string}`[] | null | undefined; what?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Rely: (args: { usr?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { cage: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; deny: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; file: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: options] | [args: readonly [`0x${string}`, bigint], options: options] | [args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: options]) => Promise; rely: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; bark: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options) => Promise; digs: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "vat_"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "urn"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "ink"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "art"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "due"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "clip"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "id"; readonly type: "uint256"; }]; readonly name: "Bark"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly []; readonly name: "Cage"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "Deny"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "rad"; readonly type: "uint256"; }]; readonly name: "Digs"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "File"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "data"; readonly type: "address"; }]; readonly name: "File"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "File"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "clip"; readonly type: "address"; }]; readonly name: "File"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "Rely"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "Dirt"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "Hole"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "urn"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "kpr"; readonly type: "address"; }]; readonly name: "bark"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "id"; readonly type: "uint256"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "cage"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }]; readonly name: "chop"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "deny"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "rad"; readonly type: "uint256"; }]; readonly name: "digs"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "data"; readonly type: "address"; }]; readonly name: "file"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "clip"; readonly type: "address"; }]; readonly name: "file"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }]; readonly name: "ilks"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "clip"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "chop"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "hole"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "dirt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "live"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "rely"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "vat"; readonly outputs: readonly [{ readonly internalType: "contract VatLike"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "vow"; readonly outputs: readonly [{ readonly internalType: "contract VowLike"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "wards"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const McdJugContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { drip: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; vat: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; vow: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; wards: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; ilks: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; base: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { deny: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; init: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { deny: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; rely: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; init: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { deny: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; file: (...parameters: [args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise>; rely: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; init: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; usr?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ sig?: `0x${string}` | `0x${string}`[] | null | undefined; usr?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { sig?: `0x${string}` | `0x${string}`[] | null | undefined; usr?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { LogNote: (args?: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; usr?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { LogNote: (args: { sig?: `0x${string}` | `0x${string}`[] | null | undefined; usr?: `0x${string}` | `0x${string}`[] | null | undefined; arg1?: `0x${string}` | `0x${string}`[] | null | undefined; arg2?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { deny: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; file: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(...parameters: [args: readonly [`0x${string}`, `0x${string}`], options: options] | [args: readonly [`0x${string}`, bigint], options: options] | [args: readonly [`0x${string}`, `0x${string}`, bigint], options: options]) => Promise; rely: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; init: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "vat_"; readonly type: "address"; }]; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: true; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "bytes4"; readonly name: "sig"; readonly type: "bytes4"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "arg1"; readonly type: "bytes32"; }, { readonly indexed: true; readonly internalType: "bytes32"; readonly name: "arg2"; readonly type: "bytes32"; }, { readonly indexed: false; readonly internalType: "bytes"; readonly name: "data"; readonly type: "bytes"; }]; readonly name: "LogNote"; readonly type: "event"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "base"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "deny"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }]; readonly name: "drip"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "rate"; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }, { readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "uint256"; readonly name: "data"; readonly type: "uint256"; }]; readonly name: "file"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "what"; readonly type: "bytes32"; }, { readonly internalType: "address"; readonly name: "data"; readonly type: "address"; }]; readonly name: "file"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: ""; readonly type: "bytes32"; }]; readonly name: "ilks"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "duty"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rho"; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "bytes32"; readonly name: "ilk"; readonly type: "bytes32"; }]; readonly name: "init"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "usr"; readonly type: "address"; }]; readonly name: "rely"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "vat"; readonly outputs: readonly [{ readonly internalType: "contract VatLike"; readonly name: ""; readonly type: "address"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "vow"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "wards"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const CompoundLoanInfoContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getApyAfterValuesEstimation: (args: readonly [readonly { cTokenAddr: `0x${string}`; isBorrowOperation: boolean; liquidityAdded: bigint; liquidityTaken: bigint; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getCollFactors: (args: readonly [readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFullTokensInfo: (args: readonly [readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; ratio: bigint; collAddr: readonly `0x${string}`[]; borrowAddr: readonly `0x${string}`[]; collAmounts: readonly bigint[]; borrowAmounts: readonly bigint[]; }>; getLoanDataArr: (args: readonly [readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getPrices: (args: readonly [readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatio: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRatios: (args: readonly [readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSafetyRatio: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenBalances: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; CETH_ADDRESS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; ETH_ADDRESS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; comp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { getTokensInfo: (args: readonly [readonly `0x${string}`[]], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { getTokensInfo: (args: readonly [readonly `0x${string}`[]], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { getTokensInfo: (args: readonly [readonly `0x${string}`[]], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { getTokensInfo: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [readonly `0x${string}`[]], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "CETH_ADDRESS"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "ETH_ADDRESS"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "comp"; readonly outputs: readonly [{ readonly internalType: "contract IComptroller"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "cTokenAddr"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isBorrowOperation"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityTaken"; readonly type: "uint256"; }]; readonly internalType: "struct CompView.LiquidityChangeParams[]"; readonly name: "_params"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "cTokenAddr"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }]; readonly internalType: "struct CompView.EstimatedRates[]"; readonly name: "retVal"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_cTokens"; readonly type: "address[]"; }]; readonly name: "getCollFactors"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "collFactors"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_cTokenAddresses"; readonly type: "address[]"; }]; readonly name: "getFullTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "exchangeRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "marketLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "compBorrowSpeeds"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "compSupplySpeeds"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "canMint"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "canBorrow"; readonly type: "bool"; }]; readonly internalType: "struct CompView.TokenInfoFull[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowAmounts"; readonly type: "uint256[]"; }]; readonly internalType: "struct CompView.LoanData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataArr"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint128"; readonly name: "ratio"; readonly type: "uint128"; }, { readonly internalType: "address[]"; readonly name: "collAddr"; readonly type: "address[]"; }, { readonly internalType: "address[]"; readonly name: "borrowAddr"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "collAmounts"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrowAmounts"; readonly type: "uint256[]"; }]; readonly internalType: "struct CompView.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_cTokens"; readonly type: "address[]"; }]; readonly name: "getPrices"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getRatios"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "ratios"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getSafetyRatio"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_cTokens"; readonly type: "address[]"; }]; readonly name: "getTokenBalances"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "balances"; readonly type: "uint256[]"; }, { readonly internalType: "uint256[]"; readonly name: "borrows"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_cTokenAddresses"; readonly type: "address[]"; }]; readonly name: "getTokensInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "cTokenAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "underlyingTokenAddress"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct CompView.TokenInfo[]"; readonly name: "tokens"; readonly type: "tuple[]"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }]; }; export declare const ComptrollerContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getAllMarkets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAssetsIn: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBlockNumber: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { _become: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { _become: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { _become: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { ActionPaused: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; CompBorrowSpeedUpdated: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; CompGranted: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; CompSupplySpeedUpdated: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; ContributorCompSpeedUpdated: (args: { contributor?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ contributor?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { contributor?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; DistributedBorrowerComp: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ cToken?: `0x${string}` | `0x${string}`[] | null | undefined; borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; DistributedSupplierComp: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; supplier?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ cToken?: `0x${string}` | `0x${string}`[] | null | undefined; supplier?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; supplier?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Failure: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; MarketEntered: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; MarketExited: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; MarketListed: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewBorrowCap: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewBorrowCapGuardian: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewCloseFactor: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewCollateralFactor: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewLiquidationIncentive: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewPauseGuardian: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewPriceOracle: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { ActionPaused: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; CompBorrowSpeedUpdated: (args?: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; CompGranted: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; CompSupplySpeedUpdated: (args?: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; ContributorCompSpeedUpdated: (args?: { contributor?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; DistributedBorrowerComp: (args?: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; DistributedSupplierComp: (args?: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; supplier?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Failure: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; MarketEntered: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; MarketExited: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; MarketListed: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewBorrowCap: (args?: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewBorrowCapGuardian: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewCloseFactor: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewCollateralFactor: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewLiquidationIncentive: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewPauseGuardian: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewPriceOracle: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { ActionPaused: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; CompBorrowSpeedUpdated: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; CompGranted: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; CompSupplySpeedUpdated: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; ContributorCompSpeedUpdated: (args: { contributor?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; DistributedBorrowerComp: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; borrower?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; DistributedSupplierComp: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; supplier?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Failure: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; MarketEntered: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; MarketExited: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; MarketListed: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewBorrowCap: (args: { cToken?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewBorrowCapGuardian: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewCloseFactor: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewCollateralFactor: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewLiquidationIncentive: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewPauseGuardian: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewPriceOracle: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { _become: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "string"; readonly name: "action"; readonly type: "string"; }, { readonly indexed: false; readonly internalType: "bool"; readonly name: "pauseState"; readonly type: "bool"; }]; readonly name: "ActionPaused"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "string"; readonly name: "action"; readonly type: "string"; }, { readonly indexed: false; readonly internalType: "bool"; readonly name: "pauseState"; readonly type: "bool"; }]; readonly name: "ActionPaused"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newSpeed"; readonly type: "uint256"; }]; readonly name: "CompBorrowSpeedUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "recipient"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "amount"; readonly type: "uint256"; }]; readonly name: "CompGranted"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newSpeed"; readonly type: "uint256"; }]; readonly name: "CompSupplySpeedUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "contributor"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newSpeed"; readonly type: "uint256"; }]; readonly name: "ContributorCompSpeedUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "borrower"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "compDelta"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "compBorrowIndex"; readonly type: "uint256"; }]; readonly name: "DistributedBorrowerComp"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "supplier"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "compDelta"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "compSupplyIndex"; readonly type: "uint256"; }]; readonly name: "DistributedSupplierComp"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "error"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "info"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "detail"; readonly type: "uint256"; }]; readonly name: "Failure"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "MarketEntered"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "MarketExited"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }]; readonly name: "MarketListed"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newBorrowCap"; readonly type: "uint256"; }]; readonly name: "NewBorrowCap"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "oldBorrowCapGuardian"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "newBorrowCapGuardian"; readonly type: "address"; }]; readonly name: "NewBorrowCapGuardian"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "oldCloseFactorMantissa"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newCloseFactorMantissa"; readonly type: "uint256"; }]; readonly name: "NewCloseFactor"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract CToken"; readonly name: "cToken"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "oldCollateralFactorMantissa"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newCollateralFactorMantissa"; readonly type: "uint256"; }]; readonly name: "NewCollateralFactor"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "oldLiquidationIncentiveMantissa"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "newLiquidationIncentiveMantissa"; readonly type: "uint256"; }]; readonly name: "NewLiquidationIncentive"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "oldPauseGuardian"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "address"; readonly name: "newPauseGuardian"; readonly type: "address"; }]; readonly name: "NewPauseGuardian"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "contract PriceOracle"; readonly name: "oldPriceOracle"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "contract PriceOracle"; readonly name: "newPriceOracle"; readonly type: "address"; }]; readonly name: "NewPriceOracle"; readonly type: "event"; }, { readonly constant: false; readonly inputs: readonly [{ readonly internalType: "contract Unitroller"; readonly name: "unitroller"; readonly type: "address"; }]; readonly name: "_become"; readonly outputs: readonly []; readonly payable: false; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "getAllMarkets"; readonly outputs: readonly [{ readonly internalType: "contract CToken[]"; readonly name: ""; readonly type: "address[]"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "getAssetsIn"; readonly outputs: readonly [{ readonly internalType: "contract CToken[]"; readonly name: ""; readonly type: "address[]"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }, { readonly constant: true; readonly inputs: readonly []; readonly name: "getBlockNumber"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly payable: false; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const WeETHPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; accessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; phaseAggregators: (args: readonly [number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; phaseId: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; proposedGetRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | ({ current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; AnswerUpdated: (args?: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewRound: (args?: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; proposeAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "int256"; readonly name: "current"; readonly type: "int256"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }]; readonly name: "AnswerUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "startedBy"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }]; readonly name: "NewRound"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "accessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "aggregator"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "confirmAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly name: "phaseAggregators"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "phaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "proposeAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const BTCPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; decimals: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; accessController: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; aggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; description: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getAnswer: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTimestamp: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestAnswer: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRound: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; latestTimestamp: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; phaseAggregators: (args: readonly [number], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; phaseId: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; proposedGetRoundData: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; proposedLatestRoundData: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; version: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { transferOwnership: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; acceptOwnership: (options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; confirmAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; proposeAggregator: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setController: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { transferOwnership: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; acceptOwnership: (options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; confirmAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; proposeAggregator: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setController: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | ({ current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } extends infer T ? T extends { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; AnswerUpdated: (args?: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; NewRound: (args?: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; OwnershipTransferRequested: (args?: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; AnswerUpdated: (args: { current?: bigint | bigint[] | null | undefined; roundId?: bigint | bigint[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; NewRound: (args: { roundId?: bigint | bigint[] | null | undefined; startedBy?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; OwnershipTransferRequested: (args: { from?: `0x${string}` | `0x${string}`[] | null | undefined; to?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { transferOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; acceptOwnership: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(options: options) => Promise; confirmAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; proposeAggregator: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setController: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "constructor"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "int256"; readonly name: "current"; readonly type: "int256"; }, { readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }]; readonly name: "AnswerUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "uint256"; readonly name: "roundId"; readonly type: "uint256"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "startedBy"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }]; readonly name: "NewRound"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferRequested"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "from"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "to"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "acceptOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "accessController"; readonly outputs: readonly [{ readonly internalType: "contract AccessControllerInterface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "aggregator"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "confirmAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "decimals"; readonly outputs: readonly [{ readonly internalType: "uint8"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "description"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "getRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_roundId"; readonly type: "uint256"; }]; readonly name: "getTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestAnswer"; readonly outputs: readonly [{ readonly internalType: "int256"; readonly name: ""; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRound"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "latestTimestamp"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address payable"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly name: "phaseAggregators"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "phaseId"; readonly outputs: readonly [{ readonly internalType: "uint16"; readonly name: ""; readonly type: "uint16"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_aggregator"; readonly type: "address"; }]; readonly name: "proposeAggregator"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV2V3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint80"; readonly name: "_roundId"; readonly type: "uint80"; }]; readonly name: "proposedGetRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "proposedLatestRoundData"; readonly outputs: readonly [{ readonly internalType: "uint80"; readonly name: "roundId"; readonly type: "uint80"; }, { readonly internalType: "int256"; readonly name: "answer"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "startedAt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "updatedAt"; readonly type: "uint256"; }, { readonly internalType: "uint80"; readonly name: "answeredInRound"; readonly type: "uint80"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_accessController"; readonly type: "address"; }]; readonly name: "setController"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }]; readonly name: "transferOwnership"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "version"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getDebtInFront: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getInsertPosition: (args: readonly [bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTroveInfo: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_of"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_acc"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }]; readonly name: "getDebtInFront"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "next"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getInsertPosition"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "upperHint"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "lowerHint"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_troveOwner"; readonly type: "address"; }]; readonly name: "getTroveInfo"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "troveStatus"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "TCRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowingFeeWithDecay"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "recoveryMode"; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityCollSurplusPoolContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; NAME: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; activePoolAddress: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; borrowerOperationsAddress: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; getCollateral: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getETH: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isOwner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; troveManagerAddress: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { accountSurplus: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; claimColl: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAddresses: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { accountSurplus: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; claimColl: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; setAddresses: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { accountSurplus: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; claimColl: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; setAddresses: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; ActivePoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; BorrowerOperationsAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; CollBalanceUpdated: (args: { _account?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ _account?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { _account?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; EtherSent: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TroveManagerAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; ActivePoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; BorrowerOperationsAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; CollBalanceUpdated: (args?: { _account?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; EtherSent: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TroveManagerAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; ActivePoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; BorrowerOperationsAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; CollBalanceUpdated: (args: { _account?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; EtherSent: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TroveManagerAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { accountSurplus: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; claimColl: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; setAddresses: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newActivePoolAddress"; readonly type: "address"; }]; readonly name: "ActivePoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newBorrowerOperationsAddress"; readonly type: "address"; }]; readonly name: "BorrowerOperationsAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "_account"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_newBalance"; readonly type: "uint256"; }]; readonly name: "CollBalanceUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_to"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_amount"; readonly type: "uint256"; }]; readonly name: "EtherSent"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "previousOwner"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "newOwner"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newTroveManagerAddress"; readonly type: "address"; }]; readonly name: "TroveManagerAddressChanged"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "NAME"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_account"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_amount"; readonly type: "uint256"; }]; readonly name: "accountSurplus"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "activePoolAddress"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "borrowerOperationsAddress"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_account"; readonly type: "address"; }]; readonly name: "claimColl"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_account"; readonly type: "address"; }]; readonly name: "getCollateral"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "getETH"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "isOwner"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_borrowerOperationsAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_troveManagerAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_activePoolAddress"; readonly type: "address"; }]; readonly name: "setAddresses"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "troveManagerAddress"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly stateMutability: "payable"; readonly type: "receive"; }]; }; export declare const LiquityTroveManagerContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getBorrowingRateWithDecay: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; createEventFilter: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; ActivePoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; BorrowerOperationsAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; BaseRateUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; CollSurplusPoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; DefaultPoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; GasPoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LQTYStakingAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LQTYTokenAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LTermsUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LUSDTokenAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LastFeeOpTimeUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Liquidation: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; PriceFeedAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; Redemption: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SortedTrovesAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; StabilityPoolAddressChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; SystemSnapshotsUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TotalStakesUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TroveIndexUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TroveLiquidated: (args: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TroveSnapshotsUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; TroveUpdated: (args: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; ActivePoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; BorrowerOperationsAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; BaseRateUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; CollSurplusPoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; DefaultPoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; GasPoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LQTYStakingAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LQTYTokenAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LTermsUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LUSDTokenAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LastFeeOpTimeUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Liquidation: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; PriceFeedAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; Redemption: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SortedTrovesAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; StabilityPoolAddressChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; SystemSnapshotsUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TotalStakesUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TroveIndexUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TroveLiquidated: (args?: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TroveSnapshotsUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; TroveUpdated: (args?: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; ActivePoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; BorrowerOperationsAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; BaseRateUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; CollSurplusPoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; DefaultPoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; GasPoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LQTYStakingAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LQTYTokenAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LTermsUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LUSDTokenAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LastFeeOpTimeUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Liquidation: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; PriceFeedAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; Redemption: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SortedTrovesAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; StabilityPoolAddressChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; SystemSnapshotsUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TotalStakesUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TroveIndexUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TroveLiquidated: (args: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TroveSnapshotsUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; TroveUpdated: (args: { _borrower?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; address: `0x${string}`; abi: readonly [{ readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_activePoolAddress"; readonly type: "address"; }]; readonly name: "ActivePoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_baseRate"; readonly type: "uint256"; }]; readonly name: "BaseRateUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newBorrowerOperationsAddress"; readonly type: "address"; }]; readonly name: "BorrowerOperationsAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_collSurplusPoolAddress"; readonly type: "address"; }]; readonly name: "CollSurplusPoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_defaultPoolAddress"; readonly type: "address"; }]; readonly name: "DefaultPoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_gasPoolAddress"; readonly type: "address"; }]; readonly name: "GasPoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_lqtyStakingAddress"; readonly type: "address"; }]; readonly name: "LQTYStakingAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_lqtyTokenAddress"; readonly type: "address"; }]; readonly name: "LQTYTokenAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_L_ETH"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_L_LUSDDebt"; readonly type: "uint256"; }]; readonly name: "LTermsUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newLUSDTokenAddress"; readonly type: "address"; }]; readonly name: "LUSDTokenAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_lastFeeOpTime"; readonly type: "uint256"; }]; readonly name: "LastFeeOpTimeUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_liquidatedDebt"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_liquidatedColl"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_collGasCompensation"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_LUSDGasCompensation"; readonly type: "uint256"; }]; readonly name: "Liquidation"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "previousOwner"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "newOwner"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_newPriceFeedAddress"; readonly type: "address"; }]; readonly name: "PriceFeedAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_attemptedLUSDAmount"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_actualLUSDAmount"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_ETHSent"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_ETHFee"; readonly type: "uint256"; }]; readonly name: "Redemption"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_sortedTrovesAddress"; readonly type: "address"; }]; readonly name: "SortedTrovesAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_stabilityPoolAddress"; readonly type: "address"; }]; readonly name: "StabilityPoolAddressChanged"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_totalStakesSnapshot"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_totalCollateralSnapshot"; readonly type: "uint256"; }]; readonly name: "SystemSnapshotsUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_newTotalStakes"; readonly type: "uint256"; }]; readonly name: "TotalStakesUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "address"; readonly name: "_borrower"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_newIndex"; readonly type: "uint256"; }]; readonly name: "TroveIndexUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "_borrower"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_debt"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_coll"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "enum TroveManager.TroveManagerOperation"; readonly name: "_operation"; readonly type: "uint8"; }]; readonly name: "TroveLiquidated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_L_ETH"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_L_LUSDDebt"; readonly type: "uint256"; }]; readonly name: "TroveSnapshotsUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "_borrower"; readonly type: "address"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_debt"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_coll"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "uint256"; readonly name: "_stake"; readonly type: "uint256"; }, { readonly indexed: false; readonly internalType: "enum TroveManager.TroveManagerOperation"; readonly name: "_operation"; readonly type: "uint8"; }]; readonly name: "TroveUpdated"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "getBorrowingRateWithDecay"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityPriceFeedContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { owner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; NAME: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isOwner: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; DECIMAL_PRECISION: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; ETHUSD_TELLOR_REQ_ID: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; MAX_PRICE_DEVIATION_FROM_PREVIOUS_ROUND: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; MAX_PRICE_DIFFERENCE_BETWEEN_ORACLES: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; TARGET_DIGITS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; TELLOR_DIGITS: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; TIMEOUT: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; fetchPrice: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; lastGoodPrice: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; priceAggregator: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; status: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; tellorCaller: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<`0x${string}`>; }; estimateGas: { setAddresses: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { setAddresses: (args: readonly [`0x${string}`, `0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { setAddresses: (args: readonly [`0x${string}`, `0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; createEventFilter: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; LastGoodPriceUpdated: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; PriceFeedStatusChanged: | readonly unknown[] | undefined, strict extends boolean | undefined = undefined>(options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { OwnershipTransferred: (args?: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; LastGoodPriceUpdated: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; PriceFeedStatusChanged: (options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { OwnershipTransferred: (args: { previousOwner?: `0x${string}` | `0x${string}`[] | null | undefined; newOwner?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; LastGoodPriceUpdated: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; PriceFeedStatusChanged: (options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; write: { setAddresses: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "uint256"; readonly name: "_lastGoodPrice"; readonly type: "uint256"; }]; readonly name: "LastGoodPriceUpdated"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "previousOwner"; readonly type: "address"; }, { readonly indexed: true; readonly internalType: "address"; readonly name: "newOwner"; readonly type: "address"; }]; readonly name: "OwnershipTransferred"; readonly type: "event"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: false; readonly internalType: "enum PriceFeed.Status"; readonly name: "newStatus"; readonly type: "uint8"; }]; readonly name: "PriceFeedStatusChanged"; readonly type: "event"; }, { readonly inputs: readonly []; readonly name: "DECIMAL_PRECISION"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "ETHUSD_TELLOR_REQ_ID"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "MAX_PRICE_DEVIATION_FROM_PREVIOUS_ROUND"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "MAX_PRICE_DIFFERENCE_BETWEEN_ORACLES"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "NAME"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: ""; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "TARGET_DIGITS"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "TELLOR_DIGITS"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "TIMEOUT"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "fetchPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "isOwner"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "lastGoodPrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "owner"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "priceAggregator"; readonly outputs: readonly [{ readonly internalType: "contract AggregatorV3Interface"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_priceAggregatorAddress"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_tellorCallerAddress"; readonly type: "address"; }]; readonly name: "setAddresses"; readonly outputs: readonly []; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "status"; readonly outputs: readonly [{ readonly internalType: "enum PriceFeed.Status"; readonly name: ""; readonly type: "uint8"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "tellorCaller"; readonly outputs: readonly [{ readonly internalType: "contract ITellorCaller"; readonly name: ""; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityActivePoolContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getETH: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLUSDDebt: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "getETH"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "getLUSDDebt"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityV2ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getDebtInFront: (...parameters: [args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; getInsertPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; findInsertPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getApproxHint: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBatchManagerInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDebtInFrontByInterestRate: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDebtInFrontByTroveNum: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDepositorInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; isShutDown: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getMultipleSortedTroves: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getNumOfTrovesInFrontOfTrove: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTrovePosition: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserTroves: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; predictAdjustTroveUpfrontFee: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; _getTroveDebtInFrontForCurrentBranch: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; estimateGas: { getTroveInfo: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getMarketData: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; } & { getTroveInfo: (args: readonly [`0x${string}`, bigint], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; getMarketData: (args: readonly [`0x${string}`], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>) => Promise; }; simulate: { getTroveInfo: (args: readonly [`0x${string}`, bigint], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; getMarketData: (args: readonly [`0x${string}`], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined) => Promise>; }; write: { getTroveInfo: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise; getMarketData: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "InvalidMarketAddress"; readonly type: "error"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }]; readonly name: "_getTroveDebtInFrontForCurrentBranch"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_nextId"; readonly type: "uint256"; }]; readonly name: "findInsertPosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getApproxHint"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "hintId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "diff"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "latestRandomSeed"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_manager"; readonly type: "address"; }]; readonly name: "getBatchManagerInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "minInterestRate"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "maxInterestRate"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "minInterestRateChangePeriod"; readonly type: "uint256"; }]; readonly internalType: "struct IBorrowerOperations.InterestBatchManager"; readonly name: "managerData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "entireDebtWithoutRedistribution"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireCollWithoutRedistribution"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedInterest"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "recordedDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "weightedRecordedDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "weightedRecordedBatchManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastDebtUpdateTime"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }]; readonly internalType: "struct ITroveManager.LatestBatchData"; readonly name: "batchData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_trove"; readonly type: "uint256"; }]; readonly name: "getDebtInFront"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_acc"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }]; readonly name: "getDebtInFront"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_acc"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_targetIR"; readonly type: "uint256"; }]; readonly name: "getDebtInFrontByInterestRate"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_numTroves"; readonly type: "uint256"; }]; readonly name: "getDebtInFrontByTroveNum"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_depositor"; readonly type: "address"; }]; readonly name: "getDepositorInfo"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "compoundedBOLD"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collGain"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "boldGain"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getInsertPosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getMarketData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "CCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "MCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "SCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "BCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "LIQUIDATION_PENALTY_SP"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "LIQUIDATION_PENALTY_REDISTRIBUTION"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireSystemColl"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireSystemDebt"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "collToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "troveNFT"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowerOperations"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "troveManager"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "stabilityPool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "sortedTroves"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collSurplusPool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "activePool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "hintHelpers"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "priceFeed"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collPrice"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isShutDown"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "boldDepositInSp"; readonly type: "uint256"; }]; readonly internalType: "struct LiquityV2View.MarketData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "_startIdx"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "_count"; readonly type: "uint256"; }]; readonly name: "getMultipleSortedTroves"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "id"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireColl"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "redistBoldDebtGain"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "redistCollGain"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedInterest"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "recordedDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedBatchManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stake"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastDebtUpdateTime"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "interestBatchManager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "batchDebtShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "snapshotETH"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "snapshotBoldDebt"; readonly type: "uint256"; }]; readonly internalType: "struct IMultiTroveGetter.CombinedTroveData[]"; readonly name: "troves"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }]; readonly name: "getNumOfTrovesInFrontOfTrove"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "numTroves"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }]; readonly name: "getTroveInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "troveId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collToken"; readonly type: "address"; }, { readonly internalType: "enum ITroveManager.Status"; readonly name: "status"; readonly type: "uint8"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "TCRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "interestBatchManager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "batchDebtShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }]; readonly internalType: "struct LiquityV2View.TroveData"; readonly name: "trove"; readonly type: "tuple"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getTrovePosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_startIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_endIndex"; readonly type: "uint256"; }]; readonly name: "getUserTroves"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "troveId"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "ownedByUser"; readonly type: "bool"; }]; readonly internalType: "struct LiquityV2View.ExistingTrove[]"; readonly name: "troves"; readonly type: "tuple[]"; }, { readonly internalType: "int256"; readonly name: "nextFreeTroveIndex"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "isShutDown"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_debtIncrease"; readonly type: "uint256"; }]; readonly name: "predictAdjustTroveUpfrontFee"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityV2LegacyViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getDebtInFront: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getInsertPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTroveInfo: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ troveId: bigint; owner: `0x${string}`; collToken: `0x${string}`; status: number; collAmount: bigint; debtAmount: bigint; collPrice: bigint; TCRatio: bigint; annualInterestRate: bigint; interestBatchManager: `0x${string}`; batchDebtShares: bigint; lastInterestRateAdjTime: bigint; }>; findInsertPosition: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getApproxHint: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getBatchManagerInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDebtInFrontByInterestRate: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDebtInFrontByTroveNum: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getDepositorInfo: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getMarketData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ market: `0x${string}`; CCR: bigint; MCR: bigint; SCR: bigint; LIQUIDATION_PENALTY_SP: bigint; LIQUIDATION_PENALTY_REDISTRIBUTION: bigint; entireSystemColl: bigint; entireSystemDebt: bigint; collToken: `0x${string}`; troveNFT: `0x${string}`; borrowerOperations: `0x${string}`; troveManager: `0x${string}`; stabilityPool: `0x${string}`; sortedTroves: `0x${string}`; collSurplusPool: `0x${string}`; activePool: `0x${string}`; hintHelpers: `0x${string}`; priceFeed: `0x${string}`; collPrice: bigint; isShutDown: boolean; boldDepositInSp: bigint; }>; isShutDown: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getMultipleSortedTroves: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getNumOfTrovesInFrontOfTrove: (args: readonly [`0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTrovePosition: (args: readonly [`0x${string}`, bigint, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserTroves: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; predictAdjustTroveUpfrontFee: (args: readonly [`0x${string}`, bigint, bigint, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly []; readonly name: "InvalidMarketAddress"; readonly type: "error"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_nextId"; readonly type: "uint256"; }]; readonly name: "findInsertPosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getApproxHint"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "hintId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "diff"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "latestRandomSeed"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_manager"; readonly type: "address"; }]; readonly name: "getBatchManagerInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "minInterestRate"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "maxInterestRate"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "minInterestRateChangePeriod"; readonly type: "uint256"; }]; readonly internalType: "struct IBorrowerOperations.InterestBatchManager"; readonly name: "managerData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "entireDebtWithoutRedistribution"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireCollWithoutRedistribution"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedInterest"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "recordedDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "weightedRecordedDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "accruedManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "weightedRecordedBatchManagementFee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastDebtUpdateTime"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }]; readonly internalType: "struct ITroveManager.LatestBatchData"; readonly name: "batchData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_acc"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }]; readonly name: "getDebtInFront"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_acc"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_targetIR"; readonly type: "uint256"; }]; readonly name: "getDebtInFrontByInterestRate"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_numTroves"; readonly type: "uint256"; }]; readonly name: "getDebtInFrontByTroveNum"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_depositor"; readonly type: "address"; }]; readonly name: "getDepositorInfo"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "compoundedBOLD"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collGain"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "boldGain"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_interestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getInsertPosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "getMarketData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "CCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "MCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "SCR"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "LIQUIDATION_PENALTY_SP"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "LIQUIDATION_PENALTY_REDISTRIBUTION"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireSystemColl"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "entireSystemDebt"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "collToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "troveNFT"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowerOperations"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "troveManager"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "stabilityPool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "sortedTroves"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collSurplusPool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "activePool"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "hintHelpers"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "priceFeed"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "collPrice"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isShutDown"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "boldDepositInSp"; readonly type: "uint256"; }]; readonly internalType: "struct LiquityV2View.MarketData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "int256"; readonly name: "_startIdx"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "_count"; readonly type: "uint256"; }]; readonly name: "getMultipleSortedTroves"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "id"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "coll"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "stake"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastDebtUpdateTime"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "interestBatchManager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "batchDebtShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "batchCollShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "snapshotETH"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "snapshotBoldDebt"; readonly type: "uint256"; }]; readonly internalType: "struct IMultiTroveGetter.CombinedTroveData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_iterations"; readonly type: "uint256"; }]; readonly name: "getNumOfTrovesInFrontOfTrove"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "next"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "numTroves"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }]; readonly name: "getTroveInfo"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "troveId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "collToken"; readonly type: "address"; }, { readonly internalType: "enum ITroveManager.Status"; readonly name: "status"; readonly type: "uint8"; }, { readonly internalType: "uint256"; readonly name: "collAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "debtAmount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "collPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "TCRatio"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "annualInterestRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "interestBatchManager"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "batchDebtShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastInterestRateAdjTime"; readonly type: "uint256"; }]; readonly internalType: "struct LiquityV2View.TroveData"; readonly name: "trove"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_numTrials"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_inputRandomSeed"; readonly type: "uint256"; }]; readonly name: "getTrovePosition"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "prevId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "nextId"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_startIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_endIndex"; readonly type: "uint256"; }]; readonly name: "getUserTroves"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "troveId"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "ownedByUser"; readonly type: "bool"; }]; readonly internalType: "struct LiquityV2View.ExistingTrove[]"; readonly name: "troves"; readonly type: "tuple[]"; }, { readonly internalType: "int256"; readonly name: "nextFreeTroveIndex"; readonly type: "int256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }]; readonly name: "isShutDown"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_market"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_collIndex"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_troveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "_debtIncrease"; readonly type: "uint256"; }]; readonly name: "predictAdjustTroveUpfrontFee"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const FluidViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getAllUserEarnPositionsWithFTokens: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getFTokenData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ tokenAddress: `0x${string}`; isNativeUnderlying: boolean; name: string; symbol: string; decimals: bigint; asset: `0x${string}`; totalAssets: bigint; totalSupply: bigint; convertToShares: bigint; convertToAssets: bigint; rewardsRate: bigint; supplyRate: bigint; withdrawable: bigint; modeWithInterest: boolean; expandPercent: bigint; expandDuration: bigint; }>; getPositionByNftId: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserEarnPosition: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ fTokenShares: bigint; underlyingAssets: bigint; underlyingBalance: bigint; allowance: bigint; }>; getUserEarnPositionWithFToken: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserNftIds: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserPositions: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getVaultData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ vault: `0x${string}`; vaultId: bigint; vaultType: bigint; isSmartColl: boolean; isSmartDebt: boolean; supplyToken0: `0x${string}`; supplyToken1: `0x${string}`; borrowToken0: `0x${string}`; borrowToken1: `0x${string}`; supplyToken0Decimals: bigint; supplyToken1Decimals: bigint; borrowToken0Decimals: bigint; borrowToken1Decimals: bigint; collateralFactor: number; liquidationThreshold: number; liquidationMaxLimit: number; withdrawalGap: number; liquidationPenalty: number; borrowFee: number; oracle: `0x${string}`; oraclePriceOperate: bigint; oraclePriceLiquidate: bigint; vaultSupplyExchangePrice: bigint; vaultBorrowExchangePrice: bigint; supplyRateVault: bigint; borrowRateVault: bigint; rewardsOrFeeRateSupply: bigint; rewardsOrFeeRateBorrow: bigint; totalPositions: bigint; totalSupplyVault: bigint; totalBorrowVault: bigint; withdrawalLimit: bigint; withdrawableUntilLimit: bigint; withdrawable: bigint; baseWithdrawalLimit: bigint; withdrawExpandPercent: bigint; withdrawExpandDuration: bigint; borrowLimit: bigint; borrowableUntilLimit: bigint; borrowable: bigint; borrowLimitUtilization: bigint; maxBorrowLimit: bigint; borrowExpandPercent: bigint; borrowExpandDuration: bigint; baseBorrowLimit: bigint; minimumBorrowing: bigint; dexSupplyData: { dexPool: `0x${string}`; dexId: bigint; fee: bigint; lastStoredPrice: bigint; centerPrice: bigint; token0Utilization: bigint; token1Utilization: bigint; totalSupplyShares: bigint; maxSupplyShares: bigint; token0Supplied: bigint; token1Supplied: bigint; sharesWithdrawable: bigint; token0Withdrawable: bigint; token1Withdrawable: bigint; token0PerSupplyShare: bigint; token1PerSupplyShare: bigint; token0SupplyRate: bigint; token1SupplyRate: bigint; quoteToken: `0x${string}`; quoteTokensPerShare: bigint; supplyToken0Reserves: bigint; supplyToken1Reserves: bigint; }; dexBorrowData: { dexPool: `0x${string}`; dexId: bigint; fee: bigint; lastStoredPrice: bigint; centerPrice: bigint; token0Utilization: bigint; token1Utilization: bigint; totalBorrowShares: bigint; maxBorrowShares: bigint; token0Borrowed: bigint; token1Borrowed: bigint; sharesBorrowable: bigint; token0Borrowable: bigint; token1Borrowable: bigint; token0PerBorrowShare: bigint; token1PerBorrowShare: bigint; token0BorrowRate: bigint; token1BorrowRate: bigint; quoteToken: `0x${string}`; quoteTokensPerShare: bigint; borrowToken0Reserves: bigint; borrowToken1Reserves: bigint; }; }>; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getAllUserEarnPositionsWithFTokens"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "fTokenShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "allowance"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.UserEarnPosition[]"; readonly name: "userPositions"; readonly type: "tuple[]"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isNativeUnderlying"; readonly type: "bool"; }, { readonly internalType: "string"; readonly name: "name"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "symbol"; readonly type: "string"; }, { readonly internalType: "uint256"; readonly name: "decimals"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rewardsRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "modeWithInterest"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "expandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "expandDuration"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.FTokenData[]"; readonly name: "fTokensData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_fToken"; readonly type: "address"; }]; readonly name: "getFTokenData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isNativeUnderlying"; readonly type: "bool"; }, { readonly internalType: "string"; readonly name: "name"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "symbol"; readonly type: "string"; }, { readonly internalType: "uint256"; readonly name: "decimals"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rewardsRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "modeWithInterest"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "expandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "expandDuration"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.FTokenData"; readonly name: "fTokenData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "_nftId"; readonly type: "uint256"; }]; readonly name: "getPositionByNftId"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "nftId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isLiquidated"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSupplyPosition"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "supply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "tick"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "tickId"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.UserPosition"; readonly name: "position"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "vault"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "vaultId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultType"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isSmartColl"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSmartDebt"; readonly type: "bool"; }, { readonly internalType: "address"; readonly name: "supplyToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "supplyToken1"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken1"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationMaxLimit"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "withdrawalGap"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationPenalty"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "borrowFee"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceOperate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceLiquidate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultSupplyExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultBorrowExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "supplyRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "borrowRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateSupply"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateBorrow"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "totalPositions"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseWithdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimitUtilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "minimumBorrowing"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesWithdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexSupplyData"; readonly name: "dexSupplyData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesBorrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexBorrowData"; readonly name: "dexBorrowData"; readonly type: "tuple"; }]; readonly internalType: "struct FluidView.VaultData"; readonly name: "vault"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_fToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getUserEarnPosition"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "fTokenShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "allowance"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.UserEarnPosition"; readonly name: ""; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_fToken"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getUserEarnPositionWithFToken"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "fTokenShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "underlyingBalance"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "allowance"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.UserEarnPosition"; readonly name: "userPosition"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "tokenAddress"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isNativeUnderlying"; readonly type: "bool"; }, { readonly internalType: "string"; readonly name: "name"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "symbol"; readonly type: "string"; }, { readonly internalType: "uint256"; readonly name: "decimals"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "asset"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "totalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "rewardsRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "modeWithInterest"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "expandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "expandDuration"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.FTokenData"; readonly name: "fTokenData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getUserNftIds"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: ""; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getUserPositions"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "nftId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "isLiquidated"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSupplyPosition"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "supply"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrow"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "ratio"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "tick"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "tickId"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.UserPosition[]"; readonly name: "positions"; readonly type: "tuple[]"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "vault"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "vaultId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultType"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isSmartColl"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSmartDebt"; readonly type: "bool"; }, { readonly internalType: "address"; readonly name: "supplyToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "supplyToken1"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken1"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationMaxLimit"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "withdrawalGap"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationPenalty"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "borrowFee"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceOperate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceLiquidate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultSupplyExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultBorrowExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "supplyRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "borrowRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateSupply"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateBorrow"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "totalPositions"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseWithdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimitUtilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "minimumBorrowing"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesWithdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexSupplyData"; readonly name: "dexSupplyData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesBorrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexBorrowData"; readonly name: "dexBorrowData"; readonly type: "tuple"; }]; readonly internalType: "struct FluidView.VaultData[]"; readonly name: "vaults"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_vault"; readonly type: "address"; }]; readonly name: "getVaultData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "vault"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "vaultId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultType"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isSmartColl"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isSmartDebt"; readonly type: "bool"; }, { readonly internalType: "address"; readonly name: "supplyToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "supplyToken1"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken0"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "borrowToken1"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Decimals"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationThreshold"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationMaxLimit"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "withdrawalGap"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "liquidationPenalty"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "borrowFee"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceOperate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "oraclePriceLiquidate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultSupplyExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "vaultBorrowExchangePrice"; readonly type: "uint256"; }, { readonly internalType: "int256"; readonly name: "supplyRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "borrowRateVault"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateSupply"; readonly type: "int256"; }, { readonly internalType: "int256"; readonly name: "rewardsOrFeeRateBorrow"; readonly type: "int256"; }, { readonly internalType: "uint256"; readonly name: "totalPositions"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowVault"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseWithdrawalLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "withdrawExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowableUntilLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowLimitUtilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandPercent"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowExpandDuration"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "baseBorrowLimit"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "minimumBorrowing"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxSupplyShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesWithdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Withdrawable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerSupplyShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1SupplyRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexSupplyData"; readonly name: "dexSupplyData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "dexPool"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "dexId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "fee"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "lastStoredPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "centerPrice"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Utilization"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "maxBorrowShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowed"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "sharesBorrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1Borrowable"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1PerBorrowShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token0BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "token1BorrowRate"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "quoteToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "quoteTokensPerShare"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken0Reserves"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowToken1Reserves"; readonly type: "uint256"; }]; readonly internalType: "struct FluidView.DexBorrowData"; readonly name: "dexBorrowData"; readonly type: "tuple"; }]; readonly internalType: "struct FluidView.VaultData"; readonly name: "vaultData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveIncentivesControllerViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getRewardsBalance: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "assets"; readonly type: "address[]"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getRewardsBalance"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveUmbrellaViewViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getTokensAggregatedData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getUserAggregatedData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "contract IUmbrella"; readonly name: "umbrella"; readonly type: "address"; }, { readonly internalType: "contract IAaveOracle"; readonly name: "aaveOracle"; readonly type: "address"; }]; readonly name: "getTokensAggregatedData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "string"; readonly name: "name"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "symbol"; readonly type: "string"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }]; readonly internalType: "struct DataAggregationHelper.TokenData"; readonly name: "stakeTokenData"; readonly type: "tuple"; }, { readonly internalType: "uint256"; readonly name: "totalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "targetLiquidity"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isStakeConfigured"; readonly type: "bool"; }, { readonly components: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "token"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "string"; readonly name: "name"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "symbol"; readonly type: "string"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }]; readonly internalType: "struct DataAggregationHelper.TokenData"; readonly name: "rewardTokenData"; readonly type: "tuple"; }, { readonly internalType: "uint256"; readonly name: "maxEmissionPerSecond"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "distributionEnd"; readonly type: "uint256"; }]; readonly internalType: "struct DataAggregationHelper.RewardTokenData[]"; readonly name: "rewardsTokenData"; readonly type: "tuple[]"; }]; readonly internalType: "struct DataAggregationHelper.StakeTokenData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "contract IUmbrella"; readonly name: "umbrella"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getUserAggregatedData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "stakeToken"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "stakeUserBalance"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "reward"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "currentReward"; readonly type: "uint256"; }]; readonly internalType: "struct DataAggregationHelper.RewardTokenUserData[]"; readonly name: "rewardsTokenUserData"; readonly type: "tuple[]"; }]; readonly internalType: "struct DataAggregationHelper.StakeTokenUserData[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityLQTYStakingViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { [x: string]: (...parameters: [options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly unknown[], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; }; estimateGas: { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; } & { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; }; simulate: { [x: string]: (...parameters: [options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly unknown[], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise; }; createEventFilter: { [x: string]: (...parameters: [options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; eventName?: undefined; fromBlock?: undefined; strict?: undefined; toBlock?: undefined; args?: undefined; }, options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined]) => Promise; }; getEvents: { [x: string]: (...parameters: [options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined] | [args?: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined]) => Promise>; }; watchEvent: { [x: string]: (...parameters: [options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; }, options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined]) => import("viem").WatchContractEventReturnType; }; write: { [x: string]: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never, Rest extends unknown[] = [options: options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise; }; address: `0x${string}`; abi: { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[]; }; export declare const LiquityStabilityPoolViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { [x: string]: (...parameters: [options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly unknown[], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; }; estimateGas: { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; } & { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; }; simulate: { [x: string]: (...parameters: [options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly unknown[], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise; }; createEventFilter: { [x: string]: (...parameters: [options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; eventName?: undefined; fromBlock?: undefined; strict?: undefined; toBlock?: undefined; args?: undefined; }, options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined]) => Promise; }; getEvents: { [x: string]: (...parameters: [options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined] | [args?: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined]) => Promise>; }; watchEvent: { [x: string]: (...parameters: [options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; }, options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined]) => import("viem").WatchContractEventReturnType; }; write: { [x: string]: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never, Rest extends unknown[] = [options: options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise; }; address: `0x${string}`; abi: { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; }[]; }; export declare const UUPSViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { cumulativeClaimed: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "cumulativeClaimed"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const SparkRewardsControllerViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getAllUserRewards: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "assets"; readonly type: "address[]"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getAllUserRewards"; readonly outputs: readonly [{ readonly internalType: "address[]"; readonly name: "rewardsList"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "unclaimedAmounts"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveRewardsControllerViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getAllUserRewards: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "assets"; readonly type: "address[]"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }]; readonly name: "getAllUserRewards"; readonly outputs: readonly [{ readonly internalType: "address[]"; readonly name: "rewardsList"; readonly type: "address[]"; }, { readonly internalType: "uint256[]"; readonly name: "unclaimedAmounts"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const LiquityV2sBoldVaultViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; maxWithdraw: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; convertToShares: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; sps: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "assets"; readonly type: "uint256"; }]; readonly name: "convertToShares"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "owner"; readonly type: "address"; }]; readonly name: "maxWithdraw"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly name: "sps"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "sp"; readonly type: "address"; }, { readonly internalType: "uint96"; readonly name: "weight"; readonly type: "uint96"; }, { readonly internalType: "address"; readonly name: "coll"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const StkAAVEViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; assets: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: ""; readonly type: "address"; }]; readonly name: "assets"; readonly outputs: readonly [{ readonly internalType: "uint128"; readonly name: "emissionPerSecond"; readonly type: "uint128"; }, { readonly internalType: "uint128"; readonly name: "lastUpdateTimestamp"; readonly type: "uint128"; }, { readonly internalType: "uint256"; readonly name: "index"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalSupply"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const YearnViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getPoolLiquidity: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_vault"; readonly type: "address"; }]; readonly name: "getPoolLiquidity"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const MakerDsrContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { [x: string]: (...parameters: [options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined] | [args: readonly unknown[], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined]) => Promise; }; estimateGas: { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; } & { [x: string]: (...parameters: [options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>] | [args: readonly unknown[], options: import("viem").Prettify, "address" | "args" | "abi" | "functionName">>]) => Promise; }; simulate: { [x: string]: (...parameters: [options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined] | [args: readonly unknown[], options?: Omit, "address" | "args" | "abi" | "functionName"> | undefined]) => Promise; }; createEventFilter: { [x: string]: (...parameters: [options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; eventName?: undefined; fromBlock?: undefined; strict?: undefined; toBlock?: undefined; args?: undefined; }, options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined]) => Promise; }; getEvents: { [x: string]: (...parameters: [options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined] | [args?: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined]) => Promise>; }; watchEvent: { [x: string]: (...parameters: [options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ constant: boolean; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; payable: boolean; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined] | [args: readonly unknown[] | { [x: string]: unknown; address?: undefined; abi?: undefined; args?: undefined; eventName?: undefined; fromBlock?: undefined; onError?: undefined; onLogs?: undefined; strict?: undefined; poll?: undefined; batch?: undefined; pollingInterval?: undefined; }, options?: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn<{ constant: boolean; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; payable: boolean; stateMutability: string; type: string; }[], string, undefined>; poll?: true | undefined | undefined; } | undefined]) => import("viem").WatchContractEventReturnType; }; write: { [x: string]: , "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never, Rest extends unknown[] = [options: options]>(...parameters: Rest | [args: readonly unknown[], ...parameters: Rest]) => Promise; }; address: `0x${string}`; abi: { constant: boolean; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; payable: boolean; stateMutability: string; type: string; }[]; }; export declare const SkySavingsContractView: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { totalSupply: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; balanceOf: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; totalAssets: (options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; createEventFilter: { Upgraded: (args: { implementation?: `0x${string}` | `0x${string}`[] | null | undefined; } | ({ implementation?: `0x${string}` | `0x${string}`[] | null | undefined; } extends infer T ? T extends { implementation?: `0x${string}` | `0x${string}`[] | null | undefined; } ? T extends args ? Readonly : never : never : never), options?: ({ fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } & { strict?: strict | undefined; }) | undefined) => Promise>; }; getEvents: { Upgraded: (args?: { implementation?: `0x${string}` | `0x${string}`[] | null | undefined; } | undefined, options?: { strict?: boolean | undefined; blockHash?: `0x${string}` | undefined; fromBlock?: bigint | import("viem").BlockTag | undefined; toBlock?: bigint | import("viem").BlockTag | undefined; } | undefined) => Promise>; }; watchEvent: { Upgraded: (args: { implementation?: `0x${string}` | `0x${string}`[] | null | undefined; }, options: { batch?: boolean | undefined | undefined; pollingInterval?: number | undefined | undefined; strict?: boolean | undefined; onError?: ((error: Error) => void) | undefined | undefined; fromBlock?: bigint | undefined; onLogs: import("viem").WatchContractEventOnLogsFn; poll?: true | undefined | undefined; }) => import("viem").WatchContractEventReturnType; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "implementation"; readonly type: "address"; }, { readonly internalType: "bytes"; readonly name: "_data"; readonly type: "bytes"; }]; readonly stateMutability: "payable"; readonly type: "constructor"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "target"; readonly type: "address"; }]; readonly name: "AddressEmptyCode"; readonly type: "error"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "implementation"; readonly type: "address"; }]; readonly name: "ERC1967InvalidImplementation"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "ERC1967NonPayable"; readonly type: "error"; }, { readonly inputs: readonly []; readonly name: "FailedInnerCall"; readonly type: "error"; }, { readonly anonymous: false; readonly inputs: readonly [{ readonly indexed: true; readonly internalType: "address"; readonly name: "implementation"; readonly type: "address"; }]; readonly name: "Upgraded"; readonly type: "event"; }, { readonly stateMutability: "payable"; readonly type: "fallback"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "account"; readonly type: "address"; }]; readonly name: "balanceOf"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalAssets"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly []; readonly name: "totalSupply"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: ""; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const AaveV4ViewContractViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { getApyAfterValuesEstimation: (args: readonly [`0x${string}`, readonly { reserveId: bigint; liquidityAdded: bigint; liquidityTaken: bigint; isDebtAsset: boolean; }[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getEOAApprovalsAndBalances: (args: readonly [`0x${string}`, `0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ eoa: `0x${string}`; proxy: `0x${string}`; spoke: `0x${string}`; giverPositionManagerEnabled: boolean; takerPositionManagerEnabled: boolean; configPositionManagerEnabled: boolean; canSetUsingAsCollateral: boolean; canUpdateUserRiskPremium: boolean; canUpdateUserDynamicConfig: boolean; reserveApprovals: readonly { reserveId: bigint; underlying: `0x${string}`; delegateeBorrowApproval: bigint; delegateeWithdrawApproval: bigint; eoaReserveBalance: bigint; }[]; }>; getHealthFactor: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; riskPremium: bigint; avgCollateralFactor: bigint; healthFactor: bigint; totalCollateralInUsd: bigint; totalDebtInUsdRay: bigint; activeCollateralCount: bigint; borrowCount: bigint; reserves: readonly { reserveId: bigint; assetId: number; underlying: `0x${string}`; supplied: bigint; drawn: bigint; premium: bigint; totalDebt: bigint; collateralFactor: number; maxLiquidationBonus: number; liquidationFee: number; isUsingAsCollateral: boolean; isBorrowing: boolean; }[]; }>; getReserveData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ underlying: `0x${string}`; collateralFactor: number; price: bigint; }>; getUserReserveData: (args: readonly [`0x${string}`, `0x${string}`, readonly bigint[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getHubAllAssetsData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getHubAssetData: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ assetId: number; decimals: number; underlying: `0x${string}`; liquidity: bigint; totalSupplied: bigint; totalDrawn: bigint; totalPremium: bigint; totalDebt: bigint; totalDrawnShares: bigint; totalPremiumShares: bigint; swept: bigint; liquidityFee: number; drawnIndex: bigint; drawnRate: bigint; lastUpdateTimestamp: number; irStrategy: `0x${string}`; reinvestmentController: `0x${string}`; feeReceiver: `0x${string}`; deficitRay: bigint; }>; getLoanDataForMultipleSpokes: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanDataForMultipleUsers: (args: readonly [`0x${string}`, readonly `0x${string}`[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getLoanDataFull: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ user: `0x${string}`; riskPremium: bigint; avgCollateralFactor: bigint; healthFactor: bigint; totalCollateralInUsd: bigint; totalDebtInUsdRay: bigint; activeCollateralCount: bigint; borrowCount: bigint; reserves: readonly { reserveId: bigint; underlying: `0x${string}`; price: bigint; decimals: number; isUsingAsCollateral: boolean; isBorrowing: boolean; reservePaused: boolean; reserveFrozen: boolean; borrowable: boolean; spokeActive: boolean; spokeHalted: boolean; userSupplied: bigint; userDrawn: bigint; userPremium: bigint; userTotalDebt: bigint; collateralRisk: number; userCollateralFactor: number; userMaxLiquidationBonus: number; userLiquidationFee: number; latestCollateralFactor: number; latestMaxLiquidationBonus: number; latestLiquidationFee: number; hub: `0x${string}`; hubAssetId: number; hubLiquidity: bigint; drawnRate: bigint; drawnIndex: bigint; spokeTotalSupplied: bigint; spokeTotalDrawn: bigint; spokeTotalPremium: bigint; spokeTotalDebt: bigint; spokeSupplyCap: bigint; spokeBorrowCap: bigint; spokeDeficitRay: bigint; }[]; }>; getReserveDataFull: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ underlying: `0x${string}`; hub: `0x${string}`; assetId: number; decimals: number; paused: boolean; frozen: boolean; borrowable: boolean; collateralRisk: number; collateralFactor: number; maxLiquidationBonus: number; liquidationFee: number; price: bigint; totalSupplied: bigint; totalDrawn: bigint; totalPremium: bigint; totalDebt: bigint; supplyCap: bigint; borrowCap: bigint; deficitRay: bigint; spokeActive: boolean; spokeHalted: boolean; }>; getReservePrice: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getReservePrices: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getReservesData: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getReservesDataFull: (args: readonly [`0x${string}`, readonly bigint[]], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSpokeData: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSpokeDataFull: (args: readonly [`0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getSpokesForAsset: (args: readonly [`0x${string}`, bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; getTokenizationSpokeData: (args: readonly [`0x${string}`, `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<{ underlyingAsset: `0x${string}`; assetId: bigint; decimals: number; spoke: `0x${string}`; spokeActive: boolean; spokeHalted: boolean; spokeDepositCap: bigint; spokeTotalAssets: bigint; spokeTotalShares: bigint; hub: `0x${string}`; hubLiquidity: bigint; hubDrawnRate: bigint; convertToShares: bigint; convertToAssets: bigint; user: `0x${string}`; userSuppliedAssets: bigint; userSuppliedShares: bigint; }>; getTokenizationSpokesData: (args: readonly [readonly `0x${string}`[], `0x${string}`], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityAdded"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "liquidityTaken"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "isDebtAsset"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.LiquidityChangeParams[]"; readonly name: "_reserveParams"; readonly type: "tuple[]"; }]; readonly name: "getApyAfterValuesEstimation"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "hubDrawnRateEstimation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "hubTotalDrawnEstimation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "hubTotalLiquidityEstimation"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "hubSwept"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "liquidityFee"; readonly type: "uint16"; }]; readonly internalType: "struct AaveV4View.EstimatedRates[]"; readonly name: ""; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }]; readonly name: "getEOAApprovalsAndBalances"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "eoa"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "proxy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "spoke"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "giverPositionManagerEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "takerPositionManagerEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "configPositionManagerEnabled"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "canSetUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "canUpdateUserRiskPremium"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "canUpdateUserDynamicConfig"; readonly type: "bool"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "delegateeBorrowApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "delegateeWithdrawApproval"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "eoaReserveBalance"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.EOAReserveApprovalData[]"; readonly name: "reserveApprovals"; readonly type: "tuple[]"; }]; readonly internalType: "struct AaveV4View.EOAApprovalData"; readonly name: "data"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getHealthFactor"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_hub"; readonly type: "address"; }]; readonly name: "getHubAllAssetsData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "liquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawnShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremiumShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "swept"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "liquidityFee"; readonly type: "uint16"; }, { readonly internalType: "uint120"; readonly name: "drawnIndex"; readonly type: "uint120"; }, { readonly internalType: "uint96"; readonly name: "drawnRate"; readonly type: "uint96"; }, { readonly internalType: "uint40"; readonly name: "lastUpdateTimestamp"; readonly type: "uint40"; }, { readonly internalType: "address"; readonly name: "irStrategy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "reinvestmentController"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "feeReceiver"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "deficitRay"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.HubAssetData[]"; readonly name: "hubAssetData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_hub"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_assetId"; readonly type: "uint256"; }]; readonly name: "getHubAssetData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "liquidity"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawnShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremiumShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "swept"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "liquidityFee"; readonly type: "uint16"; }, { readonly internalType: "uint120"; readonly name: "drawnIndex"; readonly type: "uint120"; }, { readonly internalType: "uint96"; readonly name: "drawnRate"; readonly type: "uint96"; }, { readonly internalType: "uint40"; readonly name: "lastUpdateTimestamp"; readonly type: "uint40"; }, { readonly internalType: "address"; readonly name: "irStrategy"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "reinvestmentController"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "feeReceiver"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "deficitRay"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.HubAssetData"; readonly name: "hubAssetData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "riskPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "avgCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalCollateralInUsd"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebtInUsdRay"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "activeCollateralCount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCount"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "drawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "premium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "bool"; readonly name: "isUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isBorrowing"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.UserReserveData[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly internalType: "struct AaveV4View.LoanData"; readonly name: "loanData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_spokes"; readonly type: "address[]"; }]; readonly name: "getLoanDataForMultipleSpokes"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "riskPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "avgCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalCollateralInUsd"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebtInUsdRay"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "activeCollateralCount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCount"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "drawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "premium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "bool"; readonly name: "isUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isBorrowing"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.UserReserveData[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly internalType: "struct AaveV4View.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address[]"; readonly name: "_users"; readonly type: "address[]"; }]; readonly name: "getLoanDataForMultipleUsers"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "riskPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "avgCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalCollateralInUsd"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebtInUsdRay"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "activeCollateralCount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCount"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "drawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "premium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "bool"; readonly name: "isUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isBorrowing"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.UserReserveData[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly internalType: "struct AaveV4View.LoanData[]"; readonly name: "loans"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getLoanDataFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "riskPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "avgCollateralFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "healthFactor"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalCollateralInUsd"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebtInUsdRay"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "activeCollateralCount"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCount"; readonly type: "uint256"; }, { readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "bool"; readonly name: "isUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isBorrowing"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "reservePaused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "reserveFrozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowable"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "userSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint24"; readonly name: "collateralRisk"; readonly type: "uint24"; }, { readonly internalType: "uint16"; readonly name: "userCollateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "userMaxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "userLiquidationFee"; readonly type: "uint16"; }, { readonly internalType: "uint16"; readonly name: "latestCollateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "latestMaxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "latestLiquidationFee"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "hubAssetId"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "hubLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint96"; readonly name: "drawnRate"; readonly type: "uint96"; }, { readonly internalType: "uint120"; readonly name: "drawnIndex"; readonly type: "uint120"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeSupplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeBorrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeDeficitRay"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.UserReserveDataFull[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly internalType: "struct AaveV4View.LoanDataWithFullReserves"; readonly name: "loanData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_reserveId"; readonly type: "uint256"; }]; readonly name: "getReserveData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.ReserveData"; readonly name: "reserveData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_reserveId"; readonly type: "uint256"; }]; readonly name: "getReserveDataFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "bool"; readonly name: "paused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "frozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowable"; readonly type: "bool"; }, { readonly internalType: "uint24"; readonly name: "collateralRisk"; readonly type: "uint24"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "deficitRay"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.ReserveDataFull"; readonly name: "reserveData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_reserveId"; readonly type: "uint256"; }]; readonly name: "getReservePrice"; readonly outputs: readonly [{ readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256[]"; readonly name: "_reserveIds"; readonly type: "uint256[]"; }]; readonly name: "getReservePrices"; readonly outputs: readonly [{ readonly internalType: "uint256[]"; readonly name: "prices"; readonly type: "uint256[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256[]"; readonly name: "_reserveIds"; readonly type: "uint256[]"; }]; readonly name: "getReservesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.ReserveData[]"; readonly name: "reserveData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "uint256[]"; readonly name: "_reserveIds"; readonly type: "uint256[]"; }]; readonly name: "getReservesDataFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "bool"; readonly name: "paused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "frozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowable"; readonly type: "bool"; }, { readonly internalType: "uint24"; readonly name: "collateralRisk"; readonly type: "uint24"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "deficitRay"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.ReserveDataFull[]"; readonly name: "reserveData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }]; readonly name: "getSpokeData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "targetHealthFactor"; readonly type: "uint128"; }, { readonly internalType: "uint64"; readonly name: "healthFactorForMaxBonus"; readonly type: "uint64"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonusFactor"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "oracleDecimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "reserveCount"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.SpokeData"; readonly name: "spokeData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.ReserveData[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }]; readonly name: "getSpokeDataFull"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint128"; readonly name: "targetHealthFactor"; readonly type: "uint128"; }, { readonly internalType: "uint64"; readonly name: "healthFactorForMaxBonus"; readonly type: "uint64"; }, { readonly internalType: "uint16"; readonly name: "liquidationBonusFactor"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "oracle"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "oracleDecimals"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "reserveCount"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.SpokeData"; readonly name: "spokeData"; readonly type: "tuple"; }, { readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "bool"; readonly name: "paused"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "frozen"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "borrowable"; readonly type: "bool"; }, { readonly internalType: "uint24"; readonly name: "collateralRisk"; readonly type: "uint24"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "uint256"; readonly name: "price"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalSupplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDrawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalPremium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "supplyCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "borrowCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "deficitRay"; readonly type: "uint256"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.ReserveDataFull[]"; readonly name: "reserves"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_hub"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "_assetId"; readonly type: "uint256"; }]; readonly name: "getSpokesForAsset"; readonly outputs: readonly [{ readonly internalType: "address[]"; readonly name: "spokes"; readonly type: "address[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getTokenizationSpokeData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetId"; readonly type: "uint256"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "address"; readonly name: "spoke"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "spokeDepositCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalShares"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "hubLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint96"; readonly name: "hubDrawnRate"; readonly type: "uint96"; }, { readonly internalType: "uint256"; readonly name: "convertToShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToAssets"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userSuppliedAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userSuppliedShares"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.TokenizationSpokeData"; readonly name: "spokeData"; readonly type: "tuple"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address[]"; readonly name: "_spokes"; readonly type: "address[]"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }]; readonly name: "getTokenizationSpokesData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "address"; readonly name: "underlyingAsset"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "assetId"; readonly type: "uint256"; }, { readonly internalType: "uint8"; readonly name: "decimals"; readonly type: "uint8"; }, { readonly internalType: "address"; readonly name: "spoke"; readonly type: "address"; }, { readonly internalType: "bool"; readonly name: "spokeActive"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "spokeHalted"; readonly type: "bool"; }, { readonly internalType: "uint256"; readonly name: "spokeDepositCap"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "spokeTotalShares"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "hub"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "hubLiquidity"; readonly type: "uint256"; }, { readonly internalType: "uint96"; readonly name: "hubDrawnRate"; readonly type: "uint96"; }, { readonly internalType: "uint256"; readonly name: "convertToShares"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "convertToAssets"; readonly type: "uint256"; }, { readonly internalType: "address"; readonly name: "user"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "userSuppliedAssets"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "userSuppliedShares"; readonly type: "uint256"; }]; readonly internalType: "struct AaveV4View.TokenizationSpokeData[]"; readonly name: "spokeData"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "_spoke"; readonly type: "address"; }, { readonly internalType: "address"; readonly name: "_user"; readonly type: "address"; }, { readonly internalType: "uint256[]"; readonly name: "_reserveIds"; readonly type: "uint256[]"; }]; readonly name: "getUserReserveData"; readonly outputs: readonly [{ readonly components: readonly [{ readonly internalType: "uint256"; readonly name: "reserveId"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "assetId"; readonly type: "uint16"; }, { readonly internalType: "address"; readonly name: "underlying"; readonly type: "address"; }, { readonly internalType: "uint256"; readonly name: "supplied"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "drawn"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "premium"; readonly type: "uint256"; }, { readonly internalType: "uint256"; readonly name: "totalDebt"; readonly type: "uint256"; }, { readonly internalType: "uint16"; readonly name: "collateralFactor"; readonly type: "uint16"; }, { readonly internalType: "uint32"; readonly name: "maxLiquidationBonus"; readonly type: "uint32"; }, { readonly internalType: "uint16"; readonly name: "liquidationFee"; readonly type: "uint16"; }, { readonly internalType: "bool"; readonly name: "isUsingAsCollateral"; readonly type: "bool"; }, { readonly internalType: "bool"; readonly name: "isBorrowing"; readonly type: "bool"; }]; readonly internalType: "struct AaveV4View.UserReserveData[]"; readonly name: "_userReserves"; readonly type: "tuple[]"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; }; export declare const UniswapTokenDistributorViem: (client: Client, network: NetworkNumber, block?: Blockish) => { read: { isClaimed: (args: readonly [bigint], options?: import("viem").Prettify, "address" | "args" | "abi" | "functionName">> | undefined) => Promise; }; address: `0x${string}`; abi: readonly [{ readonly inputs: readonly [{ readonly internalType: "uint256"; readonly name: "index"; readonly type: "uint256"; }]; readonly name: "isClaimed"; readonly outputs: readonly [{ readonly internalType: "bool"; readonly name: ""; readonly type: "bool"; }]; readonly stateMutability: "view"; readonly type: "function"; }]; };