@paraswap/dex-lib 4.0.20 → 4.0.21
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/.vscode/launch.json +53 -0
- package/.vscode/settings.json +2 -0
- package/.vscode/tasks.json +15 -0
- package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +52 -0
- package/build/abi/usual-m-smart-m/usualM.abi.json +483 -0
- package/build/abi/{angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json → wombat/pool.json} +637 -594
- package/build/dex/aave-v1/aave-v1.js +1 -0
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/aave-v2/tokens-avalanche.json +44 -0
- package/build/dex/aave-v2/tokens-mainnet.json +188 -0
- package/build/dex/aave-v2/tokens-polygon.json +44 -0
- package/build/dex/bProtocol.d.ts +18 -0
- package/build/dex/bProtocol.js +39 -0
- package/build/dex/bProtocol.js.map +1 -0
- package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +729 -0
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js +732 -0
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +1 -0
- package/build/dex/balancer-v3/abi/balancerRouter.d.ts +1406 -0
- package/build/dex/balancer-v3/abi/balancerRouter.js +1175 -0
- package/build/dex/balancer-v3/abi/balancerRouter.js.map +1 -0
- package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +2081 -0
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js +1851 -0
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +1 -0
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +34 -0
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +406 -0
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +1 -0
- package/build/dex/bancor.d.ts +26 -0
- package/build/dex/bancor.js +58 -0
- package/build/dex/bancor.js.map +1 -0
- package/build/dex/compound.d.ts +18 -0
- package/build/dex/compound.js +46 -0
- package/build/dex/compound.js.map +1 -0
- package/build/dex/curve-v2.d.ts +58 -0
- package/build/dex/curve-v2.js +180 -0
- package/build/dex/curve-v2.js.map +1 -0
- package/build/dex/dodo-v1.d.ts +33 -0
- package/build/dex/dodo-v1.js +63 -0
- package/build/dex/dodo-v1.js.map +1 -0
- package/build/dex/inception/inception-event-pool.d.ts +4 -4
- package/build/dex/inception/inception-event-pool.js +7 -9
- package/build/dex/inception/inception-event-pool.js.map +1 -1
- package/build/dex/inception/inception.d.ts +6 -6
- package/build/dex/inception/inception.js +16 -40
- package/build/dex/inception/inception.js.map +1 -1
- package/build/dex/inception/utils.d.ts +1 -0
- package/build/dex/inception/utils.js +22 -1
- package/build/dex/inception/utils.js.map +1 -1
- package/build/dex/lido.d.ts +19 -0
- package/build/dex/lido.js +42 -0
- package/build/dex/lido.js.map +1 -0
- package/build/dex/maker-psm/scripts/gem.abi.json +136 -0
- package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
- package/build/dex/maker-psm/scripts/validate-state.js +185 -0
- package/build/dex/maker-psm/scripts/validate-state.js.map +1 -0
- package/build/dex/maker-psm/scripts/vat.abi.json +243 -0
- package/build/dex/onebit.d.ts +25 -0
- package/build/dex/onebit.js +42 -0
- package/build/dex/onebit.js.map +1 -0
- package/build/dex/platypus/platypus.js +17 -3
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/smoothy.d.ts +26 -0
- package/build/dex/smoothy.js +48 -0
- package/build/dex/smoothy.js.map +1 -0
- package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +1 -0
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js +53 -0
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +1 -0
- package/build/dex/stable-pool.d.ts +28 -0
- package/build/dex/stable-pool.js +55 -0
- package/build/dex/stable-pool.js.map +1 -0
- package/build/dex/stkgho/stkgho.js +4 -2
- package/build/dex/stkgho/stkgho.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.js +4 -0
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +7 -0
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +20 -0
- package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +1 -0
- package/build/dex/trader-joe-v2.1.d.ts +43 -0
- package/build/dex/trader-joe-v2.1.js +79 -0
- package/build/dex/trader-joe-v2.1.js.map +1 -0
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +17 -0
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +64 -0
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +1 -0
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +17 -0
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +79 -0
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +1 -0
- package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +4 -0
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js +43 -0
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +1 -0
- package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +1 -0
- package/build/dex/uniswap-v3/uniswap-v3-worker.js +10 -0
- package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +1 -0
- package/build/dex/usual/usual-m-smart-m.d.ts +17 -0
- package/build/dex/usual/usual-m-smart-m.js +50 -0
- package/build/dex/usual/usual-m-smart-m.js.map +1 -0
- package/build/dex/usual-m-smart-m/config.d.ts +3 -0
- package/build/dex/usual-m-smart-m/config.js +13 -0
- package/build/dex/usual-m-smart-m/config.js.map +1 -0
- package/build/dex/usual-m-smart-m/types.d.ts +7 -0
- package/build/dex/usual-m-smart-m/types.js +3 -0
- package/build/dex/usual-m-smart-m/types.js.map +1 -0
- package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +35 -0
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js +161 -0
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +1 -0
- package/build/dex/usual-m-usd0/config.d.ts +3 -0
- package/build/dex/usual-m-usd0/config.js +14 -0
- package/build/dex/usual-m-usd0/config.js.map +1 -0
- package/build/dex/usual-m-usd0/types.d.ts +8 -0
- package/build/dex/usual-m-usd0/types.js +3 -0
- package/build/dex/usual-m-usd0/types.js.map +1 -0
- package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +35 -0
- package/build/dex/usual-m-usd0/usual-m-usd0.js +159 -0
- package/build/dex/usual-m-usd0/usual-m-usd0.js.map +1 -0
- package/package.json +1 -1
- package/src/dex/stkgho/stkgho.ts +4 -2
- package/build/abi/Aave_GSM.json +0 -751
- package/build/abi/Balancer.json +0 -257
- package/build/abi/BalancerV2.json +0 -1179
- package/build/abi/RamsesV2Pool.abi.json +0 -1554
- package/build/abi/RamsesV2Quoter.abi.json +0 -274
- package/build/abi/USDM.json +0 -807
- package/build/abi/UniswapV2Router.json +0 -397
- package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +0 -509
- package/build/abi/curve-v1/CurveBUSDv2.abi.json +0 -1356
- package/build/abi/curve-v1/CurveTokenV1.json +0 -305
- package/build/abi/curve-v1/CurveTokenV2.json +0 -318
- package/build/abi/curve-v1/CurveV1StableNg.json +0 -1452
- package/build/abi/curve-v1/CurveV2Swap.json +0 -700
- package/build/abi/curve-v1/FactoryCryptoRegistry.json +0 -316
- package/build/abi/curve-v1/FactoryRegistry.json +0 -508
- package/build/abi/curve-v1/StableSwapAave.json +0 -1152
- package/build/abi/curve-v1/StableSwapBUSD.json +0 -814
- package/build/abi/curve-v1/StableSwapCompound.json +0 -814
- package/build/abi/curve-v1/StableSwapIDLE.json +0 -1253
- package/build/abi/curve-v1/StableSwapPax.json +0 -865
- package/build/abi/curve-v1/StableSwapSnow.json +0 -900
- package/build/abi/curve-v1/StableSwapUSDN.json +0 -1004
- package/build/abi/curve-v1/StableSwapUSDT.json +0 -814
- package/build/abi/curve-v1/StableSwapY.json +0 -814
- package/build/abi/inception/inception-ineth.json +0 -609
- package/build/abi/kyberdmm/kyber-storage.abi.json +0 -824
- package/build/abi/kyberdmm.abi.json +0 -1148
- package/build/abi/maverick-v2/MaverickV2Quoter.json +0 -278
- package/build/abi/nerve/nerve-metapool.json +0 -790
- package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
- package/build/abi/velodrome-slipstream/VelodromeSlipstreamQuoterV2.abi.json +0 -267
- package/build/dex/balancer-v1/balancer-pools.json +0 -33333
- package/build/dex/bebop/websocket-fetcher.d.ts +0 -35
- package/build/dex/bebop/websocket-fetcher.js +0 -87
- package/build/dex/bebop/websocket-fetcher.js.map +0 -1
- package/build/dex/idle-dao/idle-dao-pool.d.ts +0 -56
- package/build/dex/idle-dao/idle-dao-pool.js +0 -176
- package/build/dex/idle-dao/idle-dao-pool.js.map +0 -1
- package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +0 -16
- package/build/dex/idle-dao/idle-dao-pooling-pool.js +0 -57
- package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +0 -1
- package/build/dex/idle-dao/scripts.d.ts +0 -9
- package/build/dex/idle-dao/scripts.js +0 -552
- package/build/dex/idle-dao/scripts.js.map +0 -1
- package/build/dex/inception/inception-native.d.ts +0 -43
- package/build/dex/inception/inception-native.js +0 -131
- package/build/dex/inception/inception-native.js.map +0 -1
- package/build/dex/inception/inception-pool.d.ts +0 -18
- package/build/dex/inception/inception-pool.js +0 -32
- package/build/dex/inception/inception-pool.js.map +0 -1
- package/build/dex/inception/inception-price-feed.d.ts +0 -19
- package/build/dex/inception/inception-price-feed.js +0 -51
- package/build/dex/inception/inception-price-feed.js.map +0 -1
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -16
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-eth-steth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-steth-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-eth-usdc.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-eth.json +0 -9
- package/build/executor/fixtures/executor01/exchange-params/price-route-simpleSwap-univ3-usdc-usdt.json +0 -9
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -12
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-eth-usdc.json +0 -7
- package/build/executor/fixtures/executor01/maybe-weth-calldata/price-route-simpleSwap-univ3-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-curvev1-eth-usdc-gusd.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-balancerv1-sushiv3-wbtc-eth-sushi.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-eth-usdc-gusd.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-curvev1-gusd-usdc-eth.json +0 -78
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-dai-usdc-eth.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-eth-usdc-dai.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdc-eth-wbtc.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-multiswap-sushiv3-usdt-usdc-dai.json +0 -81
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-eth-usdc.json +0 -64
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-eth.json +0 -85
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-balancerv1-usdc-wbtc.json +0 -64
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-eth-steth.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-steth-eth.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-curvev1-usdc-usdt.json +0 -52
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-eth-usdc.json +0 -55
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-eth.json +0 -55
- package/build/executor/fixtures/executor01/routes/price-route-simpleSwap-univ3-usdc-usdt.json +0 -55
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -37
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -51
- package/build/executor/fixtures/executor02/exchange-params/price-route-multiswap-univ3-usdt-dai-eth.json +0 -58
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -23
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -9
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -16
- package/build/executor/fixtures/executor02/exchange-params/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -23
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -12
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-multiswap-univ3-usdt-dai-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -7
- package/build/executor/fixtures/executor02/maybe-weth-calldata/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -7
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-balancerv1-sushiv3-univ3-bal-eth-sushi.json +0 -130
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-maverickv1-sushiv3-univ3-eth-usdc-mav.json +0 -136
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-sushi-eth-wbtc.json +0 -100
- package/build/executor/fixtures/executor02/routes/price-route-multiSwap-univ3-sushiv3-wbtc-eth-sushi.json +0 -100
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-curvev1-univ3-dai-usdc-eth.json +0 -166
- package/build/executor/fixtures/executor02/routes/price-route-multiswap-univ3-usdt-dai-eth.json +0 -190
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-eth-usdc.json +0 -114
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-balancerv1-usdc-eth.json +0 -114
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-eth-sushi.json +0 -55
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-sushiv3-univ3-sushi-eth.json +0 -73
- package/build/executor/fixtures/executor02/routes/price-route-simpleSwap-univ3-curvev1-usdt-dai.json +0 -82
|
@@ -1,86 +1,40 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
+
"anonymous": false,
|
|
3
4
|
"inputs": [
|
|
4
5
|
{
|
|
5
|
-
"
|
|
6
|
-
"name": "_maximumGasPrice",
|
|
7
|
-
"type": "uint32"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "uint32",
|
|
11
|
-
"name": "_reasonableGasPrice",
|
|
12
|
-
"type": "uint32"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "uint32",
|
|
16
|
-
"name": "_microLinkPerEth",
|
|
17
|
-
"type": "uint32"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"internalType": "uint32",
|
|
21
|
-
"name": "_linkGweiPerObservation",
|
|
22
|
-
"type": "uint32"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"internalType": "uint32",
|
|
26
|
-
"name": "_linkGweiPerTransmission",
|
|
27
|
-
"type": "uint32"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
6
|
+
"indexed": true,
|
|
30
7
|
"internalType": "address",
|
|
31
|
-
"name": "
|
|
8
|
+
"name": "token",
|
|
32
9
|
"type": "address"
|
|
33
10
|
},
|
|
34
11
|
{
|
|
12
|
+
"indexed": true,
|
|
35
13
|
"internalType": "address",
|
|
36
|
-
"name": "
|
|
37
|
-
"type": "address"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"internalType": "int192",
|
|
41
|
-
"name": "_minAnswer",
|
|
42
|
-
"type": "int192"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"internalType": "int192",
|
|
46
|
-
"name": "_maxAnswer",
|
|
47
|
-
"type": "int192"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"internalType": "contract AccessControllerInterface",
|
|
51
|
-
"name": "_billingAccessController",
|
|
14
|
+
"name": "asset",
|
|
52
15
|
"type": "address"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"internalType": "contract AccessControllerInterface",
|
|
56
|
-
"name": "_requesterAccessController",
|
|
57
|
-
"type": "address"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"internalType": "uint8",
|
|
61
|
-
"name": "_decimals",
|
|
62
|
-
"type": "uint8"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"internalType": "string",
|
|
66
|
-
"name": "description",
|
|
67
|
-
"type": "string"
|
|
68
16
|
}
|
|
69
17
|
],
|
|
70
|
-
"
|
|
71
|
-
"type": "
|
|
18
|
+
"name": "AssetAdded",
|
|
19
|
+
"type": "event"
|
|
72
20
|
},
|
|
73
21
|
{
|
|
74
22
|
"anonymous": false,
|
|
75
23
|
"inputs": [
|
|
76
24
|
{
|
|
77
|
-
"indexed":
|
|
25
|
+
"indexed": true,
|
|
26
|
+
"internalType": "address",
|
|
27
|
+
"name": "token",
|
|
28
|
+
"type": "address"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"indexed": true,
|
|
78
32
|
"internalType": "address",
|
|
79
|
-
"name": "
|
|
33
|
+
"name": "asset",
|
|
80
34
|
"type": "address"
|
|
81
35
|
}
|
|
82
36
|
],
|
|
83
|
-
"name": "
|
|
37
|
+
"name": "AssetRemoved",
|
|
84
38
|
"type": "event"
|
|
85
39
|
},
|
|
86
40
|
{
|
|
@@ -88,24 +42,36 @@
|
|
|
88
42
|
"inputs": [
|
|
89
43
|
{
|
|
90
44
|
"indexed": true,
|
|
91
|
-
"internalType": "
|
|
92
|
-
"name": "
|
|
93
|
-
"type": "
|
|
45
|
+
"internalType": "address",
|
|
46
|
+
"name": "sender",
|
|
47
|
+
"type": "address"
|
|
94
48
|
},
|
|
95
49
|
{
|
|
96
|
-
"indexed":
|
|
50
|
+
"indexed": false,
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "token",
|
|
53
|
+
"type": "address"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"indexed": false,
|
|
97
57
|
"internalType": "uint256",
|
|
98
|
-
"name": "
|
|
58
|
+
"name": "amount",
|
|
99
59
|
"type": "uint256"
|
|
100
60
|
},
|
|
101
61
|
{
|
|
102
62
|
"indexed": false,
|
|
103
63
|
"internalType": "uint256",
|
|
104
|
-
"name": "
|
|
64
|
+
"name": "liquidity",
|
|
105
65
|
"type": "uint256"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"indexed": true,
|
|
69
|
+
"internalType": "address",
|
|
70
|
+
"name": "to",
|
|
71
|
+
"type": "address"
|
|
106
72
|
}
|
|
107
73
|
],
|
|
108
|
-
"name": "
|
|
74
|
+
"name": "Deposit",
|
|
109
75
|
"type": "event"
|
|
110
76
|
},
|
|
111
77
|
{
|
|
@@ -113,18 +79,18 @@
|
|
|
113
79
|
"inputs": [
|
|
114
80
|
{
|
|
115
81
|
"indexed": false,
|
|
116
|
-
"internalType": "
|
|
117
|
-
"name": "
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "token",
|
|
118
84
|
"type": "address"
|
|
119
85
|
},
|
|
120
86
|
{
|
|
121
87
|
"indexed": false,
|
|
122
|
-
"internalType": "
|
|
123
|
-
"name": "
|
|
124
|
-
"type": "
|
|
88
|
+
"internalType": "uint256",
|
|
89
|
+
"name": "amount",
|
|
90
|
+
"type": "uint256"
|
|
125
91
|
}
|
|
126
92
|
],
|
|
127
|
-
"name": "
|
|
93
|
+
"name": "FillPool",
|
|
128
94
|
"type": "event"
|
|
129
95
|
},
|
|
130
96
|
{
|
|
@@ -132,48 +98,44 @@
|
|
|
132
98
|
"inputs": [
|
|
133
99
|
{
|
|
134
100
|
"indexed": false,
|
|
135
|
-
"internalType": "
|
|
136
|
-
"name": "
|
|
137
|
-
"type": "
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"indexed": false,
|
|
141
|
-
"internalType": "uint32",
|
|
142
|
-
"name": "reasonableGasPrice",
|
|
143
|
-
"type": "uint32"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"indexed": false,
|
|
147
|
-
"internalType": "uint32",
|
|
148
|
-
"name": "microLinkPerEth",
|
|
149
|
-
"type": "uint32"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"indexed": false,
|
|
153
|
-
"internalType": "uint32",
|
|
154
|
-
"name": "linkGweiPerObservation",
|
|
155
|
-
"type": "uint32"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"indexed": false,
|
|
159
|
-
"internalType": "uint32",
|
|
160
|
-
"name": "linkGweiPerTransmission",
|
|
161
|
-
"type": "uint32"
|
|
101
|
+
"internalType": "uint8",
|
|
102
|
+
"name": "version",
|
|
103
|
+
"type": "uint8"
|
|
162
104
|
}
|
|
163
105
|
],
|
|
164
|
-
"name": "
|
|
106
|
+
"name": "Initialized",
|
|
165
107
|
"type": "event"
|
|
166
108
|
},
|
|
167
109
|
{
|
|
168
110
|
"anonymous": false,
|
|
169
|
-
"inputs": [
|
|
170
|
-
|
|
111
|
+
"inputs": [
|
|
112
|
+
{
|
|
113
|
+
"indexed": true,
|
|
114
|
+
"internalType": "address",
|
|
115
|
+
"name": "previousOwner",
|
|
116
|
+
"type": "address"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"indexed": true,
|
|
120
|
+
"internalType": "address",
|
|
121
|
+
"name": "newOwner",
|
|
122
|
+
"type": "address"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "OwnershipTransferred",
|
|
171
126
|
"type": "event"
|
|
172
127
|
},
|
|
173
128
|
{
|
|
174
129
|
"anonymous": false,
|
|
175
|
-
"inputs": [
|
|
176
|
-
|
|
130
|
+
"inputs": [
|
|
131
|
+
{
|
|
132
|
+
"indexed": false,
|
|
133
|
+
"internalType": "address",
|
|
134
|
+
"name": "account",
|
|
135
|
+
"type": "address"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "Paused",
|
|
177
139
|
"type": "event"
|
|
178
140
|
},
|
|
179
141
|
{
|
|
@@ -181,116 +143,63 @@
|
|
|
181
143
|
"inputs": [
|
|
182
144
|
{
|
|
183
145
|
"indexed": false,
|
|
184
|
-
"internalType": "
|
|
185
|
-
"name": "
|
|
186
|
-
"type": "
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"indexed": false,
|
|
190
|
-
"internalType": "uint64",
|
|
191
|
-
"name": "configCount",
|
|
192
|
-
"type": "uint64"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"indexed": false,
|
|
196
|
-
"internalType": "address[]",
|
|
197
|
-
"name": "signers",
|
|
198
|
-
"type": "address[]"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"indexed": false,
|
|
202
|
-
"internalType": "address[]",
|
|
203
|
-
"name": "transmitters",
|
|
204
|
-
"type": "address[]"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"indexed": false,
|
|
208
|
-
"internalType": "uint8",
|
|
209
|
-
"name": "threshold",
|
|
210
|
-
"type": "uint8"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"indexed": false,
|
|
214
|
-
"internalType": "uint64",
|
|
215
|
-
"name": "encodedConfigVersion",
|
|
216
|
-
"type": "uint64"
|
|
146
|
+
"internalType": "address",
|
|
147
|
+
"name": "token",
|
|
148
|
+
"type": "address"
|
|
217
149
|
},
|
|
218
150
|
{
|
|
219
151
|
"indexed": false,
|
|
220
|
-
"internalType": "
|
|
221
|
-
"name": "
|
|
222
|
-
"type": "
|
|
152
|
+
"internalType": "address",
|
|
153
|
+
"name": "account",
|
|
154
|
+
"type": "address"
|
|
223
155
|
}
|
|
224
156
|
],
|
|
225
|
-
"name": "
|
|
157
|
+
"name": "PausedAsset",
|
|
226
158
|
"type": "event"
|
|
227
159
|
},
|
|
228
160
|
{
|
|
229
161
|
"anonymous": false,
|
|
230
162
|
"inputs": [
|
|
231
|
-
{
|
|
232
|
-
"indexed": true,
|
|
233
|
-
"internalType": "uint256",
|
|
234
|
-
"name": "roundId",
|
|
235
|
-
"type": "uint256"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"indexed": true,
|
|
239
|
-
"internalType": "address",
|
|
240
|
-
"name": "startedBy",
|
|
241
|
-
"type": "address"
|
|
242
|
-
},
|
|
243
163
|
{
|
|
244
164
|
"indexed": false,
|
|
245
165
|
"internalType": "uint256",
|
|
246
|
-
"name": "
|
|
166
|
+
"name": "value",
|
|
247
167
|
"type": "uint256"
|
|
248
168
|
}
|
|
249
169
|
],
|
|
250
|
-
"name": "
|
|
170
|
+
"name": "SetAmpFactor",
|
|
251
171
|
"type": "event"
|
|
252
172
|
},
|
|
253
173
|
{
|
|
254
174
|
"anonymous": false,
|
|
255
175
|
"inputs": [
|
|
256
|
-
{
|
|
257
|
-
"indexed": true,
|
|
258
|
-
"internalType": "uint32",
|
|
259
|
-
"name": "aggregatorRoundId",
|
|
260
|
-
"type": "uint32"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"indexed": false,
|
|
264
|
-
"internalType": "int192",
|
|
265
|
-
"name": "answer",
|
|
266
|
-
"type": "int192"
|
|
267
|
-
},
|
|
268
176
|
{
|
|
269
177
|
"indexed": false,
|
|
270
178
|
"internalType": "address",
|
|
271
|
-
"name": "
|
|
179
|
+
"name": "addr",
|
|
272
180
|
"type": "address"
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"name": "SetDev",
|
|
184
|
+
"type": "event"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"anonymous": false,
|
|
188
|
+
"inputs": [
|
|
280
189
|
{
|
|
281
190
|
"indexed": false,
|
|
282
|
-
"internalType": "
|
|
283
|
-
"name": "
|
|
284
|
-
"type": "
|
|
191
|
+
"internalType": "uint256",
|
|
192
|
+
"name": "lpDividendRatio",
|
|
193
|
+
"type": "uint256"
|
|
285
194
|
},
|
|
286
195
|
{
|
|
287
196
|
"indexed": false,
|
|
288
|
-
"internalType": "
|
|
289
|
-
"name": "
|
|
290
|
-
"type": "
|
|
197
|
+
"internalType": "uint256",
|
|
198
|
+
"name": "retentionRatio",
|
|
199
|
+
"type": "uint256"
|
|
291
200
|
}
|
|
292
201
|
],
|
|
293
|
-
"name": "
|
|
202
|
+
"name": "SetFee",
|
|
294
203
|
"type": "event"
|
|
295
204
|
},
|
|
296
205
|
{
|
|
@@ -299,61 +208,50 @@
|
|
|
299
208
|
{
|
|
300
209
|
"indexed": false,
|
|
301
210
|
"internalType": "address",
|
|
302
|
-
"name": "
|
|
303
|
-
"type": "address"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"indexed": false,
|
|
307
|
-
"internalType": "address",
|
|
308
|
-
"name": "payee",
|
|
211
|
+
"name": "addr",
|
|
309
212
|
"type": "address"
|
|
310
|
-
}
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"name": "SetFeeTo",
|
|
216
|
+
"type": "event"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"anonymous": false,
|
|
220
|
+
"inputs": [
|
|
311
221
|
{
|
|
312
222
|
"indexed": false,
|
|
313
223
|
"internalType": "uint256",
|
|
314
|
-
"name": "
|
|
224
|
+
"name": "value",
|
|
315
225
|
"type": "uint256"
|
|
316
226
|
}
|
|
317
227
|
],
|
|
318
|
-
"name": "
|
|
228
|
+
"name": "SetHaircutRate",
|
|
319
229
|
"type": "event"
|
|
320
230
|
},
|
|
321
231
|
{
|
|
322
232
|
"anonymous": false,
|
|
323
233
|
"inputs": [
|
|
324
234
|
{
|
|
325
|
-
"indexed":
|
|
326
|
-
"internalType": "address",
|
|
327
|
-
"name": "from",
|
|
328
|
-
"type": "address"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"indexed": true,
|
|
235
|
+
"indexed": false,
|
|
332
236
|
"internalType": "address",
|
|
333
|
-
"name": "
|
|
237
|
+
"name": "addr",
|
|
334
238
|
"type": "address"
|
|
335
239
|
}
|
|
336
240
|
],
|
|
337
|
-
"name": "
|
|
241
|
+
"name": "SetMasterWombat",
|
|
338
242
|
"type": "event"
|
|
339
243
|
},
|
|
340
244
|
{
|
|
341
245
|
"anonymous": false,
|
|
342
246
|
"inputs": [
|
|
343
247
|
{
|
|
344
|
-
"indexed":
|
|
345
|
-
"internalType": "
|
|
346
|
-
"name": "
|
|
347
|
-
"type": "
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"indexed": true,
|
|
351
|
-
"internalType": "address",
|
|
352
|
-
"name": "to",
|
|
353
|
-
"type": "address"
|
|
248
|
+
"indexed": false,
|
|
249
|
+
"internalType": "uint256",
|
|
250
|
+
"name": "value",
|
|
251
|
+
"type": "uint256"
|
|
354
252
|
}
|
|
355
253
|
],
|
|
356
|
-
"name": "
|
|
254
|
+
"name": "SetMintFeeThreshold",
|
|
357
255
|
"type": "event"
|
|
358
256
|
},
|
|
359
257
|
{
|
|
@@ -362,48 +260,66 @@
|
|
|
362
260
|
{
|
|
363
261
|
"indexed": true,
|
|
364
262
|
"internalType": "address",
|
|
365
|
-
"name": "
|
|
263
|
+
"name": "sender",
|
|
366
264
|
"type": "address"
|
|
367
265
|
},
|
|
368
266
|
{
|
|
369
|
-
"indexed":
|
|
267
|
+
"indexed": false,
|
|
268
|
+
"internalType": "address",
|
|
269
|
+
"name": "fromToken",
|
|
270
|
+
"type": "address"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"indexed": false,
|
|
370
274
|
"internalType": "address",
|
|
371
|
-
"name": "
|
|
275
|
+
"name": "toToken",
|
|
372
276
|
"type": "address"
|
|
373
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"indexed": false,
|
|
280
|
+
"internalType": "uint256",
|
|
281
|
+
"name": "fromAmount",
|
|
282
|
+
"type": "uint256"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"indexed": false,
|
|
286
|
+
"internalType": "uint256",
|
|
287
|
+
"name": "toAmount",
|
|
288
|
+
"type": "uint256"
|
|
289
|
+
},
|
|
374
290
|
{
|
|
375
291
|
"indexed": true,
|
|
376
292
|
"internalType": "address",
|
|
377
|
-
"name": "
|
|
293
|
+
"name": "to",
|
|
378
294
|
"type": "address"
|
|
379
295
|
}
|
|
380
296
|
],
|
|
381
|
-
"name": "
|
|
297
|
+
"name": "Swap",
|
|
382
298
|
"type": "event"
|
|
383
299
|
},
|
|
384
300
|
{
|
|
385
301
|
"anonymous": false,
|
|
386
302
|
"inputs": [
|
|
387
303
|
{
|
|
388
|
-
"indexed":
|
|
304
|
+
"indexed": false,
|
|
389
305
|
"internalType": "address",
|
|
390
|
-
"name": "
|
|
306
|
+
"name": "token",
|
|
391
307
|
"type": "address"
|
|
392
308
|
},
|
|
393
309
|
{
|
|
394
|
-
"indexed":
|
|
395
|
-
"internalType": "
|
|
396
|
-
"name": "
|
|
397
|
-
"type": "
|
|
310
|
+
"indexed": false,
|
|
311
|
+
"internalType": "uint256",
|
|
312
|
+
"name": "amount",
|
|
313
|
+
"type": "uint256"
|
|
398
314
|
},
|
|
399
315
|
{
|
|
400
|
-
"indexed":
|
|
316
|
+
"indexed": false,
|
|
401
317
|
"internalType": "address",
|
|
402
|
-
"name": "
|
|
318
|
+
"name": "to",
|
|
403
319
|
"type": "address"
|
|
404
320
|
}
|
|
405
321
|
],
|
|
406
|
-
"name": "
|
|
322
|
+
"name": "TransferTipBucket",
|
|
407
323
|
"type": "event"
|
|
408
324
|
},
|
|
409
325
|
{
|
|
@@ -412,11 +328,11 @@
|
|
|
412
328
|
{
|
|
413
329
|
"indexed": false,
|
|
414
330
|
"internalType": "address",
|
|
415
|
-
"name": "
|
|
331
|
+
"name": "account",
|
|
416
332
|
"type": "address"
|
|
417
333
|
}
|
|
418
334
|
],
|
|
419
|
-
"name": "
|
|
335
|
+
"name": "Unpaused",
|
|
420
336
|
"type": "event"
|
|
421
337
|
},
|
|
422
338
|
{
|
|
@@ -424,18 +340,18 @@
|
|
|
424
340
|
"inputs": [
|
|
425
341
|
{
|
|
426
342
|
"indexed": false,
|
|
427
|
-
"internalType": "
|
|
428
|
-
"name": "
|
|
343
|
+
"internalType": "address",
|
|
344
|
+
"name": "token",
|
|
429
345
|
"type": "address"
|
|
430
346
|
},
|
|
431
347
|
{
|
|
432
348
|
"indexed": false,
|
|
433
|
-
"internalType": "
|
|
434
|
-
"name": "
|
|
349
|
+
"internalType": "address",
|
|
350
|
+
"name": "account",
|
|
435
351
|
"type": "address"
|
|
436
352
|
}
|
|
437
353
|
],
|
|
438
|
-
"name": "
|
|
354
|
+
"name": "UnpausedAsset",
|
|
439
355
|
"type": "event"
|
|
440
356
|
},
|
|
441
357
|
{
|
|
@@ -444,56 +360,67 @@
|
|
|
444
360
|
{
|
|
445
361
|
"indexed": true,
|
|
446
362
|
"internalType": "address",
|
|
447
|
-
"name": "
|
|
363
|
+
"name": "sender",
|
|
448
364
|
"type": "address"
|
|
449
365
|
},
|
|
450
366
|
{
|
|
451
367
|
"indexed": false,
|
|
452
|
-
"internalType": "
|
|
453
|
-
"name": "
|
|
454
|
-
"type": "
|
|
368
|
+
"internalType": "address",
|
|
369
|
+
"name": "token",
|
|
370
|
+
"type": "address"
|
|
455
371
|
},
|
|
456
372
|
{
|
|
457
373
|
"indexed": false,
|
|
458
|
-
"internalType": "
|
|
459
|
-
"name": "
|
|
460
|
-
"type": "
|
|
374
|
+
"internalType": "uint256",
|
|
375
|
+
"name": "amount",
|
|
376
|
+
"type": "uint256"
|
|
461
377
|
},
|
|
462
378
|
{
|
|
463
379
|
"indexed": false,
|
|
464
|
-
"internalType": "
|
|
465
|
-
"name": "
|
|
466
|
-
"type": "
|
|
380
|
+
"internalType": "uint256",
|
|
381
|
+
"name": "liquidity",
|
|
382
|
+
"type": "uint256"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"indexed": true,
|
|
386
|
+
"internalType": "address",
|
|
387
|
+
"name": "to",
|
|
388
|
+
"type": "address"
|
|
467
389
|
}
|
|
468
390
|
],
|
|
469
|
-
"name": "
|
|
391
|
+
"name": "Withdraw",
|
|
470
392
|
"type": "event"
|
|
471
393
|
},
|
|
472
394
|
{
|
|
473
|
-
"anonymous": false,
|
|
474
395
|
"inputs": [
|
|
475
396
|
{
|
|
476
|
-
"indexed": true,
|
|
477
397
|
"internalType": "address",
|
|
478
|
-
"name": "
|
|
398
|
+
"name": "token",
|
|
479
399
|
"type": "address"
|
|
480
400
|
},
|
|
481
401
|
{
|
|
482
|
-
"indexed": true,
|
|
483
402
|
"internalType": "address",
|
|
484
|
-
"name": "
|
|
403
|
+
"name": "asset",
|
|
485
404
|
"type": "address"
|
|
486
405
|
}
|
|
487
406
|
],
|
|
488
|
-
"name": "
|
|
489
|
-
"
|
|
407
|
+
"name": "addAsset",
|
|
408
|
+
"outputs": [],
|
|
409
|
+
"stateMutability": "nonpayable",
|
|
410
|
+
"type": "function"
|
|
490
411
|
},
|
|
491
412
|
{
|
|
492
|
-
"inputs": [
|
|
493
|
-
|
|
413
|
+
"inputs": [
|
|
414
|
+
{
|
|
415
|
+
"internalType": "address",
|
|
416
|
+
"name": "token",
|
|
417
|
+
"type": "address"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"name": "addressOfAsset",
|
|
494
421
|
"outputs": [
|
|
495
422
|
{
|
|
496
|
-
"internalType": "
|
|
423
|
+
"internalType": "address",
|
|
497
424
|
"name": "",
|
|
498
425
|
"type": "address"
|
|
499
426
|
}
|
|
@@ -503,43 +430,67 @@
|
|
|
503
430
|
},
|
|
504
431
|
{
|
|
505
432
|
"inputs": [],
|
|
506
|
-
"name": "
|
|
507
|
-
"outputs": [
|
|
508
|
-
"stateMutability": "nonpayable",
|
|
509
|
-
"type": "function"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"inputs": [
|
|
433
|
+
"name": "ampFactor",
|
|
434
|
+
"outputs": [
|
|
513
435
|
{
|
|
514
|
-
"internalType": "
|
|
515
|
-
"name": "
|
|
516
|
-
"type": "
|
|
436
|
+
"internalType": "uint256",
|
|
437
|
+
"name": "",
|
|
438
|
+
"type": "uint256"
|
|
517
439
|
}
|
|
518
440
|
],
|
|
519
|
-
"
|
|
520
|
-
"outputs": [],
|
|
521
|
-
"stateMutability": "nonpayable",
|
|
441
|
+
"stateMutability": "view",
|
|
522
442
|
"type": "function"
|
|
523
443
|
},
|
|
524
444
|
{
|
|
525
445
|
"inputs": [
|
|
526
446
|
{
|
|
527
447
|
"internalType": "address",
|
|
528
|
-
"name": "
|
|
448
|
+
"name": "token",
|
|
529
449
|
"type": "address"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"internalType": "uint256",
|
|
453
|
+
"name": "amount",
|
|
454
|
+
"type": "uint256"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"internalType": "uint256",
|
|
458
|
+
"name": "minimumLiquidity",
|
|
459
|
+
"type": "uint256"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"internalType": "address",
|
|
463
|
+
"name": "to",
|
|
464
|
+
"type": "address"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"internalType": "uint256",
|
|
468
|
+
"name": "deadline",
|
|
469
|
+
"type": "uint256"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"internalType": "bool",
|
|
473
|
+
"name": "shouldStake",
|
|
474
|
+
"type": "bool"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"name": "deposit",
|
|
478
|
+
"outputs": [
|
|
479
|
+
{
|
|
480
|
+
"internalType": "uint256",
|
|
481
|
+
"name": "liquidity",
|
|
482
|
+
"type": "uint256"
|
|
530
483
|
}
|
|
531
484
|
],
|
|
532
|
-
"name": "addAccess",
|
|
533
|
-
"outputs": [],
|
|
534
485
|
"stateMutability": "nonpayable",
|
|
535
486
|
"type": "function"
|
|
536
487
|
},
|
|
537
488
|
{
|
|
538
489
|
"inputs": [],
|
|
539
|
-
"name": "
|
|
490
|
+
"name": "dev",
|
|
540
491
|
"outputs": [
|
|
541
492
|
{
|
|
542
|
-
"internalType": "
|
|
493
|
+
"internalType": "address",
|
|
543
494
|
"name": "",
|
|
544
495
|
"type": "address"
|
|
545
496
|
}
|
|
@@ -549,25 +500,31 @@
|
|
|
549
500
|
},
|
|
550
501
|
{
|
|
551
502
|
"inputs": [],
|
|
552
|
-
"name": "
|
|
503
|
+
"name": "endCovRatio",
|
|
553
504
|
"outputs": [
|
|
554
505
|
{
|
|
555
|
-
"internalType": "
|
|
506
|
+
"internalType": "uint128",
|
|
556
507
|
"name": "",
|
|
557
|
-
"type": "
|
|
508
|
+
"type": "uint128"
|
|
558
509
|
}
|
|
559
510
|
],
|
|
560
511
|
"stateMutability": "view",
|
|
561
512
|
"type": "function"
|
|
562
513
|
},
|
|
563
514
|
{
|
|
564
|
-
"inputs": [
|
|
565
|
-
|
|
515
|
+
"inputs": [
|
|
516
|
+
{
|
|
517
|
+
"internalType": "address",
|
|
518
|
+
"name": "token",
|
|
519
|
+
"type": "address"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"name": "exchangeRate",
|
|
566
523
|
"outputs": [
|
|
567
524
|
{
|
|
568
|
-
"internalType": "
|
|
569
|
-
"name": "",
|
|
570
|
-
"type": "
|
|
525
|
+
"internalType": "uint256",
|
|
526
|
+
"name": "xr",
|
|
527
|
+
"type": "uint256"
|
|
571
528
|
}
|
|
572
529
|
],
|
|
573
530
|
"stateMutability": "view",
|
|
@@ -575,45 +532,43 @@
|
|
|
575
532
|
},
|
|
576
533
|
{
|
|
577
534
|
"inputs": [],
|
|
578
|
-
"name": "
|
|
535
|
+
"name": "feeTo",
|
|
579
536
|
"outputs": [
|
|
580
537
|
{
|
|
581
|
-
"internalType": "
|
|
538
|
+
"internalType": "address",
|
|
582
539
|
"name": "",
|
|
583
|
-
"type": "
|
|
540
|
+
"type": "address"
|
|
584
541
|
}
|
|
585
542
|
],
|
|
586
543
|
"stateMutability": "view",
|
|
587
544
|
"type": "function"
|
|
588
545
|
},
|
|
589
|
-
{
|
|
590
|
-
"inputs": [],
|
|
591
|
-
"name": "disableAccessCheck",
|
|
592
|
-
"outputs": [],
|
|
593
|
-
"stateMutability": "nonpayable",
|
|
594
|
-
"type": "function"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"inputs": [],
|
|
598
|
-
"name": "enableAccessCheck",
|
|
599
|
-
"outputs": [],
|
|
600
|
-
"stateMutability": "nonpayable",
|
|
601
|
-
"type": "function"
|
|
602
|
-
},
|
|
603
546
|
{
|
|
604
547
|
"inputs": [
|
|
548
|
+
{
|
|
549
|
+
"internalType": "address",
|
|
550
|
+
"name": "token",
|
|
551
|
+
"type": "address"
|
|
552
|
+
},
|
|
605
553
|
{
|
|
606
554
|
"internalType": "uint256",
|
|
607
|
-
"name": "
|
|
555
|
+
"name": "amount",
|
|
608
556
|
"type": "uint256"
|
|
609
557
|
}
|
|
610
558
|
],
|
|
611
|
-
"name": "
|
|
559
|
+
"name": "fillPool",
|
|
560
|
+
"outputs": [],
|
|
561
|
+
"stateMutability": "nonpayable",
|
|
562
|
+
"type": "function"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"inputs": [],
|
|
566
|
+
"name": "getTokens",
|
|
612
567
|
"outputs": [
|
|
613
568
|
{
|
|
614
|
-
"internalType": "
|
|
569
|
+
"internalType": "address[]",
|
|
615
570
|
"name": "",
|
|
616
|
-
"type": "
|
|
571
|
+
"type": "address[]"
|
|
617
572
|
}
|
|
618
573
|
],
|
|
619
574
|
"stateMutability": "view",
|
|
@@ -621,71 +576,30 @@
|
|
|
621
576
|
},
|
|
622
577
|
{
|
|
623
578
|
"inputs": [],
|
|
624
|
-
"name": "
|
|
579
|
+
"name": "globalEquilCovRatio",
|
|
625
580
|
"outputs": [
|
|
626
581
|
{
|
|
627
|
-
"internalType": "
|
|
628
|
-
"name": "
|
|
629
|
-
"type": "
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"internalType": "uint32",
|
|
633
|
-
"name": "reasonableGasPrice",
|
|
634
|
-
"type": "uint32"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"internalType": "uint32",
|
|
638
|
-
"name": "microLinkPerEth",
|
|
639
|
-
"type": "uint32"
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"internalType": "uint32",
|
|
643
|
-
"name": "linkGweiPerObservation",
|
|
644
|
-
"type": "uint32"
|
|
582
|
+
"internalType": "uint256",
|
|
583
|
+
"name": "equilCovRatio",
|
|
584
|
+
"type": "uint256"
|
|
645
585
|
},
|
|
646
586
|
{
|
|
647
|
-
"internalType": "
|
|
648
|
-
"name": "
|
|
649
|
-
"type": "
|
|
587
|
+
"internalType": "uint256",
|
|
588
|
+
"name": "invariantInUint",
|
|
589
|
+
"type": "uint256"
|
|
650
590
|
}
|
|
651
591
|
],
|
|
652
592
|
"stateMutability": "view",
|
|
653
593
|
"type": "function"
|
|
654
594
|
},
|
|
655
595
|
{
|
|
656
|
-
"inputs": [
|
|
657
|
-
|
|
658
|
-
"internalType": "uint80",
|
|
659
|
-
"name": "_roundId",
|
|
660
|
-
"type": "uint80"
|
|
661
|
-
}
|
|
662
|
-
],
|
|
663
|
-
"name": "getRoundData",
|
|
596
|
+
"inputs": [],
|
|
597
|
+
"name": "haircutRate",
|
|
664
598
|
"outputs": [
|
|
665
|
-
{
|
|
666
|
-
"internalType": "uint80",
|
|
667
|
-
"name": "roundId",
|
|
668
|
-
"type": "uint80"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"internalType": "int256",
|
|
672
|
-
"name": "answer",
|
|
673
|
-
"type": "int256"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"internalType": "uint256",
|
|
677
|
-
"name": "startedAt",
|
|
678
|
-
"type": "uint256"
|
|
679
|
-
},
|
|
680
599
|
{
|
|
681
600
|
"internalType": "uint256",
|
|
682
|
-
"name": "
|
|
601
|
+
"name": "",
|
|
683
602
|
"type": "uint256"
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
"internalType": "uint80",
|
|
687
|
-
"name": "answeredInRound",
|
|
688
|
-
"type": "uint80"
|
|
689
603
|
}
|
|
690
604
|
],
|
|
691
605
|
"stateMutability": "view",
|
|
@@ -695,35 +609,29 @@
|
|
|
695
609
|
"inputs": [
|
|
696
610
|
{
|
|
697
611
|
"internalType": "uint256",
|
|
698
|
-
"name": "
|
|
612
|
+
"name": "ampFactor_",
|
|
699
613
|
"type": "uint256"
|
|
700
|
-
}
|
|
701
|
-
],
|
|
702
|
-
"name": "getTimestamp",
|
|
703
|
-
"outputs": [
|
|
614
|
+
},
|
|
704
615
|
{
|
|
705
616
|
"internalType": "uint256",
|
|
706
|
-
"name": "",
|
|
617
|
+
"name": "haircutRate_",
|
|
707
618
|
"type": "uint256"
|
|
708
619
|
}
|
|
709
620
|
],
|
|
710
|
-
"
|
|
621
|
+
"name": "initialize",
|
|
622
|
+
"outputs": [],
|
|
623
|
+
"stateMutability": "nonpayable",
|
|
711
624
|
"type": "function"
|
|
712
625
|
},
|
|
713
626
|
{
|
|
714
627
|
"inputs": [
|
|
715
628
|
{
|
|
716
629
|
"internalType": "address",
|
|
717
|
-
"name": "
|
|
630
|
+
"name": "token",
|
|
718
631
|
"type": "address"
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
"internalType": "bytes",
|
|
722
|
-
"name": "_calldata",
|
|
723
|
-
"type": "bytes"
|
|
724
632
|
}
|
|
725
633
|
],
|
|
726
|
-
"name": "
|
|
634
|
+
"name": "isPaused",
|
|
727
635
|
"outputs": [
|
|
728
636
|
{
|
|
729
637
|
"internalType": "bool",
|
|
@@ -736,12 +644,12 @@
|
|
|
736
644
|
},
|
|
737
645
|
{
|
|
738
646
|
"inputs": [],
|
|
739
|
-
"name": "
|
|
647
|
+
"name": "lpDividendRatio",
|
|
740
648
|
"outputs": [
|
|
741
649
|
{
|
|
742
|
-
"internalType": "
|
|
650
|
+
"internalType": "uint256",
|
|
743
651
|
"name": "",
|
|
744
|
-
"type": "
|
|
652
|
+
"type": "uint256"
|
|
745
653
|
}
|
|
746
654
|
],
|
|
747
655
|
"stateMutability": "view",
|
|
@@ -749,68 +657,44 @@
|
|
|
749
657
|
},
|
|
750
658
|
{
|
|
751
659
|
"inputs": [],
|
|
752
|
-
"name": "
|
|
660
|
+
"name": "masterWombat",
|
|
753
661
|
"outputs": [
|
|
754
662
|
{
|
|
755
|
-
"internalType": "
|
|
756
|
-
"name": "
|
|
757
|
-
"type": "
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
"internalType": "uint32",
|
|
761
|
-
"name": "blockNumber",
|
|
762
|
-
"type": "uint32"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"internalType": "bytes16",
|
|
766
|
-
"name": "configDigest",
|
|
767
|
-
"type": "bytes16"
|
|
663
|
+
"internalType": "address",
|
|
664
|
+
"name": "",
|
|
665
|
+
"type": "address"
|
|
768
666
|
}
|
|
769
667
|
],
|
|
770
668
|
"stateMutability": "view",
|
|
771
669
|
"type": "function"
|
|
772
670
|
},
|
|
773
671
|
{
|
|
774
|
-
"inputs": [
|
|
775
|
-
|
|
672
|
+
"inputs": [
|
|
673
|
+
{
|
|
674
|
+
"internalType": "address",
|
|
675
|
+
"name": "token",
|
|
676
|
+
"type": "address"
|
|
677
|
+
}
|
|
678
|
+
],
|
|
679
|
+
"name": "mintFee",
|
|
776
680
|
"outputs": [
|
|
777
681
|
{
|
|
778
682
|
"internalType": "uint256",
|
|
779
|
-
"name": "",
|
|
683
|
+
"name": "feeCollected",
|
|
780
684
|
"type": "uint256"
|
|
781
685
|
}
|
|
782
686
|
],
|
|
783
|
-
"stateMutability": "
|
|
687
|
+
"stateMutability": "nonpayable",
|
|
784
688
|
"type": "function"
|
|
785
689
|
},
|
|
786
690
|
{
|
|
787
691
|
"inputs": [],
|
|
788
|
-
"name": "
|
|
692
|
+
"name": "mintFeeThreshold",
|
|
789
693
|
"outputs": [
|
|
790
|
-
{
|
|
791
|
-
"internalType": "uint80",
|
|
792
|
-
"name": "roundId",
|
|
793
|
-
"type": "uint80"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"internalType": "int256",
|
|
797
|
-
"name": "answer",
|
|
798
|
-
"type": "int256"
|
|
799
|
-
},
|
|
800
694
|
{
|
|
801
695
|
"internalType": "uint256",
|
|
802
|
-
"name": "
|
|
803
|
-
"type": "uint256"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
"internalType": "uint256",
|
|
807
|
-
"name": "updatedAt",
|
|
696
|
+
"name": "",
|
|
808
697
|
"type": "uint256"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
"internalType": "uint80",
|
|
812
|
-
"name": "answeredInRound",
|
|
813
|
-
"type": "uint80"
|
|
814
698
|
}
|
|
815
699
|
],
|
|
816
700
|
"stateMutability": "view",
|
|
@@ -818,12 +702,12 @@
|
|
|
818
702
|
},
|
|
819
703
|
{
|
|
820
704
|
"inputs": [],
|
|
821
|
-
"name": "
|
|
705
|
+
"name": "owner",
|
|
822
706
|
"outputs": [
|
|
823
707
|
{
|
|
824
|
-
"internalType": "
|
|
708
|
+
"internalType": "address",
|
|
825
709
|
"name": "",
|
|
826
|
-
"type": "
|
|
710
|
+
"type": "address"
|
|
827
711
|
}
|
|
828
712
|
],
|
|
829
713
|
"stateMutability": "view",
|
|
@@ -831,71 +715,95 @@
|
|
|
831
715
|
},
|
|
832
716
|
{
|
|
833
717
|
"inputs": [],
|
|
834
|
-
"name": "
|
|
835
|
-
"outputs": [
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
{
|
|
842
|
-
"internalType": "uint32",
|
|
843
|
-
"name": "epoch",
|
|
844
|
-
"type": "uint32"
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
"internalType": "uint8",
|
|
848
|
-
"name": "round",
|
|
849
|
-
"type": "uint8"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"internalType": "int192",
|
|
853
|
-
"name": "latestAnswer",
|
|
854
|
-
"type": "int192"
|
|
855
|
-
},
|
|
718
|
+
"name": "pause",
|
|
719
|
+
"outputs": [],
|
|
720
|
+
"stateMutability": "nonpayable",
|
|
721
|
+
"type": "function"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"inputs": [
|
|
856
725
|
{
|
|
857
|
-
"internalType": "
|
|
858
|
-
"name": "
|
|
859
|
-
"type": "
|
|
726
|
+
"internalType": "address",
|
|
727
|
+
"name": "token",
|
|
728
|
+
"type": "address"
|
|
860
729
|
}
|
|
861
730
|
],
|
|
862
|
-
"
|
|
731
|
+
"name": "pauseAsset",
|
|
732
|
+
"outputs": [],
|
|
733
|
+
"stateMutability": "nonpayable",
|
|
863
734
|
"type": "function"
|
|
864
735
|
},
|
|
865
736
|
{
|
|
866
737
|
"inputs": [],
|
|
867
|
-
"name": "
|
|
738
|
+
"name": "paused",
|
|
868
739
|
"outputs": [
|
|
869
740
|
{
|
|
870
|
-
"internalType": "
|
|
871
|
-
"name": "
|
|
872
|
-
"type": "
|
|
741
|
+
"internalType": "bool",
|
|
742
|
+
"name": "",
|
|
743
|
+
"type": "bool"
|
|
873
744
|
}
|
|
874
745
|
],
|
|
875
746
|
"stateMutability": "view",
|
|
876
747
|
"type": "function"
|
|
877
748
|
},
|
|
878
749
|
{
|
|
879
|
-
"inputs": [
|
|
880
|
-
|
|
750
|
+
"inputs": [
|
|
751
|
+
{
|
|
752
|
+
"internalType": "address",
|
|
753
|
+
"name": "fromToken",
|
|
754
|
+
"type": "address"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"internalType": "address",
|
|
758
|
+
"name": "toToken",
|
|
759
|
+
"type": "address"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"internalType": "int256",
|
|
763
|
+
"name": "toAmount",
|
|
764
|
+
"type": "int256"
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"name": "quoteAmountIn",
|
|
881
768
|
"outputs": [
|
|
882
769
|
{
|
|
883
|
-
"internalType": "
|
|
884
|
-
"name": "",
|
|
885
|
-
"type": "
|
|
770
|
+
"internalType": "uint256",
|
|
771
|
+
"name": "amountIn",
|
|
772
|
+
"type": "uint256"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"internalType": "uint256",
|
|
776
|
+
"name": "haircut",
|
|
777
|
+
"type": "uint256"
|
|
886
778
|
}
|
|
887
779
|
],
|
|
888
780
|
"stateMutability": "view",
|
|
889
781
|
"type": "function"
|
|
890
782
|
},
|
|
891
783
|
{
|
|
892
|
-
"inputs": [
|
|
893
|
-
|
|
784
|
+
"inputs": [
|
|
785
|
+
{
|
|
786
|
+
"internalType": "address",
|
|
787
|
+
"name": "token",
|
|
788
|
+
"type": "address"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"internalType": "uint256",
|
|
792
|
+
"name": "amount",
|
|
793
|
+
"type": "uint256"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"name": "quotePotentialDeposit",
|
|
894
797
|
"outputs": [
|
|
895
798
|
{
|
|
896
|
-
"internalType": "
|
|
897
|
-
"name": "",
|
|
898
|
-
"type": "
|
|
799
|
+
"internalType": "uint256",
|
|
800
|
+
"name": "liquidity",
|
|
801
|
+
"type": "uint256"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"internalType": "uint256",
|
|
805
|
+
"name": "reward",
|
|
806
|
+
"type": "uint256"
|
|
899
807
|
}
|
|
900
808
|
],
|
|
901
809
|
"stateMutability": "view",
|
|
@@ -905,16 +813,31 @@
|
|
|
905
813
|
"inputs": [
|
|
906
814
|
{
|
|
907
815
|
"internalType": "address",
|
|
908
|
-
"name": "
|
|
816
|
+
"name": "fromToken",
|
|
817
|
+
"type": "address"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"internalType": "address",
|
|
821
|
+
"name": "toToken",
|
|
909
822
|
"type": "address"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"internalType": "int256",
|
|
826
|
+
"name": "fromAmount",
|
|
827
|
+
"type": "int256"
|
|
910
828
|
}
|
|
911
829
|
],
|
|
912
|
-
"name": "
|
|
830
|
+
"name": "quotePotentialSwap",
|
|
913
831
|
"outputs": [
|
|
914
832
|
{
|
|
915
|
-
"internalType": "
|
|
916
|
-
"name": "",
|
|
917
|
-
"type": "
|
|
833
|
+
"internalType": "uint256",
|
|
834
|
+
"name": "potentialOutcome",
|
|
835
|
+
"type": "uint256"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"internalType": "uint256",
|
|
839
|
+
"name": "haircut",
|
|
840
|
+
"type": "uint256"
|
|
918
841
|
}
|
|
919
842
|
],
|
|
920
843
|
"stateMutability": "view",
|
|
@@ -924,15 +847,25 @@
|
|
|
924
847
|
"inputs": [
|
|
925
848
|
{
|
|
926
849
|
"internalType": "address",
|
|
927
|
-
"name": "
|
|
850
|
+
"name": "token",
|
|
928
851
|
"type": "address"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"internalType": "uint256",
|
|
855
|
+
"name": "liquidity",
|
|
856
|
+
"type": "uint256"
|
|
929
857
|
}
|
|
930
858
|
],
|
|
931
|
-
"name": "
|
|
859
|
+
"name": "quotePotentialWithdraw",
|
|
932
860
|
"outputs": [
|
|
933
861
|
{
|
|
934
862
|
"internalType": "uint256",
|
|
935
|
-
"name": "",
|
|
863
|
+
"name": "amount",
|
|
864
|
+
"type": "uint256"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"internalType": "uint256",
|
|
868
|
+
"name": "fee",
|
|
936
869
|
"type": "uint256"
|
|
937
870
|
}
|
|
938
871
|
],
|
|
@@ -940,13 +873,34 @@
|
|
|
940
873
|
"type": "function"
|
|
941
874
|
},
|
|
942
875
|
{
|
|
943
|
-
"inputs": [
|
|
944
|
-
"name": "owner",
|
|
945
|
-
"outputs": [
|
|
876
|
+
"inputs": [
|
|
946
877
|
{
|
|
947
|
-
"internalType": "address
|
|
948
|
-
"name": "",
|
|
878
|
+
"internalType": "address",
|
|
879
|
+
"name": "fromToken",
|
|
949
880
|
"type": "address"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"internalType": "address",
|
|
884
|
+
"name": "toToken",
|
|
885
|
+
"type": "address"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"internalType": "uint256",
|
|
889
|
+
"name": "liquidity",
|
|
890
|
+
"type": "uint256"
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"name": "quotePotentialWithdrawFromOtherAsset",
|
|
894
|
+
"outputs": [
|
|
895
|
+
{
|
|
896
|
+
"internalType": "uint256",
|
|
897
|
+
"name": "amount",
|
|
898
|
+
"type": "uint256"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"internalType": "uint256",
|
|
902
|
+
"name": "withdrewAmount",
|
|
903
|
+
"type": "uint256"
|
|
950
904
|
}
|
|
951
905
|
],
|
|
952
906
|
"stateMutability": "view",
|
|
@@ -956,36 +910,30 @@
|
|
|
956
910
|
"inputs": [
|
|
957
911
|
{
|
|
958
912
|
"internalType": "address",
|
|
959
|
-
"name": "
|
|
913
|
+
"name": "token",
|
|
960
914
|
"type": "address"
|
|
961
915
|
}
|
|
962
916
|
],
|
|
963
|
-
"name": "
|
|
917
|
+
"name": "removeAsset",
|
|
964
918
|
"outputs": [],
|
|
965
919
|
"stateMutability": "nonpayable",
|
|
966
920
|
"type": "function"
|
|
967
921
|
},
|
|
968
922
|
{
|
|
969
923
|
"inputs": [],
|
|
970
|
-
"name": "
|
|
971
|
-
"outputs": [
|
|
972
|
-
{
|
|
973
|
-
"internalType": "uint80",
|
|
974
|
-
"name": "",
|
|
975
|
-
"type": "uint80"
|
|
976
|
-
}
|
|
977
|
-
],
|
|
924
|
+
"name": "renounceOwnership",
|
|
925
|
+
"outputs": [],
|
|
978
926
|
"stateMutability": "nonpayable",
|
|
979
927
|
"type": "function"
|
|
980
928
|
},
|
|
981
929
|
{
|
|
982
930
|
"inputs": [],
|
|
983
|
-
"name": "
|
|
931
|
+
"name": "retentionRatio",
|
|
984
932
|
"outputs": [
|
|
985
933
|
{
|
|
986
|
-
"internalType": "
|
|
934
|
+
"internalType": "uint256",
|
|
987
935
|
"name": "",
|
|
988
|
-
"type": "
|
|
936
|
+
"type": "uint256"
|
|
989
937
|
}
|
|
990
938
|
],
|
|
991
939
|
"stateMutability": "view",
|
|
@@ -994,32 +942,30 @@
|
|
|
994
942
|
{
|
|
995
943
|
"inputs": [
|
|
996
944
|
{
|
|
997
|
-
"internalType": "
|
|
998
|
-
"name": "
|
|
999
|
-
"type": "
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
"type": "uint32"
|
|
1010
|
-
},
|
|
945
|
+
"internalType": "uint256",
|
|
946
|
+
"name": "ampFactor_",
|
|
947
|
+
"type": "uint256"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"name": "setAmpFactor",
|
|
951
|
+
"outputs": [],
|
|
952
|
+
"stateMutability": "nonpayable",
|
|
953
|
+
"type": "function"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"inputs": [
|
|
1011
957
|
{
|
|
1012
|
-
"internalType": "
|
|
1013
|
-
"name": "
|
|
1014
|
-
"type": "
|
|
958
|
+
"internalType": "uint128",
|
|
959
|
+
"name": "startCovRatio_",
|
|
960
|
+
"type": "uint128"
|
|
1015
961
|
},
|
|
1016
962
|
{
|
|
1017
|
-
"internalType": "
|
|
1018
|
-
"name": "
|
|
1019
|
-
"type": "
|
|
963
|
+
"internalType": "uint128",
|
|
964
|
+
"name": "endCovRatio_",
|
|
965
|
+
"type": "uint128"
|
|
1020
966
|
}
|
|
1021
967
|
],
|
|
1022
|
-
"name": "
|
|
968
|
+
"name": "setCovRatioFeeParam",
|
|
1023
969
|
"outputs": [],
|
|
1024
970
|
"stateMutability": "nonpayable",
|
|
1025
971
|
"type": "function"
|
|
@@ -1027,12 +973,12 @@
|
|
|
1027
973
|
{
|
|
1028
974
|
"inputs": [
|
|
1029
975
|
{
|
|
1030
|
-
"internalType": "
|
|
1031
|
-
"name": "
|
|
976
|
+
"internalType": "address",
|
|
977
|
+
"name": "dev_",
|
|
1032
978
|
"type": "address"
|
|
1033
979
|
}
|
|
1034
980
|
],
|
|
1035
|
-
"name": "
|
|
981
|
+
"name": "setDev",
|
|
1036
982
|
"outputs": [],
|
|
1037
983
|
"stateMutability": "nonpayable",
|
|
1038
984
|
"type": "function"
|
|
@@ -1040,32 +986,17 @@
|
|
|
1040
986
|
{
|
|
1041
987
|
"inputs": [
|
|
1042
988
|
{
|
|
1043
|
-
"internalType": "
|
|
1044
|
-
"name": "
|
|
1045
|
-
"type": "
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"internalType": "address[]",
|
|
1049
|
-
"name": "_transmitters",
|
|
1050
|
-
"type": "address[]"
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"internalType": "uint8",
|
|
1054
|
-
"name": "_threshold",
|
|
1055
|
-
"type": "uint8"
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
"internalType": "uint64",
|
|
1059
|
-
"name": "_encodedConfigVersion",
|
|
1060
|
-
"type": "uint64"
|
|
989
|
+
"internalType": "uint256",
|
|
990
|
+
"name": "lpDividendRatio_",
|
|
991
|
+
"type": "uint256"
|
|
1061
992
|
},
|
|
1062
993
|
{
|
|
1063
|
-
"internalType": "
|
|
1064
|
-
"name": "
|
|
1065
|
-
"type": "
|
|
994
|
+
"internalType": "uint256",
|
|
995
|
+
"name": "retentionRatio_",
|
|
996
|
+
"type": "uint256"
|
|
1066
997
|
}
|
|
1067
998
|
],
|
|
1068
|
-
"name": "
|
|
999
|
+
"name": "setFee",
|
|
1069
1000
|
"outputs": [],
|
|
1070
1001
|
"stateMutability": "nonpayable",
|
|
1071
1002
|
"type": "function"
|
|
@@ -1073,17 +1004,12 @@
|
|
|
1073
1004
|
{
|
|
1074
1005
|
"inputs": [
|
|
1075
1006
|
{
|
|
1076
|
-
"internalType": "address
|
|
1077
|
-
"name": "
|
|
1078
|
-
"type": "address
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"internalType": "address[]",
|
|
1082
|
-
"name": "_payees",
|
|
1083
|
-
"type": "address[]"
|
|
1007
|
+
"internalType": "address",
|
|
1008
|
+
"name": "feeTo_",
|
|
1009
|
+
"type": "address"
|
|
1084
1010
|
}
|
|
1085
1011
|
],
|
|
1086
|
-
"name": "
|
|
1012
|
+
"name": "setFeeTo",
|
|
1087
1013
|
"outputs": [],
|
|
1088
1014
|
"stateMutability": "nonpayable",
|
|
1089
1015
|
"type": "function"
|
|
@@ -1091,12 +1017,12 @@
|
|
|
1091
1017
|
{
|
|
1092
1018
|
"inputs": [
|
|
1093
1019
|
{
|
|
1094
|
-
"internalType": "
|
|
1095
|
-
"name": "
|
|
1096
|
-
"type": "
|
|
1020
|
+
"internalType": "uint256",
|
|
1021
|
+
"name": "haircutRate_",
|
|
1022
|
+
"type": "uint256"
|
|
1097
1023
|
}
|
|
1098
1024
|
],
|
|
1099
|
-
"name": "
|
|
1025
|
+
"name": "setHaircutRate",
|
|
1100
1026
|
"outputs": [],
|
|
1101
1027
|
"stateMutability": "nonpayable",
|
|
1102
1028
|
"type": "function"
|
|
@@ -1105,11 +1031,11 @@
|
|
|
1105
1031
|
"inputs": [
|
|
1106
1032
|
{
|
|
1107
1033
|
"internalType": "address",
|
|
1108
|
-
"name": "
|
|
1034
|
+
"name": "masterWombat_",
|
|
1109
1035
|
"type": "address"
|
|
1110
1036
|
}
|
|
1111
1037
|
],
|
|
1112
|
-
"name": "
|
|
1038
|
+
"name": "setMasterWombat",
|
|
1113
1039
|
"outputs": [],
|
|
1114
1040
|
"stateMutability": "nonpayable",
|
|
1115
1041
|
"type": "function"
|
|
@@ -1117,116 +1043,189 @@
|
|
|
1117
1043
|
{
|
|
1118
1044
|
"inputs": [
|
|
1119
1045
|
{
|
|
1120
|
-
"internalType": "
|
|
1121
|
-
"name": "
|
|
1122
|
-
"type": "
|
|
1046
|
+
"internalType": "uint256",
|
|
1047
|
+
"name": "mintFeeThreshold_",
|
|
1048
|
+
"type": "uint256"
|
|
1123
1049
|
}
|
|
1124
1050
|
],
|
|
1125
|
-
"name": "
|
|
1051
|
+
"name": "setMintFeeThreshold",
|
|
1126
1052
|
"outputs": [],
|
|
1127
1053
|
"stateMutability": "nonpayable",
|
|
1128
1054
|
"type": "function"
|
|
1129
1055
|
},
|
|
1056
|
+
{
|
|
1057
|
+
"inputs": [],
|
|
1058
|
+
"name": "startCovRatio",
|
|
1059
|
+
"outputs": [
|
|
1060
|
+
{
|
|
1061
|
+
"internalType": "uint128",
|
|
1062
|
+
"name": "",
|
|
1063
|
+
"type": "uint128"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"stateMutability": "view",
|
|
1067
|
+
"type": "function"
|
|
1068
|
+
},
|
|
1130
1069
|
{
|
|
1131
1070
|
"inputs": [
|
|
1132
1071
|
{
|
|
1133
1072
|
"internalType": "address",
|
|
1134
|
-
"name": "
|
|
1073
|
+
"name": "fromToken",
|
|
1135
1074
|
"type": "address"
|
|
1136
1075
|
},
|
|
1137
1076
|
{
|
|
1138
1077
|
"internalType": "address",
|
|
1139
|
-
"name": "
|
|
1078
|
+
"name": "toToken",
|
|
1140
1079
|
"type": "address"
|
|
1141
|
-
}
|
|
1142
|
-
],
|
|
1143
|
-
"name": "transferPayeeship",
|
|
1144
|
-
"outputs": [],
|
|
1145
|
-
"stateMutability": "nonpayable",
|
|
1146
|
-
"type": "function"
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
"inputs": [
|
|
1080
|
+
},
|
|
1150
1081
|
{
|
|
1151
|
-
"internalType": "
|
|
1152
|
-
"name": "
|
|
1153
|
-
"type": "
|
|
1082
|
+
"internalType": "uint256",
|
|
1083
|
+
"name": "fromAmount",
|
|
1084
|
+
"type": "uint256"
|
|
1154
1085
|
},
|
|
1155
1086
|
{
|
|
1156
|
-
"internalType": "
|
|
1157
|
-
"name": "
|
|
1158
|
-
"type": "
|
|
1087
|
+
"internalType": "uint256",
|
|
1088
|
+
"name": "minimumToAmount",
|
|
1089
|
+
"type": "uint256"
|
|
1159
1090
|
},
|
|
1160
1091
|
{
|
|
1161
|
-
"internalType": "
|
|
1162
|
-
"name": "
|
|
1163
|
-
"type": "
|
|
1092
|
+
"internalType": "address",
|
|
1093
|
+
"name": "to",
|
|
1094
|
+
"type": "address"
|
|
1164
1095
|
},
|
|
1165
1096
|
{
|
|
1166
|
-
"internalType": "
|
|
1167
|
-
"name": "
|
|
1168
|
-
"type": "
|
|
1097
|
+
"internalType": "uint256",
|
|
1098
|
+
"name": "deadline",
|
|
1099
|
+
"type": "uint256"
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"name": "swap",
|
|
1103
|
+
"outputs": [
|
|
1104
|
+
{
|
|
1105
|
+
"internalType": "uint256",
|
|
1106
|
+
"name": "actualToAmount",
|
|
1107
|
+
"type": "uint256"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"internalType": "uint256",
|
|
1111
|
+
"name": "haircut",
|
|
1112
|
+
"type": "uint256"
|
|
1169
1113
|
}
|
|
1170
1114
|
],
|
|
1171
|
-
"name": "transmit",
|
|
1172
|
-
"outputs": [],
|
|
1173
1115
|
"stateMutability": "nonpayable",
|
|
1174
1116
|
"type": "function"
|
|
1175
1117
|
},
|
|
1176
1118
|
{
|
|
1177
|
-
"inputs": [
|
|
1178
|
-
|
|
1119
|
+
"inputs": [
|
|
1120
|
+
{
|
|
1121
|
+
"internalType": "address",
|
|
1122
|
+
"name": "token",
|
|
1123
|
+
"type": "address"
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1126
|
+
"name": "tipBucketBalance",
|
|
1179
1127
|
"outputs": [
|
|
1180
1128
|
{
|
|
1181
|
-
"internalType": "
|
|
1182
|
-
"name": "",
|
|
1183
|
-
"type": "
|
|
1129
|
+
"internalType": "uint256",
|
|
1130
|
+
"name": "balance",
|
|
1131
|
+
"type": "uint256"
|
|
1184
1132
|
}
|
|
1185
1133
|
],
|
|
1186
1134
|
"stateMutability": "view",
|
|
1187
1135
|
"type": "function"
|
|
1188
1136
|
},
|
|
1189
1137
|
{
|
|
1190
|
-
"inputs": [
|
|
1191
|
-
"name": "validator",
|
|
1192
|
-
"outputs": [
|
|
1138
|
+
"inputs": [
|
|
1193
1139
|
{
|
|
1194
|
-
"internalType": "
|
|
1195
|
-
"name": "",
|
|
1140
|
+
"internalType": "address",
|
|
1141
|
+
"name": "newOwner",
|
|
1196
1142
|
"type": "address"
|
|
1197
1143
|
}
|
|
1198
1144
|
],
|
|
1199
|
-
"
|
|
1145
|
+
"name": "transferOwnership",
|
|
1146
|
+
"outputs": [],
|
|
1147
|
+
"stateMutability": "nonpayable",
|
|
1200
1148
|
"type": "function"
|
|
1201
1149
|
},
|
|
1202
1150
|
{
|
|
1203
|
-
"inputs": [
|
|
1204
|
-
|
|
1205
|
-
|
|
1151
|
+
"inputs": [
|
|
1152
|
+
{
|
|
1153
|
+
"internalType": "address",
|
|
1154
|
+
"name": "token",
|
|
1155
|
+
"type": "address"
|
|
1156
|
+
},
|
|
1206
1157
|
{
|
|
1207
1158
|
"internalType": "uint256",
|
|
1208
|
-
"name": "",
|
|
1159
|
+
"name": "amount",
|
|
1209
1160
|
"type": "uint256"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"internalType": "address",
|
|
1164
|
+
"name": "to",
|
|
1165
|
+
"type": "address"
|
|
1210
1166
|
}
|
|
1211
1167
|
],
|
|
1212
|
-
"
|
|
1168
|
+
"name": "transferTipBucket",
|
|
1169
|
+
"outputs": [],
|
|
1170
|
+
"stateMutability": "nonpayable",
|
|
1171
|
+
"type": "function"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"inputs": [],
|
|
1175
|
+
"name": "unpause",
|
|
1176
|
+
"outputs": [],
|
|
1177
|
+
"stateMutability": "nonpayable",
|
|
1213
1178
|
"type": "function"
|
|
1214
1179
|
},
|
|
1215
1180
|
{
|
|
1216
1181
|
"inputs": [
|
|
1217
1182
|
{
|
|
1218
1183
|
"internalType": "address",
|
|
1219
|
-
"name": "
|
|
1184
|
+
"name": "token",
|
|
1220
1185
|
"type": "address"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"name": "unpauseAsset",
|
|
1189
|
+
"outputs": [],
|
|
1190
|
+
"stateMutability": "nonpayable",
|
|
1191
|
+
"type": "function"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"inputs": [
|
|
1195
|
+
{
|
|
1196
|
+
"internalType": "address",
|
|
1197
|
+
"name": "token",
|
|
1198
|
+
"type": "address"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"internalType": "uint256",
|
|
1202
|
+
"name": "liquidity",
|
|
1203
|
+
"type": "uint256"
|
|
1221
1204
|
},
|
|
1222
1205
|
{
|
|
1223
1206
|
"internalType": "uint256",
|
|
1224
|
-
"name": "
|
|
1207
|
+
"name": "minimumAmount",
|
|
1208
|
+
"type": "uint256"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"internalType": "address",
|
|
1212
|
+
"name": "to",
|
|
1213
|
+
"type": "address"
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"internalType": "uint256",
|
|
1217
|
+
"name": "deadline",
|
|
1218
|
+
"type": "uint256"
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
"name": "withdraw",
|
|
1222
|
+
"outputs": [
|
|
1223
|
+
{
|
|
1224
|
+
"internalType": "uint256",
|
|
1225
|
+
"name": "amount",
|
|
1225
1226
|
"type": "uint256"
|
|
1226
1227
|
}
|
|
1227
1228
|
],
|
|
1228
|
-
"name": "withdrawFunds",
|
|
1229
|
-
"outputs": [],
|
|
1230
1229
|
"stateMutability": "nonpayable",
|
|
1231
1230
|
"type": "function"
|
|
1232
1231
|
},
|
|
@@ -1234,13 +1233,57 @@
|
|
|
1234
1233
|
"inputs": [
|
|
1235
1234
|
{
|
|
1236
1235
|
"internalType": "address",
|
|
1237
|
-
"name": "
|
|
1236
|
+
"name": "fromToken",
|
|
1237
|
+
"type": "address"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"internalType": "address",
|
|
1241
|
+
"name": "toToken",
|
|
1242
|
+
"type": "address"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"internalType": "uint256",
|
|
1246
|
+
"name": "liquidity",
|
|
1247
|
+
"type": "uint256"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"internalType": "uint256",
|
|
1251
|
+
"name": "minimumAmount",
|
|
1252
|
+
"type": "uint256"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"internalType": "address",
|
|
1256
|
+
"name": "to",
|
|
1238
1257
|
"type": "address"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"internalType": "uint256",
|
|
1261
|
+
"name": "deadline",
|
|
1262
|
+
"type": "uint256"
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
"name": "withdrawFromOtherAsset",
|
|
1266
|
+
"outputs": [
|
|
1267
|
+
{
|
|
1268
|
+
"internalType": "uint256",
|
|
1269
|
+
"name": "toAmount",
|
|
1270
|
+
"type": "uint256"
|
|
1239
1271
|
}
|
|
1240
1272
|
],
|
|
1241
|
-
"name": "withdrawPayment",
|
|
1242
|
-
"outputs": [],
|
|
1243
1273
|
"stateMutability": "nonpayable",
|
|
1244
1274
|
"type": "function"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"inputs": [],
|
|
1278
|
+
"name": "creditForTokensHaircut",
|
|
1279
|
+
"outputs": [
|
|
1280
|
+
{
|
|
1281
|
+
"internalType": "uint128",
|
|
1282
|
+
"name": "",
|
|
1283
|
+
"type": "uint128"
|
|
1284
|
+
}
|
|
1285
|
+
],
|
|
1286
|
+
"stateMutability": "view",
|
|
1287
|
+
"type": "function"
|
|
1245
1288
|
}
|
|
1246
1289
|
]
|