UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

71 lines (70 loc) 2.58 kB
import { Signer } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { IPricingModule0828, IPricingModule0828Interface } from "../../IPricingModule.sol/IPricingModule0828"; export declare class IPricingModule0828__factory { static readonly abi: readonly [{ readonly type: "function"; readonly name: "getAmountIn"; readonly inputs: readonly [{ readonly name: "tokenInBucketSize"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "tokenOutBucketSize"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "spread"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "amountOut"; readonly type: "uint256"; readonly internalType: "uint256"; }]; readonly outputs: readonly [{ readonly name: "amountIn"; readonly type: "uint256"; readonly internalType: "uint256"; }]; readonly stateMutability: "view"; }, { readonly type: "function"; readonly name: "getAmountOut"; readonly inputs: readonly [{ readonly name: "tokenInBucketSize"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "tokenOutBucketSize"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "spread"; readonly type: "uint256"; readonly internalType: "uint256"; }, { readonly name: "amountIn"; readonly type: "uint256"; readonly internalType: "uint256"; }]; readonly outputs: readonly [{ readonly name: "amountOut"; readonly type: "uint256"; readonly internalType: "uint256"; }]; readonly stateMutability: "view"; }, { readonly type: "function"; readonly name: "name"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly name: "pricingModuleName"; readonly type: "string"; readonly internalType: "string"; }]; readonly stateMutability: "view"; }]; static createInterface(): IPricingModule0828Interface; static connect(address: string, signerOrProvider: Signer | Provider): IPricingModule0828; }