[{"inputs":[{"internalType":"contract IERC20","name":"_token0Inst","type":"address"},{"internalType":"contract IERC20","name":"_token1Inst","type":"address"},{"internalType":"contract IVault","name":"_vaultInst","type":"address"},{"internalType":"string","name":"_poolName","type":"string"},{"internalType":"string","name":"_poolSymbol","type":"string"},{"internalType":"enum ICronV1PoolEnums.PoolType","name":"_poolType","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"AdministratorStatusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"enum ICronV1PoolEnums.BoolParamType","name":"boolParam","type":"uint8"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"BoolParameterChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"}],"name":"ExecuteVirtualOrdersEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"feeAddress","type":"address"}],"name":"FeeAddressChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeShift","type":"uint256"}],"name":"FeeShiftChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"token0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1Out","type":"uint256"}],"name":"FeeWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"intervals","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"}],"name":"LongTermSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"enum ICronV1PoolEnums.ParamType","name":"paramType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ParameterChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolTokenAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1Out","type":"uint256"}],"name":"PoolExit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"token0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"poolTokenAmt","type":"uint256"}],"name":"PoolJoin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"suggestedProtocolFee","type":"uint256"}],"name":"ProtocolFeeTooLarge","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"swapType","type":"uint256"}],"name":"ShortTermSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"partner","type":"address"},{"indexed":true,"internalType":"address","name":"oldList","type":"address"},{"indexed":true,"internalType":"address","name":"newList","type":"address"}],"name":"UpdatedArbitrageList","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"partner","type":"address"},{"indexed":false,"internalType":"address","name":"list","type":"address"}],"name":"UpdatedArbitragePartner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"refundToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"refundOut","type":"uint256"},{"indexed":true,"internalType":"address","name":"proceedsToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"proceedsOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"orderId","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"WithdrawLongTermSwap","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_ID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_TYPE","outputs":[{"internalType":"enum ICronV1PoolEnums.PoolType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"decreaseApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBlock","type":"uint256"}],"name":"executeVirtualOrdersToBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBalancerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalancerFeeAmounts","outputs":[{"internalType":"uint256","name":"balFee0U96","type":"uint256"},{"internalType":"uint256","name":"balFee1U96","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCronFeeAmounts","outputs":[{"internalType":"uint256","name":"cronFee0U96","type":"uint256"},{"internalType":"uint256","name":"cronFee1U96","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeShift","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastVirtualOrderBlock","outputs":[{"internalType":"uint256","name":"lastVirtualOrderBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLongTermFeePoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_orderId","type":"uint256"}],"name":"getOrder","outputs":[{"components":[{"internalType":"bool","name":"token0To1","type":"bool"},{"internalType":"uint112","name":"salesRate","type":"uint112"},{"internalType":"uint128","name":"scaledProceedsAtSubmissionU128","type":"uint128"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"orderExpiry","type":"uint256"}],"internalType":"struct Order","name":"order","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOrderAmounts","outputs":[{"internalType":"uint256","name":"orders0U112","type":"uint256"},{"internalType":"uint256","name":"orders1U112","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOrderIdCount","outputs":[{"internalType":"uint256","name":"nextOrderId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_offset","type":"uint256"},{"internalType":"uint256","name":"_maxResults","type":"uint256"}],"name":"getOrderIds","outputs":[{"internalType":"uint256[]","name":"orderIds","type":"uint256[]"},{"internalType":"uint256","name":"numResults","type":"uint256"},{"internalType":"uint256","name":"totalResults","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPartnerFeePoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceOracle","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"token0U256F112","type":"uint256"},{"internalType":"uint256","name":"token1U256F112","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProceedAmounts","outputs":[{"internalType":"uint256","name":"proceeds0U112","type":"uint256"},{"internalType":"uint256","name":"proceeds1U112","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSalesRates","outputs":[{"internalType":"uint256","name":"salesRate0U112","type":"uint256"},{"internalType":"uint256","name":"salesRate1U112","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blockNumber","type":"uint256"}],"name":"getSalesRatesEndingPerBlock","outputs":[{"internalType":"uint256","name":"salesRateEndingPerBlock0U112","type":"uint256"},{"internalType":"uint256","name":"salesRateEndingPerBlock1U112","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getShortTermFeePoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBlock","type":"uint256"}],"name":"getVirtualPriceOracle","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"token0U256F112","type":"uint256"},{"internalType":"uint256","name":"token1U256F112","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBlock","type":"uint256"},{"internalType":"bool","name":"_paused","type":"bool"}],"name":"getVirtualReserves","outputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint256","name":"token0ReserveU112","type":"uint256"},{"internalType":"uint256","name":"token1ReserveU112","type":"uint256"},{"internalType":"uint256","name":"token0OrdersU112","type":"uint256"},{"internalType":"uint256","name":"token1OrdersU112","type":"uint256"},{"internalType":"uint256","name":"token0ProceedsU112","type":"uint256"},{"internalType":"uint256","name":"token1ProceedsU112","type":"uint256"},{"internalType":"uint256","name":"token0BalancerFeesU96","type":"uint256"},{"internalType":"uint256","name":"token1BalancerFeesU96","type":"uint256"},{"internalType":"uint256","name":"token0CronFiFeesU96","type":"uint256"},{"internalType":"uint256","name":"token1CronFiFeesU96","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseApproval","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isCollectingBalancerFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCollectingCronFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_poolId","type":"bytes32"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256[]","name":"_currentBalancesU112","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_protocolFeeDU1F18","type":"uint256"},{"internalType":"bytes","name":"_userData","type":"bytes"}],"name":"onExitPool","outputs":[{"internalType":"uint256[]","name":"amountsOutU112","type":"uint256[]"},{"internalType":"uint256[]","name":"dueProtocolFeeAmountsU96","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_poolId","type":"bytes32"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256[]","name":"_currentBalancesU112","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_protocolFeeDU1F18","type":"uint256"},{"internalType":"bytes","name":"_userData","type":"bytes"}],"name":"onJoinPool","outputs":[{"internalType":"uint256[]","name":"amountsInU112","type":"uint256[]"},{"internalType":"uint256[]","name":"dueProtocolFeeAmountsU96","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"enum IVault.SwapKind","name":"kind","type":"uint8"},{"internalType":"contract IERC20","name":"tokenIn","type":"address"},{"internalType":"contract IERC20","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"poolId","type":"bytes32"},{"internalType":"uint256","name":"lastChangeBlock","type":"uint256"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"userData","type":"bytes"}],"internalType":"struct IPoolSwapStructs.SwapRequest","name":"_swapRequest","type":"tuple"},{"internalType":"uint256","name":"_currentBalanceTokenInU112","type":"uint256"},{"internalType":"uint256","name":"_currentBalanceTokenOutU112","type":"uint256"}],"name":"onSwap","outputs":[{"internalType":"uint256","name":"amountOutU112","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setAdminStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_arbPartner","type":"address"},{"internalType":"address","name":"_arbitrageList","type":"address"}],"name":"setArbitragePartner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_collectBalancerFee","type":"bool"}],"name":"setCollectBalancerFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDestination","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeShift","type":"uint256"}],"name":"setFeeShift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_paramTypeU","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setParameter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pauseValue","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateArbitrageList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]