@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
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [],
|
|
4
|
-
"stateMutability": "nonpayable",
|
|
5
|
-
"type": "constructor"
|
|
6
|
-
},
|
|
7
2
|
{
|
|
8
3
|
"anonymous": false,
|
|
9
4
|
"inputs": [
|
|
10
5
|
{
|
|
11
6
|
"indexed": true,
|
|
12
|
-
"
|
|
13
|
-
"name": "owner",
|
|
7
|
+
"name": "buyer",
|
|
14
8
|
"type": "address"
|
|
15
9
|
},
|
|
16
10
|
{
|
|
17
|
-
"indexed":
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
11
|
+
"indexed": false,
|
|
12
|
+
"name": "sold_id",
|
|
13
|
+
"type": "int128"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"indexed": false,
|
|
17
|
+
"name": "tokens_sold",
|
|
18
|
+
"type": "uint256"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"indexed": false,
|
|
22
|
+
"name": "bought_id",
|
|
23
|
+
"type": "int128"
|
|
21
24
|
},
|
|
22
25
|
{
|
|
23
26
|
"indexed": false,
|
|
24
|
-
"
|
|
25
|
-
"name": "value",
|
|
27
|
+
"name": "tokens_bought",
|
|
26
28
|
"type": "uint256"
|
|
27
29
|
}
|
|
28
30
|
],
|
|
29
|
-
"name": "
|
|
31
|
+
"name": "TokenExchange",
|
|
30
32
|
"type": "event"
|
|
31
33
|
},
|
|
32
34
|
{
|
|
@@ -34,36 +36,63 @@
|
|
|
34
36
|
"inputs": [
|
|
35
37
|
{
|
|
36
38
|
"indexed": true,
|
|
37
|
-
"
|
|
38
|
-
"name": "sender",
|
|
39
|
+
"name": "buyer",
|
|
39
40
|
"type": "address"
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
"indexed": false,
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"type": "uint256"
|
|
44
|
+
"name": "sold_id",
|
|
45
|
+
"type": "int128"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"indexed": false,
|
|
49
|
-
"
|
|
50
|
-
"name": "amount1Out",
|
|
49
|
+
"name": "tokens_sold",
|
|
51
50
|
"type": "uint256"
|
|
52
51
|
},
|
|
53
52
|
{
|
|
54
53
|
"indexed": false,
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"type": "uint256"
|
|
54
|
+
"name": "bought_id",
|
|
55
|
+
"type": "int128"
|
|
58
56
|
},
|
|
57
|
+
{
|
|
58
|
+
"indexed": false,
|
|
59
|
+
"name": "tokens_bought",
|
|
60
|
+
"type": "uint256"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"name": "TokenExchangeUnderlying",
|
|
64
|
+
"type": "event"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"anonymous": false,
|
|
68
|
+
"inputs": [
|
|
59
69
|
{
|
|
60
70
|
"indexed": true,
|
|
61
|
-
"
|
|
62
|
-
"name": "to",
|
|
71
|
+
"name": "provider",
|
|
63
72
|
"type": "address"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"indexed": false,
|
|
76
|
+
"name": "token_amounts",
|
|
77
|
+
"type": "uint256[2]"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"indexed": false,
|
|
81
|
+
"name": "fees",
|
|
82
|
+
"type": "uint256[2]"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"indexed": false,
|
|
86
|
+
"name": "invariant",
|
|
87
|
+
"type": "uint256"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"indexed": false,
|
|
91
|
+
"name": "token_supply",
|
|
92
|
+
"type": "uint256"
|
|
64
93
|
}
|
|
65
94
|
],
|
|
66
|
-
"name": "
|
|
95
|
+
"name": "AddLiquidity",
|
|
67
96
|
"type": "event"
|
|
68
97
|
},
|
|
69
98
|
{
|
|
@@ -71,88 +100,136 @@
|
|
|
71
100
|
"inputs": [
|
|
72
101
|
{
|
|
73
102
|
"indexed": true,
|
|
74
|
-
"
|
|
75
|
-
"name": "sender",
|
|
103
|
+
"name": "provider",
|
|
76
104
|
"type": "address"
|
|
77
105
|
},
|
|
78
106
|
{
|
|
79
107
|
"indexed": false,
|
|
80
|
-
"
|
|
81
|
-
"
|
|
108
|
+
"name": "token_amounts",
|
|
109
|
+
"type": "uint256[2]"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"indexed": false,
|
|
113
|
+
"name": "fees",
|
|
114
|
+
"type": "uint256[2]"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"indexed": false,
|
|
118
|
+
"name": "token_supply",
|
|
82
119
|
"type": "uint256"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"name": "RemoveLiquidity",
|
|
123
|
+
"type": "event"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"anonymous": false,
|
|
127
|
+
"inputs": [
|
|
128
|
+
{
|
|
129
|
+
"indexed": true,
|
|
130
|
+
"name": "provider",
|
|
131
|
+
"type": "address"
|
|
83
132
|
},
|
|
84
133
|
{
|
|
85
134
|
"indexed": false,
|
|
86
|
-
"
|
|
87
|
-
"name": "amount1In",
|
|
135
|
+
"name": "token_amount",
|
|
88
136
|
"type": "uint256"
|
|
89
137
|
},
|
|
90
138
|
{
|
|
91
139
|
"indexed": false,
|
|
92
|
-
"
|
|
93
|
-
"name": "liquidityOut",
|
|
140
|
+
"name": "coin_amount",
|
|
94
141
|
"type": "uint256"
|
|
95
142
|
},
|
|
96
143
|
{
|
|
97
|
-
"indexed":
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"type": "address"
|
|
144
|
+
"indexed": false,
|
|
145
|
+
"name": "token_supply",
|
|
146
|
+
"type": "uint256"
|
|
101
147
|
}
|
|
102
148
|
],
|
|
103
|
-
"name": "
|
|
149
|
+
"name": "RemoveLiquidityOne",
|
|
104
150
|
"type": "event"
|
|
105
151
|
},
|
|
106
152
|
{
|
|
107
153
|
"anonymous": false,
|
|
108
154
|
"inputs": [
|
|
155
|
+
{
|
|
156
|
+
"indexed": true,
|
|
157
|
+
"name": "provider",
|
|
158
|
+
"type": "address"
|
|
159
|
+
},
|
|
109
160
|
{
|
|
110
161
|
"indexed": false,
|
|
111
|
-
"
|
|
112
|
-
"
|
|
162
|
+
"name": "token_amounts",
|
|
163
|
+
"type": "uint256[2]"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"indexed": false,
|
|
167
|
+
"name": "fees",
|
|
168
|
+
"type": "uint256[2]"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"indexed": false,
|
|
172
|
+
"name": "invariant",
|
|
173
|
+
"type": "uint256"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"indexed": false,
|
|
177
|
+
"name": "token_supply",
|
|
113
178
|
"type": "uint256"
|
|
114
179
|
}
|
|
115
180
|
],
|
|
116
|
-
"name": "
|
|
181
|
+
"name": "RemoveLiquidityImbalance",
|
|
117
182
|
"type": "event"
|
|
118
183
|
},
|
|
119
184
|
{
|
|
120
185
|
"anonymous": false,
|
|
121
186
|
"inputs": [
|
|
122
187
|
{
|
|
123
|
-
"indexed":
|
|
124
|
-
"
|
|
125
|
-
"name": "fee",
|
|
188
|
+
"indexed": true,
|
|
189
|
+
"name": "deadline",
|
|
126
190
|
"type": "uint256"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"indexed": true,
|
|
194
|
+
"name": "admin",
|
|
195
|
+
"type": "address"
|
|
127
196
|
}
|
|
128
197
|
],
|
|
129
|
-
"name": "
|
|
198
|
+
"name": "CommitNewAdmin",
|
|
130
199
|
"type": "event"
|
|
131
200
|
},
|
|
132
201
|
{
|
|
133
202
|
"anonymous": false,
|
|
134
203
|
"inputs": [
|
|
135
204
|
{
|
|
136
|
-
"indexed":
|
|
137
|
-
"
|
|
138
|
-
"name": "account",
|
|
205
|
+
"indexed": true,
|
|
206
|
+
"name": "admin",
|
|
139
207
|
"type": "address"
|
|
140
208
|
}
|
|
141
209
|
],
|
|
142
|
-
"name": "
|
|
210
|
+
"name": "NewAdmin",
|
|
143
211
|
"type": "event"
|
|
144
212
|
},
|
|
145
213
|
{
|
|
146
214
|
"anonymous": false,
|
|
147
215
|
"inputs": [
|
|
216
|
+
{
|
|
217
|
+
"indexed": true,
|
|
218
|
+
"name": "deadline",
|
|
219
|
+
"type": "uint256"
|
|
220
|
+
},
|
|
148
221
|
{
|
|
149
222
|
"indexed": false,
|
|
150
|
-
"internalType": "uint256",
|
|
151
223
|
"name": "fee",
|
|
152
224
|
"type": "uint256"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"indexed": false,
|
|
228
|
+
"name": "admin_fee",
|
|
229
|
+
"type": "uint256"
|
|
153
230
|
}
|
|
154
231
|
],
|
|
155
|
-
"name": "
|
|
232
|
+
"name": "CommitNewFee",
|
|
156
233
|
"type": "event"
|
|
157
234
|
},
|
|
158
235
|
{
|
|
@@ -160,101 +237,116 @@
|
|
|
160
237
|
"inputs": [
|
|
161
238
|
{
|
|
162
239
|
"indexed": false,
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
240
|
+
"name": "fee",
|
|
241
|
+
"type": "uint256"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"name": "admin_fee",
|
|
246
|
+
"type": "uint256"
|
|
166
247
|
}
|
|
167
248
|
],
|
|
168
|
-
"name": "
|
|
249
|
+
"name": "NewFee",
|
|
169
250
|
"type": "event"
|
|
170
251
|
},
|
|
171
252
|
{
|
|
172
253
|
"anonymous": false,
|
|
173
254
|
"inputs": [
|
|
174
255
|
{
|
|
175
|
-
"indexed":
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"type": "address"
|
|
256
|
+
"indexed": false,
|
|
257
|
+
"name": "old_A",
|
|
258
|
+
"type": "uint256"
|
|
179
259
|
},
|
|
180
260
|
{
|
|
181
261
|
"indexed": false,
|
|
182
|
-
"
|
|
183
|
-
"name": "amount0In",
|
|
262
|
+
"name": "new_A",
|
|
184
263
|
"type": "uint256"
|
|
185
264
|
},
|
|
186
265
|
{
|
|
187
266
|
"indexed": false,
|
|
188
|
-
"
|
|
189
|
-
"name": "amount1In",
|
|
267
|
+
"name": "initial_time",
|
|
190
268
|
"type": "uint256"
|
|
191
269
|
},
|
|
192
270
|
{
|
|
193
271
|
"indexed": false,
|
|
194
|
-
"
|
|
195
|
-
"name": "amount0Out",
|
|
272
|
+
"name": "future_time",
|
|
196
273
|
"type": "uint256"
|
|
197
|
-
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"name": "RampA",
|
|
277
|
+
"type": "event"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"anonymous": false,
|
|
281
|
+
"inputs": [
|
|
198
282
|
{
|
|
199
283
|
"indexed": false,
|
|
200
|
-
"
|
|
201
|
-
"name": "amount1Out",
|
|
284
|
+
"name": "A",
|
|
202
285
|
"type": "uint256"
|
|
203
286
|
},
|
|
204
287
|
{
|
|
205
|
-
"indexed":
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"type": "address"
|
|
288
|
+
"indexed": false,
|
|
289
|
+
"name": "t",
|
|
290
|
+
"type": "uint256"
|
|
209
291
|
}
|
|
210
292
|
],
|
|
211
|
-
"name": "
|
|
293
|
+
"name": "StopRampA",
|
|
212
294
|
"type": "event"
|
|
213
295
|
},
|
|
214
296
|
{
|
|
215
|
-
"anonymous": false,
|
|
216
297
|
"inputs": [
|
|
217
298
|
{
|
|
218
|
-
"
|
|
219
|
-
"internalType": "address",
|
|
220
|
-
"name": "from",
|
|
299
|
+
"name": "_owner",
|
|
221
300
|
"type": "address"
|
|
222
301
|
},
|
|
223
302
|
{
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
|
|
303
|
+
"name": "_coins",
|
|
304
|
+
"type": "address[2]"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "_pool_token",
|
|
227
308
|
"type": "address"
|
|
228
309
|
},
|
|
229
310
|
{
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
|
|
311
|
+
"name": "_base_pool",
|
|
312
|
+
"type": "address"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "_A",
|
|
316
|
+
"type": "uint256"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "_fee",
|
|
320
|
+
"type": "uint256"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "_admin_fee",
|
|
233
324
|
"type": "uint256"
|
|
234
325
|
}
|
|
235
326
|
],
|
|
236
|
-
"
|
|
237
|
-
"
|
|
327
|
+
"outputs": [],
|
|
328
|
+
"stateMutability": "nonpayable",
|
|
329
|
+
"type": "constructor"
|
|
238
330
|
},
|
|
239
331
|
{
|
|
332
|
+
"gas": 5205,
|
|
240
333
|
"inputs": [],
|
|
241
|
-
"name": "
|
|
334
|
+
"name": "A",
|
|
242
335
|
"outputs": [
|
|
243
336
|
{
|
|
244
|
-
"internalType": "bytes32",
|
|
245
337
|
"name": "",
|
|
246
|
-
"type": "
|
|
338
|
+
"type": "uint256"
|
|
247
339
|
}
|
|
248
340
|
],
|
|
249
341
|
"stateMutability": "view",
|
|
250
342
|
"type": "function"
|
|
251
343
|
},
|
|
252
344
|
{
|
|
345
|
+
"gas": 5167,
|
|
253
346
|
"inputs": [],
|
|
254
|
-
"name": "
|
|
347
|
+
"name": "A_precise",
|
|
255
348
|
"outputs": [
|
|
256
349
|
{
|
|
257
|
-
"internalType": "uint256",
|
|
258
350
|
"name": "",
|
|
259
351
|
"type": "uint256"
|
|
260
352
|
}
|
|
@@ -263,35 +355,33 @@
|
|
|
263
355
|
"type": "function"
|
|
264
356
|
},
|
|
265
357
|
{
|
|
358
|
+
"gas": 992854,
|
|
266
359
|
"inputs": [],
|
|
267
|
-
"name": "
|
|
360
|
+
"name": "get_virtual_price",
|
|
268
361
|
"outputs": [
|
|
269
362
|
{
|
|
270
|
-
"internalType": "bytes32",
|
|
271
363
|
"name": "",
|
|
272
|
-
"type": "
|
|
364
|
+
"type": "uint256"
|
|
273
365
|
}
|
|
274
366
|
],
|
|
275
367
|
"stateMutability": "view",
|
|
276
368
|
"type": "function"
|
|
277
369
|
},
|
|
278
370
|
{
|
|
371
|
+
"gas": 3939870,
|
|
279
372
|
"inputs": [
|
|
280
373
|
{
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"type": "address"
|
|
374
|
+
"name": "amounts",
|
|
375
|
+
"type": "uint256[2]"
|
|
284
376
|
},
|
|
285
377
|
{
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"type": "address"
|
|
378
|
+
"name": "is_deposit",
|
|
379
|
+
"type": "bool"
|
|
289
380
|
}
|
|
290
381
|
],
|
|
291
|
-
"name": "
|
|
382
|
+
"name": "calc_token_amount",
|
|
292
383
|
"outputs": [
|
|
293
384
|
{
|
|
294
|
-
"internalType": "uint256",
|
|
295
385
|
"name": "",
|
|
296
386
|
"type": "uint256"
|
|
297
387
|
}
|
|
@@ -300,41 +390,46 @@
|
|
|
300
390
|
"type": "function"
|
|
301
391
|
},
|
|
302
392
|
{
|
|
393
|
+
"gas": 6138492,
|
|
303
394
|
"inputs": [
|
|
304
395
|
{
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"type": "address"
|
|
396
|
+
"name": "amounts",
|
|
397
|
+
"type": "uint256[2]"
|
|
308
398
|
},
|
|
309
399
|
{
|
|
310
|
-
"
|
|
311
|
-
"name": "value",
|
|
400
|
+
"name": "min_mint_amount",
|
|
312
401
|
"type": "uint256"
|
|
313
402
|
}
|
|
314
403
|
],
|
|
315
|
-
"name": "
|
|
404
|
+
"name": "add_liquidity",
|
|
316
405
|
"outputs": [
|
|
317
406
|
{
|
|
318
|
-
"internalType": "bool",
|
|
319
407
|
"name": "",
|
|
320
|
-
"type": "
|
|
408
|
+
"type": "uint256"
|
|
321
409
|
}
|
|
322
410
|
],
|
|
323
411
|
"stateMutability": "nonpayable",
|
|
324
412
|
"type": "function"
|
|
325
413
|
},
|
|
326
414
|
{
|
|
415
|
+
"gas": 2390368,
|
|
327
416
|
"inputs": [
|
|
328
417
|
{
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
|
|
418
|
+
"name": "i",
|
|
419
|
+
"type": "int128"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "j",
|
|
423
|
+
"type": "int128"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "dx",
|
|
427
|
+
"type": "uint256"
|
|
332
428
|
}
|
|
333
429
|
],
|
|
334
|
-
"name": "
|
|
430
|
+
"name": "get_dy",
|
|
335
431
|
"outputs": [
|
|
336
432
|
{
|
|
337
|
-
"internalType": "uint256",
|
|
338
433
|
"name": "",
|
|
339
434
|
"type": "uint256"
|
|
340
435
|
}
|
|
@@ -343,35 +438,24 @@
|
|
|
343
438
|
"type": "function"
|
|
344
439
|
},
|
|
345
440
|
{
|
|
441
|
+
"gas": 2393485,
|
|
346
442
|
"inputs": [
|
|
347
443
|
{
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
],
|
|
353
|
-
"name": "burn",
|
|
354
|
-
"outputs": [
|
|
444
|
+
"name": "i",
|
|
445
|
+
"type": "int128"
|
|
446
|
+
},
|
|
355
447
|
{
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
"type": "uint256"
|
|
448
|
+
"name": "j",
|
|
449
|
+
"type": "int128"
|
|
359
450
|
},
|
|
360
451
|
{
|
|
361
|
-
"
|
|
362
|
-
"name": "amount1Out",
|
|
452
|
+
"name": "dx",
|
|
363
453
|
"type": "uint256"
|
|
364
454
|
}
|
|
365
455
|
],
|
|
366
|
-
"
|
|
367
|
-
"type": "function"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"inputs": [],
|
|
371
|
-
"name": "burnFee",
|
|
456
|
+
"name": "get_dy_underlying",
|
|
372
457
|
"outputs": [
|
|
373
458
|
{
|
|
374
|
-
"internalType": "uint256",
|
|
375
459
|
"name": "",
|
|
376
460
|
"type": "uint256"
|
|
377
461
|
}
|
|
@@ -380,183 +464,125 @@
|
|
|
380
464
|
"type": "function"
|
|
381
465
|
},
|
|
382
466
|
{
|
|
467
|
+
"gas": 2617568,
|
|
383
468
|
"inputs": [
|
|
384
469
|
{
|
|
385
|
-
"
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
}
|
|
389
|
-
],
|
|
390
|
-
"name": "collect",
|
|
391
|
-
"outputs": [],
|
|
392
|
-
"stateMutability": "nonpayable",
|
|
393
|
-
"type": "function"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"inputs": [],
|
|
397
|
-
"name": "decimals",
|
|
398
|
-
"outputs": [
|
|
470
|
+
"name": "i",
|
|
471
|
+
"type": "int128"
|
|
472
|
+
},
|
|
399
473
|
{
|
|
400
|
-
"
|
|
401
|
-
"
|
|
402
|
-
|
|
403
|
-
}
|
|
404
|
-
],
|
|
405
|
-
"stateMutability": "view",
|
|
406
|
-
"type": "function"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"inputs": [
|
|
474
|
+
"name": "j",
|
|
475
|
+
"type": "int128"
|
|
476
|
+
},
|
|
410
477
|
{
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"type": "address"
|
|
478
|
+
"name": "dx",
|
|
479
|
+
"type": "uint256"
|
|
414
480
|
},
|
|
415
481
|
{
|
|
416
|
-
"
|
|
417
|
-
"name": "subtractedValue",
|
|
482
|
+
"name": "min_dy",
|
|
418
483
|
"type": "uint256"
|
|
419
484
|
}
|
|
420
485
|
],
|
|
421
|
-
"name": "
|
|
486
|
+
"name": "exchange",
|
|
422
487
|
"outputs": [
|
|
423
488
|
{
|
|
424
|
-
"internalType": "bool",
|
|
425
489
|
"name": "",
|
|
426
|
-
"type": "
|
|
490
|
+
"type": "uint256"
|
|
427
491
|
}
|
|
428
492
|
],
|
|
429
493
|
"stateMutability": "nonpayable",
|
|
430
494
|
"type": "function"
|
|
431
495
|
},
|
|
432
496
|
{
|
|
433
|
-
"
|
|
434
|
-
"name": "factory",
|
|
435
|
-
"outputs": [
|
|
436
|
-
{
|
|
437
|
-
"internalType": "address",
|
|
438
|
-
"name": "",
|
|
439
|
-
"type": "address"
|
|
440
|
-
}
|
|
441
|
-
],
|
|
442
|
-
"stateMutability": "view",
|
|
443
|
-
"type": "function"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
497
|
+
"gas": 2632475,
|
|
446
498
|
"inputs": [
|
|
447
499
|
{
|
|
448
|
-
"
|
|
449
|
-
"
|
|
500
|
+
"name": "i",
|
|
501
|
+
"type": "int128"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "j",
|
|
505
|
+
"type": "int128"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "dx",
|
|
450
509
|
"type": "uint256"
|
|
451
510
|
},
|
|
452
511
|
{
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
"type": "bytes"
|
|
512
|
+
"name": "min_dy",
|
|
513
|
+
"type": "uint256"
|
|
456
514
|
}
|
|
457
515
|
],
|
|
458
|
-
"name": "
|
|
516
|
+
"name": "exchange_underlying",
|
|
459
517
|
"outputs": [
|
|
460
518
|
{
|
|
461
|
-
"internalType": "uint256",
|
|
462
519
|
"name": "",
|
|
463
520
|
"type": "uint256"
|
|
464
521
|
}
|
|
465
522
|
],
|
|
466
|
-
"stateMutability": "
|
|
523
|
+
"stateMutability": "nonpayable",
|
|
467
524
|
"type": "function"
|
|
468
525
|
},
|
|
469
526
|
{
|
|
527
|
+
"gas": 163289,
|
|
470
528
|
"inputs": [
|
|
471
529
|
{
|
|
472
|
-
"
|
|
473
|
-
"name": "amount1",
|
|
530
|
+
"name": "_amount",
|
|
474
531
|
"type": "uint256"
|
|
475
532
|
},
|
|
476
533
|
{
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"type": "bytes"
|
|
534
|
+
"name": "min_amounts",
|
|
535
|
+
"type": "uint256[2]"
|
|
480
536
|
}
|
|
481
537
|
],
|
|
482
|
-
"name": "
|
|
538
|
+
"name": "remove_liquidity",
|
|
483
539
|
"outputs": [
|
|
484
540
|
{
|
|
485
|
-
"internalType": "uint256",
|
|
486
541
|
"name": "",
|
|
487
|
-
"type": "uint256"
|
|
542
|
+
"type": "uint256[2]"
|
|
488
543
|
}
|
|
489
544
|
],
|
|
490
|
-
"stateMutability": "
|
|
491
|
-
"type": "function"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"inputs": [],
|
|
495
|
-
"name": "getDomainSeparator",
|
|
496
|
-
"outputs": [
|
|
497
|
-
{
|
|
498
|
-
"internalType": "bytes32",
|
|
499
|
-
"name": "",
|
|
500
|
-
"type": "bytes32"
|
|
501
|
-
}
|
|
502
|
-
],
|
|
503
|
-
"stateMutability": "view",
|
|
545
|
+
"stateMutability": "nonpayable",
|
|
504
546
|
"type": "function"
|
|
505
547
|
},
|
|
506
548
|
{
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"outputs": [
|
|
549
|
+
"gas": 6138317,
|
|
550
|
+
"inputs": [
|
|
510
551
|
{
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
"type": "uint256"
|
|
552
|
+
"name": "amounts",
|
|
553
|
+
"type": "uint256[2]"
|
|
514
554
|
},
|
|
515
555
|
{
|
|
516
|
-
"
|
|
517
|
-
"name": "",
|
|
556
|
+
"name": "max_burn_amount",
|
|
518
557
|
"type": "uint256"
|
|
519
558
|
}
|
|
520
559
|
],
|
|
521
|
-
"
|
|
522
|
-
"type": "function"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"inputs": [],
|
|
526
|
-
"name": "getReserves",
|
|
560
|
+
"name": "remove_liquidity_imbalance",
|
|
527
561
|
"outputs": [
|
|
528
562
|
{
|
|
529
|
-
"internalType": "uint112",
|
|
530
563
|
"name": "",
|
|
531
|
-
"type": "
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"internalType": "uint112",
|
|
535
|
-
"name": "",
|
|
536
|
-
"type": "uint112"
|
|
564
|
+
"type": "uint256"
|
|
537
565
|
}
|
|
538
566
|
],
|
|
539
|
-
"stateMutability": "
|
|
567
|
+
"stateMutability": "nonpayable",
|
|
540
568
|
"type": "function"
|
|
541
569
|
},
|
|
542
570
|
{
|
|
571
|
+
"gas": 4335,
|
|
543
572
|
"inputs": [
|
|
544
573
|
{
|
|
545
|
-
"
|
|
546
|
-
"name": "amount1Out",
|
|
574
|
+
"name": "_token_amount",
|
|
547
575
|
"type": "uint256"
|
|
548
576
|
},
|
|
549
577
|
{
|
|
550
|
-
"
|
|
551
|
-
"
|
|
552
|
-
"type": "bytes"
|
|
578
|
+
"name": "i",
|
|
579
|
+
"type": "int128"
|
|
553
580
|
}
|
|
554
581
|
],
|
|
555
|
-
"name": "
|
|
582
|
+
"name": "calc_withdraw_one_coin",
|
|
556
583
|
"outputs": [
|
|
557
584
|
{
|
|
558
|
-
"
|
|
559
|
-
"name": "swapAmount0In",
|
|
585
|
+
"name": "",
|
|
560
586
|
"type": "uint256"
|
|
561
587
|
}
|
|
562
588
|
],
|
|
@@ -564,154 +590,197 @@
|
|
|
564
590
|
"type": "function"
|
|
565
591
|
},
|
|
566
592
|
{
|
|
593
|
+
"gas": 3827137,
|
|
567
594
|
"inputs": [
|
|
568
595
|
{
|
|
569
|
-
"
|
|
570
|
-
"name": "amount1In",
|
|
596
|
+
"name": "_token_amount",
|
|
571
597
|
"type": "uint256"
|
|
572
598
|
},
|
|
573
599
|
{
|
|
574
|
-
"
|
|
575
|
-
"
|
|
576
|
-
|
|
600
|
+
"name": "i",
|
|
601
|
+
"type": "int128"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "_min_amount",
|
|
605
|
+
"type": "uint256"
|
|
577
606
|
}
|
|
578
607
|
],
|
|
579
|
-
"name": "
|
|
608
|
+
"name": "remove_liquidity_one_coin",
|
|
580
609
|
"outputs": [
|
|
581
610
|
{
|
|
582
|
-
"
|
|
583
|
-
"name": "swapAmount0Out",
|
|
611
|
+
"name": "",
|
|
584
612
|
"type": "uint256"
|
|
585
613
|
}
|
|
586
614
|
],
|
|
587
|
-
"stateMutability": "
|
|
615
|
+
"stateMutability": "nonpayable",
|
|
588
616
|
"type": "function"
|
|
589
617
|
},
|
|
590
618
|
{
|
|
619
|
+
"gas": 151906,
|
|
591
620
|
"inputs": [
|
|
592
621
|
{
|
|
593
|
-
"
|
|
594
|
-
"name": "amount0Out",
|
|
622
|
+
"name": "_future_A",
|
|
595
623
|
"type": "uint256"
|
|
596
624
|
},
|
|
597
625
|
{
|
|
598
|
-
"
|
|
599
|
-
"name": "data",
|
|
600
|
-
"type": "bytes"
|
|
601
|
-
}
|
|
602
|
-
],
|
|
603
|
-
"name": "getSwapAmount1In",
|
|
604
|
-
"outputs": [
|
|
605
|
-
{
|
|
606
|
-
"internalType": "uint256",
|
|
607
|
-
"name": "swapAmount1In",
|
|
626
|
+
"name": "_future_time",
|
|
608
627
|
"type": "uint256"
|
|
609
628
|
}
|
|
610
629
|
],
|
|
611
|
-
"
|
|
630
|
+
"name": "ramp_A",
|
|
631
|
+
"outputs": [],
|
|
632
|
+
"stateMutability": "nonpayable",
|
|
612
633
|
"type": "function"
|
|
613
634
|
},
|
|
614
635
|
{
|
|
636
|
+
"gas": 148667,
|
|
637
|
+
"inputs": [],
|
|
638
|
+
"name": "stop_ramp_A",
|
|
639
|
+
"outputs": [],
|
|
640
|
+
"stateMutability": "nonpayable",
|
|
641
|
+
"type": "function"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"gas": 110491,
|
|
615
645
|
"inputs": [
|
|
616
646
|
{
|
|
617
|
-
"
|
|
618
|
-
"name": "amount0In",
|
|
647
|
+
"name": "new_fee",
|
|
619
648
|
"type": "uint256"
|
|
620
649
|
},
|
|
621
650
|
{
|
|
622
|
-
"
|
|
623
|
-
"name": "data",
|
|
624
|
-
"type": "bytes"
|
|
625
|
-
}
|
|
626
|
-
],
|
|
627
|
-
"name": "getSwapAmount1Out",
|
|
628
|
-
"outputs": [
|
|
629
|
-
{
|
|
630
|
-
"internalType": "uint256",
|
|
631
|
-
"name": "swapAmount1Out",
|
|
651
|
+
"name": "new_admin_fee",
|
|
632
652
|
"type": "uint256"
|
|
633
653
|
}
|
|
634
654
|
],
|
|
635
|
-
"
|
|
655
|
+
"name": "commit_new_fee",
|
|
656
|
+
"outputs": [],
|
|
657
|
+
"stateMutability": "nonpayable",
|
|
636
658
|
"type": "function"
|
|
637
659
|
},
|
|
638
660
|
{
|
|
661
|
+
"gas": 97272,
|
|
662
|
+
"inputs": [],
|
|
663
|
+
"name": "apply_new_fee",
|
|
664
|
+
"outputs": [],
|
|
665
|
+
"stateMutability": "nonpayable",
|
|
666
|
+
"type": "function"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"gas": 21925,
|
|
670
|
+
"inputs": [],
|
|
671
|
+
"name": "revert_new_parameters",
|
|
672
|
+
"outputs": [],
|
|
673
|
+
"stateMutability": "nonpayable",
|
|
674
|
+
"type": "function"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"gas": 74663,
|
|
639
678
|
"inputs": [
|
|
640
679
|
{
|
|
641
|
-
"
|
|
642
|
-
"name": "spender",
|
|
680
|
+
"name": "_owner",
|
|
643
681
|
"type": "address"
|
|
644
|
-
}
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
"name": "commit_transfer_ownership",
|
|
685
|
+
"outputs": [],
|
|
686
|
+
"stateMutability": "nonpayable",
|
|
687
|
+
"type": "function"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"gas": 60740,
|
|
691
|
+
"inputs": [],
|
|
692
|
+
"name": "apply_transfer_ownership",
|
|
693
|
+
"outputs": [],
|
|
694
|
+
"stateMutability": "nonpayable",
|
|
695
|
+
"type": "function"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"gas": 22015,
|
|
699
|
+
"inputs": [],
|
|
700
|
+
"name": "revert_transfer_ownership",
|
|
701
|
+
"outputs": [],
|
|
702
|
+
"stateMutability": "nonpayable",
|
|
703
|
+
"type": "function"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"gas": 3511,
|
|
707
|
+
"inputs": [
|
|
645
708
|
{
|
|
646
|
-
"
|
|
647
|
-
"name": "addedValue",
|
|
709
|
+
"name": "i",
|
|
648
710
|
"type": "uint256"
|
|
649
711
|
}
|
|
650
712
|
],
|
|
651
|
-
"name": "
|
|
713
|
+
"name": "admin_balances",
|
|
652
714
|
"outputs": [
|
|
653
715
|
{
|
|
654
|
-
"internalType": "bool",
|
|
655
716
|
"name": "",
|
|
656
|
-
"type": "
|
|
717
|
+
"type": "uint256"
|
|
657
718
|
}
|
|
658
719
|
],
|
|
720
|
+
"stateMutability": "view",
|
|
721
|
+
"type": "function"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"gas": 9248,
|
|
725
|
+
"inputs": [],
|
|
726
|
+
"name": "withdraw_admin_fees",
|
|
727
|
+
"outputs": [],
|
|
659
728
|
"stateMutability": "nonpayable",
|
|
660
729
|
"type": "function"
|
|
661
730
|
},
|
|
662
731
|
{
|
|
663
|
-
"
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
"name": "_token0",
|
|
667
|
-
"type": "address"
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
"internalType": "address",
|
|
671
|
-
"name": "_token1",
|
|
672
|
-
"type": "address"
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"internalType": "address",
|
|
676
|
-
"name": "_oracle",
|
|
677
|
-
"type": "address"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"internalType": "address",
|
|
681
|
-
"name": "_trader",
|
|
682
|
-
"type": "address"
|
|
683
|
-
}
|
|
684
|
-
],
|
|
685
|
-
"name": "initialize",
|
|
732
|
+
"gas": 74995,
|
|
733
|
+
"inputs": [],
|
|
734
|
+
"name": "donate_admin_fees",
|
|
686
735
|
"outputs": [],
|
|
687
736
|
"stateMutability": "nonpayable",
|
|
688
737
|
"type": "function"
|
|
689
738
|
},
|
|
690
739
|
{
|
|
740
|
+
"gas": 38028,
|
|
741
|
+
"inputs": [],
|
|
742
|
+
"name": "kill_me",
|
|
743
|
+
"outputs": [],
|
|
744
|
+
"stateMutability": "nonpayable",
|
|
745
|
+
"type": "function"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"gas": 22165,
|
|
749
|
+
"inputs": [],
|
|
750
|
+
"name": "unkill_me",
|
|
751
|
+
"outputs": [],
|
|
752
|
+
"stateMutability": "nonpayable",
|
|
753
|
+
"type": "function"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"gas": 2250,
|
|
691
757
|
"inputs": [
|
|
692
758
|
{
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"type": "address"
|
|
759
|
+
"name": "arg0",
|
|
760
|
+
"type": "uint256"
|
|
696
761
|
}
|
|
697
762
|
],
|
|
698
|
-
"name": "
|
|
763
|
+
"name": "coins",
|
|
699
764
|
"outputs": [
|
|
700
765
|
{
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"type": "uint256"
|
|
766
|
+
"name": "",
|
|
767
|
+
"type": "address"
|
|
704
768
|
}
|
|
705
769
|
],
|
|
706
|
-
"stateMutability": "
|
|
770
|
+
"stateMutability": "view",
|
|
707
771
|
"type": "function"
|
|
708
772
|
},
|
|
709
773
|
{
|
|
710
|
-
"
|
|
711
|
-
"
|
|
774
|
+
"gas": 2280,
|
|
775
|
+
"inputs": [
|
|
776
|
+
{
|
|
777
|
+
"name": "arg0",
|
|
778
|
+
"type": "uint256"
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"name": "balances",
|
|
712
782
|
"outputs": [
|
|
713
783
|
{
|
|
714
|
-
"internalType": "uint256",
|
|
715
784
|
"name": "",
|
|
716
785
|
"type": "uint256"
|
|
717
786
|
}
|
|
@@ -720,30 +789,24 @@
|
|
|
720
789
|
"type": "function"
|
|
721
790
|
},
|
|
722
791
|
{
|
|
792
|
+
"gas": 2201,
|
|
723
793
|
"inputs": [],
|
|
724
|
-
"name": "
|
|
794
|
+
"name": "fee",
|
|
725
795
|
"outputs": [
|
|
726
796
|
{
|
|
727
|
-
"internalType": "string",
|
|
728
797
|
"name": "",
|
|
729
|
-
"type": "
|
|
798
|
+
"type": "uint256"
|
|
730
799
|
}
|
|
731
800
|
],
|
|
732
801
|
"stateMutability": "view",
|
|
733
802
|
"type": "function"
|
|
734
803
|
},
|
|
735
804
|
{
|
|
736
|
-
"
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
"name": "",
|
|
740
|
-
"type": "address"
|
|
741
|
-
}
|
|
742
|
-
],
|
|
743
|
-
"name": "nonces",
|
|
805
|
+
"gas": 2231,
|
|
806
|
+
"inputs": [],
|
|
807
|
+
"name": "admin_fee",
|
|
744
808
|
"outputs": [
|
|
745
809
|
{
|
|
746
|
-
"internalType": "uint256",
|
|
747
810
|
"name": "",
|
|
748
811
|
"type": "uint256"
|
|
749
812
|
}
|
|
@@ -752,11 +815,11 @@
|
|
|
752
815
|
"type": "function"
|
|
753
816
|
},
|
|
754
817
|
{
|
|
818
|
+
"gas": 2261,
|
|
755
819
|
"inputs": [],
|
|
756
|
-
"name": "
|
|
820
|
+
"name": "owner",
|
|
757
821
|
"outputs": [
|
|
758
822
|
{
|
|
759
|
-
"internalType": "address",
|
|
760
823
|
"name": "",
|
|
761
824
|
"type": "address"
|
|
762
825
|
}
|
|
@@ -765,147 +828,81 @@
|
|
|
765
828
|
"type": "function"
|
|
766
829
|
},
|
|
767
830
|
{
|
|
768
|
-
"
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
"type": "address"
|
|
773
|
-
},
|
|
831
|
+
"gas": 2291,
|
|
832
|
+
"inputs": [],
|
|
833
|
+
"name": "base_pool",
|
|
834
|
+
"outputs": [
|
|
774
835
|
{
|
|
775
|
-
"
|
|
776
|
-
"name": "spender",
|
|
836
|
+
"name": "",
|
|
777
837
|
"type": "address"
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
"internalType": "uint256",
|
|
781
|
-
"name": "value",
|
|
782
|
-
"type": "uint256"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"internalType": "uint256",
|
|
786
|
-
"name": "deadline",
|
|
787
|
-
"type": "uint256"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"internalType": "uint8",
|
|
791
|
-
"name": "v",
|
|
792
|
-
"type": "uint8"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
"internalType": "bytes32",
|
|
796
|
-
"name": "r",
|
|
797
|
-
"type": "bytes32"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"internalType": "bytes32",
|
|
801
|
-
"name": "s",
|
|
802
|
-
"type": "bytes32"
|
|
803
838
|
}
|
|
804
839
|
],
|
|
805
|
-
"
|
|
806
|
-
"outputs": [],
|
|
807
|
-
"stateMutability": "nonpayable",
|
|
840
|
+
"stateMutability": "view",
|
|
808
841
|
"type": "function"
|
|
809
842
|
},
|
|
810
843
|
{
|
|
811
|
-
"
|
|
844
|
+
"gas": 2321,
|
|
845
|
+
"inputs": [],
|
|
846
|
+
"name": "base_virtual_price",
|
|
847
|
+
"outputs": [
|
|
812
848
|
{
|
|
813
|
-
"
|
|
814
|
-
"name": "fee",
|
|
849
|
+
"name": "",
|
|
815
850
|
"type": "uint256"
|
|
816
851
|
}
|
|
817
852
|
],
|
|
818
|
-
"
|
|
819
|
-
"outputs": [],
|
|
820
|
-
"stateMutability": "nonpayable",
|
|
853
|
+
"stateMutability": "view",
|
|
821
854
|
"type": "function"
|
|
822
855
|
},
|
|
823
856
|
{
|
|
824
|
-
"
|
|
857
|
+
"gas": 2351,
|
|
858
|
+
"inputs": [],
|
|
859
|
+
"name": "base_cache_updated",
|
|
860
|
+
"outputs": [
|
|
825
861
|
{
|
|
826
|
-
"
|
|
827
|
-
"name": "fee",
|
|
862
|
+
"name": "",
|
|
828
863
|
"type": "uint256"
|
|
829
864
|
}
|
|
830
865
|
],
|
|
831
|
-
"
|
|
832
|
-
"outputs": [],
|
|
833
|
-
"stateMutability": "nonpayable",
|
|
834
|
-
"type": "function"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
"inputs": [
|
|
838
|
-
{
|
|
839
|
-
"internalType": "address",
|
|
840
|
-
"name": "_oracle",
|
|
841
|
-
"type": "address"
|
|
842
|
-
}
|
|
843
|
-
],
|
|
844
|
-
"name": "setOracle",
|
|
845
|
-
"outputs": [],
|
|
846
|
-
"stateMutability": "nonpayable",
|
|
866
|
+
"stateMutability": "view",
|
|
847
867
|
"type": "function"
|
|
848
868
|
},
|
|
849
869
|
{
|
|
870
|
+
"gas": 2490,
|
|
850
871
|
"inputs": [
|
|
851
872
|
{
|
|
852
|
-
"
|
|
853
|
-
"name": "fee",
|
|
873
|
+
"name": "arg0",
|
|
854
874
|
"type": "uint256"
|
|
855
875
|
}
|
|
856
876
|
],
|
|
857
|
-
"name": "
|
|
858
|
-
"outputs": [
|
|
859
|
-
"stateMutability": "nonpayable",
|
|
860
|
-
"type": "function"
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"inputs": [
|
|
877
|
+
"name": "base_coins",
|
|
878
|
+
"outputs": [
|
|
864
879
|
{
|
|
865
|
-
"
|
|
866
|
-
"name": "_trader",
|
|
880
|
+
"name": "",
|
|
867
881
|
"type": "address"
|
|
868
882
|
}
|
|
869
883
|
],
|
|
870
|
-
"
|
|
871
|
-
"outputs": [],
|
|
872
|
-
"stateMutability": "nonpayable",
|
|
884
|
+
"stateMutability": "view",
|
|
873
885
|
"type": "function"
|
|
874
886
|
},
|
|
875
887
|
{
|
|
876
|
-
"
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
"type": "uint256"
|
|
881
|
-
},
|
|
888
|
+
"gas": 2411,
|
|
889
|
+
"inputs": [],
|
|
890
|
+
"name": "initial_A",
|
|
891
|
+
"outputs": [
|
|
882
892
|
{
|
|
883
|
-
"
|
|
884
|
-
"name": "amount1Out",
|
|
893
|
+
"name": "",
|
|
885
894
|
"type": "uint256"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
"internalType": "address",
|
|
889
|
-
"name": "to",
|
|
890
|
-
"type": "address"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"internalType": "bytes",
|
|
894
|
-
"name": "data",
|
|
895
|
-
"type": "bytes"
|
|
896
895
|
}
|
|
897
896
|
],
|
|
898
|
-
"
|
|
899
|
-
"outputs": [],
|
|
900
|
-
"stateMutability": "nonpayable",
|
|
897
|
+
"stateMutability": "view",
|
|
901
898
|
"type": "function"
|
|
902
899
|
},
|
|
903
900
|
{
|
|
901
|
+
"gas": 2441,
|
|
904
902
|
"inputs": [],
|
|
905
|
-
"name": "
|
|
903
|
+
"name": "future_A",
|
|
906
904
|
"outputs": [
|
|
907
905
|
{
|
|
908
|
-
"internalType": "uint256",
|
|
909
906
|
"name": "",
|
|
910
907
|
"type": "uint256"
|
|
911
908
|
}
|
|
@@ -914,57 +911,50 @@
|
|
|
914
911
|
"type": "function"
|
|
915
912
|
},
|
|
916
913
|
{
|
|
914
|
+
"gas": 2471,
|
|
917
915
|
"inputs": [],
|
|
918
|
-
"name": "
|
|
916
|
+
"name": "initial_A_time",
|
|
919
917
|
"outputs": [
|
|
920
918
|
{
|
|
921
|
-
"internalType": "string",
|
|
922
919
|
"name": "",
|
|
923
|
-
"type": "
|
|
920
|
+
"type": "uint256"
|
|
924
921
|
}
|
|
925
922
|
],
|
|
926
923
|
"stateMutability": "view",
|
|
927
924
|
"type": "function"
|
|
928
925
|
},
|
|
929
926
|
{
|
|
927
|
+
"gas": 2501,
|
|
930
928
|
"inputs": [],
|
|
931
|
-
"name": "
|
|
932
|
-
"outputs": [],
|
|
933
|
-
"stateMutability": "nonpayable",
|
|
934
|
-
"type": "function"
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
"inputs": [],
|
|
938
|
-
"name": "token0",
|
|
929
|
+
"name": "future_A_time",
|
|
939
930
|
"outputs": [
|
|
940
931
|
{
|
|
941
|
-
"internalType": "address",
|
|
942
932
|
"name": "",
|
|
943
|
-
"type": "
|
|
933
|
+
"type": "uint256"
|
|
944
934
|
}
|
|
945
935
|
],
|
|
946
936
|
"stateMutability": "view",
|
|
947
937
|
"type": "function"
|
|
948
938
|
},
|
|
949
939
|
{
|
|
940
|
+
"gas": 2531,
|
|
950
941
|
"inputs": [],
|
|
951
|
-
"name": "
|
|
942
|
+
"name": "admin_actions_deadline",
|
|
952
943
|
"outputs": [
|
|
953
944
|
{
|
|
954
|
-
"internalType": "address",
|
|
955
945
|
"name": "",
|
|
956
|
-
"type": "
|
|
946
|
+
"type": "uint256"
|
|
957
947
|
}
|
|
958
948
|
],
|
|
959
949
|
"stateMutability": "view",
|
|
960
950
|
"type": "function"
|
|
961
951
|
},
|
|
962
952
|
{
|
|
953
|
+
"gas": 2561,
|
|
963
954
|
"inputs": [],
|
|
964
|
-
"name": "
|
|
955
|
+
"name": "transfer_ownership_deadline",
|
|
965
956
|
"outputs": [
|
|
966
957
|
{
|
|
967
|
-
"internalType": "uint256",
|
|
968
958
|
"name": "",
|
|
969
959
|
"type": "uint256"
|
|
970
960
|
}
|
|
@@ -973,69 +963,42 @@
|
|
|
973
963
|
"type": "function"
|
|
974
964
|
},
|
|
975
965
|
{
|
|
966
|
+
"gas": 2591,
|
|
976
967
|
"inputs": [],
|
|
977
|
-
"name": "
|
|
968
|
+
"name": "future_fee",
|
|
978
969
|
"outputs": [
|
|
979
970
|
{
|
|
980
|
-
"internalType": "address",
|
|
981
971
|
"name": "",
|
|
982
|
-
"type": "
|
|
972
|
+
"type": "uint256"
|
|
983
973
|
}
|
|
984
974
|
],
|
|
985
975
|
"stateMutability": "view",
|
|
986
976
|
"type": "function"
|
|
987
977
|
},
|
|
988
978
|
{
|
|
989
|
-
"
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
"name": "to",
|
|
993
|
-
"type": "address"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"internalType": "uint256",
|
|
997
|
-
"name": "value",
|
|
998
|
-
"type": "uint256"
|
|
999
|
-
}
|
|
1000
|
-
],
|
|
1001
|
-
"name": "transfer",
|
|
979
|
+
"gas": 2621,
|
|
980
|
+
"inputs": [],
|
|
981
|
+
"name": "future_admin_fee",
|
|
1002
982
|
"outputs": [
|
|
1003
983
|
{
|
|
1004
|
-
"internalType": "bool",
|
|
1005
984
|
"name": "",
|
|
1006
|
-
"type": "
|
|
985
|
+
"type": "uint256"
|
|
1007
986
|
}
|
|
1008
987
|
],
|
|
1009
|
-
"stateMutability": "
|
|
988
|
+
"stateMutability": "view",
|
|
1010
989
|
"type": "function"
|
|
1011
990
|
},
|
|
1012
991
|
{
|
|
1013
|
-
"
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
"name": "from",
|
|
1017
|
-
"type": "address"
|
|
1018
|
-
},
|
|
1019
|
-
{
|
|
1020
|
-
"internalType": "address",
|
|
1021
|
-
"name": "to",
|
|
1022
|
-
"type": "address"
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"internalType": "uint256",
|
|
1026
|
-
"name": "value",
|
|
1027
|
-
"type": "uint256"
|
|
1028
|
-
}
|
|
1029
|
-
],
|
|
1030
|
-
"name": "transferFrom",
|
|
992
|
+
"gas": 2651,
|
|
993
|
+
"inputs": [],
|
|
994
|
+
"name": "future_owner",
|
|
1031
995
|
"outputs": [
|
|
1032
996
|
{
|
|
1033
|
-
"internalType": "bool",
|
|
1034
997
|
"name": "",
|
|
1035
|
-
"type": "
|
|
998
|
+
"type": "address"
|
|
1036
999
|
}
|
|
1037
1000
|
],
|
|
1038
|
-
"stateMutability": "
|
|
1001
|
+
"stateMutability": "view",
|
|
1039
1002
|
"type": "function"
|
|
1040
1003
|
}
|
|
1041
1004
|
]
|