@paraswap/dex-lib 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/abi/Aave_GSM.json +751 -0
- package/build/abi/Balancer.json +257 -0
- package/build/abi/BalancerV2.json +1179 -0
- package/build/abi/{integral/relayer.json → RamsesV2Pool.abi.json} +850 -832
- package/build/abi/RamsesV2Quoter.abi.json +274 -0
- package/build/abi/USDM.json +807 -0
- package/build/abi/UniswapV2Router.json +397 -0
- package/build/abi/angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json +1246 -0
- package/build/abi/{integral/oracle.json → angle-transmuter/ChainlinkEACAggregatorProxy.json} +247 -239
- package/build/abi/curve-v1/CurveBUSDv2.abi.json +1356 -0
- package/build/abi/curve-v1/CurveTokenV1.json +305 -0
- package/build/abi/curve-v1/CurveTokenV2.json +318 -0
- package/build/abi/curve-v1/CurveV1StableNg.json +1452 -0
- package/build/abi/curve-v1/CurveV2Swap.json +700 -0
- package/build/abi/curve-v1/FactoryCryptoRegistry.json +316 -0
- package/build/abi/curve-v1/FactoryRegistry.json +508 -0
- package/build/abi/curve-v1/StableSwapAave.json +1152 -0
- package/build/abi/curve-v1/StableSwapBUSD.json +814 -0
- package/build/abi/curve-v1/StableSwapCompound.json +814 -0
- package/build/abi/curve-v1/StableSwapIDLE.json +1253 -0
- package/build/abi/curve-v1/StableSwapPax.json +865 -0
- package/build/abi/curve-v1/StableSwapSnow.json +900 -0
- package/build/abi/{integral/pool.json → curve-v1/StableSwapUSDN.json} +450 -487
- package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
- package/build/abi/curve-v1/StableSwapY.json +814 -0
- package/build/abi/inception/inception-ineth-pool.json +1062 -0
- package/build/abi/inception/inception-ineth.json +609 -0
- package/build/abi/inception/inception-ratio-feed.json +329 -0
- package/build/abi/inception/inception-vault.json +991 -0
- package/build/abi/kyberdmm/kyber-storage.abi.json +824 -0
- package/build/abi/kyberdmm.abi.json +1148 -0
- package/build/abi/maverick-v2/MaverickV2Quoter.json +278 -0
- package/build/abi/nerve/nerve-metapool.json +790 -0
- package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
- package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +267 -0
- package/build/dex/aave-v1/aave-v1.d.ts +2 -1
- package/build/dex/aave-v1/aave-v1.js +22 -0
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/balancer-v1/balancer-pools.json +33333 -0
- package/build/dex/bebop/websocket-fetcher.d.ts +35 -0
- package/build/dex/bebop/websocket-fetcher.js +87 -0
- package/build/dex/bebop/websocket-fetcher.js.map +1 -0
- package/build/dex/cables/cables.d.ts +1 -1
- package/build/dex/cables/cables.js +26 -7
- package/build/dex/cables/cables.js.map +1 -1
- package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
- package/build/dex/idle-dao/idle-dao-pool.js +176 -0
- package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
- package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
- package/build/dex/idle-dao/scripts.d.ts +9 -0
- package/build/dex/idle-dao/scripts.js +552 -0
- package/build/dex/idle-dao/scripts.js.map +1 -0
- package/build/dex/inception/config.d.ts +4 -0
- package/build/dex/inception/config.js +109 -0
- package/build/dex/inception/config.js.map +1 -0
- package/build/dex/inception/inception-event-pool.d.ts +16 -0
- package/build/dex/inception/inception-event-pool.js +51 -0
- package/build/dex/inception/inception-event-pool.js.map +1 -0
- package/build/dex/{integral/integral.d.ts → inception/inception-native.d.ts} +21 -19
- package/build/dex/inception/inception-native.js +131 -0
- package/build/dex/inception/inception-native.js.map +1 -0
- package/build/dex/inception/inception-pool.d.ts +18 -0
- package/build/dex/inception/inception-pool.js +32 -0
- package/build/dex/inception/inception-pool.js.map +1 -0
- package/build/dex/inception/inception-price-feed.d.ts +19 -0
- package/build/dex/inception/inception-price-feed.js +51 -0
- package/build/dex/inception/inception-price-feed.js.map +1 -0
- package/build/dex/inception/inception.d.ts +43 -0
- package/build/dex/inception/inception.js +204 -0
- package/build/dex/inception/inception.js.map +1 -0
- package/build/dex/inception/tokens.d.ts +9 -0
- package/build/dex/inception/tokens.js +28 -0
- package/build/dex/inception/tokens.js.map +1 -0
- package/build/dex/inception/types.d.ts +22 -0
- package/build/dex/inception/types.js +3 -0
- package/build/dex/inception/types.js.map +1 -0
- package/build/dex/inception/utils.d.ts +6 -0
- package/build/dex/inception/utils.js +37 -0
- package/build/dex/inception/utils.js.map +1 -0
- package/build/dex/jarvis.d.ts +2 -1
- package/build/dex/jarvis.js +58 -0
- package/build/dex/jarvis.js.map +1 -1
- package/build/dex/platypus/platypus.d.ts +2 -1
- package/build/dex/platypus/platypus.js +31 -0
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
- package/build/dex/swaap-v1/swaap-v1.js +10 -0
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/zerox/index.d.ts +4 -26
- package/build/dex/zerox/index.js +50 -42
- package/build/dex/zerox/index.js.map +1 -1
- package/build/dex/zerox/types.d.ts +29 -0
- package/build/dex/zerox/types.js +8 -1
- package/build/dex/zerox/types.js.map +1 -1
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +16 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +9 -0
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +9 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +12 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +7 -0
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +78 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +81 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +64 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +85 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +64 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +52 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +55 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +55 -0
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +55 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +37 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +51 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +58 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +23 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +9 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +16 -0
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +23 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +12 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +7 -0
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +7 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +130 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +136 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +100 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +100 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +166 -0
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +190 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +114 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +114 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +55 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +73 -0
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +82 -0
- package/build/generic-swap-transaction-builder.js +4 -1
- package/build/generic-swap-transaction-builder.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/cables/cables-e2e.test.ts +40 -40
- package/src/dex/cables/cables.ts +37 -10
- package/src/generic-swap-transaction-builder.ts +7 -1
- package/.idea/aws.xml +0 -17
- package/.idea/codeStyles/Project.xml +0 -19
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/paraswap-dex-lib.iml +0 -9
- package/.idea/prettier.xml +0 -7
- package/.idea/vcs.xml +0 -6
- package/build/abi/integral/factory.json +0 -333
- package/build/dex/bProtocol.d.ts +0 -18
- package/build/dex/bProtocol.js +0 -39
- package/build/dex/bProtocol.js.map +0 -1
- package/build/dex/bancor.d.ts +0 -26
- package/build/dex/bancor.js +0 -58
- package/build/dex/bancor.js.map +0 -1
- package/build/dex/compound.d.ts +0 -18
- package/build/dex/compound.js +0 -46
- package/build/dex/compound.js.map +0 -1
- package/build/dex/curve-v2.d.ts +0 -58
- package/build/dex/curve-v2.js +0 -180
- package/build/dex/curve-v2.js.map +0 -1
- package/build/dex/dodo-v1.d.ts +0 -33
- package/build/dex/dodo-v1.js +0 -63
- package/build/dex/dodo-v1.js.map +0 -1
- package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +0 -49
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js +0 -104
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +0 -1
- package/build/dex/integral/config.d.ts +0 -4
- package/build/dex/integral/config.js +0 -20
- package/build/dex/integral/config.js.map +0 -1
- package/build/dex/integral/context.d.ts +0 -40
- package/build/dex/integral/context.js +0 -158
- package/build/dex/integral/context.js.map +0 -1
- package/build/dex/integral/integral-factory.d.ts +0 -24
- package/build/dex/integral/integral-factory.js +0 -95
- package/build/dex/integral/integral-factory.js.map +0 -1
- package/build/dex/integral/integral-pool.d.ts +0 -50
- package/build/dex/integral/integral-pool.js +0 -149
- package/build/dex/integral/integral-pool.js.map +0 -1
- package/build/dex/integral/integral-pricing.d.ts +0 -18
- package/build/dex/integral/integral-pricing.js +0 -114
- package/build/dex/integral/integral-pricing.js.map +0 -1
- package/build/dex/integral/integral-relayer.d.ts +0 -42
- package/build/dex/integral/integral-relayer.js +0 -192
- package/build/dex/integral/integral-relayer.js.map +0 -1
- package/build/dex/integral/integral-token.d.ts +0 -27
- package/build/dex/integral/integral-token.js +0 -59
- package/build/dex/integral/integral-token.js.map +0 -1
- package/build/dex/integral/integral.js +0 -376
- package/build/dex/integral/integral.js.map +0 -1
- package/build/dex/integral/types.d.ts +0 -85
- package/build/dex/integral/types.js +0 -9
- package/build/dex/integral/types.js.map +0 -1
- package/build/dex/integral/utils-e2e.d.ts +0 -9
- package/build/dex/integral/utils-e2e.js +0 -131
- package/build/dex/integral/utils-e2e.js.map +0 -1
- package/build/dex/integral/utils.d.ts +0 -17
- package/build/dex/integral/utils.js +0 -94
- package/build/dex/integral/utils.js.map +0 -1
- package/build/dex/lido.d.ts +0 -19
- package/build/dex/lido.js +0 -42
- package/build/dex/lido.js.map +0 -1
- package/build/dex/onebit.d.ts +0 -25
- package/build/dex/onebit.js +0 -42
- package/build/dex/onebit.js.map +0 -1
- package/build/dex/smoothy.d.ts +0 -26
- package/build/dex/smoothy.js +0 -48
- package/build/dex/smoothy.js.map +0 -1
- package/build/dex/stable-pool.d.ts +0 -28
- package/build/dex/stable-pool.js +0 -62
- package/build/dex/stable-pool.js.map +0 -1
- package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
- package/build/dex/trader-joe-v2.1/optimizer.js +0 -47
- package/build/dex/trader-joe-v2.1/optimizer.js.map +0 -1
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
- package/build/dex/trader-joe-v2.1.d.ts +0 -43
- package/build/dex/trader-joe-v2.1.js +0 -79
- package/build/dex/trader-joe-v2.1.js.map +0 -1
|
@@ -8,25 +8,43 @@
|
|
|
8
8
|
"anonymous": false,
|
|
9
9
|
"inputs": [
|
|
10
10
|
{
|
|
11
|
-
"indexed":
|
|
11
|
+
"indexed": true,
|
|
12
12
|
"internalType": "address",
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "owner",
|
|
14
14
|
"type": "address"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"indexed": true,
|
|
18
|
+
"internalType": "int24",
|
|
19
|
+
"name": "tickLower",
|
|
20
|
+
"type": "int24"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"indexed": true,
|
|
24
|
+
"internalType": "int24",
|
|
25
|
+
"name": "tickUpper",
|
|
26
|
+
"type": "int24"
|
|
27
|
+
},
|
|
16
28
|
{
|
|
17
29
|
"indexed": false,
|
|
18
|
-
"internalType": "
|
|
19
|
-
"name": "
|
|
20
|
-
"type": "
|
|
30
|
+
"internalType": "uint128",
|
|
31
|
+
"name": "amount",
|
|
32
|
+
"type": "uint128"
|
|
21
33
|
},
|
|
22
34
|
{
|
|
23
35
|
"indexed": false,
|
|
24
36
|
"internalType": "uint256",
|
|
25
|
-
"name": "
|
|
37
|
+
"name": "amount0",
|
|
38
|
+
"type": "uint256"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"indexed": false,
|
|
42
|
+
"internalType": "uint256",
|
|
43
|
+
"name": "amount1",
|
|
26
44
|
"type": "uint256"
|
|
27
45
|
}
|
|
28
46
|
],
|
|
29
|
-
"name": "
|
|
47
|
+
"name": "Burn",
|
|
30
48
|
"type": "event"
|
|
31
49
|
},
|
|
32
50
|
{
|
|
@@ -35,167 +53,134 @@
|
|
|
35
53
|
{
|
|
36
54
|
"indexed": true,
|
|
37
55
|
"internalType": "address",
|
|
38
|
-
"name": "
|
|
39
|
-
"type": "address"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"indexed": false,
|
|
43
|
-
"internalType": "address",
|
|
44
|
-
"name": "tokenIn",
|
|
56
|
+
"name": "owner",
|
|
45
57
|
"type": "address"
|
|
46
58
|
},
|
|
47
59
|
{
|
|
48
60
|
"indexed": false,
|
|
49
61
|
"internalType": "address",
|
|
50
|
-
"name": "
|
|
62
|
+
"name": "recipient",
|
|
51
63
|
"type": "address"
|
|
52
64
|
},
|
|
53
65
|
{
|
|
54
|
-
"indexed":
|
|
55
|
-
"internalType": "
|
|
56
|
-
"name": "
|
|
57
|
-
"type": "
|
|
66
|
+
"indexed": true,
|
|
67
|
+
"internalType": "int24",
|
|
68
|
+
"name": "tickLower",
|
|
69
|
+
"type": "int24"
|
|
58
70
|
},
|
|
59
71
|
{
|
|
60
|
-
"indexed":
|
|
61
|
-
"internalType": "
|
|
62
|
-
"name": "
|
|
63
|
-
"type": "
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "int24",
|
|
74
|
+
"name": "tickUpper",
|
|
75
|
+
"type": "int24"
|
|
64
76
|
},
|
|
65
77
|
{
|
|
66
78
|
"indexed": false,
|
|
67
|
-
"internalType": "
|
|
68
|
-
"name": "
|
|
69
|
-
"type": "
|
|
79
|
+
"internalType": "uint128",
|
|
80
|
+
"name": "amount0",
|
|
81
|
+
"type": "uint128"
|
|
70
82
|
},
|
|
71
83
|
{
|
|
72
84
|
"indexed": false,
|
|
73
|
-
"internalType": "
|
|
74
|
-
"name": "
|
|
75
|
-
"type": "
|
|
76
|
-
}
|
|
85
|
+
"internalType": "uint128",
|
|
86
|
+
"name": "amount1",
|
|
87
|
+
"type": "uint128"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "Collect",
|
|
91
|
+
"type": "event"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"anonymous": false,
|
|
95
|
+
"inputs": [
|
|
77
96
|
{
|
|
78
|
-
"indexed":
|
|
79
|
-
"internalType": "
|
|
80
|
-
"name": "
|
|
81
|
-
"type": "
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "sender",
|
|
100
|
+
"type": "address"
|
|
82
101
|
},
|
|
83
102
|
{
|
|
84
103
|
"indexed": true,
|
|
85
104
|
"internalType": "address",
|
|
86
|
-
"name": "
|
|
105
|
+
"name": "recipient",
|
|
87
106
|
"type": "address"
|
|
88
107
|
},
|
|
89
108
|
{
|
|
90
109
|
"indexed": false,
|
|
91
|
-
"internalType": "
|
|
92
|
-
"name": "
|
|
93
|
-
"type": "
|
|
110
|
+
"internalType": "uint128",
|
|
111
|
+
"name": "amount0",
|
|
112
|
+
"type": "uint128"
|
|
94
113
|
},
|
|
95
114
|
{
|
|
96
|
-
"indexed":
|
|
97
|
-
"internalType": "
|
|
98
|
-
"name": "
|
|
99
|
-
"type": "
|
|
115
|
+
"indexed": false,
|
|
116
|
+
"internalType": "uint128",
|
|
117
|
+
"name": "amount1",
|
|
118
|
+
"type": "uint128"
|
|
100
119
|
}
|
|
101
120
|
],
|
|
102
|
-
"name": "
|
|
121
|
+
"name": "CollectProtocol",
|
|
103
122
|
"type": "event"
|
|
104
123
|
},
|
|
105
124
|
{
|
|
106
125
|
"anonymous": false,
|
|
107
126
|
"inputs": [
|
|
108
127
|
{
|
|
109
|
-
"indexed":
|
|
128
|
+
"indexed": true,
|
|
110
129
|
"internalType": "address",
|
|
111
|
-
"name": "
|
|
130
|
+
"name": "sender",
|
|
112
131
|
"type": "address"
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"inputs": [
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"indexed": true,
|
|
135
|
+
"internalType": "address",
|
|
136
|
+
"name": "recipient",
|
|
137
|
+
"type": "address"
|
|
138
|
+
},
|
|
121
139
|
{
|
|
122
140
|
"indexed": false,
|
|
123
141
|
"internalType": "uint256",
|
|
124
|
-
"name": "
|
|
142
|
+
"name": "amount0",
|
|
125
143
|
"type": "uint256"
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"name": "EthTransferGasCostSet",
|
|
129
|
-
"type": "event"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"anonymous": false,
|
|
133
|
-
"inputs": [
|
|
144
|
+
},
|
|
134
145
|
{
|
|
135
146
|
"indexed": false,
|
|
136
147
|
"internalType": "uint256",
|
|
137
|
-
"name": "
|
|
148
|
+
"name": "amount1",
|
|
138
149
|
"type": "uint256"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"name": "ExecutionGasLimitSet",
|
|
142
|
-
"type": "event"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"anonymous": false,
|
|
146
|
-
"inputs": [
|
|
147
|
-
{
|
|
148
|
-
"indexed": false,
|
|
149
|
-
"internalType": "address",
|
|
150
|
-
"name": "_factory",
|
|
151
|
-
"type": "address"
|
|
152
150
|
},
|
|
153
151
|
{
|
|
154
152
|
"indexed": false,
|
|
155
|
-
"internalType": "
|
|
156
|
-
"name": "
|
|
157
|
-
"type": "
|
|
153
|
+
"internalType": "uint256",
|
|
154
|
+
"name": "paid0",
|
|
155
|
+
"type": "uint256"
|
|
158
156
|
},
|
|
159
157
|
{
|
|
160
158
|
"indexed": false,
|
|
161
|
-
"internalType": "
|
|
162
|
-
"name": "
|
|
163
|
-
"type": "
|
|
159
|
+
"internalType": "uint256",
|
|
160
|
+
"name": "paid1",
|
|
161
|
+
"type": "uint256"
|
|
164
162
|
}
|
|
165
163
|
],
|
|
166
|
-
"name": "
|
|
164
|
+
"name": "Flash",
|
|
167
165
|
"type": "event"
|
|
168
166
|
},
|
|
169
167
|
{
|
|
170
168
|
"anonymous": false,
|
|
171
169
|
"inputs": [
|
|
172
|
-
{
|
|
173
|
-
"indexed": true,
|
|
174
|
-
"internalType": "address",
|
|
175
|
-
"name": "oneInchRouter",
|
|
176
|
-
"type": "address"
|
|
177
|
-
},
|
|
178
170
|
{
|
|
179
171
|
"indexed": false,
|
|
180
|
-
"internalType": "
|
|
181
|
-
"name": "
|
|
182
|
-
"type": "
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
"name": "OneInchRouterWhitelisted",
|
|
186
|
-
"type": "event"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"anonymous": false,
|
|
190
|
-
"inputs": [
|
|
172
|
+
"internalType": "uint16",
|
|
173
|
+
"name": "observationCardinalityNextOld",
|
|
174
|
+
"type": "uint16"
|
|
175
|
+
},
|
|
191
176
|
{
|
|
192
177
|
"indexed": false,
|
|
193
|
-
"internalType": "
|
|
194
|
-
"name": "
|
|
195
|
-
"type": "
|
|
178
|
+
"internalType": "uint16",
|
|
179
|
+
"name": "observationCardinalityNextNew",
|
|
180
|
+
"type": "uint16"
|
|
196
181
|
}
|
|
197
182
|
],
|
|
198
|
-
"name": "
|
|
183
|
+
"name": "IncreaseObservationCardinalityNext",
|
|
199
184
|
"type": "event"
|
|
200
185
|
},
|
|
201
186
|
{
|
|
@@ -203,93 +188,98 @@
|
|
|
203
188
|
"inputs": [
|
|
204
189
|
{
|
|
205
190
|
"indexed": false,
|
|
206
|
-
"internalType": "
|
|
207
|
-
"name": "
|
|
208
|
-
"type": "
|
|
191
|
+
"internalType": "uint160",
|
|
192
|
+
"name": "sqrtPriceX96",
|
|
193
|
+
"type": "uint160"
|
|
209
194
|
},
|
|
210
195
|
{
|
|
211
196
|
"indexed": false,
|
|
212
|
-
"internalType": "
|
|
213
|
-
"name": "
|
|
214
|
-
"type": "
|
|
197
|
+
"internalType": "int24",
|
|
198
|
+
"name": "tick",
|
|
199
|
+
"type": "int24"
|
|
215
200
|
}
|
|
216
201
|
],
|
|
217
|
-
"name": "
|
|
202
|
+
"name": "Initialize",
|
|
218
203
|
"type": "event"
|
|
219
204
|
},
|
|
220
205
|
{
|
|
221
206
|
"anonymous": false,
|
|
222
207
|
"inputs": [
|
|
223
208
|
{
|
|
224
|
-
"indexed":
|
|
209
|
+
"indexed": false,
|
|
225
210
|
"internalType": "address",
|
|
226
211
|
"name": "sender",
|
|
227
212
|
"type": "address"
|
|
228
213
|
},
|
|
229
214
|
{
|
|
230
|
-
"indexed":
|
|
215
|
+
"indexed": true,
|
|
231
216
|
"internalType": "address",
|
|
232
|
-
"name": "
|
|
217
|
+
"name": "owner",
|
|
233
218
|
"type": "address"
|
|
234
219
|
},
|
|
220
|
+
{
|
|
221
|
+
"indexed": true,
|
|
222
|
+
"internalType": "int24",
|
|
223
|
+
"name": "tickLower",
|
|
224
|
+
"type": "int24"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"indexed": true,
|
|
228
|
+
"internalType": "int24",
|
|
229
|
+
"name": "tickUpper",
|
|
230
|
+
"type": "int24"
|
|
231
|
+
},
|
|
235
232
|
{
|
|
236
233
|
"indexed": false,
|
|
237
|
-
"internalType": "
|
|
238
|
-
"name": "
|
|
239
|
-
"type": "
|
|
234
|
+
"internalType": "uint128",
|
|
235
|
+
"name": "amount",
|
|
236
|
+
"type": "uint128"
|
|
240
237
|
},
|
|
241
238
|
{
|
|
242
239
|
"indexed": false,
|
|
243
240
|
"internalType": "uint256",
|
|
244
|
-
"name": "
|
|
241
|
+
"name": "amount0",
|
|
245
242
|
"type": "uint256"
|
|
246
243
|
},
|
|
247
244
|
{
|
|
248
|
-
"indexed":
|
|
245
|
+
"indexed": false,
|
|
249
246
|
"internalType": "uint256",
|
|
250
|
-
"name": "
|
|
247
|
+
"name": "amount1",
|
|
251
248
|
"type": "uint256"
|
|
252
249
|
}
|
|
253
250
|
],
|
|
254
|
-
"name": "
|
|
251
|
+
"name": "Mint",
|
|
255
252
|
"type": "event"
|
|
256
253
|
},
|
|
257
254
|
{
|
|
258
255
|
"anonymous": false,
|
|
259
256
|
"inputs": [
|
|
260
257
|
{
|
|
261
|
-
"indexed":
|
|
262
|
-
"internalType": "
|
|
263
|
-
"name": "
|
|
264
|
-
"type": "
|
|
258
|
+
"indexed": false,
|
|
259
|
+
"internalType": "uint8",
|
|
260
|
+
"name": "feeProtocol0Old",
|
|
261
|
+
"type": "uint8"
|
|
265
262
|
},
|
|
266
263
|
{
|
|
267
264
|
"indexed": false,
|
|
268
|
-
"internalType": "
|
|
269
|
-
"name": "
|
|
270
|
-
"type": "
|
|
265
|
+
"internalType": "uint8",
|
|
266
|
+
"name": "feeProtocol1Old",
|
|
267
|
+
"type": "uint8"
|
|
271
268
|
},
|
|
272
269
|
{
|
|
273
270
|
"indexed": false,
|
|
274
|
-
"internalType": "
|
|
275
|
-
"name": "
|
|
276
|
-
"type": "
|
|
277
|
-
}
|
|
278
|
-
],
|
|
279
|
-
"name": "RebalanceSellWithOneInch",
|
|
280
|
-
"type": "event"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"anonymous": false,
|
|
284
|
-
"inputs": [
|
|
271
|
+
"internalType": "uint8",
|
|
272
|
+
"name": "feeProtocol0New",
|
|
273
|
+
"type": "uint8"
|
|
274
|
+
},
|
|
285
275
|
{
|
|
286
276
|
"indexed": false,
|
|
287
|
-
"internalType": "
|
|
288
|
-
"name": "
|
|
289
|
-
"type": "
|
|
277
|
+
"internalType": "uint8",
|
|
278
|
+
"name": "feeProtocol1New",
|
|
279
|
+
"type": "uint8"
|
|
290
280
|
}
|
|
291
281
|
],
|
|
292
|
-
"name": "
|
|
282
|
+
"name": "SetFeeProtocol",
|
|
293
283
|
"type": "event"
|
|
294
284
|
},
|
|
295
285
|
{
|
|
@@ -302,390 +292,386 @@
|
|
|
302
292
|
"type": "address"
|
|
303
293
|
},
|
|
304
294
|
{
|
|
305
|
-
"indexed":
|
|
306
|
-
"internalType": "address",
|
|
307
|
-
"name": "tokenIn",
|
|
308
|
-
"type": "address"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"indexed": false,
|
|
295
|
+
"indexed": true,
|
|
312
296
|
"internalType": "address",
|
|
313
|
-
"name": "
|
|
297
|
+
"name": "recipient",
|
|
314
298
|
"type": "address"
|
|
315
299
|
},
|
|
316
300
|
{
|
|
317
301
|
"indexed": false,
|
|
318
|
-
"internalType": "
|
|
319
|
-
"name": "
|
|
320
|
-
"type": "
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"indexed": false,
|
|
324
|
-
"internalType": "uint256",
|
|
325
|
-
"name": "amountOut",
|
|
326
|
-
"type": "uint256"
|
|
302
|
+
"internalType": "int256",
|
|
303
|
+
"name": "amount0",
|
|
304
|
+
"type": "int256"
|
|
327
305
|
},
|
|
328
306
|
{
|
|
329
307
|
"indexed": false,
|
|
330
|
-
"internalType": "
|
|
331
|
-
"name": "
|
|
332
|
-
"type": "
|
|
308
|
+
"internalType": "int256",
|
|
309
|
+
"name": "amount1",
|
|
310
|
+
"type": "int256"
|
|
333
311
|
},
|
|
334
312
|
{
|
|
335
313
|
"indexed": false,
|
|
336
|
-
"internalType": "
|
|
337
|
-
"name": "
|
|
338
|
-
"type": "
|
|
314
|
+
"internalType": "uint160",
|
|
315
|
+
"name": "sqrtPriceX96",
|
|
316
|
+
"type": "uint160"
|
|
339
317
|
},
|
|
340
318
|
{
|
|
341
319
|
"indexed": false,
|
|
342
|
-
"internalType": "
|
|
343
|
-
"name": "
|
|
344
|
-
"type": "
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"indexed": true,
|
|
348
|
-
"internalType": "address",
|
|
349
|
-
"name": "to",
|
|
350
|
-
"type": "address"
|
|
320
|
+
"internalType": "uint128",
|
|
321
|
+
"name": "liquidity",
|
|
322
|
+
"type": "uint128"
|
|
351
323
|
},
|
|
352
324
|
{
|
|
353
325
|
"indexed": false,
|
|
354
|
-
"internalType": "
|
|
355
|
-
"name": "
|
|
356
|
-
"type": "
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"indexed": true,
|
|
360
|
-
"internalType": "uint256",
|
|
361
|
-
"name": "orderId",
|
|
362
|
-
"type": "uint256"
|
|
326
|
+
"internalType": "int24",
|
|
327
|
+
"name": "tick",
|
|
328
|
+
"type": "int24"
|
|
363
329
|
}
|
|
364
330
|
],
|
|
365
|
-
"name": "
|
|
331
|
+
"name": "Swap",
|
|
366
332
|
"type": "event"
|
|
367
333
|
},
|
|
368
334
|
{
|
|
369
|
-
"anonymous": false,
|
|
370
335
|
"inputs": [
|
|
371
336
|
{
|
|
372
|
-
"indexed": false,
|
|
373
|
-
"internalType": "address",
|
|
374
|
-
"name": "pair",
|
|
375
|
-
"type": "address"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"indexed": false,
|
|
379
337
|
"internalType": "uint256",
|
|
380
|
-
"name": "
|
|
338
|
+
"name": "period",
|
|
381
339
|
"type": "uint256"
|
|
382
340
|
}
|
|
383
341
|
],
|
|
384
|
-
"name": "
|
|
385
|
-
"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"anonymous": false,
|
|
389
|
-
"inputs": [
|
|
342
|
+
"name": "boostInfos",
|
|
343
|
+
"outputs": [
|
|
390
344
|
{
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
"type": "address"
|
|
345
|
+
"internalType": "uint128",
|
|
346
|
+
"name": "totalBoostAmount",
|
|
347
|
+
"type": "uint128"
|
|
395
348
|
},
|
|
396
349
|
{
|
|
397
|
-
"
|
|
398
|
-
"
|
|
399
|
-
"
|
|
400
|
-
"type": "uint256"
|
|
350
|
+
"internalType": "int128",
|
|
351
|
+
"name": "totalVeRamAmount",
|
|
352
|
+
"type": "int128"
|
|
401
353
|
}
|
|
402
354
|
],
|
|
403
|
-
"
|
|
404
|
-
"type": "
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function"
|
|
405
357
|
},
|
|
406
358
|
{
|
|
407
|
-
"anonymous": false,
|
|
408
359
|
"inputs": [
|
|
409
360
|
{
|
|
410
|
-
"indexed": false,
|
|
411
|
-
"internalType": "address",
|
|
412
|
-
"name": "token",
|
|
413
|
-
"type": "address"
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"indexed": false,
|
|
417
361
|
"internalType": "uint256",
|
|
418
|
-
"name": "
|
|
362
|
+
"name": "period",
|
|
419
363
|
"type": "uint256"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"internalType": "bytes32",
|
|
367
|
+
"name": "key",
|
|
368
|
+
"type": "bytes32"
|
|
420
369
|
}
|
|
421
370
|
],
|
|
422
|
-
"name": "
|
|
423
|
-
"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"anonymous": false,
|
|
427
|
-
"inputs": [
|
|
371
|
+
"name": "boostInfos",
|
|
372
|
+
"outputs": [
|
|
428
373
|
{
|
|
429
|
-
"
|
|
430
|
-
"
|
|
431
|
-
"
|
|
432
|
-
"type": "address"
|
|
374
|
+
"internalType": "uint128",
|
|
375
|
+
"name": "boostAmount",
|
|
376
|
+
"type": "uint128"
|
|
433
377
|
},
|
|
434
378
|
{
|
|
435
|
-
"
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
|
|
379
|
+
"internalType": "int128",
|
|
380
|
+
"name": "veRamAmount",
|
|
381
|
+
"type": "int128"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"internalType": "int256",
|
|
385
|
+
"name": "secondsDebtX96",
|
|
386
|
+
"type": "int256"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"internalType": "int256",
|
|
390
|
+
"name": "boostedSecondsDebtX96",
|
|
391
|
+
"type": "int256"
|
|
439
392
|
}
|
|
440
393
|
],
|
|
441
|
-
"
|
|
442
|
-
"type": "
|
|
394
|
+
"stateMutability": "view",
|
|
395
|
+
"type": "function"
|
|
443
396
|
},
|
|
444
397
|
{
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
|
|
448
|
-
"indexed": false,
|
|
449
|
-
"internalType": "address",
|
|
450
|
-
"name": "pair",
|
|
451
|
-
"type": "address"
|
|
452
|
-
},
|
|
398
|
+
"inputs": [],
|
|
399
|
+
"name": "boostedLiquidity",
|
|
400
|
+
"outputs": [
|
|
453
401
|
{
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"type": "uint32"
|
|
402
|
+
"internalType": "uint128",
|
|
403
|
+
"name": "",
|
|
404
|
+
"type": "uint128"
|
|
458
405
|
}
|
|
459
406
|
],
|
|
460
|
-
"
|
|
461
|
-
"type": "
|
|
407
|
+
"stateMutability": "view",
|
|
408
|
+
"type": "function"
|
|
462
409
|
},
|
|
463
410
|
{
|
|
464
|
-
"anonymous": false,
|
|
465
411
|
"inputs": [
|
|
466
412
|
{
|
|
467
|
-
"indexed": false,
|
|
468
413
|
"internalType": "uint256",
|
|
469
|
-
"name": "
|
|
414
|
+
"name": "index",
|
|
470
415
|
"type": "uint256"
|
|
471
|
-
}
|
|
472
|
-
],
|
|
473
|
-
"name": "UnwrapWeth",
|
|
474
|
-
"type": "event"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"anonymous": false,
|
|
478
|
-
"inputs": [
|
|
416
|
+
},
|
|
479
417
|
{
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
"
|
|
483
|
-
"type": "address"
|
|
418
|
+
"internalType": "int24",
|
|
419
|
+
"name": "tickLower",
|
|
420
|
+
"type": "int24"
|
|
484
421
|
},
|
|
485
422
|
{
|
|
486
|
-
"
|
|
487
|
-
"
|
|
488
|
-
"
|
|
489
|
-
"type": "address"
|
|
423
|
+
"internalType": "int24",
|
|
424
|
+
"name": "tickUpper",
|
|
425
|
+
"type": "int24"
|
|
490
426
|
},
|
|
491
427
|
{
|
|
492
|
-
"
|
|
493
|
-
"internalType": "uint256",
|
|
428
|
+
"internalType": "uint128",
|
|
494
429
|
"name": "amount",
|
|
495
|
-
"type": "
|
|
430
|
+
"type": "uint128"
|
|
496
431
|
}
|
|
497
432
|
],
|
|
498
|
-
"name": "
|
|
499
|
-
"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"anonymous": false,
|
|
503
|
-
"inputs": [
|
|
433
|
+
"name": "burn",
|
|
434
|
+
"outputs": [
|
|
504
435
|
{
|
|
505
|
-
"indexed": false,
|
|
506
436
|
"internalType": "uint256",
|
|
507
|
-
"name": "
|
|
437
|
+
"name": "amount0",
|
|
508
438
|
"type": "uint256"
|
|
509
|
-
}
|
|
510
|
-
],
|
|
511
|
-
"name": "WrapEth",
|
|
512
|
-
"type": "event"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"inputs": [],
|
|
516
|
-
"name": "DELAY_ADDRESS",
|
|
517
|
-
"outputs": [
|
|
518
|
-
{
|
|
519
|
-
"internalType": "address",
|
|
520
|
-
"name": "",
|
|
521
|
-
"type": "address"
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
"stateMutability": "view",
|
|
525
|
-
"type": "function"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"inputs": [],
|
|
529
|
-
"name": "EXECUTION_GAS_LIMIT",
|
|
530
|
-
"outputs": [
|
|
439
|
+
},
|
|
531
440
|
{
|
|
532
441
|
"internalType": "uint256",
|
|
533
|
-
"name": "",
|
|
442
|
+
"name": "amount1",
|
|
534
443
|
"type": "uint256"
|
|
535
444
|
}
|
|
536
445
|
],
|
|
537
|
-
"stateMutability": "
|
|
446
|
+
"stateMutability": "nonpayable",
|
|
538
447
|
"type": "function"
|
|
539
448
|
},
|
|
540
449
|
{
|
|
541
|
-
"inputs": [
|
|
542
|
-
"name": "FACTORY_ADDRESS",
|
|
543
|
-
"outputs": [
|
|
450
|
+
"inputs": [
|
|
544
451
|
{
|
|
545
|
-
"internalType": "
|
|
546
|
-
"name": "",
|
|
547
|
-
"type": "
|
|
548
|
-
}
|
|
549
|
-
],
|
|
550
|
-
"stateMutability": "view",
|
|
551
|
-
"type": "function"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"inputs": [],
|
|
555
|
-
"name": "WETH_ADDRESS",
|
|
556
|
-
"outputs": [
|
|
452
|
+
"internalType": "int24",
|
|
453
|
+
"name": "tickLower",
|
|
454
|
+
"type": "int24"
|
|
455
|
+
},
|
|
557
456
|
{
|
|
558
|
-
"internalType": "
|
|
559
|
-
"name": "",
|
|
560
|
-
"type": "
|
|
561
|
-
}
|
|
562
|
-
],
|
|
563
|
-
"stateMutability": "view",
|
|
564
|
-
"type": "function"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"inputs": [],
|
|
568
|
-
"name": "__RESERVED__OLD_DELAY",
|
|
569
|
-
"outputs": [
|
|
457
|
+
"internalType": "int24",
|
|
458
|
+
"name": "tickUpper",
|
|
459
|
+
"type": "int24"
|
|
460
|
+
},
|
|
570
461
|
{
|
|
571
|
-
"internalType": "
|
|
572
|
-
"name": "",
|
|
573
|
-
"type": "
|
|
462
|
+
"internalType": "uint128",
|
|
463
|
+
"name": "amount",
|
|
464
|
+
"type": "uint128"
|
|
574
465
|
}
|
|
575
466
|
],
|
|
576
|
-
"
|
|
577
|
-
"type": "function"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"inputs": [],
|
|
581
|
-
"name": "__RESERVED__OLD_ETH_TRANSFER_GAS_COST",
|
|
467
|
+
"name": "burn",
|
|
582
468
|
"outputs": [
|
|
583
469
|
{
|
|
584
470
|
"internalType": "uint256",
|
|
585
|
-
"name": "",
|
|
471
|
+
"name": "amount0",
|
|
472
|
+
"type": "uint256"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"internalType": "uint256",
|
|
476
|
+
"name": "amount1",
|
|
586
477
|
"type": "uint256"
|
|
587
478
|
}
|
|
588
479
|
],
|
|
589
|
-
"stateMutability": "
|
|
480
|
+
"stateMutability": "nonpayable",
|
|
590
481
|
"type": "function"
|
|
591
482
|
},
|
|
592
483
|
{
|
|
593
|
-
"inputs": [
|
|
594
|
-
"name": "__RESERVED__OLD_EXECUTION_GAS_LIMIT",
|
|
595
|
-
"outputs": [
|
|
484
|
+
"inputs": [
|
|
596
485
|
{
|
|
597
486
|
"internalType": "uint256",
|
|
598
|
-
"name": "",
|
|
487
|
+
"name": "index",
|
|
488
|
+
"type": "uint256"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"internalType": "int24",
|
|
492
|
+
"name": "tickLower",
|
|
493
|
+
"type": "int24"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"internalType": "int24",
|
|
497
|
+
"name": "tickUpper",
|
|
498
|
+
"type": "int24"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"internalType": "uint128",
|
|
502
|
+
"name": "amount",
|
|
503
|
+
"type": "uint128"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"internalType": "uint256",
|
|
507
|
+
"name": "veRamTokenId",
|
|
599
508
|
"type": "uint256"
|
|
600
509
|
}
|
|
601
510
|
],
|
|
602
|
-
"
|
|
603
|
-
"type": "function"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"inputs": [],
|
|
607
|
-
"name": "__RESERVED__OLD_FACTORY",
|
|
511
|
+
"name": "burn",
|
|
608
512
|
"outputs": [
|
|
609
513
|
{
|
|
610
|
-
"internalType": "
|
|
611
|
-
"name": "",
|
|
612
|
-
"type": "
|
|
514
|
+
"internalType": "uint256",
|
|
515
|
+
"name": "amount0",
|
|
516
|
+
"type": "uint256"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"internalType": "uint256",
|
|
520
|
+
"name": "amount1",
|
|
521
|
+
"type": "uint256"
|
|
613
522
|
}
|
|
614
523
|
],
|
|
615
|
-
"stateMutability": "
|
|
524
|
+
"stateMutability": "nonpayable",
|
|
616
525
|
"type": "function"
|
|
617
526
|
},
|
|
618
527
|
{
|
|
619
528
|
"inputs": [
|
|
620
529
|
{
|
|
621
530
|
"internalType": "address",
|
|
622
|
-
"name": "",
|
|
531
|
+
"name": "recipient",
|
|
623
532
|
"type": "address"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"internalType": "int24",
|
|
536
|
+
"name": "tickLower",
|
|
537
|
+
"type": "int24"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"internalType": "int24",
|
|
541
|
+
"name": "tickUpper",
|
|
542
|
+
"type": "int24"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"internalType": "uint128",
|
|
546
|
+
"name": "amount0Requested",
|
|
547
|
+
"type": "uint128"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"internalType": "uint128",
|
|
551
|
+
"name": "amount1Requested",
|
|
552
|
+
"type": "uint128"
|
|
624
553
|
}
|
|
625
554
|
],
|
|
626
|
-
"name": "
|
|
555
|
+
"name": "collect",
|
|
627
556
|
"outputs": [
|
|
628
557
|
{
|
|
629
|
-
"internalType": "
|
|
630
|
-
"name": "",
|
|
631
|
-
"type": "
|
|
558
|
+
"internalType": "uint128",
|
|
559
|
+
"name": "amount0",
|
|
560
|
+
"type": "uint128"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"internalType": "uint128",
|
|
564
|
+
"name": "amount1",
|
|
565
|
+
"type": "uint128"
|
|
632
566
|
}
|
|
633
567
|
],
|
|
634
|
-
"stateMutability": "
|
|
568
|
+
"stateMutability": "nonpayable",
|
|
635
569
|
"type": "function"
|
|
636
570
|
},
|
|
637
571
|
{
|
|
638
572
|
"inputs": [
|
|
639
573
|
{
|
|
640
574
|
"internalType": "address",
|
|
641
|
-
"name": "",
|
|
575
|
+
"name": "recipient",
|
|
642
576
|
"type": "address"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"internalType": "uint256",
|
|
580
|
+
"name": "index",
|
|
581
|
+
"type": "uint256"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"internalType": "int24",
|
|
585
|
+
"name": "tickLower",
|
|
586
|
+
"type": "int24"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"internalType": "int24",
|
|
590
|
+
"name": "tickUpper",
|
|
591
|
+
"type": "int24"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"internalType": "uint128",
|
|
595
|
+
"name": "amount0Requested",
|
|
596
|
+
"type": "uint128"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"internalType": "uint128",
|
|
600
|
+
"name": "amount1Requested",
|
|
601
|
+
"type": "uint128"
|
|
643
602
|
}
|
|
644
603
|
],
|
|
645
|
-
"name": "
|
|
604
|
+
"name": "collect",
|
|
646
605
|
"outputs": [
|
|
647
606
|
{
|
|
648
|
-
"internalType": "
|
|
649
|
-
"name": "",
|
|
650
|
-
"type": "
|
|
607
|
+
"internalType": "uint128",
|
|
608
|
+
"name": "amount0",
|
|
609
|
+
"type": "uint128"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"internalType": "uint128",
|
|
613
|
+
"name": "amount1",
|
|
614
|
+
"type": "uint128"
|
|
651
615
|
}
|
|
652
616
|
],
|
|
653
|
-
"stateMutability": "
|
|
617
|
+
"stateMutability": "nonpayable",
|
|
654
618
|
"type": "function"
|
|
655
619
|
},
|
|
656
620
|
{
|
|
657
621
|
"inputs": [
|
|
658
622
|
{
|
|
659
623
|
"internalType": "address",
|
|
660
|
-
"name": "",
|
|
624
|
+
"name": "recipient",
|
|
661
625
|
"type": "address"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"internalType": "uint128",
|
|
629
|
+
"name": "amount0Requested",
|
|
630
|
+
"type": "uint128"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"internalType": "uint128",
|
|
634
|
+
"name": "amount1Requested",
|
|
635
|
+
"type": "uint128"
|
|
662
636
|
}
|
|
663
637
|
],
|
|
664
|
-
"name": "
|
|
638
|
+
"name": "collectProtocol",
|
|
665
639
|
"outputs": [
|
|
666
640
|
{
|
|
667
|
-
"internalType": "
|
|
668
|
-
"name": "",
|
|
669
|
-
"type": "
|
|
641
|
+
"internalType": "uint128",
|
|
642
|
+
"name": "amount0",
|
|
643
|
+
"type": "uint128"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"internalType": "uint128",
|
|
647
|
+
"name": "amount1",
|
|
648
|
+
"type": "uint128"
|
|
670
649
|
}
|
|
671
650
|
],
|
|
672
|
-
"stateMutability": "
|
|
651
|
+
"stateMutability": "nonpayable",
|
|
673
652
|
"type": "function"
|
|
674
653
|
},
|
|
675
654
|
{
|
|
676
|
-
"inputs": [
|
|
655
|
+
"inputs": [],
|
|
656
|
+
"name": "factory",
|
|
657
|
+
"outputs": [
|
|
677
658
|
{
|
|
678
659
|
"internalType": "address",
|
|
679
660
|
"name": "",
|
|
680
661
|
"type": "address"
|
|
681
662
|
}
|
|
682
663
|
],
|
|
683
|
-
"
|
|
664
|
+
"stateMutability": "view",
|
|
665
|
+
"type": "function"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"inputs": [],
|
|
669
|
+
"name": "fee",
|
|
684
670
|
"outputs": [
|
|
685
671
|
{
|
|
686
|
-
"internalType": "
|
|
672
|
+
"internalType": "uint24",
|
|
687
673
|
"name": "",
|
|
688
|
-
"type": "
|
|
674
|
+
"type": "uint24"
|
|
689
675
|
}
|
|
690
676
|
],
|
|
691
677
|
"stateMutability": "view",
|
|
@@ -693,12 +679,12 @@
|
|
|
693
679
|
},
|
|
694
680
|
{
|
|
695
681
|
"inputs": [],
|
|
696
|
-
"name": "
|
|
682
|
+
"name": "feeGrowthGlobal0X128",
|
|
697
683
|
"outputs": [
|
|
698
684
|
{
|
|
699
|
-
"internalType": "
|
|
685
|
+
"internalType": "uint256",
|
|
700
686
|
"name": "",
|
|
701
|
-
"type": "
|
|
687
|
+
"type": "uint256"
|
|
702
688
|
}
|
|
703
689
|
],
|
|
704
690
|
"stateMutability": "view",
|
|
@@ -706,7 +692,7 @@
|
|
|
706
692
|
},
|
|
707
693
|
{
|
|
708
694
|
"inputs": [],
|
|
709
|
-
"name": "
|
|
695
|
+
"name": "feeGrowthGlobal1X128",
|
|
710
696
|
"outputs": [
|
|
711
697
|
{
|
|
712
698
|
"internalType": "uint256",
|
|
@@ -721,21 +707,26 @@
|
|
|
721
707
|
"inputs": [
|
|
722
708
|
{
|
|
723
709
|
"internalType": "address",
|
|
724
|
-
"name": "
|
|
710
|
+
"name": "recipient",
|
|
725
711
|
"type": "address"
|
|
726
712
|
},
|
|
727
713
|
{
|
|
728
714
|
"internalType": "uint256",
|
|
729
|
-
"name": "
|
|
715
|
+
"name": "amount0",
|
|
730
716
|
"type": "uint256"
|
|
731
717
|
},
|
|
732
718
|
{
|
|
733
|
-
"internalType": "
|
|
734
|
-
"name": "
|
|
735
|
-
"type": "
|
|
719
|
+
"internalType": "uint256",
|
|
720
|
+
"name": "amount1",
|
|
721
|
+
"type": "uint256"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"internalType": "bytes",
|
|
725
|
+
"name": "data",
|
|
726
|
+
"type": "bytes"
|
|
736
727
|
}
|
|
737
728
|
],
|
|
738
|
-
"name": "
|
|
729
|
+
"name": "flash",
|
|
739
730
|
"outputs": [],
|
|
740
731
|
"stateMutability": "nonpayable",
|
|
741
732
|
"type": "function"
|
|
@@ -743,75 +734,80 @@
|
|
|
743
734
|
{
|
|
744
735
|
"inputs": [
|
|
745
736
|
{
|
|
746
|
-
"
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
"name": "tokenIn",
|
|
750
|
-
"type": "address"
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"internalType": "address",
|
|
754
|
-
"name": "tokenOut",
|
|
755
|
-
"type": "address"
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"internalType": "uint256",
|
|
759
|
-
"name": "amountInMax",
|
|
760
|
-
"type": "uint256"
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"internalType": "uint256",
|
|
764
|
-
"name": "amountOut",
|
|
765
|
-
"type": "uint256"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"internalType": "bool",
|
|
769
|
-
"name": "wrapUnwrap",
|
|
770
|
-
"type": "bool"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"internalType": "address",
|
|
774
|
-
"name": "to",
|
|
775
|
-
"type": "address"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
"internalType": "uint32",
|
|
779
|
-
"name": "submitDeadline",
|
|
780
|
-
"type": "uint32"
|
|
781
|
-
}
|
|
782
|
-
],
|
|
783
|
-
"internalType": "struct ITwapRelayer.BuyParams",
|
|
784
|
-
"name": "buyParams",
|
|
785
|
-
"type": "tuple"
|
|
786
|
-
}
|
|
787
|
-
],
|
|
788
|
-
"name": "buy",
|
|
789
|
-
"outputs": [
|
|
790
|
-
{
|
|
791
|
-
"internalType": "uint256",
|
|
792
|
-
"name": "orderId",
|
|
793
|
-
"type": "uint256"
|
|
737
|
+
"internalType": "uint16",
|
|
738
|
+
"name": "observationCardinalityNext",
|
|
739
|
+
"type": "uint16"
|
|
794
740
|
}
|
|
795
741
|
],
|
|
796
|
-
"
|
|
742
|
+
"name": "increaseObservationCardinalityNext",
|
|
743
|
+
"outputs": [],
|
|
744
|
+
"stateMutability": "nonpayable",
|
|
797
745
|
"type": "function"
|
|
798
746
|
},
|
|
799
747
|
{
|
|
800
|
-
"inputs": [
|
|
801
|
-
"name": "delay",
|
|
802
|
-
"outputs": [
|
|
748
|
+
"inputs": [
|
|
803
749
|
{
|
|
804
750
|
"internalType": "address",
|
|
805
|
-
"name": "",
|
|
751
|
+
"name": "_factory",
|
|
806
752
|
"type": "address"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"internalType": "address",
|
|
756
|
+
"name": "_nfpManager",
|
|
757
|
+
"type": "address"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"internalType": "address",
|
|
761
|
+
"name": "_veRam",
|
|
762
|
+
"type": "address"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"internalType": "address",
|
|
766
|
+
"name": "_voter",
|
|
767
|
+
"type": "address"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"internalType": "address",
|
|
771
|
+
"name": "_token0",
|
|
772
|
+
"type": "address"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"internalType": "address",
|
|
776
|
+
"name": "_token1",
|
|
777
|
+
"type": "address"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"internalType": "uint24",
|
|
781
|
+
"name": "_fee",
|
|
782
|
+
"type": "uint24"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"internalType": "int24",
|
|
786
|
+
"name": "_tickSpacing",
|
|
787
|
+
"type": "int24"
|
|
788
|
+
}
|
|
789
|
+
],
|
|
790
|
+
"name": "initialize",
|
|
791
|
+
"outputs": [],
|
|
792
|
+
"stateMutability": "nonpayable",
|
|
793
|
+
"type": "function"
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"inputs": [
|
|
797
|
+
{
|
|
798
|
+
"internalType": "uint160",
|
|
799
|
+
"name": "sqrtPriceX96",
|
|
800
|
+
"type": "uint160"
|
|
807
801
|
}
|
|
808
802
|
],
|
|
809
|
-
"
|
|
803
|
+
"name": "initialize",
|
|
804
|
+
"outputs": [],
|
|
805
|
+
"stateMutability": "nonpayable",
|
|
810
806
|
"type": "function"
|
|
811
807
|
},
|
|
812
808
|
{
|
|
813
809
|
"inputs": [],
|
|
814
|
-
"name": "
|
|
810
|
+
"name": "lastPeriod",
|
|
815
811
|
"outputs": [
|
|
816
812
|
{
|
|
817
813
|
"internalType": "uint256",
|
|
@@ -819,240 +815,180 @@
|
|
|
819
815
|
"type": "uint256"
|
|
820
816
|
}
|
|
821
817
|
],
|
|
822
|
-
"stateMutability": "
|
|
818
|
+
"stateMutability": "view",
|
|
823
819
|
"type": "function"
|
|
824
820
|
},
|
|
825
821
|
{
|
|
826
822
|
"inputs": [],
|
|
827
|
-
"name": "
|
|
823
|
+
"name": "liquidity",
|
|
828
824
|
"outputs": [
|
|
829
825
|
{
|
|
830
|
-
"internalType": "
|
|
826
|
+
"internalType": "uint128",
|
|
831
827
|
"name": "",
|
|
832
|
-
"type": "
|
|
828
|
+
"type": "uint128"
|
|
833
829
|
}
|
|
834
830
|
],
|
|
835
|
-
"stateMutability": "
|
|
831
|
+
"stateMutability": "view",
|
|
836
832
|
"type": "function"
|
|
837
833
|
},
|
|
838
834
|
{
|
|
839
835
|
"inputs": [],
|
|
840
|
-
"name": "
|
|
836
|
+
"name": "maxLiquidityPerTick",
|
|
841
837
|
"outputs": [
|
|
842
838
|
{
|
|
843
|
-
"internalType": "
|
|
839
|
+
"internalType": "uint128",
|
|
844
840
|
"name": "",
|
|
845
|
-
"type": "
|
|
841
|
+
"type": "uint128"
|
|
846
842
|
}
|
|
847
843
|
],
|
|
848
|
-
"stateMutability": "
|
|
844
|
+
"stateMutability": "view",
|
|
849
845
|
"type": "function"
|
|
850
846
|
},
|
|
851
847
|
{
|
|
852
848
|
"inputs": [
|
|
853
849
|
{
|
|
854
850
|
"internalType": "address",
|
|
855
|
-
"name": "
|
|
851
|
+
"name": "recipient",
|
|
856
852
|
"type": "address"
|
|
857
853
|
},
|
|
858
854
|
{
|
|
859
|
-
"internalType": "
|
|
860
|
-
"name": "
|
|
861
|
-
"type": "
|
|
862
|
-
}
|
|
863
|
-
],
|
|
864
|
-
"name": "getPoolState",
|
|
865
|
-
"outputs": [
|
|
866
|
-
{
|
|
867
|
-
"internalType": "uint256",
|
|
868
|
-
"name": "price",
|
|
869
|
-
"type": "uint256"
|
|
855
|
+
"internalType": "int24",
|
|
856
|
+
"name": "tickLower",
|
|
857
|
+
"type": "int24"
|
|
870
858
|
},
|
|
871
859
|
{
|
|
872
|
-
"internalType": "
|
|
873
|
-
"name": "
|
|
874
|
-
"type": "
|
|
860
|
+
"internalType": "int24",
|
|
861
|
+
"name": "tickUpper",
|
|
862
|
+
"type": "int24"
|
|
875
863
|
},
|
|
876
864
|
{
|
|
877
|
-
"internalType": "
|
|
878
|
-
"name": "
|
|
879
|
-
"type": "
|
|
865
|
+
"internalType": "uint128",
|
|
866
|
+
"name": "amount",
|
|
867
|
+
"type": "uint128"
|
|
880
868
|
},
|
|
881
869
|
{
|
|
882
|
-
"internalType": "
|
|
883
|
-
"name": "
|
|
884
|
-
"type": "
|
|
885
|
-
}
|
|
870
|
+
"internalType": "bytes",
|
|
871
|
+
"name": "data",
|
|
872
|
+
"type": "bytes"
|
|
873
|
+
}
|
|
874
|
+
],
|
|
875
|
+
"name": "mint",
|
|
876
|
+
"outputs": [
|
|
886
877
|
{
|
|
887
878
|
"internalType": "uint256",
|
|
888
|
-
"name": "
|
|
879
|
+
"name": "amount0",
|
|
889
880
|
"type": "uint256"
|
|
890
881
|
},
|
|
891
882
|
{
|
|
892
883
|
"internalType": "uint256",
|
|
893
|
-
"name": "
|
|
884
|
+
"name": "amount1",
|
|
894
885
|
"type": "uint256"
|
|
895
886
|
}
|
|
896
887
|
],
|
|
897
|
-
"stateMutability": "
|
|
888
|
+
"stateMutability": "nonpayable",
|
|
898
889
|
"type": "function"
|
|
899
890
|
},
|
|
900
891
|
{
|
|
901
892
|
"inputs": [
|
|
902
893
|
{
|
|
903
894
|
"internalType": "address",
|
|
904
|
-
"name": "
|
|
895
|
+
"name": "recipient",
|
|
905
896
|
"type": "address"
|
|
906
897
|
},
|
|
907
898
|
{
|
|
908
|
-
"internalType": "
|
|
909
|
-
"name": "
|
|
910
|
-
"type": "
|
|
911
|
-
}
|
|
912
|
-
],
|
|
913
|
-
"name": "getPriceByPairAddress",
|
|
914
|
-
"outputs": [
|
|
915
|
-
{
|
|
916
|
-
"internalType": "uint8",
|
|
917
|
-
"name": "xDecimals",
|
|
918
|
-
"type": "uint8"
|
|
899
|
+
"internalType": "uint256",
|
|
900
|
+
"name": "index",
|
|
901
|
+
"type": "uint256"
|
|
919
902
|
},
|
|
920
903
|
{
|
|
921
|
-
"internalType": "
|
|
922
|
-
"name": "
|
|
923
|
-
"type": "
|
|
904
|
+
"internalType": "int24",
|
|
905
|
+
"name": "tickLower",
|
|
906
|
+
"type": "int24"
|
|
924
907
|
},
|
|
925
908
|
{
|
|
926
|
-
"internalType": "
|
|
927
|
-
"name": "
|
|
928
|
-
"type": "
|
|
929
|
-
}
|
|
930
|
-
],
|
|
931
|
-
"stateMutability": "view",
|
|
932
|
-
"type": "function"
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"inputs": [
|
|
936
|
-
{
|
|
937
|
-
"internalType": "address",
|
|
938
|
-
"name": "tokenIn",
|
|
939
|
-
"type": "address"
|
|
909
|
+
"internalType": "int24",
|
|
910
|
+
"name": "tickUpper",
|
|
911
|
+
"type": "int24"
|
|
940
912
|
},
|
|
941
913
|
{
|
|
942
|
-
"internalType": "
|
|
943
|
-
"name": "
|
|
944
|
-
"type": "
|
|
945
|
-
}
|
|
946
|
-
],
|
|
947
|
-
"name": "getPriceByTokenAddresses",
|
|
948
|
-
"outputs": [
|
|
914
|
+
"internalType": "uint128",
|
|
915
|
+
"name": "amount",
|
|
916
|
+
"type": "uint128"
|
|
917
|
+
},
|
|
949
918
|
{
|
|
950
919
|
"internalType": "uint256",
|
|
951
|
-
"name": "
|
|
920
|
+
"name": "veRamTokenId",
|
|
952
921
|
"type": "uint256"
|
|
953
|
-
}
|
|
954
|
-
],
|
|
955
|
-
"stateMutability": "view",
|
|
956
|
-
"type": "function"
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
"inputs": [
|
|
922
|
+
},
|
|
960
923
|
{
|
|
961
|
-
"internalType": "
|
|
962
|
-
"name": "",
|
|
963
|
-
"type": "
|
|
924
|
+
"internalType": "bytes",
|
|
925
|
+
"name": "data",
|
|
926
|
+
"type": "bytes"
|
|
964
927
|
}
|
|
965
928
|
],
|
|
966
|
-
"name": "
|
|
929
|
+
"name": "mint",
|
|
967
930
|
"outputs": [
|
|
968
931
|
{
|
|
969
932
|
"internalType": "uint256",
|
|
970
|
-
"name": "",
|
|
933
|
+
"name": "amount0",
|
|
971
934
|
"type": "uint256"
|
|
972
|
-
}
|
|
973
|
-
],
|
|
974
|
-
"stateMutability": "pure",
|
|
975
|
-
"type": "function"
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"inputs": [
|
|
979
|
-
{
|
|
980
|
-
"internalType": "address",
|
|
981
|
-
"name": "token",
|
|
982
|
-
"type": "address"
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"name": "getTokenLimitMin",
|
|
986
|
-
"outputs": [
|
|
935
|
+
},
|
|
987
936
|
{
|
|
988
937
|
"internalType": "uint256",
|
|
989
|
-
"name": "",
|
|
938
|
+
"name": "amount1",
|
|
990
939
|
"type": "uint256"
|
|
991
940
|
}
|
|
992
941
|
],
|
|
993
|
-
"stateMutability": "
|
|
942
|
+
"stateMutability": "nonpayable",
|
|
994
943
|
"type": "function"
|
|
995
944
|
},
|
|
996
945
|
{
|
|
997
|
-
"inputs": [
|
|
946
|
+
"inputs": [],
|
|
947
|
+
"name": "nfpManager",
|
|
948
|
+
"outputs": [
|
|
998
949
|
{
|
|
999
950
|
"internalType": "address",
|
|
1000
951
|
"name": "",
|
|
1001
952
|
"type": "address"
|
|
1002
953
|
}
|
|
1003
954
|
],
|
|
1004
|
-
"
|
|
1005
|
-
"outputs": [
|
|
1006
|
-
{
|
|
1007
|
-
"internalType": "uint16",
|
|
1008
|
-
"name": "",
|
|
1009
|
-
"type": "uint16"
|
|
1010
|
-
}
|
|
1011
|
-
],
|
|
1012
|
-
"stateMutability": "pure",
|
|
955
|
+
"stateMutability": "view",
|
|
1013
956
|
"type": "function"
|
|
1014
957
|
},
|
|
1015
958
|
{
|
|
1016
959
|
"inputs": [
|
|
1017
960
|
{
|
|
1018
|
-
"internalType": "
|
|
1019
|
-
"name": "",
|
|
1020
|
-
"type": "
|
|
961
|
+
"internalType": "uint256",
|
|
962
|
+
"name": "index",
|
|
963
|
+
"type": "uint256"
|
|
1021
964
|
}
|
|
1022
965
|
],
|
|
1023
|
-
"name": "
|
|
966
|
+
"name": "observations",
|
|
1024
967
|
"outputs": [
|
|
1025
968
|
{
|
|
1026
969
|
"internalType": "uint32",
|
|
1027
|
-
"name": "",
|
|
970
|
+
"name": "blockTimestamp",
|
|
1028
971
|
"type": "uint32"
|
|
1029
|
-
}
|
|
1030
|
-
],
|
|
1031
|
-
"stateMutability": "pure",
|
|
1032
|
-
"type": "function"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"inputs": [],
|
|
1036
|
-
"name": "initialize",
|
|
1037
|
-
"outputs": [],
|
|
1038
|
-
"stateMutability": "nonpayable",
|
|
1039
|
-
"type": "function"
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"inputs": [],
|
|
1043
|
-
"name": "initializeLock",
|
|
1044
|
-
"outputs": [],
|
|
1045
|
-
"stateMutability": "nonpayable",
|
|
1046
|
-
"type": "function"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"inputs": [],
|
|
1050
|
-
"name": "initialized",
|
|
1051
|
-
"outputs": [
|
|
972
|
+
},
|
|
1052
973
|
{
|
|
1053
|
-
"internalType": "
|
|
1054
|
-
"name": "",
|
|
1055
|
-
"type": "
|
|
974
|
+
"internalType": "int56",
|
|
975
|
+
"name": "tickCumulative",
|
|
976
|
+
"type": "int56"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"internalType": "uint160",
|
|
980
|
+
"name": "secondsPerLiquidityCumulativeX128",
|
|
981
|
+
"type": "uint160"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"internalType": "bool",
|
|
985
|
+
"name": "initialized",
|
|
986
|
+
"type": "bool"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"internalType": "uint160",
|
|
990
|
+
"name": "secondsPerBoostedLiquidityPeriodX128",
|
|
991
|
+
"type": "uint160"
|
|
1056
992
|
}
|
|
1057
993
|
],
|
|
1058
994
|
"stateMutability": "view",
|
|
@@ -1061,17 +997,27 @@
|
|
|
1061
997
|
{
|
|
1062
998
|
"inputs": [
|
|
1063
999
|
{
|
|
1064
|
-
"internalType": "
|
|
1065
|
-
"name": "",
|
|
1066
|
-
"type": "
|
|
1000
|
+
"internalType": "uint32[]",
|
|
1001
|
+
"name": "secondsAgos",
|
|
1002
|
+
"type": "uint32[]"
|
|
1067
1003
|
}
|
|
1068
1004
|
],
|
|
1069
|
-
"name": "
|
|
1005
|
+
"name": "observe",
|
|
1070
1006
|
"outputs": [
|
|
1071
1007
|
{
|
|
1072
|
-
"internalType": "
|
|
1073
|
-
"name": "",
|
|
1074
|
-
"type": "
|
|
1008
|
+
"internalType": "int56[]",
|
|
1009
|
+
"name": "tickCumulatives",
|
|
1010
|
+
"type": "int56[]"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"internalType": "uint160[]",
|
|
1014
|
+
"name": "secondsPerLiquidityCumulativeX128s",
|
|
1015
|
+
"type": "uint160[]"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"internalType": "uint160[]",
|
|
1019
|
+
"name": "secondsPerBoostedLiquidityPeriodX128s",
|
|
1020
|
+
"type": "uint160[]"
|
|
1075
1021
|
}
|
|
1076
1022
|
],
|
|
1077
1023
|
"stateMutability": "view",
|
|
@@ -1080,30 +1026,76 @@
|
|
|
1080
1026
|
{
|
|
1081
1027
|
"inputs": [
|
|
1082
1028
|
{
|
|
1083
|
-
"internalType": "
|
|
1084
|
-
"name": "",
|
|
1085
|
-
"type": "
|
|
1029
|
+
"internalType": "uint32",
|
|
1030
|
+
"name": "period",
|
|
1031
|
+
"type": "uint32"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"internalType": "int24",
|
|
1035
|
+
"name": "tickLower",
|
|
1036
|
+
"type": "int24"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"internalType": "int24",
|
|
1040
|
+
"name": "tickUpper",
|
|
1041
|
+
"type": "int24"
|
|
1086
1042
|
}
|
|
1087
1043
|
],
|
|
1088
|
-
"name": "
|
|
1044
|
+
"name": "periodCumulativesInside",
|
|
1089
1045
|
"outputs": [
|
|
1090
1046
|
{
|
|
1091
|
-
"internalType": "
|
|
1092
|
-
"name": "",
|
|
1093
|
-
"type": "
|
|
1047
|
+
"internalType": "uint160",
|
|
1048
|
+
"name": "secondsPerLiquidityInsideX128",
|
|
1049
|
+
"type": "uint160"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"internalType": "uint160",
|
|
1053
|
+
"name": "secondsPerBoostedLiquidityInsideX128",
|
|
1054
|
+
"type": "uint160"
|
|
1094
1055
|
}
|
|
1095
1056
|
],
|
|
1096
1057
|
"stateMutability": "view",
|
|
1097
1058
|
"type": "function"
|
|
1098
1059
|
},
|
|
1099
1060
|
{
|
|
1100
|
-
"inputs": [
|
|
1101
|
-
|
|
1061
|
+
"inputs": [
|
|
1062
|
+
{
|
|
1063
|
+
"internalType": "uint256",
|
|
1064
|
+
"name": "period",
|
|
1065
|
+
"type": "uint256"
|
|
1066
|
+
}
|
|
1067
|
+
],
|
|
1068
|
+
"name": "periods",
|
|
1102
1069
|
"outputs": [
|
|
1103
1070
|
{
|
|
1104
|
-
"internalType": "
|
|
1105
|
-
"name": "",
|
|
1106
|
-
"type": "
|
|
1071
|
+
"internalType": "uint32",
|
|
1072
|
+
"name": "previousPeriod",
|
|
1073
|
+
"type": "uint32"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"internalType": "int24",
|
|
1077
|
+
"name": "startTick",
|
|
1078
|
+
"type": "int24"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"internalType": "int24",
|
|
1082
|
+
"name": "lastTick",
|
|
1083
|
+
"type": "int24"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"internalType": "uint160",
|
|
1087
|
+
"name": "endSecondsPerLiquidityPeriodX128",
|
|
1088
|
+
"type": "uint160"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"internalType": "uint160",
|
|
1092
|
+
"name": "endSecondsPerBoostedLiquidityPeriodX128",
|
|
1093
|
+
"type": "uint160"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"internalType": "uint32",
|
|
1097
|
+
"name": "boostedInRange",
|
|
1098
|
+
"type": "uint32"
|
|
1107
1099
|
}
|
|
1108
1100
|
],
|
|
1109
1101
|
"stateMutability": "view",
|
|
@@ -1112,27 +1104,42 @@
|
|
|
1112
1104
|
{
|
|
1113
1105
|
"inputs": [
|
|
1114
1106
|
{
|
|
1115
|
-
"internalType": "
|
|
1116
|
-
"name": "
|
|
1117
|
-
"type": "
|
|
1107
|
+
"internalType": "uint256",
|
|
1108
|
+
"name": "period",
|
|
1109
|
+
"type": "uint256"
|
|
1118
1110
|
},
|
|
1119
1111
|
{
|
|
1120
1112
|
"internalType": "address",
|
|
1121
|
-
"name": "
|
|
1113
|
+
"name": "owner",
|
|
1122
1114
|
"type": "address"
|
|
1123
1115
|
},
|
|
1124
1116
|
{
|
|
1125
1117
|
"internalType": "uint256",
|
|
1126
|
-
"name": "
|
|
1118
|
+
"name": "index",
|
|
1127
1119
|
"type": "uint256"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"internalType": "int24",
|
|
1123
|
+
"name": "tickLower",
|
|
1124
|
+
"type": "int24"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"internalType": "int24",
|
|
1128
|
+
"name": "tickUpper",
|
|
1129
|
+
"type": "int24"
|
|
1128
1130
|
}
|
|
1129
1131
|
],
|
|
1130
|
-
"name": "
|
|
1132
|
+
"name": "positionPeriodDebt",
|
|
1131
1133
|
"outputs": [
|
|
1132
1134
|
{
|
|
1133
|
-
"internalType": "
|
|
1134
|
-
"name": "
|
|
1135
|
-
"type": "
|
|
1135
|
+
"internalType": "int256",
|
|
1136
|
+
"name": "secondsDebtX96",
|
|
1137
|
+
"type": "int256"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"internalType": "int256",
|
|
1141
|
+
"name": "boostedSecondsDebtX96",
|
|
1142
|
+
"type": "int256"
|
|
1136
1143
|
}
|
|
1137
1144
|
],
|
|
1138
1145
|
"stateMutability": "view",
|
|
@@ -1141,26 +1148,41 @@
|
|
|
1141
1148
|
{
|
|
1142
1149
|
"inputs": [
|
|
1143
1150
|
{
|
|
1144
|
-
"internalType": "
|
|
1145
|
-
"name": "
|
|
1146
|
-
"type": "
|
|
1151
|
+
"internalType": "uint256",
|
|
1152
|
+
"name": "period",
|
|
1153
|
+
"type": "uint256"
|
|
1147
1154
|
},
|
|
1148
1155
|
{
|
|
1149
1156
|
"internalType": "address",
|
|
1150
|
-
"name": "
|
|
1157
|
+
"name": "owner",
|
|
1151
1158
|
"type": "address"
|
|
1152
1159
|
},
|
|
1153
1160
|
{
|
|
1154
1161
|
"internalType": "uint256",
|
|
1155
|
-
"name": "
|
|
1162
|
+
"name": "index",
|
|
1156
1163
|
"type": "uint256"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"internalType": "int24",
|
|
1167
|
+
"name": "tickLower",
|
|
1168
|
+
"type": "int24"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"internalType": "int24",
|
|
1172
|
+
"name": "tickUpper",
|
|
1173
|
+
"type": "int24"
|
|
1157
1174
|
}
|
|
1158
1175
|
],
|
|
1159
|
-
"name": "
|
|
1176
|
+
"name": "positionPeriodSecondsInRange",
|
|
1160
1177
|
"outputs": [
|
|
1161
1178
|
{
|
|
1162
1179
|
"internalType": "uint256",
|
|
1163
|
-
"name": "
|
|
1180
|
+
"name": "periodSecondsInsideX96",
|
|
1181
|
+
"type": "uint256"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"internalType": "uint256",
|
|
1185
|
+
"name": "periodBoostedSecondsInsideX96",
|
|
1164
1186
|
"type": "uint256"
|
|
1165
1187
|
}
|
|
1166
1188
|
],
|
|
@@ -1170,67 +1192,60 @@
|
|
|
1170
1192
|
{
|
|
1171
1193
|
"inputs": [
|
|
1172
1194
|
{
|
|
1173
|
-
"internalType": "
|
|
1174
|
-
"name": "
|
|
1175
|
-
"type": "
|
|
1176
|
-
}
|
|
1195
|
+
"internalType": "bytes32",
|
|
1196
|
+
"name": "key",
|
|
1197
|
+
"type": "bytes32"
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
"name": "positions",
|
|
1201
|
+
"outputs": [
|
|
1177
1202
|
{
|
|
1178
|
-
"internalType": "
|
|
1179
|
-
"name": "
|
|
1180
|
-
"type": "
|
|
1203
|
+
"internalType": "uint128",
|
|
1204
|
+
"name": "liquidity",
|
|
1205
|
+
"type": "uint128"
|
|
1181
1206
|
},
|
|
1182
1207
|
{
|
|
1183
1208
|
"internalType": "uint256",
|
|
1184
|
-
"name": "
|
|
1209
|
+
"name": "feeGrowthInside0LastX128",
|
|
1185
1210
|
"type": "uint256"
|
|
1186
|
-
}
|
|
1187
|
-
],
|
|
1188
|
-
"name": "rebalanceSellWithDelay",
|
|
1189
|
-
"outputs": [],
|
|
1190
|
-
"stateMutability": "nonpayable",
|
|
1191
|
-
"type": "function"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"inputs": [
|
|
1195
|
-
{
|
|
1196
|
-
"internalType": "address",
|
|
1197
|
-
"name": "tokenIn",
|
|
1198
|
-
"type": "address"
|
|
1199
1211
|
},
|
|
1200
1212
|
{
|
|
1201
1213
|
"internalType": "uint256",
|
|
1202
|
-
"name": "
|
|
1214
|
+
"name": "feeGrowthInside1LastX128",
|
|
1203
1215
|
"type": "uint256"
|
|
1204
1216
|
},
|
|
1205
1217
|
{
|
|
1206
|
-
"internalType": "
|
|
1207
|
-
"name": "
|
|
1208
|
-
"type": "
|
|
1218
|
+
"internalType": "uint128",
|
|
1219
|
+
"name": "tokensOwed0",
|
|
1220
|
+
"type": "uint128"
|
|
1209
1221
|
},
|
|
1210
1222
|
{
|
|
1211
|
-
"internalType": "
|
|
1212
|
-
"name": "
|
|
1213
|
-
"type": "
|
|
1223
|
+
"internalType": "uint128",
|
|
1224
|
+
"name": "tokensOwed1",
|
|
1225
|
+
"type": "uint128"
|
|
1214
1226
|
},
|
|
1215
1227
|
{
|
|
1216
|
-
"internalType": "
|
|
1217
|
-
"name": "
|
|
1218
|
-
"type": "
|
|
1228
|
+
"internalType": "uint256",
|
|
1229
|
+
"name": "attachedVeRamId",
|
|
1230
|
+
"type": "uint256"
|
|
1219
1231
|
}
|
|
1220
1232
|
],
|
|
1221
|
-
"
|
|
1222
|
-
"outputs": [],
|
|
1223
|
-
"stateMutability": "nonpayable",
|
|
1233
|
+
"stateMutability": "view",
|
|
1224
1234
|
"type": "function"
|
|
1225
1235
|
},
|
|
1226
1236
|
{
|
|
1227
1237
|
"inputs": [],
|
|
1228
|
-
"name": "
|
|
1238
|
+
"name": "protocolFees",
|
|
1229
1239
|
"outputs": [
|
|
1230
1240
|
{
|
|
1231
|
-
"internalType": "
|
|
1232
|
-
"name": "",
|
|
1233
|
-
"type": "
|
|
1241
|
+
"internalType": "uint128",
|
|
1242
|
+
"name": "token0",
|
|
1243
|
+
"type": "uint128"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"internalType": "uint128",
|
|
1247
|
+
"name": "token1",
|
|
1248
|
+
"type": "uint128"
|
|
1234
1249
|
}
|
|
1235
1250
|
],
|
|
1236
1251
|
"stateMutability": "view",
|
|
@@ -1239,135 +1254,106 @@
|
|
|
1239
1254
|
{
|
|
1240
1255
|
"inputs": [
|
|
1241
1256
|
{
|
|
1242
|
-
"
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
{
|
|
1249
|
-
"internalType": "address",
|
|
1250
|
-
"name": "tokenOut",
|
|
1251
|
-
"type": "address"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"internalType": "uint256",
|
|
1255
|
-
"name": "amountIn",
|
|
1256
|
-
"type": "uint256"
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
"internalType": "uint256",
|
|
1260
|
-
"name": "amountOutMin",
|
|
1261
|
-
"type": "uint256"
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
"internalType": "bool",
|
|
1265
|
-
"name": "wrapUnwrap",
|
|
1266
|
-
"type": "bool"
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"internalType": "address",
|
|
1270
|
-
"name": "to",
|
|
1271
|
-
"type": "address"
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
"internalType": "uint32",
|
|
1275
|
-
"name": "submitDeadline",
|
|
1276
|
-
"type": "uint32"
|
|
1277
|
-
}
|
|
1278
|
-
],
|
|
1279
|
-
"internalType": "struct ITwapRelayer.SellParams",
|
|
1280
|
-
"name": "sellParams",
|
|
1281
|
-
"type": "tuple"
|
|
1282
|
-
}
|
|
1283
|
-
],
|
|
1284
|
-
"name": "sell",
|
|
1257
|
+
"internalType": "bytes32[]",
|
|
1258
|
+
"name": "slots",
|
|
1259
|
+
"type": "bytes32[]"
|
|
1260
|
+
}
|
|
1261
|
+
],
|
|
1262
|
+
"name": "readStorage",
|
|
1285
1263
|
"outputs": [
|
|
1286
1264
|
{
|
|
1287
|
-
"internalType": "
|
|
1288
|
-
"name": "
|
|
1289
|
-
"type": "
|
|
1265
|
+
"internalType": "bytes32[]",
|
|
1266
|
+
"name": "returnData",
|
|
1267
|
+
"type": "bytes32[]"
|
|
1290
1268
|
}
|
|
1291
1269
|
],
|
|
1292
|
-
"stateMutability": "
|
|
1270
|
+
"stateMutability": "view",
|
|
1293
1271
|
"type": "function"
|
|
1294
1272
|
},
|
|
1295
1273
|
{
|
|
1296
|
-
"inputs": [
|
|
1297
|
-
|
|
1298
|
-
"internalType": "address",
|
|
1299
|
-
"name": "_owner",
|
|
1300
|
-
"type": "address"
|
|
1301
|
-
}
|
|
1302
|
-
],
|
|
1303
|
-
"name": "setOwner",
|
|
1274
|
+
"inputs": [],
|
|
1275
|
+
"name": "setFeeProtocol",
|
|
1304
1276
|
"outputs": [],
|
|
1305
1277
|
"stateMutability": "nonpayable",
|
|
1306
1278
|
"type": "function"
|
|
1307
1279
|
},
|
|
1308
1280
|
{
|
|
1309
|
-
"inputs": [
|
|
1281
|
+
"inputs": [],
|
|
1282
|
+
"name": "slot0",
|
|
1283
|
+
"outputs": [
|
|
1310
1284
|
{
|
|
1311
|
-
"internalType": "
|
|
1312
|
-
"name": "
|
|
1313
|
-
"type": "
|
|
1285
|
+
"internalType": "uint160",
|
|
1286
|
+
"name": "sqrtPriceX96",
|
|
1287
|
+
"type": "uint160"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"internalType": "int24",
|
|
1291
|
+
"name": "tick",
|
|
1292
|
+
"type": "int24"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"internalType": "uint16",
|
|
1296
|
+
"name": "observationIndex",
|
|
1297
|
+
"type": "uint16"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"internalType": "uint16",
|
|
1301
|
+
"name": "observationCardinality",
|
|
1302
|
+
"type": "uint16"
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"internalType": "uint16",
|
|
1306
|
+
"name": "observationCardinalityNext",
|
|
1307
|
+
"type": "uint16"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"internalType": "uint8",
|
|
1311
|
+
"name": "feeProtocol",
|
|
1312
|
+
"type": "uint8"
|
|
1314
1313
|
},
|
|
1315
1314
|
{
|
|
1316
1315
|
"internalType": "bool",
|
|
1317
|
-
"name": "
|
|
1316
|
+
"name": "unlocked",
|
|
1318
1317
|
"type": "bool"
|
|
1319
1318
|
}
|
|
1320
1319
|
],
|
|
1321
|
-
"
|
|
1322
|
-
"outputs": [],
|
|
1323
|
-
"stateMutability": "nonpayable",
|
|
1320
|
+
"stateMutability": "view",
|
|
1324
1321
|
"type": "function"
|
|
1325
1322
|
},
|
|
1326
1323
|
{
|
|
1327
1324
|
"inputs": [
|
|
1328
1325
|
{
|
|
1329
|
-
"internalType": "
|
|
1330
|
-
"name": "
|
|
1331
|
-
"type": "
|
|
1326
|
+
"internalType": "int24",
|
|
1327
|
+
"name": "tickLower",
|
|
1328
|
+
"type": "int24"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"internalType": "int24",
|
|
1332
|
+
"name": "tickUpper",
|
|
1333
|
+
"type": "int24"
|
|
1332
1334
|
}
|
|
1333
1335
|
],
|
|
1334
|
-
"name": "
|
|
1335
|
-
"outputs": [
|
|
1336
|
-
"stateMutability": "nonpayable",
|
|
1337
|
-
"type": "function"
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"inputs": [
|
|
1336
|
+
"name": "snapshotCumulativesInside",
|
|
1337
|
+
"outputs": [
|
|
1341
1338
|
{
|
|
1342
|
-
"internalType": "
|
|
1343
|
-
"name": "
|
|
1344
|
-
"type": "
|
|
1339
|
+
"internalType": "int56",
|
|
1340
|
+
"name": "tickCumulativeInside",
|
|
1341
|
+
"type": "int56"
|
|
1345
1342
|
},
|
|
1346
1343
|
{
|
|
1347
|
-
"internalType": "
|
|
1348
|
-
"name": "
|
|
1349
|
-
"type": "
|
|
1350
|
-
}
|
|
1351
|
-
],
|
|
1352
|
-
"name": "setSwapFee",
|
|
1353
|
-
"outputs": [],
|
|
1354
|
-
"stateMutability": "nonpayable",
|
|
1355
|
-
"type": "function"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"inputs": [
|
|
1344
|
+
"internalType": "uint160",
|
|
1345
|
+
"name": "secondsPerLiquidityInsideX128",
|
|
1346
|
+
"type": "uint160"
|
|
1347
|
+
},
|
|
1359
1348
|
{
|
|
1360
|
-
"internalType": "
|
|
1361
|
-
"name": "",
|
|
1362
|
-
"type": "
|
|
1363
|
-
}
|
|
1364
|
-
],
|
|
1365
|
-
"name": "swapFee",
|
|
1366
|
-
"outputs": [
|
|
1349
|
+
"internalType": "uint160",
|
|
1350
|
+
"name": "secondsPerBoostedLiquidityInsideX128",
|
|
1351
|
+
"type": "uint160"
|
|
1352
|
+
},
|
|
1367
1353
|
{
|
|
1368
|
-
"internalType": "
|
|
1369
|
-
"name": "",
|
|
1370
|
-
"type": "
|
|
1354
|
+
"internalType": "uint32",
|
|
1355
|
+
"name": "secondsInside",
|
|
1356
|
+
"type": "uint32"
|
|
1371
1357
|
}
|
|
1372
1358
|
],
|
|
1373
1359
|
"stateMutability": "view",
|
|
@@ -1377,30 +1363,55 @@
|
|
|
1377
1363
|
"inputs": [
|
|
1378
1364
|
{
|
|
1379
1365
|
"internalType": "address",
|
|
1380
|
-
"name": "
|
|
1366
|
+
"name": "recipient",
|
|
1381
1367
|
"type": "address"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"internalType": "bool",
|
|
1371
|
+
"name": "zeroForOne",
|
|
1372
|
+
"type": "bool"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"internalType": "int256",
|
|
1376
|
+
"name": "amountSpecified",
|
|
1377
|
+
"type": "int256"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"internalType": "uint160",
|
|
1381
|
+
"name": "sqrtPriceLimitX96",
|
|
1382
|
+
"type": "uint160"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"internalType": "bytes",
|
|
1386
|
+
"name": "data",
|
|
1387
|
+
"type": "bytes"
|
|
1382
1388
|
}
|
|
1383
1389
|
],
|
|
1384
|
-
"name": "
|
|
1390
|
+
"name": "swap",
|
|
1385
1391
|
"outputs": [
|
|
1386
1392
|
{
|
|
1387
|
-
"internalType": "
|
|
1388
|
-
"name": "",
|
|
1389
|
-
"type": "
|
|
1393
|
+
"internalType": "int256",
|
|
1394
|
+
"name": "amount0",
|
|
1395
|
+
"type": "int256"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"internalType": "int256",
|
|
1399
|
+
"name": "amount1",
|
|
1400
|
+
"type": "int256"
|
|
1390
1401
|
}
|
|
1391
1402
|
],
|
|
1392
|
-
"stateMutability": "
|
|
1403
|
+
"stateMutability": "nonpayable",
|
|
1393
1404
|
"type": "function"
|
|
1394
1405
|
},
|
|
1395
1406
|
{
|
|
1396
1407
|
"inputs": [
|
|
1397
1408
|
{
|
|
1398
|
-
"internalType": "
|
|
1399
|
-
"name": "
|
|
1400
|
-
"type": "
|
|
1409
|
+
"internalType": "int16",
|
|
1410
|
+
"name": "tick",
|
|
1411
|
+
"type": "int16"
|
|
1401
1412
|
}
|
|
1402
1413
|
],
|
|
1403
|
-
"name": "
|
|
1414
|
+
"name": "tickBitmap",
|
|
1404
1415
|
"outputs": [
|
|
1405
1416
|
{
|
|
1406
1417
|
"internalType": "uint256",
|
|
@@ -1408,63 +1419,89 @@
|
|
|
1408
1419
|
"type": "uint256"
|
|
1409
1420
|
}
|
|
1410
1421
|
],
|
|
1411
|
-
"stateMutability": "
|
|
1422
|
+
"stateMutability": "view",
|
|
1412
1423
|
"type": "function"
|
|
1413
1424
|
},
|
|
1414
1425
|
{
|
|
1415
|
-
"inputs": [
|
|
1416
|
-
|
|
1417
|
-
"internalType": "address",
|
|
1418
|
-
"name": "pair",
|
|
1419
|
-
"type": "address"
|
|
1420
|
-
}
|
|
1421
|
-
],
|
|
1422
|
-
"name": "tolerance",
|
|
1426
|
+
"inputs": [],
|
|
1427
|
+
"name": "tickSpacing",
|
|
1423
1428
|
"outputs": [
|
|
1424
1429
|
{
|
|
1425
|
-
"internalType": "
|
|
1430
|
+
"internalType": "int24",
|
|
1426
1431
|
"name": "",
|
|
1427
|
-
"type": "
|
|
1432
|
+
"type": "int24"
|
|
1428
1433
|
}
|
|
1429
1434
|
],
|
|
1430
|
-
"stateMutability": "
|
|
1435
|
+
"stateMutability": "view",
|
|
1431
1436
|
"type": "function"
|
|
1432
1437
|
},
|
|
1433
1438
|
{
|
|
1434
1439
|
"inputs": [
|
|
1435
1440
|
{
|
|
1436
|
-
"internalType": "
|
|
1437
|
-
"name": "
|
|
1438
|
-
"type": "
|
|
1441
|
+
"internalType": "int24",
|
|
1442
|
+
"name": "tick",
|
|
1443
|
+
"type": "int24"
|
|
1439
1444
|
}
|
|
1440
1445
|
],
|
|
1441
|
-
"name": "
|
|
1446
|
+
"name": "ticks",
|
|
1442
1447
|
"outputs": [
|
|
1443
1448
|
{
|
|
1444
|
-
"internalType": "
|
|
1445
|
-
"name": "",
|
|
1446
|
-
"type": "
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1449
|
+
"internalType": "uint128",
|
|
1450
|
+
"name": "liquidityGross",
|
|
1451
|
+
"type": "uint128"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"internalType": "int128",
|
|
1455
|
+
"name": "liquidityNet",
|
|
1456
|
+
"type": "int128"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"internalType": "uint128",
|
|
1460
|
+
"name": "boostedLiquidityGross",
|
|
1461
|
+
"type": "uint128"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"internalType": "int128",
|
|
1465
|
+
"name": "boostedLiquidityNet",
|
|
1466
|
+
"type": "int128"
|
|
1467
|
+
},
|
|
1454
1468
|
{
|
|
1455
1469
|
"internalType": "uint256",
|
|
1456
|
-
"name": "
|
|
1470
|
+
"name": "feeGrowthOutside0X128",
|
|
1471
|
+
"type": "uint256"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"internalType": "uint256",
|
|
1475
|
+
"name": "feeGrowthOutside1X128",
|
|
1457
1476
|
"type": "uint256"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"internalType": "int56",
|
|
1480
|
+
"name": "tickCumulativeOutside",
|
|
1481
|
+
"type": "int56"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"internalType": "uint160",
|
|
1485
|
+
"name": "secondsPerLiquidityOutsideX128",
|
|
1486
|
+
"type": "uint160"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"internalType": "uint32",
|
|
1490
|
+
"name": "secondsOutside",
|
|
1491
|
+
"type": "uint32"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"internalType": "bool",
|
|
1495
|
+
"name": "initialized",
|
|
1496
|
+
"type": "bool"
|
|
1458
1497
|
}
|
|
1459
1498
|
],
|
|
1460
|
-
"
|
|
1461
|
-
"outputs": [],
|
|
1462
|
-
"stateMutability": "nonpayable",
|
|
1499
|
+
"stateMutability": "view",
|
|
1463
1500
|
"type": "function"
|
|
1464
1501
|
},
|
|
1465
1502
|
{
|
|
1466
1503
|
"inputs": [],
|
|
1467
|
-
"name": "
|
|
1504
|
+
"name": "token0",
|
|
1468
1505
|
"outputs": [
|
|
1469
1506
|
{
|
|
1470
1507
|
"internalType": "address",
|
|
@@ -1472,65 +1509,46 @@
|
|
|
1472
1509
|
"type": "address"
|
|
1473
1510
|
}
|
|
1474
1511
|
],
|
|
1475
|
-
"stateMutability": "
|
|
1512
|
+
"stateMutability": "view",
|
|
1476
1513
|
"type": "function"
|
|
1477
1514
|
},
|
|
1478
1515
|
{
|
|
1479
|
-
"inputs": [
|
|
1516
|
+
"inputs": [],
|
|
1517
|
+
"name": "token1",
|
|
1518
|
+
"outputs": [
|
|
1480
1519
|
{
|
|
1481
1520
|
"internalType": "address",
|
|
1482
|
-
"name": "
|
|
1521
|
+
"name": "",
|
|
1483
1522
|
"type": "address"
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"internalType": "bool",
|
|
1487
|
-
"name": "whitelisted",
|
|
1488
|
-
"type": "bool"
|
|
1489
1523
|
}
|
|
1490
1524
|
],
|
|
1491
|
-
"
|
|
1492
|
-
"outputs": [],
|
|
1493
|
-
"stateMutability": "nonpayable",
|
|
1525
|
+
"stateMutability": "view",
|
|
1494
1526
|
"type": "function"
|
|
1495
1527
|
},
|
|
1496
1528
|
{
|
|
1497
|
-
"inputs": [
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
"name": "token",
|
|
1501
|
-
"type": "address"
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"internalType": "uint256",
|
|
1505
|
-
"name": "amount",
|
|
1506
|
-
"type": "uint256"
|
|
1507
|
-
},
|
|
1529
|
+
"inputs": [],
|
|
1530
|
+
"name": "veRam",
|
|
1531
|
+
"outputs": [
|
|
1508
1532
|
{
|
|
1509
1533
|
"internalType": "address",
|
|
1510
|
-
"name": "
|
|
1534
|
+
"name": "",
|
|
1511
1535
|
"type": "address"
|
|
1512
1536
|
}
|
|
1513
1537
|
],
|
|
1514
|
-
"
|
|
1515
|
-
"outputs": [],
|
|
1516
|
-
"stateMutability": "nonpayable",
|
|
1538
|
+
"stateMutability": "view",
|
|
1517
1539
|
"type": "function"
|
|
1518
1540
|
},
|
|
1519
1541
|
{
|
|
1520
|
-
"inputs": [
|
|
1542
|
+
"inputs": [],
|
|
1543
|
+
"name": "voter",
|
|
1544
|
+
"outputs": [
|
|
1521
1545
|
{
|
|
1522
|
-
"internalType": "
|
|
1523
|
-
"name": "
|
|
1524
|
-
"type": "
|
|
1546
|
+
"internalType": "address",
|
|
1547
|
+
"name": "",
|
|
1548
|
+
"type": "address"
|
|
1525
1549
|
}
|
|
1526
1550
|
],
|
|
1527
|
-
"
|
|
1528
|
-
"outputs": [],
|
|
1529
|
-
"stateMutability": "nonpayable",
|
|
1551
|
+
"stateMutability": "view",
|
|
1530
1552
|
"type": "function"
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"stateMutability": "payable",
|
|
1534
|
-
"type": "receive"
|
|
1535
1553
|
}
|
|
1536
1554
|
]
|