@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
package/build/abi/{integral/oracle.json → angle-transmuter/ChainlinkEACAggregatorProxy.json}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
"inputs": [
|
|
4
4
|
{
|
|
5
|
-
"internalType": "
|
|
6
|
-
"name": "
|
|
7
|
-
"type": "
|
|
5
|
+
"internalType": "address",
|
|
6
|
+
"name": "_aggregator",
|
|
7
|
+
"type": "address"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
|
-
"internalType": "
|
|
11
|
-
"name": "
|
|
12
|
-
"type": "
|
|
10
|
+
"internalType": "address",
|
|
11
|
+
"name": "_accessController",
|
|
12
|
+
"type": "address"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"stateMutability": "nonpayable",
|
|
@@ -18,84 +18,119 @@
|
|
|
18
18
|
{
|
|
19
19
|
"anonymous": false,
|
|
20
20
|
"inputs": [
|
|
21
|
+
{
|
|
22
|
+
"indexed": true,
|
|
23
|
+
"internalType": "int256",
|
|
24
|
+
"name": "current",
|
|
25
|
+
"type": "int256"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"indexed": true,
|
|
29
|
+
"internalType": "uint256",
|
|
30
|
+
"name": "roundId",
|
|
31
|
+
"type": "uint256"
|
|
32
|
+
},
|
|
21
33
|
{
|
|
22
34
|
"indexed": false,
|
|
35
|
+
"internalType": "uint256",
|
|
36
|
+
"name": "updatedAt",
|
|
37
|
+
"type": "uint256"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AnswerUpdated",
|
|
41
|
+
"type": "event"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "uint256",
|
|
49
|
+
"name": "roundId",
|
|
50
|
+
"type": "uint256"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": true,
|
|
23
54
|
"internalType": "address",
|
|
24
|
-
"name": "
|
|
55
|
+
"name": "startedBy",
|
|
25
56
|
"type": "address"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"indexed": false,
|
|
60
|
+
"internalType": "uint256",
|
|
61
|
+
"name": "startedAt",
|
|
62
|
+
"type": "uint256"
|
|
26
63
|
}
|
|
27
64
|
],
|
|
28
|
-
"name": "
|
|
65
|
+
"name": "NewRound",
|
|
29
66
|
"type": "event"
|
|
30
67
|
},
|
|
31
68
|
{
|
|
32
69
|
"anonymous": false,
|
|
33
70
|
"inputs": [
|
|
34
71
|
{
|
|
35
|
-
"indexed":
|
|
36
|
-
"internalType": "
|
|
37
|
-
"name": "
|
|
38
|
-
"type": "
|
|
72
|
+
"indexed": true,
|
|
73
|
+
"internalType": "address",
|
|
74
|
+
"name": "from",
|
|
75
|
+
"type": "address"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"indexed": true,
|
|
79
|
+
"internalType": "address",
|
|
80
|
+
"name": "to",
|
|
81
|
+
"type": "address"
|
|
39
82
|
}
|
|
40
83
|
],
|
|
41
|
-
"name": "
|
|
84
|
+
"name": "OwnershipTransferRequested",
|
|
42
85
|
"type": "event"
|
|
43
86
|
},
|
|
44
87
|
{
|
|
45
88
|
"anonymous": false,
|
|
46
89
|
"inputs": [
|
|
47
90
|
{
|
|
48
|
-
"indexed":
|
|
91
|
+
"indexed": true,
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "from",
|
|
94
|
+
"type": "address"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
49
98
|
"internalType": "address",
|
|
50
|
-
"name": "
|
|
99
|
+
"name": "to",
|
|
51
100
|
"type": "address"
|
|
52
101
|
}
|
|
53
102
|
],
|
|
54
|
-
"name": "
|
|
103
|
+
"name": "OwnershipTransferred",
|
|
55
104
|
"type": "event"
|
|
56
105
|
},
|
|
57
106
|
{
|
|
58
107
|
"inputs": [],
|
|
59
|
-
"name": "
|
|
108
|
+
"name": "acceptOwnership",
|
|
109
|
+
"outputs": [],
|
|
110
|
+
"stateMutability": "nonpayable",
|
|
111
|
+
"type": "function"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"inputs": [],
|
|
115
|
+
"name": "accessController",
|
|
60
116
|
"outputs": [
|
|
61
117
|
{
|
|
62
|
-
"internalType": "
|
|
118
|
+
"internalType": "contract AccessControllerInterface",
|
|
63
119
|
"name": "",
|
|
64
|
-
"type": "
|
|
120
|
+
"type": "address"
|
|
65
121
|
}
|
|
66
122
|
],
|
|
67
123
|
"stateMutability": "view",
|
|
68
124
|
"type": "function"
|
|
69
125
|
},
|
|
70
126
|
{
|
|
71
|
-
"inputs": [
|
|
72
|
-
|
|
73
|
-
"internalType": "uint256",
|
|
74
|
-
"name": "xLeft",
|
|
75
|
-
"type": "uint256"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"internalType": "uint256",
|
|
79
|
-
"name": "xBefore",
|
|
80
|
-
"type": "uint256"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"internalType": "uint256",
|
|
84
|
-
"name": "yBefore",
|
|
85
|
-
"type": "uint256"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"internalType": "bytes",
|
|
89
|
-
"name": "data",
|
|
90
|
-
"type": "bytes"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"name": "depositTradeXIn",
|
|
127
|
+
"inputs": [],
|
|
128
|
+
"name": "aggregator",
|
|
94
129
|
"outputs": [
|
|
95
130
|
{
|
|
96
|
-
"internalType": "
|
|
131
|
+
"internalType": "address",
|
|
97
132
|
"name": "",
|
|
98
|
-
"type": "
|
|
133
|
+
"type": "address"
|
|
99
134
|
}
|
|
100
135
|
],
|
|
101
136
|
"stateMutability": "view",
|
|
@@ -104,87 +139,56 @@
|
|
|
104
139
|
{
|
|
105
140
|
"inputs": [
|
|
106
141
|
{
|
|
107
|
-
"internalType": "
|
|
108
|
-
"name": "
|
|
109
|
-
"type": "
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"internalType": "uint256",
|
|
113
|
-
"name": "xBefore",
|
|
114
|
-
"type": "uint256"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"internalType": "uint256",
|
|
118
|
-
"name": "yBefore",
|
|
119
|
-
"type": "uint256"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"internalType": "bytes",
|
|
123
|
-
"name": "data",
|
|
124
|
-
"type": "bytes"
|
|
142
|
+
"internalType": "address",
|
|
143
|
+
"name": "_aggregator",
|
|
144
|
+
"type": "address"
|
|
125
145
|
}
|
|
126
146
|
],
|
|
127
|
-
"name": "
|
|
147
|
+
"name": "confirmAggregator",
|
|
148
|
+
"outputs": [],
|
|
149
|
+
"stateMutability": "nonpayable",
|
|
150
|
+
"type": "function"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [],
|
|
154
|
+
"name": "decimals",
|
|
128
155
|
"outputs": [
|
|
129
156
|
{
|
|
130
|
-
"internalType": "
|
|
157
|
+
"internalType": "uint8",
|
|
131
158
|
"name": "",
|
|
132
|
-
"type": "
|
|
159
|
+
"type": "uint8"
|
|
133
160
|
}
|
|
134
161
|
],
|
|
135
162
|
"stateMutability": "view",
|
|
136
163
|
"type": "function"
|
|
137
164
|
},
|
|
138
165
|
{
|
|
139
|
-
"inputs": [
|
|
140
|
-
|
|
141
|
-
"internalType": "uint256",
|
|
142
|
-
"name": "",
|
|
143
|
-
"type": "uint256"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"internalType": "uint256",
|
|
147
|
-
"name": "",
|
|
148
|
-
"type": "uint256"
|
|
149
|
-
}
|
|
150
|
-
],
|
|
151
|
-
"name": "getAveragePrice",
|
|
166
|
+
"inputs": [],
|
|
167
|
+
"name": "description",
|
|
152
168
|
"outputs": [
|
|
153
169
|
{
|
|
154
|
-
"internalType": "
|
|
170
|
+
"internalType": "string",
|
|
155
171
|
"name": "",
|
|
156
|
-
"type": "
|
|
172
|
+
"type": "string"
|
|
157
173
|
}
|
|
158
174
|
],
|
|
159
175
|
"stateMutability": "view",
|
|
160
176
|
"type": "function"
|
|
161
177
|
},
|
|
162
178
|
{
|
|
163
|
-
"inputs": [
|
|
164
|
-
"name": "getPriceInfo",
|
|
165
|
-
"outputs": [
|
|
166
|
-
{
|
|
167
|
-
"internalType": "uint256",
|
|
168
|
-
"name": "priceAccumulator",
|
|
169
|
-
"type": "uint256"
|
|
170
|
-
},
|
|
179
|
+
"inputs": [
|
|
171
180
|
{
|
|
172
181
|
"internalType": "uint256",
|
|
173
|
-
"name": "
|
|
182
|
+
"name": "_roundId",
|
|
174
183
|
"type": "uint256"
|
|
175
184
|
}
|
|
176
185
|
],
|
|
177
|
-
"
|
|
178
|
-
"type": "function"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"inputs": [],
|
|
182
|
-
"name": "getSpotPrice",
|
|
186
|
+
"name": "getAnswer",
|
|
183
187
|
"outputs": [
|
|
184
188
|
{
|
|
185
|
-
"internalType": "
|
|
189
|
+
"internalType": "int256",
|
|
186
190
|
"name": "",
|
|
187
|
-
"type": "
|
|
191
|
+
"type": "int256"
|
|
188
192
|
}
|
|
189
193
|
],
|
|
190
194
|
"stateMutability": "view",
|
|
@@ -193,27 +197,37 @@
|
|
|
193
197
|
{
|
|
194
198
|
"inputs": [
|
|
195
199
|
{
|
|
196
|
-
"internalType": "
|
|
197
|
-
"name": "
|
|
198
|
-
"type": "
|
|
200
|
+
"internalType": "uint80",
|
|
201
|
+
"name": "_roundId",
|
|
202
|
+
"type": "uint80"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"name": "getRoundData",
|
|
206
|
+
"outputs": [
|
|
207
|
+
{
|
|
208
|
+
"internalType": "uint80",
|
|
209
|
+
"name": "roundId",
|
|
210
|
+
"type": "uint80"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"internalType": "int256",
|
|
214
|
+
"name": "answer",
|
|
215
|
+
"type": "int256"
|
|
199
216
|
},
|
|
200
217
|
{
|
|
201
218
|
"internalType": "uint256",
|
|
202
|
-
"name": "
|
|
219
|
+
"name": "startedAt",
|
|
203
220
|
"type": "uint256"
|
|
204
221
|
},
|
|
205
|
-
{
|
|
206
|
-
"internalType": "bytes",
|
|
207
|
-
"name": "data",
|
|
208
|
-
"type": "bytes"
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
"name": "getSwapAmount0Out",
|
|
212
|
-
"outputs": [
|
|
213
222
|
{
|
|
214
223
|
"internalType": "uint256",
|
|
215
|
-
"name": "
|
|
224
|
+
"name": "updatedAt",
|
|
216
225
|
"type": "uint256"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"internalType": "uint80",
|
|
229
|
+
"name": "answeredInRound",
|
|
230
|
+
"type": "uint80"
|
|
217
231
|
}
|
|
218
232
|
],
|
|
219
233
|
"stateMutability": "view",
|
|
@@ -223,25 +237,15 @@
|
|
|
223
237
|
"inputs": [
|
|
224
238
|
{
|
|
225
239
|
"internalType": "uint256",
|
|
226
|
-
"name": "
|
|
240
|
+
"name": "_roundId",
|
|
227
241
|
"type": "uint256"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"internalType": "uint256",
|
|
231
|
-
"name": "amount0In",
|
|
232
|
-
"type": "uint256"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"internalType": "bytes",
|
|
236
|
-
"name": "data",
|
|
237
|
-
"type": "bytes"
|
|
238
242
|
}
|
|
239
243
|
],
|
|
240
|
-
"name": "
|
|
244
|
+
"name": "getTimestamp",
|
|
241
245
|
"outputs": [
|
|
242
246
|
{
|
|
243
247
|
"internalType": "uint256",
|
|
244
|
-
"name": "
|
|
248
|
+
"name": "",
|
|
245
249
|
"type": "uint256"
|
|
246
250
|
}
|
|
247
251
|
],
|
|
@@ -249,38 +253,25 @@
|
|
|
249
253
|
"type": "function"
|
|
250
254
|
},
|
|
251
255
|
{
|
|
252
|
-
"inputs": [
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
"name": "inverse",
|
|
256
|
-
"type": "bool"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"internalType": "uint256",
|
|
260
|
-
"name": "swapFee",
|
|
261
|
-
"type": "uint256"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"internalType": "uint256",
|
|
265
|
-
"name": "_amountOut",
|
|
266
|
-
"type": "uint256"
|
|
267
|
-
},
|
|
256
|
+
"inputs": [],
|
|
257
|
+
"name": "latestAnswer",
|
|
258
|
+
"outputs": [
|
|
268
259
|
{
|
|
269
|
-
"internalType": "
|
|
270
|
-
"name": "
|
|
271
|
-
"type": "
|
|
260
|
+
"internalType": "int256",
|
|
261
|
+
"name": "",
|
|
262
|
+
"type": "int256"
|
|
272
263
|
}
|
|
273
264
|
],
|
|
274
|
-
"
|
|
265
|
+
"stateMutability": "view",
|
|
266
|
+
"type": "function"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"inputs": [],
|
|
270
|
+
"name": "latestRound",
|
|
275
271
|
"outputs": [
|
|
276
272
|
{
|
|
277
273
|
"internalType": "uint256",
|
|
278
|
-
"name": "
|
|
279
|
-
"type": "uint256"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"internalType": "uint256",
|
|
283
|
-
"name": "amountOut",
|
|
274
|
+
"name": "",
|
|
284
275
|
"type": "uint256"
|
|
285
276
|
}
|
|
286
277
|
],
|
|
@@ -288,38 +279,45 @@
|
|
|
288
279
|
"type": "function"
|
|
289
280
|
},
|
|
290
281
|
{
|
|
291
|
-
"inputs": [
|
|
282
|
+
"inputs": [],
|
|
283
|
+
"name": "latestRoundData",
|
|
284
|
+
"outputs": [
|
|
292
285
|
{
|
|
293
|
-
"internalType": "
|
|
294
|
-
"name": "
|
|
295
|
-
"type": "
|
|
286
|
+
"internalType": "uint80",
|
|
287
|
+
"name": "roundId",
|
|
288
|
+
"type": "uint80"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"internalType": "int256",
|
|
292
|
+
"name": "answer",
|
|
293
|
+
"type": "int256"
|
|
296
294
|
},
|
|
297
295
|
{
|
|
298
296
|
"internalType": "uint256",
|
|
299
|
-
"name": "
|
|
297
|
+
"name": "startedAt",
|
|
300
298
|
"type": "uint256"
|
|
301
299
|
},
|
|
302
300
|
{
|
|
303
301
|
"internalType": "uint256",
|
|
304
|
-
"name": "
|
|
302
|
+
"name": "updatedAt",
|
|
305
303
|
"type": "uint256"
|
|
306
304
|
},
|
|
307
305
|
{
|
|
308
|
-
"internalType": "
|
|
309
|
-
"name": "
|
|
310
|
-
"type": "
|
|
306
|
+
"internalType": "uint80",
|
|
307
|
+
"name": "answeredInRound",
|
|
308
|
+
"type": "uint80"
|
|
311
309
|
}
|
|
312
310
|
],
|
|
313
|
-
"
|
|
311
|
+
"stateMutability": "view",
|
|
312
|
+
"type": "function"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"inputs": [],
|
|
316
|
+
"name": "latestTimestamp",
|
|
314
317
|
"outputs": [
|
|
315
318
|
{
|
|
316
319
|
"internalType": "uint256",
|
|
317
|
-
"name": "
|
|
318
|
-
"type": "uint256"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"internalType": "uint256",
|
|
322
|
-
"name": "amountOut",
|
|
320
|
+
"name": "",
|
|
323
321
|
"type": "uint256"
|
|
324
322
|
}
|
|
325
323
|
],
|
|
@@ -342,157 +340,167 @@
|
|
|
342
340
|
{
|
|
343
341
|
"inputs": [
|
|
344
342
|
{
|
|
345
|
-
"internalType": "
|
|
346
|
-
"name": "
|
|
343
|
+
"internalType": "uint16",
|
|
344
|
+
"name": "",
|
|
345
|
+
"type": "uint16"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"name": "phaseAggregators",
|
|
349
|
+
"outputs": [
|
|
350
|
+
{
|
|
351
|
+
"internalType": "contract AggregatorV2V3Interface",
|
|
352
|
+
"name": "",
|
|
347
353
|
"type": "address"
|
|
348
354
|
}
|
|
349
355
|
],
|
|
350
|
-
"
|
|
351
|
-
"outputs": [],
|
|
352
|
-
"stateMutability": "nonpayable",
|
|
356
|
+
"stateMutability": "view",
|
|
353
357
|
"type": "function"
|
|
354
358
|
},
|
|
355
359
|
{
|
|
356
|
-
"inputs": [
|
|
360
|
+
"inputs": [],
|
|
361
|
+
"name": "phaseId",
|
|
362
|
+
"outputs": [
|
|
357
363
|
{
|
|
358
|
-
"internalType": "
|
|
359
|
-
"name": "
|
|
360
|
-
"type": "
|
|
364
|
+
"internalType": "uint16",
|
|
365
|
+
"name": "",
|
|
366
|
+
"type": "uint16"
|
|
361
367
|
}
|
|
362
368
|
],
|
|
363
|
-
"
|
|
364
|
-
"outputs": [],
|
|
365
|
-
"stateMutability": "nonpayable",
|
|
369
|
+
"stateMutability": "view",
|
|
366
370
|
"type": "function"
|
|
367
371
|
},
|
|
368
372
|
{
|
|
369
373
|
"inputs": [
|
|
370
374
|
{
|
|
371
375
|
"internalType": "address",
|
|
372
|
-
"name": "
|
|
376
|
+
"name": "_aggregator",
|
|
373
377
|
"type": "address"
|
|
374
378
|
}
|
|
375
379
|
],
|
|
376
|
-
"name": "
|
|
380
|
+
"name": "proposeAggregator",
|
|
377
381
|
"outputs": [],
|
|
378
382
|
"stateMutability": "nonpayable",
|
|
379
383
|
"type": "function"
|
|
380
384
|
},
|
|
385
|
+
{
|
|
386
|
+
"inputs": [],
|
|
387
|
+
"name": "proposedAggregator",
|
|
388
|
+
"outputs": [
|
|
389
|
+
{
|
|
390
|
+
"internalType": "contract AggregatorV2V3Interface",
|
|
391
|
+
"name": "",
|
|
392
|
+
"type": "address"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"stateMutability": "view",
|
|
396
|
+
"type": "function"
|
|
397
|
+
},
|
|
381
398
|
{
|
|
382
399
|
"inputs": [
|
|
383
400
|
{
|
|
384
|
-
"internalType": "
|
|
385
|
-
"name": "
|
|
386
|
-
"type": "
|
|
401
|
+
"internalType": "uint80",
|
|
402
|
+
"name": "_roundId",
|
|
403
|
+
"type": "uint80"
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"name": "proposedGetRoundData",
|
|
407
|
+
"outputs": [
|
|
408
|
+
{
|
|
409
|
+
"internalType": "uint80",
|
|
410
|
+
"name": "roundId",
|
|
411
|
+
"type": "uint80"
|
|
387
412
|
},
|
|
388
413
|
{
|
|
389
|
-
"internalType": "
|
|
390
|
-
"name": "
|
|
391
|
-
"type": "
|
|
414
|
+
"internalType": "int256",
|
|
415
|
+
"name": "answer",
|
|
416
|
+
"type": "int256"
|
|
392
417
|
},
|
|
393
418
|
{
|
|
394
419
|
"internalType": "uint256",
|
|
395
|
-
"name": "
|
|
420
|
+
"name": "startedAt",
|
|
396
421
|
"type": "uint256"
|
|
397
422
|
},
|
|
398
|
-
{
|
|
399
|
-
"internalType": "bytes",
|
|
400
|
-
"name": "data",
|
|
401
|
-
"type": "bytes"
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
"name": "tradeX",
|
|
405
|
-
"outputs": [
|
|
406
423
|
{
|
|
407
424
|
"internalType": "uint256",
|
|
408
|
-
"name": "
|
|
425
|
+
"name": "updatedAt",
|
|
409
426
|
"type": "uint256"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"internalType": "uint80",
|
|
430
|
+
"name": "answeredInRound",
|
|
431
|
+
"type": "uint80"
|
|
410
432
|
}
|
|
411
433
|
],
|
|
412
434
|
"stateMutability": "view",
|
|
413
435
|
"type": "function"
|
|
414
436
|
},
|
|
415
437
|
{
|
|
416
|
-
"inputs": [
|
|
438
|
+
"inputs": [],
|
|
439
|
+
"name": "proposedLatestRoundData",
|
|
440
|
+
"outputs": [
|
|
417
441
|
{
|
|
418
|
-
"internalType": "
|
|
419
|
-
"name": "
|
|
420
|
-
"type": "
|
|
442
|
+
"internalType": "uint80",
|
|
443
|
+
"name": "roundId",
|
|
444
|
+
"type": "uint80"
|
|
421
445
|
},
|
|
422
446
|
{
|
|
423
|
-
"internalType": "
|
|
424
|
-
"name": "
|
|
425
|
-
"type": "
|
|
447
|
+
"internalType": "int256",
|
|
448
|
+
"name": "answer",
|
|
449
|
+
"type": "int256"
|
|
426
450
|
},
|
|
427
451
|
{
|
|
428
452
|
"internalType": "uint256",
|
|
429
|
-
"name": "
|
|
453
|
+
"name": "startedAt",
|
|
430
454
|
"type": "uint256"
|
|
431
455
|
},
|
|
432
|
-
{
|
|
433
|
-
"internalType": "bytes",
|
|
434
|
-
"name": "data",
|
|
435
|
-
"type": "bytes"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"name": "tradeY",
|
|
439
|
-
"outputs": [
|
|
440
456
|
{
|
|
441
457
|
"internalType": "uint256",
|
|
442
|
-
"name": "
|
|
458
|
+
"name": "updatedAt",
|
|
443
459
|
"type": "uint256"
|
|
444
|
-
}
|
|
445
|
-
],
|
|
446
|
-
"stateMutability": "view",
|
|
447
|
-
"type": "function"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"inputs": [],
|
|
451
|
-
"name": "twapInterval",
|
|
452
|
-
"outputs": [
|
|
460
|
+
},
|
|
453
461
|
{
|
|
454
|
-
"internalType": "
|
|
455
|
-
"name": "",
|
|
456
|
-
"type": "
|
|
462
|
+
"internalType": "uint80",
|
|
463
|
+
"name": "answeredInRound",
|
|
464
|
+
"type": "uint80"
|
|
457
465
|
}
|
|
458
466
|
],
|
|
459
467
|
"stateMutability": "view",
|
|
460
468
|
"type": "function"
|
|
461
469
|
},
|
|
462
470
|
{
|
|
463
|
-
"inputs": [
|
|
464
|
-
"name": "uniswapPair",
|
|
465
|
-
"outputs": [
|
|
471
|
+
"inputs": [
|
|
466
472
|
{
|
|
467
473
|
"internalType": "address",
|
|
468
|
-
"name": "",
|
|
474
|
+
"name": "_accessController",
|
|
469
475
|
"type": "address"
|
|
470
476
|
}
|
|
471
477
|
],
|
|
472
|
-
"
|
|
478
|
+
"name": "setController",
|
|
479
|
+
"outputs": [],
|
|
480
|
+
"stateMutability": "nonpayable",
|
|
473
481
|
"type": "function"
|
|
474
482
|
},
|
|
475
483
|
{
|
|
476
|
-
"inputs": [
|
|
477
|
-
"name": "xDecimals",
|
|
478
|
-
"outputs": [
|
|
484
|
+
"inputs": [
|
|
479
485
|
{
|
|
480
|
-
"internalType": "
|
|
481
|
-
"name": "",
|
|
482
|
-
"type": "
|
|
486
|
+
"internalType": "address",
|
|
487
|
+
"name": "_to",
|
|
488
|
+
"type": "address"
|
|
483
489
|
}
|
|
484
490
|
],
|
|
485
|
-
"
|
|
491
|
+
"name": "transferOwnership",
|
|
492
|
+
"outputs": [],
|
|
493
|
+
"stateMutability": "nonpayable",
|
|
486
494
|
"type": "function"
|
|
487
495
|
},
|
|
488
496
|
{
|
|
489
497
|
"inputs": [],
|
|
490
|
-
"name": "
|
|
498
|
+
"name": "version",
|
|
491
499
|
"outputs": [
|
|
492
500
|
{
|
|
493
|
-
"internalType": "
|
|
501
|
+
"internalType": "uint256",
|
|
494
502
|
"name": "",
|
|
495
|
-
"type": "
|
|
503
|
+
"type": "uint256"
|
|
496
504
|
}
|
|
497
505
|
],
|
|
498
506
|
"stateMutability": "view",
|