UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

104 lines (103 loc) 2.83 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IPricingModule0828__factory = void 0; var ethers_1 = require("ethers"); var _abi = [ { type: "function", name: "getAmountIn", inputs: [ { name: "tokenInBucketSize", type: "uint256", internalType: "uint256", }, { name: "tokenOutBucketSize", type: "uint256", internalType: "uint256", }, { name: "spread", type: "uint256", internalType: "uint256", }, { name: "amountOut", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "amountIn", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getAmountOut", inputs: [ { name: "tokenInBucketSize", type: "uint256", internalType: "uint256", }, { name: "tokenOutBucketSize", type: "uint256", internalType: "uint256", }, { name: "spread", type: "uint256", internalType: "uint256", }, { name: "amountIn", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "amountOut", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "name", inputs: [], outputs: [ { name: "pricingModuleName", type: "string", internalType: "string", }, ], stateMutability: "view", }, ]; var IPricingModule0828__factory = /** @class */ (function () { function IPricingModule0828__factory() { } IPricingModule0828__factory.createInterface = function () { return new ethers_1.utils.Interface(_abi); }; IPricingModule0828__factory.connect = function (address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); }; IPricingModule0828__factory.abi = _abi; return IPricingModule0828__factory; }()); exports.IPricingModule0828__factory = IPricingModule0828__factory;