@paraswap/dex-lib 4.0.16 → 4.0.17
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/RamsesV2Pool.abi.json +1554 -0
- package/build/abi/RamsesV2Quoter.abi.json +274 -0
- package/build/abi/{aavev3statav2/Token.json → USDM.json} +271 -461
- package/build/abi/UniswapV2Router.json +397 -0
- package/build/abi/{wombat/pool.json → angle-transmuter/ChainlinkAccessControlledOffchainAggregator.json} +594 -637
- package/build/abi/angle-transmuter/ChainlinkEACAggregatorProxy.json +509 -0
- 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/curve-v1/StableSwapUSDN.json +1004 -0
- package/build/abi/curve-v1/StableSwapUSDT.json +814 -0
- package/build/abi/curve-v1/StableSwapY.json +814 -0
- package/build/abi/inception/inception-ineth.json +609 -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.js +0 -1
- 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/fluid-dex/fluid-dex.d.ts +1 -0
- package/build/dex/fluid-dex/fluid-dex.js +7 -2
- package/build/dex/fluid-dex/fluid-dex.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/inception-event-pool.d.ts +4 -4
- package/build/dex/inception/inception-event-pool.js +9 -7
- package/build/dex/inception/inception-event-pool.js.map +1 -1
- package/build/dex/inception/inception-native.d.ts +43 -0
- 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 +6 -6
- package/build/dex/inception/inception.js +40 -16
- package/build/dex/inception/inception.js.map +1 -1
- package/build/dex/inception/utils.d.ts +0 -1
- package/build/dex/inception/utils.js +1 -22
- package/build/dex/inception/utils.js.map +1 -1
- package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js +9 -3
- package/build/dex/pancakeswap-v3/pancakeswap-v3-pool.js.map +1 -1
- package/build/dex/platypus/platypus.js +3 -17
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.js +0 -4
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/uniswap-v3/config.js +0 -25
- package/build/dex/uniswap-v3/config.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3-pool.js +9 -3
- package/build/dex/uniswap-v3/uniswap-v3-pool.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/package.json +1 -1
- package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +18 -0
- package/src/dex/fluid-dex/fluid-dex.ts +14 -3
- package/src/dex/pancakeswap-v3/pancakeswap-v3-pool.ts +9 -9
- package/src/dex/uniswap-v3/config.ts +0 -26
- package/src/dex/uniswap-v3/uniswap-v3-pool.ts +9 -9
- package/tests/constants-e2e.ts +5 -0
- package/.vscode/launch.json +0 -53
- package/.vscode/settings.json +0 -2
- package/.vscode/tasks.json +0 -15
- package/build/abi/aavev3statav2/Factory.json +0 -131
- package/build/abi/aavev3statav2/Pool.json +0 -1459
- package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
- package/build/abi/usual-m-smart-m/usualM.abi.json +0 -483
- package/build/dex/aave-v2/tokenlist.json +0 -904
- package/build/dex/aave-v2/tokens-avalanche.json +0 -44
- package/build/dex/aave-v2/tokens-mainnet.json +0 -188
- package/build/dex/aave-v2/tokens-polygon.json +0 -44
- package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.d.ts +0 -49
- package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js +0 -384
- package/build/dex/aave-v3-stata-v2/aave-v3-stata-v2.js.map +0 -1
- package/build/dex/aave-v3-stata-v2/config.d.ts +0 -3
- package/build/dex/aave-v3-stata-v2/config.js +0 -21
- package/build/dex/aave-v3-stata-v2/config.js.map +0 -1
- package/build/dex/aave-v3-stata-v2/tokens.d.ts +0 -10
- package/build/dex/aave-v3-stata-v2/tokens.js +0 -43
- package/build/dex/aave-v3-stata-v2/tokens.js.map +0 -1
- package/build/dex/aave-v3-stata-v2/types.d.ts +0 -49
- package/build/dex/aave-v3-stata-v2/types.js +0 -25
- package/build/dex/aave-v3-stata-v2/types.js.map +0 -1
- package/build/dex/aave-v3-stata-v2/utils.d.ts +0 -4
- package/build/dex/aave-v3-stata-v2/utils.js +0 -67
- package/build/dex/aave-v3-stata-v2/utils.js.map +0 -1
- 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/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
- package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
- package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +0 -34
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +0 -406
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.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/lido.d.ts +0 -19
- package/build/dex/lido.js +0 -42
- package/build/dex/lido.js.map +0 -1
- package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
- package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
- package/build/dex/maker-psm/scripts/validate-state.js +0 -185
- package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
- package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
- 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/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
- package/build/dex/stable-pool.d.ts +0 -28
- package/build/dex/stable-pool.js +0 -55
- package/build/dex/stable-pool.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/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
- package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
- package/build/dex/usual/usual-m-smart-m.d.ts +0 -17
- package/build/dex/usual/usual-m-smart-m.js +0 -50
- package/build/dex/usual/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual-m-smart-m/config.d.ts +0 -3
- package/build/dex/usual-m-smart-m/config.js +0 -13
- package/build/dex/usual-m-smart-m/config.js.map +0 -1
- package/build/dex/usual-m-smart-m/types.d.ts +0 -7
- package/build/dex/usual-m-smart-m/types.js +0 -3
- package/build/dex/usual-m-smart-m/types.js.map +0 -1
- package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +0 -35
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js +0 -161
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual-m-usd0/config.d.ts +0 -3
- package/build/dex/usual-m-usd0/config.js +0 -14
- package/build/dex/usual-m-usd0/config.js.map +0 -1
- package/build/dex/usual-m-usd0/types.d.ts +0 -8
- package/build/dex/usual-m-usd0/types.js +0 -3
- package/build/dex/usual-m-usd0/types.js.map +0 -1
- package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +0 -35
- package/build/dex/usual-m-usd0/usual-m-usd0.js +0 -159
- package/build/dex/usual-m-usd0/usual-m-usd0.js.map +0 -1
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
{ "internalType": "contract IPool", "name": "pool", "type": "address" },
|
|
5
|
-
{
|
|
6
|
-
"internalType": "contract IRewardsController",
|
|
7
|
-
"name": "rewardsController",
|
|
8
|
-
"type": "address"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"stateMutability": "nonpayable",
|
|
12
|
-
"type": "constructor"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"inputs": [
|
|
16
|
-
{ "internalType": "address", "name": "target", "type": "address" }
|
|
17
|
-
],
|
|
18
|
-
"name": "AddressEmptyCode",
|
|
19
|
-
"type": "error"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"inputs": [
|
|
23
|
-
{ "internalType": "address", "name": "account", "type": "address" }
|
|
24
|
-
],
|
|
25
|
-
"name": "AddressInsufficientBalance",
|
|
26
|
-
"type": "error"
|
|
27
|
-
},
|
|
28
|
-
{ "inputs": [], "name": "ECDSAInvalidSignature", "type": "error" },
|
|
29
|
-
{
|
|
30
|
-
"inputs": [
|
|
31
|
-
{ "internalType": "uint256", "name": "length", "type": "uint256" }
|
|
32
|
-
],
|
|
33
|
-
"name": "ECDSAInvalidSignatureLength",
|
|
34
|
-
"type": "error"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"inputs": [{ "internalType": "bytes32", "name": "s", "type": "bytes32" }],
|
|
38
|
-
"name": "ECDSAInvalidSignatureS",
|
|
39
|
-
"type": "error"
|
|
40
|
-
},
|
|
2
|
+
{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
|
|
41
3
|
{
|
|
42
4
|
"inputs": [
|
|
43
5
|
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
@@ -50,8 +12,8 @@
|
|
|
50
12
|
{
|
|
51
13
|
"inputs": [
|
|
52
14
|
{ "internalType": "address", "name": "sender", "type": "address" },
|
|
53
|
-
{ "internalType": "uint256", "name": "
|
|
54
|
-
{ "internalType": "uint256", "name": "
|
|
15
|
+
{ "internalType": "uint256", "name": "shares", "type": "uint256" },
|
|
16
|
+
{ "internalType": "uint256", "name": "sharesNeeded", "type": "uint256" }
|
|
55
17
|
],
|
|
56
18
|
"name": "ERC20InsufficientBalance",
|
|
57
19
|
"type": "error"
|
|
@@ -86,118 +48,113 @@
|
|
|
86
48
|
},
|
|
87
49
|
{
|
|
88
50
|
"inputs": [
|
|
89
|
-
{ "internalType": "uint256", "name": "deadline", "type": "uint256" }
|
|
90
|
-
|
|
91
|
-
"name": "ERC2612ExpiredSignature",
|
|
92
|
-
"type": "error"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"inputs": [
|
|
96
|
-
{ "internalType": "address", "name": "signer", "type": "address" },
|
|
97
|
-
{ "internalType": "address", "name": "owner", "type": "address" }
|
|
51
|
+
{ "internalType": "uint256", "name": "deadline", "type": "uint256" },
|
|
52
|
+
{ "internalType": "uint256", "name": "blockTimestamp", "type": "uint256" }
|
|
98
53
|
],
|
|
99
|
-
"name": "
|
|
54
|
+
"name": "ERC2612ExpiredDeadline",
|
|
100
55
|
"type": "error"
|
|
101
56
|
},
|
|
102
57
|
{
|
|
103
58
|
"inputs": [
|
|
104
|
-
{ "internalType": "address", "name": "
|
|
105
|
-
{ "internalType": "
|
|
106
|
-
{ "internalType": "uint256", "name": "max", "type": "uint256" }
|
|
59
|
+
{ "internalType": "address", "name": "owner", "type": "address" },
|
|
60
|
+
{ "internalType": "address", "name": "spender", "type": "address" }
|
|
107
61
|
],
|
|
108
|
-
"name": "
|
|
62
|
+
"name": "ERC2612InvalidSignature",
|
|
109
63
|
"type": "error"
|
|
110
64
|
},
|
|
111
65
|
{
|
|
112
66
|
"inputs": [
|
|
113
|
-
{ "internalType": "address", "name": "
|
|
114
|
-
{ "internalType": "uint256", "name": "shares", "type": "uint256" },
|
|
115
|
-
{ "internalType": "uint256", "name": "max", "type": "uint256" }
|
|
67
|
+
{ "internalType": "address", "name": "sender", "type": "address" }
|
|
116
68
|
],
|
|
117
|
-
"name": "
|
|
69
|
+
"name": "USDMBlockedSender",
|
|
118
70
|
"type": "error"
|
|
119
71
|
},
|
|
120
72
|
{
|
|
121
73
|
"inputs": [
|
|
122
|
-
{ "internalType": "address", "name": "
|
|
74
|
+
{ "internalType": "address", "name": "sender", "type": "address" },
|
|
123
75
|
{ "internalType": "uint256", "name": "shares", "type": "uint256" },
|
|
124
|
-
{ "internalType": "uint256", "name": "
|
|
76
|
+
{ "internalType": "uint256", "name": "sharesNeeded", "type": "uint256" }
|
|
125
77
|
],
|
|
126
|
-
"name": "
|
|
78
|
+
"name": "USDMInsufficientBurnBalance",
|
|
127
79
|
"type": "error"
|
|
128
80
|
},
|
|
129
81
|
{
|
|
130
82
|
"inputs": [
|
|
131
|
-
{ "internalType": "address", "name": "
|
|
132
|
-
{ "internalType": "uint256", "name": "assets", "type": "uint256" },
|
|
133
|
-
{ "internalType": "uint256", "name": "max", "type": "uint256" }
|
|
134
|
-
],
|
|
135
|
-
"name": "ERC4626ExceededMaxWithdraw",
|
|
136
|
-
"type": "error"
|
|
137
|
-
},
|
|
138
|
-
{ "inputs": [], "name": "EnforcedPause", "type": "error" },
|
|
139
|
-
{ "inputs": [], "name": "EthTransferFailed", "type": "error" },
|
|
140
|
-
{ "inputs": [], "name": "ExpectedPause", "type": "error" },
|
|
141
|
-
{ "inputs": [], "name": "FailedInnerCall", "type": "error" },
|
|
142
|
-
{
|
|
143
|
-
"inputs": [
|
|
144
|
-
{ "internalType": "address", "name": "account", "type": "address" },
|
|
145
|
-
{ "internalType": "uint256", "name": "currentNonce", "type": "uint256" }
|
|
83
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
146
84
|
],
|
|
147
|
-
"name": "
|
|
85
|
+
"name": "USDMInvalidBlockedAccount",
|
|
148
86
|
"type": "error"
|
|
149
87
|
},
|
|
150
88
|
{
|
|
151
89
|
"inputs": [
|
|
152
|
-
{ "internalType": "address", "name": "
|
|
90
|
+
{ "internalType": "address", "name": "sender", "type": "address" }
|
|
153
91
|
],
|
|
154
|
-
"name": "
|
|
92
|
+
"name": "USDMInvalidBurnSender",
|
|
155
93
|
"type": "error"
|
|
156
94
|
},
|
|
157
|
-
{ "inputs": [], "name": "InvalidInitialization", "type": "error" },
|
|
158
|
-
{ "inputs": [], "name": "MathOverflowedMulDiv", "type": "error" },
|
|
159
|
-
{ "inputs": [], "name": "NotInitializing", "type": "error" },
|
|
160
95
|
{
|
|
161
96
|
"inputs": [
|
|
162
|
-
{ "internalType": "address", "name": "
|
|
97
|
+
{ "internalType": "address", "name": "receiver", "type": "address" }
|
|
163
98
|
],
|
|
164
|
-
"name": "
|
|
99
|
+
"name": "USDMInvalidMintReceiver",
|
|
165
100
|
"type": "error"
|
|
166
101
|
},
|
|
167
|
-
{ "inputs": [], "name": "OnlyRescueGuardian", "type": "error" },
|
|
168
102
|
{
|
|
169
103
|
"inputs": [
|
|
170
|
-
{
|
|
104
|
+
{
|
|
105
|
+
"internalType": "uint256",
|
|
106
|
+
"name": "rewardMultiplier",
|
|
107
|
+
"type": "uint256"
|
|
108
|
+
}
|
|
171
109
|
],
|
|
172
|
-
"name": "
|
|
110
|
+
"name": "USDMInvalidRewardMultiplier",
|
|
173
111
|
"type": "error"
|
|
174
112
|
},
|
|
113
|
+
{ "inputs": [], "name": "USDMPausedTransfers", "type": "error" },
|
|
175
114
|
{
|
|
115
|
+
"anonymous": false,
|
|
176
116
|
"inputs": [
|
|
177
|
-
{
|
|
117
|
+
{
|
|
118
|
+
"indexed": true,
|
|
119
|
+
"internalType": "address",
|
|
120
|
+
"name": "addr",
|
|
121
|
+
"type": "address"
|
|
122
|
+
}
|
|
178
123
|
],
|
|
179
|
-
"name": "
|
|
180
|
-
"type": "
|
|
124
|
+
"name": "AccountBlocked",
|
|
125
|
+
"type": "event"
|
|
181
126
|
},
|
|
182
127
|
{
|
|
128
|
+
"anonymous": false,
|
|
183
129
|
"inputs": [
|
|
184
|
-
{
|
|
130
|
+
{
|
|
131
|
+
"indexed": true,
|
|
132
|
+
"internalType": "address",
|
|
133
|
+
"name": "addr",
|
|
134
|
+
"type": "address"
|
|
135
|
+
}
|
|
185
136
|
],
|
|
186
|
-
"name": "
|
|
187
|
-
"type": "
|
|
137
|
+
"name": "AccountUnblocked",
|
|
138
|
+
"type": "event"
|
|
188
139
|
},
|
|
189
140
|
{
|
|
141
|
+
"anonymous": false,
|
|
190
142
|
"inputs": [
|
|
191
|
-
{
|
|
143
|
+
{
|
|
144
|
+
"indexed": false,
|
|
145
|
+
"internalType": "address",
|
|
146
|
+
"name": "previousAdmin",
|
|
147
|
+
"type": "address"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"indexed": false,
|
|
151
|
+
"internalType": "address",
|
|
152
|
+
"name": "newAdmin",
|
|
153
|
+
"type": "address"
|
|
154
|
+
}
|
|
192
155
|
],
|
|
193
|
-
"name": "
|
|
194
|
-
"type": "
|
|
195
|
-
},
|
|
196
|
-
{ "inputs": [], "name": "StaticATokenInvalidZeroShares", "type": "error" },
|
|
197
|
-
{
|
|
198
|
-
"inputs": [],
|
|
199
|
-
"name": "ZeroIncentivesControllerIsForbidden",
|
|
200
|
-
"type": "error"
|
|
156
|
+
"name": "AdminChanged",
|
|
157
|
+
"type": "event"
|
|
201
158
|
},
|
|
202
159
|
{
|
|
203
160
|
"anonymous": false,
|
|
@@ -230,29 +187,11 @@
|
|
|
230
187
|
{
|
|
231
188
|
"indexed": true,
|
|
232
189
|
"internalType": "address",
|
|
233
|
-
"name": "
|
|
234
|
-
"type": "address"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"indexed": true,
|
|
238
|
-
"internalType": "address",
|
|
239
|
-
"name": "owner",
|
|
190
|
+
"name": "beacon",
|
|
240
191
|
"type": "address"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"indexed": false,
|
|
244
|
-
"internalType": "uint256",
|
|
245
|
-
"name": "assets",
|
|
246
|
-
"type": "uint256"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"indexed": false,
|
|
250
|
-
"internalType": "uint256",
|
|
251
|
-
"name": "shares",
|
|
252
|
-
"type": "uint256"
|
|
253
192
|
}
|
|
254
193
|
],
|
|
255
|
-
"name": "
|
|
194
|
+
"name": "BeaconUpgraded",
|
|
256
195
|
"type": "event"
|
|
257
196
|
},
|
|
258
197
|
{
|
|
@@ -265,44 +204,39 @@
|
|
|
265
204
|
"anonymous": false,
|
|
266
205
|
"inputs": [
|
|
267
206
|
{
|
|
268
|
-
"indexed":
|
|
269
|
-
"internalType": "
|
|
270
|
-
"name": "
|
|
271
|
-
"type": "
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
207
|
+
"indexed": false,
|
|
208
|
+
"internalType": "uint8",
|
|
209
|
+
"name": "version",
|
|
210
|
+
"type": "uint8"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"name": "Initialized",
|
|
214
|
+
"type": "event"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"anonymous": false,
|
|
218
|
+
"inputs": [
|
|
279
219
|
{
|
|
280
|
-
"indexed":
|
|
220
|
+
"indexed": false,
|
|
281
221
|
"internalType": "address",
|
|
282
|
-
"name": "
|
|
222
|
+
"name": "account",
|
|
283
223
|
"type": "address"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"indexed": false,
|
|
287
|
-
"internalType": "uint256",
|
|
288
|
-
"name": "amount",
|
|
289
|
-
"type": "uint256"
|
|
290
224
|
}
|
|
291
225
|
],
|
|
292
|
-
"name": "
|
|
226
|
+
"name": "Paused",
|
|
293
227
|
"type": "event"
|
|
294
228
|
},
|
|
295
229
|
{
|
|
296
230
|
"anonymous": false,
|
|
297
231
|
"inputs": [
|
|
298
232
|
{
|
|
299
|
-
"indexed":
|
|
300
|
-
"internalType": "
|
|
301
|
-
"name": "
|
|
302
|
-
"type": "
|
|
233
|
+
"indexed": true,
|
|
234
|
+
"internalType": "uint256",
|
|
235
|
+
"name": "value",
|
|
236
|
+
"type": "uint256"
|
|
303
237
|
}
|
|
304
238
|
],
|
|
305
|
-
"name": "
|
|
239
|
+
"name": "RewardMultiplier",
|
|
306
240
|
"type": "event"
|
|
307
241
|
},
|
|
308
242
|
{
|
|
@@ -310,56 +244,74 @@
|
|
|
310
244
|
"inputs": [
|
|
311
245
|
{
|
|
312
246
|
"indexed": true,
|
|
313
|
-
"internalType": "
|
|
314
|
-
"name": "
|
|
315
|
-
"type": "
|
|
247
|
+
"internalType": "bytes32",
|
|
248
|
+
"name": "role",
|
|
249
|
+
"type": "bytes32"
|
|
316
250
|
},
|
|
317
251
|
{
|
|
318
252
|
"indexed": true,
|
|
319
|
-
"internalType": "
|
|
320
|
-
"name": "
|
|
321
|
-
"type": "
|
|
253
|
+
"internalType": "bytes32",
|
|
254
|
+
"name": "previousAdminRole",
|
|
255
|
+
"type": "bytes32"
|
|
322
256
|
},
|
|
323
257
|
{
|
|
324
|
-
"indexed":
|
|
325
|
-
"internalType": "
|
|
326
|
-
"name": "
|
|
327
|
-
"type": "
|
|
258
|
+
"indexed": true,
|
|
259
|
+
"internalType": "bytes32",
|
|
260
|
+
"name": "newAdminRole",
|
|
261
|
+
"type": "bytes32"
|
|
328
262
|
}
|
|
329
263
|
],
|
|
330
|
-
"name": "
|
|
264
|
+
"name": "RoleAdminChanged",
|
|
331
265
|
"type": "event"
|
|
332
266
|
},
|
|
333
267
|
{
|
|
334
268
|
"anonymous": false,
|
|
335
269
|
"inputs": [
|
|
336
270
|
{
|
|
337
|
-
"indexed":
|
|
271
|
+
"indexed": true,
|
|
272
|
+
"internalType": "bytes32",
|
|
273
|
+
"name": "role",
|
|
274
|
+
"type": "bytes32"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"indexed": true,
|
|
338
278
|
"internalType": "address",
|
|
339
279
|
"name": "account",
|
|
340
280
|
"type": "address"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"indexed": true,
|
|
284
|
+
"internalType": "address",
|
|
285
|
+
"name": "sender",
|
|
286
|
+
"type": "address"
|
|
341
287
|
}
|
|
342
288
|
],
|
|
343
|
-
"name": "
|
|
289
|
+
"name": "RoleGranted",
|
|
344
290
|
"type": "event"
|
|
345
291
|
},
|
|
346
292
|
{
|
|
347
293
|
"anonymous": false,
|
|
348
294
|
"inputs": [
|
|
295
|
+
{
|
|
296
|
+
"indexed": true,
|
|
297
|
+
"internalType": "bytes32",
|
|
298
|
+
"name": "role",
|
|
299
|
+
"type": "bytes32"
|
|
300
|
+
},
|
|
349
301
|
{
|
|
350
302
|
"indexed": true,
|
|
351
303
|
"internalType": "address",
|
|
352
|
-
"name": "
|
|
304
|
+
"name": "account",
|
|
353
305
|
"type": "address"
|
|
354
306
|
},
|
|
355
307
|
{
|
|
356
|
-
"indexed":
|
|
357
|
-
"internalType": "
|
|
358
|
-
"name": "
|
|
359
|
-
"type": "
|
|
308
|
+
"indexed": true,
|
|
309
|
+
"internalType": "address",
|
|
310
|
+
"name": "sender",
|
|
311
|
+
"type": "address"
|
|
360
312
|
}
|
|
361
313
|
],
|
|
362
|
-
"name": "
|
|
314
|
+
"name": "RoleRevoked",
|
|
363
315
|
"type": "event"
|
|
364
316
|
},
|
|
365
317
|
{
|
|
@@ -406,191 +358,144 @@
|
|
|
406
358
|
{
|
|
407
359
|
"indexed": true,
|
|
408
360
|
"internalType": "address",
|
|
409
|
-
"name": "
|
|
361
|
+
"name": "implementation",
|
|
410
362
|
"type": "address"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"indexed": true,
|
|
414
|
-
"internalType": "address",
|
|
415
|
-
"name": "receiver",
|
|
416
|
-
"type": "address"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"indexed": true,
|
|
420
|
-
"internalType": "address",
|
|
421
|
-
"name": "owner",
|
|
422
|
-
"type": "address"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"indexed": false,
|
|
426
|
-
"internalType": "uint256",
|
|
427
|
-
"name": "assets",
|
|
428
|
-
"type": "uint256"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"indexed": false,
|
|
432
|
-
"internalType": "uint256",
|
|
433
|
-
"name": "shares",
|
|
434
|
-
"type": "uint256"
|
|
435
363
|
}
|
|
436
364
|
],
|
|
437
|
-
"name": "
|
|
365
|
+
"name": "Upgraded",
|
|
438
366
|
"type": "event"
|
|
439
367
|
},
|
|
440
368
|
{
|
|
441
369
|
"inputs": [],
|
|
442
|
-
"name": "
|
|
370
|
+
"name": "BLOCKLIST_ROLE",
|
|
443
371
|
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
444
372
|
"stateMutability": "view",
|
|
445
373
|
"type": "function"
|
|
446
374
|
},
|
|
447
375
|
{
|
|
448
376
|
"inputs": [],
|
|
449
|
-
"name": "
|
|
450
|
-
"outputs": [
|
|
451
|
-
{
|
|
452
|
-
"internalType": "contract IRewardsController",
|
|
453
|
-
"name": "",
|
|
454
|
-
"type": "address"
|
|
455
|
-
}
|
|
456
|
-
],
|
|
377
|
+
"name": "BURNER_ROLE",
|
|
378
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
457
379
|
"stateMutability": "view",
|
|
458
380
|
"type": "function"
|
|
459
381
|
},
|
|
460
382
|
{
|
|
461
383
|
"inputs": [],
|
|
462
|
-
"name": "
|
|
463
|
-
"outputs": [
|
|
464
|
-
{ "internalType": "contract IPool", "name": "", "type": "address" }
|
|
465
|
-
],
|
|
384
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
385
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
466
386
|
"stateMutability": "view",
|
|
467
387
|
"type": "function"
|
|
468
388
|
},
|
|
469
389
|
{
|
|
470
390
|
"inputs": [],
|
|
471
|
-
"name": "
|
|
472
|
-
"outputs": [
|
|
473
|
-
{
|
|
474
|
-
"internalType": "contract IPoolAddressesProvider",
|
|
475
|
-
"name": "",
|
|
476
|
-
"type": "address"
|
|
477
|
-
}
|
|
478
|
-
],
|
|
391
|
+
"name": "DOMAIN_SEPARATOR",
|
|
392
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
479
393
|
"stateMutability": "view",
|
|
480
394
|
"type": "function"
|
|
481
395
|
},
|
|
482
396
|
{
|
|
483
397
|
"inputs": [],
|
|
484
|
-
"name": "
|
|
485
|
-
"outputs": [{ "internalType": "
|
|
398
|
+
"name": "MINTER_ROLE",
|
|
399
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
486
400
|
"stateMutability": "view",
|
|
487
401
|
"type": "function"
|
|
488
402
|
},
|
|
489
403
|
{
|
|
490
404
|
"inputs": [],
|
|
491
|
-
"name": "
|
|
492
|
-
"outputs": [{ "internalType": "
|
|
405
|
+
"name": "ORACLE_ROLE",
|
|
406
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
493
407
|
"stateMutability": "view",
|
|
494
408
|
"type": "function"
|
|
495
409
|
},
|
|
496
410
|
{
|
|
497
|
-
"inputs": [
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
],
|
|
501
|
-
"name": "allowance",
|
|
502
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
411
|
+
"inputs": [],
|
|
412
|
+
"name": "PAUSE_ROLE",
|
|
413
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
503
414
|
"stateMutability": "view",
|
|
504
415
|
"type": "function"
|
|
505
416
|
},
|
|
506
|
-
{
|
|
507
|
-
"inputs": [
|
|
508
|
-
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
509
|
-
{ "internalType": "uint256", "name": "value", "type": "uint256" }
|
|
510
|
-
],
|
|
511
|
-
"name": "approve",
|
|
512
|
-
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
513
|
-
"stateMutability": "nonpayable",
|
|
514
|
-
"type": "function"
|
|
515
|
-
},
|
|
516
417
|
{
|
|
517
418
|
"inputs": [],
|
|
518
|
-
"name": "
|
|
519
|
-
"outputs": [{ "internalType": "
|
|
419
|
+
"name": "UPGRADE_ROLE",
|
|
420
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
520
421
|
"stateMutability": "view",
|
|
521
422
|
"type": "function"
|
|
522
423
|
},
|
|
523
424
|
{
|
|
524
425
|
"inputs": [
|
|
525
|
-
{
|
|
426
|
+
{
|
|
427
|
+
"internalType": "uint256",
|
|
428
|
+
"name": "_rewardMultiplierIncrement",
|
|
429
|
+
"type": "uint256"
|
|
430
|
+
}
|
|
526
431
|
],
|
|
527
|
-
"name": "
|
|
528
|
-
"outputs": [
|
|
529
|
-
"stateMutability": "
|
|
432
|
+
"name": "addRewardMultiplier",
|
|
433
|
+
"outputs": [],
|
|
434
|
+
"stateMutability": "nonpayable",
|
|
530
435
|
"type": "function"
|
|
531
436
|
},
|
|
532
437
|
{
|
|
533
438
|
"inputs": [
|
|
534
|
-
{ "internalType": "address", "name": "
|
|
439
|
+
{ "internalType": "address", "name": "owner", "type": "address" },
|
|
440
|
+
{ "internalType": "address", "name": "spender", "type": "address" }
|
|
535
441
|
],
|
|
536
|
-
"name": "
|
|
537
|
-
"outputs": [{ "internalType": "
|
|
442
|
+
"name": "allowance",
|
|
443
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
538
444
|
"stateMutability": "view",
|
|
539
445
|
"type": "function"
|
|
540
446
|
},
|
|
541
447
|
{
|
|
542
448
|
"inputs": [
|
|
543
|
-
{ "internalType": "address", "name": "
|
|
544
|
-
{ "internalType": "
|
|
449
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
450
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
545
451
|
],
|
|
546
|
-
"name": "
|
|
547
|
-
"outputs": [],
|
|
452
|
+
"name": "approve",
|
|
453
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
548
454
|
"stateMutability": "nonpayable",
|
|
549
455
|
"type": "function"
|
|
550
456
|
},
|
|
551
457
|
{
|
|
552
458
|
"inputs": [
|
|
553
|
-
{ "internalType": "address", "name": "
|
|
554
|
-
{ "internalType": "address", "name": "receiver", "type": "address" },
|
|
555
|
-
{ "internalType": "address[]", "name": "rewards", "type": "address[]" }
|
|
459
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
556
460
|
],
|
|
557
|
-
"name": "
|
|
558
|
-
"outputs": [],
|
|
559
|
-
"stateMutability": "
|
|
461
|
+
"name": "balanceOf",
|
|
462
|
+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
463
|
+
"stateMutability": "view",
|
|
560
464
|
"type": "function"
|
|
561
465
|
},
|
|
562
466
|
{
|
|
563
467
|
"inputs": [
|
|
564
|
-
{ "internalType": "address[]", "name": "
|
|
468
|
+
{ "internalType": "address[]", "name": "addresses", "type": "address[]" }
|
|
565
469
|
],
|
|
566
|
-
"name": "
|
|
470
|
+
"name": "blockAccounts",
|
|
567
471
|
"outputs": [],
|
|
568
472
|
"stateMutability": "nonpayable",
|
|
569
473
|
"type": "function"
|
|
570
474
|
},
|
|
571
475
|
{
|
|
572
476
|
"inputs": [
|
|
573
|
-
{ "internalType": "address", "name": "
|
|
477
|
+
{ "internalType": "address", "name": "from", "type": "address" },
|
|
478
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
574
479
|
],
|
|
575
|
-
"name": "
|
|
576
|
-
"outputs": [
|
|
480
|
+
"name": "burn",
|
|
481
|
+
"outputs": [],
|
|
577
482
|
"stateMutability": "nonpayable",
|
|
578
483
|
"type": "function"
|
|
579
484
|
},
|
|
580
485
|
{
|
|
581
486
|
"inputs": [
|
|
582
|
-
{ "internalType": "uint256", "name": "
|
|
487
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
583
488
|
],
|
|
584
|
-
"name": "
|
|
489
|
+
"name": "convertToShares",
|
|
585
490
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
586
491
|
"stateMutability": "view",
|
|
587
492
|
"type": "function"
|
|
588
493
|
},
|
|
589
494
|
{
|
|
590
495
|
"inputs": [
|
|
591
|
-
{ "internalType": "uint256", "name": "
|
|
496
|
+
{ "internalType": "uint256", "name": "shares", "type": "uint256" }
|
|
592
497
|
],
|
|
593
|
-
"name": "
|
|
498
|
+
"name": "convertToTokens",
|
|
594
499
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
595
500
|
"stateMutability": "view",
|
|
596
501
|
"type": "function"
|
|
@@ -599,48 +504,20 @@
|
|
|
599
504
|
"inputs": [],
|
|
600
505
|
"name": "decimals",
|
|
601
506
|
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
|
|
602
|
-
"stateMutability": "
|
|
507
|
+
"stateMutability": "pure",
|
|
603
508
|
"type": "function"
|
|
604
509
|
},
|
|
605
510
|
{
|
|
606
511
|
"inputs": [
|
|
607
|
-
{ "internalType": "
|
|
608
|
-
{ "internalType": "address", "name": "receiver", "type": "address" }
|
|
609
|
-
],
|
|
610
|
-
"name": "deposit",
|
|
611
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
612
|
-
"stateMutability": "nonpayable",
|
|
613
|
-
"type": "function"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"inputs": [
|
|
617
|
-
{ "internalType": "uint256", "name": "assets", "type": "uint256" },
|
|
618
|
-
{ "internalType": "address", "name": "receiver", "type": "address" }
|
|
619
|
-
],
|
|
620
|
-
"name": "depositATokens",
|
|
621
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
622
|
-
"stateMutability": "nonpayable",
|
|
623
|
-
"type": "function"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"inputs": [
|
|
627
|
-
{ "internalType": "uint256", "name": "assets", "type": "uint256" },
|
|
628
|
-
{ "internalType": "address", "name": "receiver", "type": "address" },
|
|
629
|
-
{ "internalType": "uint256", "name": "deadline", "type": "uint256" },
|
|
512
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
630
513
|
{
|
|
631
|
-
"
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
],
|
|
636
|
-
"internalType": "struct IERC4626StataToken.SignatureParams",
|
|
637
|
-
"name": "sig",
|
|
638
|
-
"type": "tuple"
|
|
639
|
-
},
|
|
640
|
-
{ "internalType": "bool", "name": "depositToAave", "type": "bool" }
|
|
514
|
+
"internalType": "uint256",
|
|
515
|
+
"name": "subtractedValue",
|
|
516
|
+
"type": "uint256"
|
|
517
|
+
}
|
|
641
518
|
],
|
|
642
|
-
"name": "
|
|
643
|
-
"outputs": [{ "internalType": "
|
|
519
|
+
"name": "decreaseAllowance",
|
|
520
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
644
521
|
"stateMutability": "nonpayable",
|
|
645
522
|
"type": "function"
|
|
646
523
|
},
|
|
@@ -665,83 +542,48 @@
|
|
|
665
542
|
},
|
|
666
543
|
{
|
|
667
544
|
"inputs": [
|
|
668
|
-
{ "internalType": "
|
|
669
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
545
|
+
{ "internalType": "bytes32", "name": "role", "type": "bytes32" }
|
|
670
546
|
],
|
|
671
|
-
"name": "
|
|
672
|
-
"outputs": [],
|
|
673
|
-
"stateMutability": "
|
|
547
|
+
"name": "getRoleAdmin",
|
|
548
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
549
|
+
"stateMutability": "view",
|
|
674
550
|
"type": "function"
|
|
675
551
|
},
|
|
676
552
|
{
|
|
677
553
|
"inputs": [
|
|
678
|
-
{ "internalType": "
|
|
679
|
-
{ "internalType": "address", "name": "
|
|
680
|
-
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
554
|
+
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
555
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
681
556
|
],
|
|
682
|
-
"name": "
|
|
557
|
+
"name": "grantRole",
|
|
683
558
|
"outputs": [],
|
|
684
559
|
"stateMutability": "nonpayable",
|
|
685
560
|
"type": "function"
|
|
686
561
|
},
|
|
687
562
|
{
|
|
688
563
|
"inputs": [
|
|
689
|
-
{ "internalType": "
|
|
690
|
-
{ "internalType": "address", "name": "
|
|
691
|
-
],
|
|
692
|
-
"name": "getClaimableRewards",
|
|
693
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
694
|
-
"stateMutability": "view",
|
|
695
|
-
"type": "function"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"inputs": [
|
|
699
|
-
{ "internalType": "address", "name": "reward", "type": "address" }
|
|
700
|
-
],
|
|
701
|
-
"name": "getCurrentRewardsIndex",
|
|
702
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
703
|
-
"stateMutability": "view",
|
|
704
|
-
"type": "function"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"inputs": [],
|
|
708
|
-
"name": "getReferenceAsset",
|
|
709
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
710
|
-
"stateMutability": "view",
|
|
711
|
-
"type": "function"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
"inputs": [
|
|
715
|
-
{ "internalType": "address", "name": "reward", "type": "address" }
|
|
564
|
+
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
565
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
716
566
|
],
|
|
717
|
-
"name": "
|
|
718
|
-
"outputs": [{ "internalType": "
|
|
567
|
+
"name": "hasRole",
|
|
568
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
719
569
|
"stateMutability": "view",
|
|
720
570
|
"type": "function"
|
|
721
571
|
},
|
|
722
572
|
{
|
|
723
573
|
"inputs": [
|
|
724
|
-
{ "internalType": "address", "name": "
|
|
725
|
-
{ "internalType": "
|
|
574
|
+
{ "internalType": "address", "name": "spender", "type": "address" },
|
|
575
|
+
{ "internalType": "uint256", "name": "addedValue", "type": "uint256" }
|
|
726
576
|
],
|
|
727
|
-
"name": "
|
|
728
|
-
"outputs": [{ "internalType": "
|
|
729
|
-
"stateMutability": "
|
|
577
|
+
"name": "increaseAllowance",
|
|
578
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
579
|
+
"stateMutability": "nonpayable",
|
|
730
580
|
"type": "function"
|
|
731
581
|
},
|
|
732
582
|
{
|
|
733
583
|
"inputs": [
|
|
734
|
-
{ "internalType": "
|
|
735
|
-
{
|
|
736
|
-
|
|
737
|
-
"name": "staticATokenName",
|
|
738
|
-
"type": "string"
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"internalType": "string",
|
|
742
|
-
"name": "staticATokenSymbol",
|
|
743
|
-
"type": "string"
|
|
744
|
-
}
|
|
584
|
+
{ "internalType": "string", "name": "name_", "type": "string" },
|
|
585
|
+
{ "internalType": "string", "name": "symbol_", "type": "string" },
|
|
586
|
+
{ "internalType": "address", "name": "owner", "type": "address" }
|
|
745
587
|
],
|
|
746
588
|
"name": "initialize",
|
|
747
589
|
"outputs": [],
|
|
@@ -750,68 +592,20 @@
|
|
|
750
592
|
},
|
|
751
593
|
{
|
|
752
594
|
"inputs": [
|
|
753
|
-
{ "internalType": "address", "name": "
|
|
595
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
754
596
|
],
|
|
755
|
-
"name": "
|
|
597
|
+
"name": "isBlocked",
|
|
756
598
|
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
757
599
|
"stateMutability": "view",
|
|
758
600
|
"type": "function"
|
|
759
601
|
},
|
|
760
|
-
{
|
|
761
|
-
"inputs": [],
|
|
762
|
-
"name": "latestAnswer",
|
|
763
|
-
"outputs": [{ "internalType": "int256", "name": "", "type": "int256" }],
|
|
764
|
-
"stateMutability": "view",
|
|
765
|
-
"type": "function"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
769
|
-
"name": "maxDeposit",
|
|
770
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
771
|
-
"stateMutability": "view",
|
|
772
|
-
"type": "function"
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
"inputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
776
|
-
"name": "maxMint",
|
|
777
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
778
|
-
"stateMutability": "view",
|
|
779
|
-
"type": "function"
|
|
780
|
-
},
|
|
781
602
|
{
|
|
782
603
|
"inputs": [
|
|
783
|
-
{ "internalType": "address", "name": "
|
|
784
|
-
|
|
785
|
-
"name": "maxRedeem",
|
|
786
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
787
|
-
"stateMutability": "view",
|
|
788
|
-
"type": "function"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"inputs": [
|
|
792
|
-
{ "internalType": "address", "name": "asset", "type": "address" }
|
|
793
|
-
],
|
|
794
|
-
"name": "maxRescue",
|
|
795
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
796
|
-
"stateMutability": "view",
|
|
797
|
-
"type": "function"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
"inputs": [
|
|
801
|
-
{ "internalType": "address", "name": "owner", "type": "address" }
|
|
802
|
-
],
|
|
803
|
-
"name": "maxWithdraw",
|
|
804
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
805
|
-
"stateMutability": "view",
|
|
806
|
-
"type": "function"
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"inputs": [
|
|
810
|
-
{ "internalType": "uint256", "name": "shares", "type": "uint256" },
|
|
811
|
-
{ "internalType": "address", "name": "receiver", "type": "address" }
|
|
604
|
+
{ "internalType": "address", "name": "to", "type": "address" },
|
|
605
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
812
606
|
],
|
|
813
607
|
"name": "mint",
|
|
814
|
-
"outputs": [
|
|
608
|
+
"outputs": [],
|
|
815
609
|
"stateMutability": "nonpayable",
|
|
816
610
|
"type": "function"
|
|
817
611
|
},
|
|
@@ -831,6 +625,13 @@
|
|
|
831
625
|
"stateMutability": "view",
|
|
832
626
|
"type": "function"
|
|
833
627
|
},
|
|
628
|
+
{
|
|
629
|
+
"inputs": [],
|
|
630
|
+
"name": "pause",
|
|
631
|
+
"outputs": [],
|
|
632
|
+
"stateMutability": "nonpayable",
|
|
633
|
+
"type": "function"
|
|
634
|
+
},
|
|
834
635
|
{
|
|
835
636
|
"inputs": [],
|
|
836
637
|
"name": "paused",
|
|
@@ -854,86 +655,70 @@
|
|
|
854
655
|
"type": "function"
|
|
855
656
|
},
|
|
856
657
|
{
|
|
857
|
-
"inputs": [
|
|
858
|
-
|
|
859
|
-
],
|
|
860
|
-
"name": "previewDeposit",
|
|
861
|
-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
658
|
+
"inputs": [],
|
|
659
|
+
"name": "proxiableUUID",
|
|
660
|
+
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
|
|
862
661
|
"stateMutability": "view",
|
|
863
662
|
"type": "function"
|
|
864
663
|
},
|
|
865
664
|
{
|
|
866
665
|
"inputs": [
|
|
867
|
-
{ "internalType": "
|
|
666
|
+
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
667
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
868
668
|
],
|
|
869
|
-
"name": "
|
|
870
|
-
"outputs": [
|
|
871
|
-
"stateMutability": "
|
|
669
|
+
"name": "renounceRole",
|
|
670
|
+
"outputs": [],
|
|
671
|
+
"stateMutability": "nonpayable",
|
|
872
672
|
"type": "function"
|
|
873
673
|
},
|
|
874
674
|
{
|
|
875
675
|
"inputs": [
|
|
876
|
-
{ "internalType": "
|
|
676
|
+
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
|
|
677
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
877
678
|
],
|
|
878
|
-
"name": "
|
|
879
|
-
"outputs": [
|
|
880
|
-
"stateMutability": "
|
|
679
|
+
"name": "revokeRole",
|
|
680
|
+
"outputs": [],
|
|
681
|
+
"stateMutability": "nonpayable",
|
|
881
682
|
"type": "function"
|
|
882
683
|
},
|
|
883
684
|
{
|
|
884
|
-
"inputs": [
|
|
885
|
-
|
|
886
|
-
],
|
|
887
|
-
"name": "previewWithdraw",
|
|
685
|
+
"inputs": [],
|
|
686
|
+
"name": "rewardMultiplier",
|
|
888
687
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
889
688
|
"stateMutability": "view",
|
|
890
689
|
"type": "function"
|
|
891
690
|
},
|
|
892
691
|
{
|
|
893
692
|
"inputs": [
|
|
894
|
-
{
|
|
895
|
-
|
|
896
|
-
|
|
693
|
+
{
|
|
694
|
+
"internalType": "uint256",
|
|
695
|
+
"name": "_rewardMultiplier",
|
|
696
|
+
"type": "uint256"
|
|
697
|
+
}
|
|
897
698
|
],
|
|
898
|
-
"name": "
|
|
899
|
-
"outputs": [
|
|
699
|
+
"name": "setRewardMultiplier",
|
|
700
|
+
"outputs": [],
|
|
900
701
|
"stateMutability": "nonpayable",
|
|
901
702
|
"type": "function"
|
|
902
703
|
},
|
|
903
704
|
{
|
|
904
705
|
"inputs": [
|
|
905
|
-
{ "internalType": "
|
|
906
|
-
{ "internalType": "address", "name": "receiver", "type": "address" },
|
|
907
|
-
{ "internalType": "address", "name": "owner", "type": "address" }
|
|
706
|
+
{ "internalType": "address", "name": "account", "type": "address" }
|
|
908
707
|
],
|
|
909
|
-
"name": "
|
|
708
|
+
"name": "sharesOf",
|
|
910
709
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
911
|
-
"stateMutability": "
|
|
912
|
-
"type": "function"
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
"inputs": [],
|
|
916
|
-
"name": "refreshRewardTokens",
|
|
917
|
-
"outputs": [],
|
|
918
|
-
"stateMutability": "nonpayable",
|
|
710
|
+
"stateMutability": "view",
|
|
919
711
|
"type": "function"
|
|
920
712
|
},
|
|
921
713
|
{
|
|
922
|
-
"inputs": [
|
|
923
|
-
|
|
924
|
-
"outputs": [
|
|
925
|
-
{ "internalType": "address[]", "name": "", "type": "address[]" }
|
|
714
|
+
"inputs": [
|
|
715
|
+
{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
|
|
926
716
|
],
|
|
717
|
+
"name": "supportsInterface",
|
|
718
|
+
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
927
719
|
"stateMutability": "view",
|
|
928
720
|
"type": "function"
|
|
929
721
|
},
|
|
930
|
-
{
|
|
931
|
-
"inputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }],
|
|
932
|
-
"name": "setPaused",
|
|
933
|
-
"outputs": [],
|
|
934
|
-
"stateMutability": "nonpayable",
|
|
935
|
-
"type": "function"
|
|
936
|
-
},
|
|
937
722
|
{
|
|
938
723
|
"inputs": [],
|
|
939
724
|
"name": "symbol",
|
|
@@ -943,7 +728,7 @@
|
|
|
943
728
|
},
|
|
944
729
|
{
|
|
945
730
|
"inputs": [],
|
|
946
|
-
"name": "
|
|
731
|
+
"name": "totalShares",
|
|
947
732
|
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
|
|
948
733
|
"stateMutability": "view",
|
|
949
734
|
"type": "function"
|
|
@@ -958,7 +743,7 @@
|
|
|
958
743
|
{
|
|
959
744
|
"inputs": [
|
|
960
745
|
{ "internalType": "address", "name": "to", "type": "address" },
|
|
961
|
-
{ "internalType": "uint256", "name": "
|
|
746
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
962
747
|
],
|
|
963
748
|
"name": "transfer",
|
|
964
749
|
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
@@ -969,29 +754,54 @@
|
|
|
969
754
|
"inputs": [
|
|
970
755
|
{ "internalType": "address", "name": "from", "type": "address" },
|
|
971
756
|
{ "internalType": "address", "name": "to", "type": "address" },
|
|
972
|
-
{ "internalType": "uint256", "name": "
|
|
757
|
+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
|
|
973
758
|
],
|
|
974
759
|
"name": "transferFrom",
|
|
975
760
|
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
|
|
976
761
|
"stateMutability": "nonpayable",
|
|
977
762
|
"type": "function"
|
|
978
763
|
},
|
|
764
|
+
{
|
|
765
|
+
"inputs": [
|
|
766
|
+
{ "internalType": "address[]", "name": "addresses", "type": "address[]" }
|
|
767
|
+
],
|
|
768
|
+
"name": "unblockAccounts",
|
|
769
|
+
"outputs": [],
|
|
770
|
+
"stateMutability": "nonpayable",
|
|
771
|
+
"type": "function"
|
|
772
|
+
},
|
|
979
773
|
{
|
|
980
774
|
"inputs": [],
|
|
981
|
-
"name": "
|
|
982
|
-
"outputs": [
|
|
983
|
-
"stateMutability": "
|
|
775
|
+
"name": "unpause",
|
|
776
|
+
"outputs": [],
|
|
777
|
+
"stateMutability": "nonpayable",
|
|
984
778
|
"type": "function"
|
|
985
779
|
},
|
|
986
780
|
{
|
|
987
781
|
"inputs": [
|
|
988
|
-
{
|
|
989
|
-
|
|
990
|
-
|
|
782
|
+
{
|
|
783
|
+
"internalType": "address",
|
|
784
|
+
"name": "newImplementation",
|
|
785
|
+
"type": "address"
|
|
786
|
+
}
|
|
991
787
|
],
|
|
992
|
-
"name": "
|
|
993
|
-
"outputs": [
|
|
788
|
+
"name": "upgradeTo",
|
|
789
|
+
"outputs": [],
|
|
994
790
|
"stateMutability": "nonpayable",
|
|
995
791
|
"type": "function"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"inputs": [
|
|
795
|
+
{
|
|
796
|
+
"internalType": "address",
|
|
797
|
+
"name": "newImplementation",
|
|
798
|
+
"type": "address"
|
|
799
|
+
},
|
|
800
|
+
{ "internalType": "bytes", "name": "data", "type": "bytes" }
|
|
801
|
+
],
|
|
802
|
+
"name": "upgradeToAndCall",
|
|
803
|
+
"outputs": [],
|
|
804
|
+
"stateMutability": "payable",
|
|
805
|
+
"type": "function"
|
|
996
806
|
}
|
|
997
807
|
]
|