export const MetricOmmPoolFactoryAbi = [ { inputs: [ { internalType: "address", name: "initialOwner", type: "address", }, { internalType: "uint24", name: "initialprotocolFee", type: "uint24", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "InvalidTokenOrder", type: "error", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "OwnableInvalidOwner", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "OwnableUnauthorizedAccount", type: "error", }, { inputs: [], name: "PoolDeployerAlreadySet", type: "error", }, { inputs: [], name: "PoolDeployerNotSet", type: "error", }, { inputs: [], name: "ProtocolFeeTooHigh", type: "error", }, { inputs: [ { internalType: "address", name: "token", type: "address", }, ], name: "SafeERC20FailedOperation", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferStarted", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token0", type: "address", }, { indexed: true, internalType: "address", name: "token1", type: "address", }, { indexed: true, internalType: "address", name: "priceProvider", type: "address", }, { indexed: false, internalType: "address", name: "pool", type: "address", }, { indexed: false, internalType: "bytes32", name: "poolKey", type: "bytes32", }, ], name: "PoolCreated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolDeployer", type: "address", }, ], name: "PoolDeployerSet", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "TokensCollected", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint24", name: "oldFee", type: "uint24", }, { indexed: false, internalType: "uint24", name: "newFee", type: "uint24", }, ], name: "protocolFeeUpdated", type: "event", }, { inputs: [], name: "MAX_PROTOCOL_FEE", outputs: [ { internalType: "uint24", name: "", type: "uint24", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "acceptOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address payable", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "collectETH", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "token", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "collectTokens", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { components: [ { internalType: "address", name: "token0", type: "address", }, { internalType: "address", name: "token1", type: "address", }, { internalType: "address", name: "priceProvider", type: "address", }, { internalType: "address", name: "admin", type: "address", }, { internalType: "uint104", name: "initialToken0DensityPerLiquidityE18", type: "uint104", }, { internalType: "uint104", name: "initialToken1DensityPerLiquidityE18", type: "uint104", }, { internalType: "uint104", name: "minimalMintableLiquidity", type: "uint104", }, { internalType: "bool", name: "reportSwapToPriceProvider", type: "bool", }, { internalType: "uint256", name: "maxDriftE8", type: "uint256", }, { internalType: "uint256", name: "driftDecayPerSecondE8", type: "uint256", }, { internalType: "uint24", name: "adminFee", type: "uint24", }, { internalType: "address", name: "adminFeeDestination", type: "address", }, { internalType: "int32", name: "curBinDistFromProvidedPriceE6", type: "int32", }, { internalType: "uint256[]", name: "nonNegativeBinDataArray", type: "uint256[]", }, { internalType: "uint256[]", name: "negativeBinDataArray", type: "uint256[]", }, { internalType: "bytes32", name: "salt", type: "bytes32", }, ], internalType: "struct MetricOmmPoolFactory.PoolParameters", name: "params", type: "tuple", }, ], name: "createPool", outputs: [ { internalType: "address", name: "pool", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "poolDeployer", outputs: [ { internalType: "contract MetricOmmPoolDeployer", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "protocolFee", outputs: [ { internalType: "uint24", name: "", type: "uint24", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract MetricOmmPoolDeployer", name: "_poolDeployer", type: "address", }, ], name: "setPoolDeployer", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint24", name: "newFee", type: "uint24", }, ], name: "setprotocolFee", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { stateMutability: "payable", type: "receive", }, ] as const;