var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { utils, Contract, ContractFactory } from "ethers";
var _abi = [
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getAmount0ForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getAmount1ForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getAmountsForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getGasCostOfGetAmount0ForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getGasCostOfGetAmount1ForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        name: "getGasCostOfGetAmountsForLiquidity",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
        ],
        name: "getGasCostOfGetLiquidityForAmount0",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        name: "getGasCostOfGetLiquidityForAmount1",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        name: "getGasCostOfGetLiquidityForAmounts",
        outputs: [
            {
                internalType: "uint256",
                name: "",
                type: "uint256",
            },
        ],
        stateMutability: "view",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
        ],
        name: "getLiquidityForAmount0",
        outputs: [
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        name: "getLiquidityForAmount1",
        outputs: [
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
    {
        inputs: [
            {
                internalType: "uint160",
                name: "sqrtRatioX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioAX96",
                type: "uint160",
            },
            {
                internalType: "uint160",
                name: "sqrtRatioBX96",
                type: "uint160",
            },
            {
                internalType: "uint256",
                name: "amount0",
                type: "uint256",
            },
            {
                internalType: "uint256",
                name: "amount1",
                type: "uint256",
            },
        ],
        name: "getLiquidityForAmounts",
        outputs: [
            {
                internalType: "uint128",
                name: "liquidity",
                type: "uint128",
            },
        ],
        stateMutability: "pure",
        type: "function",
    },
];
var _bytecode = " ";
var isSuperArgs = function (xs) { return xs.length > 1; };
var LiquidityAmountsTest__factory = /** @class */ (function (_super) {
    __extends(LiquidityAmountsTest__factory, _super);
    function LiquidityAmountsTest__factory() {
        var args = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            args[_i] = arguments[_i];
        }
        var _this = this;
        if (isSuperArgs(args)) {
            _this = _super.apply(this, args) || this;
        }
        else {
            _this = _super.call(this, _abi, _bytecode, args[0]) || this;
        }
        return _this;
    }
    LiquidityAmountsTest__factory.prototype.deploy = function (overrides) {
        return _super.prototype.deploy.call(this, overrides || {});
    };
    LiquidityAmountsTest__factory.prototype.getDeployTransaction = function (overrides) {
        return _super.prototype.getDeployTransaction.call(this, overrides || {});
    };
    LiquidityAmountsTest__factory.prototype.attach = function (address) {
        return _super.prototype.attach.call(this, address);
    };
    LiquidityAmountsTest__factory.prototype.connect = function (signer) {
        return _super.prototype.connect.call(this, signer);
    };
    LiquidityAmountsTest__factory.createInterface = function () {
        return new utils.Interface(_abi);
    };
    LiquidityAmountsTest__factory.connect = function (address, signerOrProvider) {
        return new Contract(address, _abi, signerOrProvider);
    };
    LiquidityAmountsTest__factory.bytecode = _bytecode;
    LiquidityAmountsTest__factory.abi = _abi;
    return LiquidityAmountsTest__factory;
}(ContractFactory));
export { LiquidityAmountsTest__factory };
