@paraswap/dex-lib 4.7.13-unified-pair-restriction.2 → 4.7.14-pharaoh-v3.0
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/PendleRouterStatic.json +19 -0
- package/build/abi/{MStableAsset.json → apex-defi/ApexDefiFactory.abi.json} +992 -788
- package/build/abi/{BProtocol.json → apex-defi/ApexDefiRouter.abi.json} +539 -574
- package/build/abi/apex-defi/ApexDefiToken.abi.json +229 -0
- package/build/abi/apex-defi/ApexDefiWrapper.abi.json +92 -0
- package/build/abi/{OneInchLp.json → apex-defi/ApexDefiWrapperFactory.abi.json} +577 -774
- package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
- package/build/abi/pendle/pendle-deployer.abi.json +520 -0
- package/build/abi/pendle/pendle-oracle.abi.json +413 -0
- package/build/abi/pharaoh-v3/PharaohV3Factory.abi.json +349 -0
- package/build/abi/pharaoh-v3/PharaohV3Pool.abi.json +802 -0
- package/build/abi/pharaoh-v3/PharaohV3StateMulticall.abi.json +781 -0
- package/build/abi/ring-v2/few-wrapped-token.json +587 -0
- package/build/abi/ring-v2/ring-v2-factory.json +125 -0
- package/build/abi/ring-v2/ring-v2-pool.json +461 -0
- package/build/abi/ring-v2/ring-v2-router.json +332 -0
- package/build/abi/stabull/stabull-curve.json +738 -0
- package/build/abi/stabull/stabull-router.json +76 -0
- package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +26 -0
- package/build/abi/uniswap-v4/hooks/SpotHook.json +54 -0
- package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +45 -0
- package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
- package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +29 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +153 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +1 -0
- package/build/dex/{usual-bond/usual-bond.d.ts → aave-pt-to-underlying/aave-pt-to-underlying.d.ts} +23 -18
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +323 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
- package/build/dex/aave-pt-to-underlying/config.js +24 -0
- package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-underlying/constants.js +6 -0
- package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/types.d.ts +24 -0
- package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
- package/build/dex/aave-pt-to-usdc/config.js +47 -0
- package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-usdc/constants.js +6 -0
- package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
- package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-factory.d.ts +26 -0
- package/build/dex/apex-defi/apex-defi-factory.js +53 -0
- package/build/dex/apex-defi/apex-defi-factory.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-pool.d.ts +55 -0
- package/build/dex/apex-defi/apex-defi-pool.js +247 -0
- package/build/dex/apex-defi/apex-defi-pool.js.map +1 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +57 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js +250 -0
- package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +1 -0
- package/build/dex/apex-defi/apex-defi.d.ts +97 -0
- package/build/dex/apex-defi/apex-defi.js +1021 -0
- package/build/dex/apex-defi/apex-defi.js.map +1 -0
- package/build/dex/apex-defi/config.d.ts +4 -0
- package/build/dex/apex-defi/config.js +138 -0
- package/build/dex/apex-defi/config.js.map +1 -0
- package/build/dex/apex-defi/types.d.ts +32 -0
- package/build/dex/apex-defi/types.js +3 -0
- package/build/dex/{usual-bond → apex-defi}/types.js.map +1 -1
- package/build/dex/apex-defi/utils.d.ts +46 -0
- package/build/dex/apex-defi/utils.js +133 -0
- package/build/dex/apex-defi/utils.js.map +1 -0
- package/build/dex/generic-rfq/generic-rfq.js +5 -0
- package/build/dex/generic-rfq/generic-rfq.js.map +1 -1
- package/build/dex/maker-psm/maker-psm-event-pool.d.ts +43 -0
- package/build/dex/maker-psm/maker-psm-event-pool.js +132 -0
- package/build/dex/maker-psm/maker-psm-event-pool.js.map +1 -0
- package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
- package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
- package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
- package/build/dex/{usual-bond → stabull}/config.d.ts +1 -1
- package/build/dex/stabull/config.js +177 -0
- package/build/dex/stabull/config.js.map +1 -0
- package/build/dex/{se-vlr/se-vlr-pool.d.ts → stabull/stabull-pool.d.ts} +13 -6
- package/build/dex/stabull/stabull-pool.js +113 -0
- package/build/dex/stabull/stabull-pool.js.map +1 -0
- package/build/dex/stabull/stabull.d.ts +55 -0
- package/build/dex/stabull/stabull.js +286 -0
- package/build/dex/stabull/stabull.js.map +1 -0
- package/build/dex/stabull/types.d.ts +21 -0
- package/build/dex/stabull/types.js +3 -0
- package/build/dex/stabull/types.js.map +1 -0
- package/build/dex/uniswap-v3/config.js +32 -0
- package/build/dex/uniswap-v3/config.js.map +1 -1
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.d.ts +12 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js +142 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/pharaoh-v3-pool.js.map +1 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.d.ts +4 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js +56 -0
- package/build/dex/uniswap-v3/forks/pharaoh-v3/utils.js.map +1 -0
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.d.ts +2 -2
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream-pool.js.map +1 -1
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js +1 -0
- package/build/dex/uniswap-v3/forks/velodrome-slipstream/velodrome-slipstream.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +2 -1
- package/build/dex/uniswap-v3/uniswap-v3-pool.js +3 -1
- package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3.js +1 -1
- package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
- package/build/dex/uniswap-v4/contract-math/Position.d.ts +6 -0
- package/build/dex/uniswap-v4/contract-math/Position.js +29 -0
- package/build/dex/uniswap-v4/contract-math/Position.js.map +1 -1
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/index.d.ts +1 -0
- package/build/dex/uniswap-v4/hooks/index.js +9 -0
- package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/spot.d.ts +15 -0
- package/build/dex/uniswap-v4/hooks/spot.js +109 -0
- package/build/dex/uniswap-v4/hooks/spot.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/template.d.ts +150 -0
- package/build/dex/uniswap-v4/hooks/template.js +104 -0
- package/build/dex/uniswap-v4/hooks/template.js.map +1 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
- package/build/dex/usual/usual-usdc-usdc.d.ts +17 -0
- package/build/dex/usual/usual-usdc-usdc.js +59 -0
- package/build/dex/usual/usual-usdc-usdc.js.map +1 -0
- package/build/dex/{se-vlr → yo}/config.d.ts +1 -1
- package/build/dex/yo/config.js +21 -0
- package/build/dex/yo/config.js.map +1 -0
- package/build/dex/yo/types.d.ts +13 -0
- package/build/dex/yo/types.js +3 -0
- package/build/dex/{se-vlr → yo}/types.js.map +1 -1
- package/build/dex/yo/yo-pool.d.ts +13 -0
- package/build/dex/yo/yo-pool.js +26 -0
- package/build/dex/yo/yo-pool.js.map +1 -0
- package/build/dex/yo/yo.d.ts +39 -0
- package/build/dex/yo/yo.js +248 -0
- package/build/dex/yo/yo.js.map +1 -0
- package/build/implementations/api-paraswap-sdk.d.ts +25 -0
- package/build/implementations/api-paraswap-sdk.js +102 -0
- package/build/implementations/api-paraswap-sdk.js.map +1 -0
- package/package.json +1 -1
- package/build/abi/Jarvis.json +0 -1172
- package/build/abi/Onebit.json +0 -736
- package/build/abi/Shell.json +0 -1294
- package/build/abi/TraderJoeV2Router.json +0 -50
- package/build/abi/wUSDM.json +0 -757
- package/build/abi/zrx.v2.json +0 -1967
- package/build/abi/zrx.v3.json +0 -3454
- package/build/abi/zrx.v4.json +0 -2193
- package/build/dex/OneInchLp.d.ts +0 -24
- package/build/dex/OneInchLp.js +0 -43
- package/build/dex/OneInchLp.js.map +0 -1
- package/build/dex/bProtocol/bProtocol.d.ts +0 -15
- package/build/dex/bProtocol/bProtocol.js +0 -56
- package/build/dex/bProtocol/bProtocol.js.map +0 -1
- package/build/dex/bProtocol/types.d.ts +0 -11
- package/build/dex/bProtocol/types.js +0 -8
- package/build/dex/bProtocol/types.js.map +0 -1
- package/build/dex/jarvis.d.ts +0 -56
- package/build/dex/jarvis.js +0 -163
- package/build/dex/jarvis.js.map +0 -1
- package/build/dex/mStable.d.ts +0 -44
- package/build/dex/mStable.js +0 -75
- package/build/dex/mStable.js.map +0 -1
- package/build/dex/onebit/onebit.d.ts +0 -16
- package/build/dex/onebit/onebit.js +0 -61
- package/build/dex/onebit/onebit.js.map +0 -1
- package/build/dex/onebit/types.d.ts +0 -14
- package/build/dex/onebit/types.js +0 -8
- package/build/dex/onebit/types.js.map +0 -1
- package/build/dex/se-vlr/config.js +0 -24
- package/build/dex/se-vlr/config.js.map +0 -1
- package/build/dex/se-vlr/se-vlr-pool.js +0 -70
- package/build/dex/se-vlr/se-vlr-pool.js.map +0 -1
- package/build/dex/se-vlr/se-vlr.d.ts +0 -35
- package/build/dex/se-vlr/se-vlr.js +0 -131
- package/build/dex/se-vlr/se-vlr.js.map +0 -1
- package/build/dex/se-vlr/types.d.ts +0 -6
- package/build/dex/shell.d.ts +0 -25
- package/build/dex/shell.js +0 -41
- package/build/dex/shell.js.map +0 -1
- package/build/dex/trader-joe-v2.d.ts +0 -40
- package/build/dex/trader-joe-v2.js +0 -74
- package/build/dex/trader-joe-v2.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-new.d.ts +0 -94
- package/build/dex/uniswap-v3/uniswap-v3-new.js +0 -923
- package/build/dex/uniswap-v3/uniswap-v3-new.js.map +0 -1
- package/build/dex/usual-bond/config.js +0 -13
- package/build/dex/usual-bond/config.js.map +0 -1
- package/build/dex/usual-bond/types.d.ts +0 -7
- package/build/dex/usual-bond/usual-bond.js +0 -176
- package/build/dex/usual-bond/usual-bond.js.map +0 -1
- package/build/dex/wusdm/config.d.ts +0 -3
- package/build/dex/wusdm/config.js +0 -43
- package/build/dex/wusdm/config.js.map +0 -1
- package/build/dex/wusdm/constants.d.ts +0 -2
- package/build/dex/wusdm/constants.js +0 -6
- package/build/dex/wusdm/constants.js.map +0 -1
- package/build/dex/wusdm/types.d.ts +0 -18
- package/build/dex/wusdm/types.js +0 -11
- package/build/dex/wusdm/types.js.map +0 -1
- package/build/dex/wusdm/wusdm-pool.d.ts +0 -21
- package/build/dex/wusdm/wusdm-pool.js +0 -74
- package/build/dex/wusdm/wusdm-pool.js.map +0 -1
- package/build/dex/wusdm/wusdm.d.ts +0 -46
- package/build/dex/wusdm/wusdm.js +0 -243
- package/build/dex/wusdm/wusdm.js.map +0 -1
- package/build/dex/zerox/config.d.ts +0 -2
- package/build/dex/zerox/config.js +0 -33
- package/build/dex/zerox/config.js.map +0 -1
- package/build/dex/zerox/index.d.ts +0 -22
- package/build/dex/zerox/index.js +0 -225
- package/build/dex/zerox/index.js.map +0 -1
- package/build/dex/zerox/order.d.ts +0 -88
- package/build/dex/zerox/order.js +0 -53
- package/build/dex/zerox/order.js.map +0 -1
- package/build/dex/zerox/types.d.ts +0 -73
- package/build/dex/zerox/types.js +0 -21
- package/build/dex/zerox/types.js.map +0 -1
- /package/build/dex/{se-vlr → aave-pt-to-underlying}/types.js +0 -0
- /package/build/dex/{usual-bond → aave-pt-to-usdc}/types.js +0 -0
|
@@ -1,247 +1,172 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"inputs": [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"name": "_token0",
|
|
7
|
-
"type": "address"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "contract IERC20",
|
|
11
|
-
"name": "_token1",
|
|
12
|
-
"type": "address"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "string",
|
|
16
|
-
"name": "name",
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"internalType": "string",
|
|
21
|
-
"name": "symbol",
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"internalType": "contract IMooniswapFactoryGovernance",
|
|
26
|
-
"name": "_mooniswapFactoryGovernance",
|
|
27
|
-
"type": "address"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"stateMutability": "nonpayable",
|
|
31
|
-
"type": "constructor"
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "AccessControlBadConfirmation",
|
|
5
|
+
"type": "error"
|
|
32
6
|
},
|
|
33
7
|
{
|
|
34
|
-
"anonymous": false,
|
|
35
8
|
"inputs": [
|
|
36
9
|
{
|
|
37
|
-
"indexed": true,
|
|
38
10
|
"internalType": "address",
|
|
39
|
-
"name": "
|
|
40
|
-
"type": "address"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"indexed": true,
|
|
44
|
-
"internalType": "address",
|
|
45
|
-
"name": "spender",
|
|
11
|
+
"name": "account",
|
|
46
12
|
"type": "address"
|
|
47
13
|
},
|
|
48
14
|
{
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"type": "uint256"
|
|
15
|
+
"internalType": "bytes32",
|
|
16
|
+
"name": "neededRole",
|
|
17
|
+
"type": "bytes32"
|
|
53
18
|
}
|
|
54
19
|
],
|
|
55
|
-
"name": "
|
|
56
|
-
"type": "
|
|
20
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
21
|
+
"type": "error"
|
|
57
22
|
},
|
|
58
23
|
{
|
|
59
|
-
"anonymous": false,
|
|
60
24
|
"inputs": [
|
|
61
25
|
{
|
|
62
|
-
"indexed": true,
|
|
63
26
|
"internalType": "address",
|
|
64
|
-
"name": "
|
|
27
|
+
"name": "target",
|
|
65
28
|
"type": "address"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"indexed": false,
|
|
69
|
-
"internalType": "uint256",
|
|
70
|
-
"name": "decayPeriod",
|
|
71
|
-
"type": "uint256"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"indexed": false,
|
|
75
|
-
"internalType": "bool",
|
|
76
|
-
"name": "isDefault",
|
|
77
|
-
"type": "bool"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"indexed": false,
|
|
81
|
-
"internalType": "uint256",
|
|
82
|
-
"name": "amount",
|
|
83
|
-
"type": "uint256"
|
|
84
29
|
}
|
|
85
30
|
],
|
|
86
|
-
"name": "
|
|
87
|
-
"type": "
|
|
31
|
+
"name": "AddressEmptyCode",
|
|
32
|
+
"type": "error"
|
|
88
33
|
},
|
|
89
34
|
{
|
|
90
|
-
"anonymous": false,
|
|
91
35
|
"inputs": [
|
|
92
36
|
{
|
|
93
|
-
"indexed": true,
|
|
94
|
-
"internalType": "address",
|
|
95
|
-
"name": "sender",
|
|
96
|
-
"type": "address"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"indexed": true,
|
|
100
37
|
"internalType": "address",
|
|
101
|
-
"name": "
|
|
38
|
+
"name": "account",
|
|
102
39
|
"type": "address"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"indexed": false,
|
|
106
|
-
"internalType": "uint256",
|
|
107
|
-
"name": "share",
|
|
108
|
-
"type": "uint256"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"indexed": false,
|
|
112
|
-
"internalType": "uint256",
|
|
113
|
-
"name": "token0Amount",
|
|
114
|
-
"type": "uint256"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"indexed": false,
|
|
118
|
-
"internalType": "uint256",
|
|
119
|
-
"name": "token1Amount",
|
|
120
|
-
"type": "uint256"
|
|
121
40
|
}
|
|
122
41
|
],
|
|
123
|
-
"name": "
|
|
124
|
-
"type": "
|
|
42
|
+
"name": "AddressInsufficientBalance",
|
|
43
|
+
"type": "error"
|
|
125
44
|
},
|
|
126
45
|
{
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"indexed": false,
|
|
131
|
-
"internalType": "string",
|
|
132
|
-
"name": "reason",
|
|
133
|
-
"type": "string"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"name": "Error",
|
|
137
|
-
"type": "event"
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"name": "ERC1167FailedCreateClone",
|
|
48
|
+
"type": "error"
|
|
138
49
|
},
|
|
139
50
|
{
|
|
140
|
-
"anonymous": false,
|
|
141
51
|
"inputs": [
|
|
142
52
|
{
|
|
143
|
-
"indexed": true,
|
|
144
53
|
"internalType": "address",
|
|
145
|
-
"name": "
|
|
54
|
+
"name": "implementation",
|
|
146
55
|
"type": "address"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"indexed": false,
|
|
150
|
-
"internalType": "uint256",
|
|
151
|
-
"name": "fee",
|
|
152
|
-
"type": "uint256"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"indexed": false,
|
|
156
|
-
"internalType": "bool",
|
|
157
|
-
"name": "isDefault",
|
|
158
|
-
"type": "bool"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"indexed": false,
|
|
162
|
-
"internalType": "uint256",
|
|
163
|
-
"name": "amount",
|
|
164
|
-
"type": "uint256"
|
|
165
56
|
}
|
|
166
57
|
],
|
|
167
|
-
"name": "
|
|
168
|
-
"type": "
|
|
58
|
+
"name": "ERC1967InvalidImplementation",
|
|
59
|
+
"type": "error"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"inputs": [],
|
|
63
|
+
"name": "ERC1967NonPayable",
|
|
64
|
+
"type": "error"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"name": "EnforcedPause",
|
|
69
|
+
"type": "error"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "ExpectedPause",
|
|
74
|
+
"type": "error"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [],
|
|
78
|
+
"name": "FailedInnerCall",
|
|
79
|
+
"type": "error"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"inputs": [],
|
|
83
|
+
"name": "InvalidAddress",
|
|
84
|
+
"type": "error"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputs": [],
|
|
88
|
+
"name": "InvalidFactoryAddress",
|
|
89
|
+
"type": "error"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"inputs": [],
|
|
93
|
+
"name": "InvalidInitialization",
|
|
94
|
+
"type": "error"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"inputs": [],
|
|
98
|
+
"name": "InvalidRange",
|
|
99
|
+
"type": "error"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [],
|
|
103
|
+
"name": "InvalidWrapperAddress",
|
|
104
|
+
"type": "error"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [],
|
|
108
|
+
"name": "NotCuratedToken",
|
|
109
|
+
"type": "error"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"inputs": [],
|
|
113
|
+
"name": "NotInitializing",
|
|
114
|
+
"type": "error"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"name": "OutOfBounds",
|
|
119
|
+
"type": "error"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [],
|
|
123
|
+
"name": "PreviousFactoryNotSet",
|
|
124
|
+
"type": "error"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"inputs": [],
|
|
128
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
129
|
+
"type": "error"
|
|
169
130
|
},
|
|
170
131
|
{
|
|
171
|
-
"anonymous": false,
|
|
172
132
|
"inputs": [
|
|
173
133
|
{
|
|
174
|
-
"indexed": true,
|
|
175
|
-
"internalType": "address",
|
|
176
|
-
"name": "previousOwner",
|
|
177
|
-
"type": "address"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"indexed": true,
|
|
181
134
|
"internalType": "address",
|
|
182
|
-
"name": "
|
|
135
|
+
"name": "token",
|
|
183
136
|
"type": "address"
|
|
184
137
|
}
|
|
185
138
|
],
|
|
186
|
-
"name": "
|
|
187
|
-
"type": "
|
|
139
|
+
"name": "SafeERC20FailedOperation",
|
|
140
|
+
"type": "error"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"inputs": [],
|
|
144
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
145
|
+
"type": "error"
|
|
188
146
|
},
|
|
189
147
|
{
|
|
190
|
-
"anonymous": false,
|
|
191
148
|
"inputs": [
|
|
192
149
|
{
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
196
|
-
"type": "address"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"indexed": false,
|
|
200
|
-
"internalType": "uint256",
|
|
201
|
-
"name": "slippageFee",
|
|
202
|
-
"type": "uint256"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"indexed": false,
|
|
206
|
-
"internalType": "bool",
|
|
207
|
-
"name": "isDefault",
|
|
208
|
-
"type": "bool"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"indexed": false,
|
|
212
|
-
"internalType": "uint256",
|
|
213
|
-
"name": "amount",
|
|
214
|
-
"type": "uint256"
|
|
150
|
+
"internalType": "bytes32",
|
|
151
|
+
"name": "slot",
|
|
152
|
+
"type": "bytes32"
|
|
215
153
|
}
|
|
216
154
|
],
|
|
217
|
-
"name": "
|
|
218
|
-
"type": "
|
|
155
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
156
|
+
"type": "error"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"inputs": [],
|
|
160
|
+
"name": "WrapperAlreadyCreated",
|
|
161
|
+
"type": "error"
|
|
219
162
|
},
|
|
220
163
|
{
|
|
221
164
|
"anonymous": false,
|
|
222
165
|
"inputs": [
|
|
223
|
-
{
|
|
224
|
-
"indexed": true,
|
|
225
|
-
"internalType": "address",
|
|
226
|
-
"name": "sender",
|
|
227
|
-
"type": "address"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"indexed": true,
|
|
231
|
-
"internalType": "address",
|
|
232
|
-
"name": "receiver",
|
|
233
|
-
"type": "address"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"indexed": true,
|
|
237
|
-
"internalType": "address",
|
|
238
|
-
"name": "srcToken",
|
|
239
|
-
"type": "address"
|
|
240
|
-
},
|
|
241
166
|
{
|
|
242
167
|
"indexed": false,
|
|
243
|
-
"internalType": "
|
|
244
|
-
"name": "
|
|
168
|
+
"internalType": "contract IERC20",
|
|
169
|
+
"name": "token",
|
|
245
170
|
"type": "address"
|
|
246
171
|
},
|
|
247
172
|
{
|
|
@@ -250,32 +175,14 @@
|
|
|
250
175
|
"name": "amount",
|
|
251
176
|
"type": "uint256"
|
|
252
177
|
},
|
|
253
|
-
{
|
|
254
|
-
"indexed": false,
|
|
255
|
-
"internalType": "uint256",
|
|
256
|
-
"name": "result",
|
|
257
|
-
"type": "uint256"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"indexed": false,
|
|
261
|
-
"internalType": "uint256",
|
|
262
|
-
"name": "srcAdditionBalance",
|
|
263
|
-
"type": "uint256"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"indexed": false,
|
|
267
|
-
"internalType": "uint256",
|
|
268
|
-
"name": "dstRemovalBalance",
|
|
269
|
-
"type": "uint256"
|
|
270
|
-
},
|
|
271
178
|
{
|
|
272
179
|
"indexed": false,
|
|
273
180
|
"internalType": "address",
|
|
274
|
-
"name": "
|
|
181
|
+
"name": "to",
|
|
275
182
|
"type": "address"
|
|
276
183
|
}
|
|
277
184
|
],
|
|
278
|
-
"name": "
|
|
185
|
+
"name": "EmergencyWithdraw",
|
|
279
186
|
"type": "event"
|
|
280
187
|
},
|
|
281
188
|
{
|
|
@@ -283,353 +190,244 @@
|
|
|
283
190
|
"inputs": [
|
|
284
191
|
{
|
|
285
192
|
"indexed": false,
|
|
286
|
-
"internalType": "
|
|
287
|
-
"name": "
|
|
288
|
-
"type": "
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"indexed": false,
|
|
292
|
-
"internalType": "uint256",
|
|
293
|
-
"name": "dstBalance",
|
|
294
|
-
"type": "uint256"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"indexed": false,
|
|
298
|
-
"internalType": "uint256",
|
|
299
|
-
"name": "fee",
|
|
300
|
-
"type": "uint256"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"indexed": false,
|
|
304
|
-
"internalType": "uint256",
|
|
305
|
-
"name": "slippageFee",
|
|
306
|
-
"type": "uint256"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"indexed": false,
|
|
310
|
-
"internalType": "uint256",
|
|
311
|
-
"name": "referralShare",
|
|
312
|
-
"type": "uint256"
|
|
193
|
+
"internalType": "address",
|
|
194
|
+
"name": "to",
|
|
195
|
+
"type": "address"
|
|
313
196
|
},
|
|
314
197
|
{
|
|
315
198
|
"indexed": false,
|
|
316
199
|
"internalType": "uint256",
|
|
317
|
-
"name": "
|
|
200
|
+
"name": "amount",
|
|
318
201
|
"type": "uint256"
|
|
319
202
|
}
|
|
320
203
|
],
|
|
321
|
-
"name": "
|
|
204
|
+
"name": "EmergencyWithdrawNative",
|
|
322
205
|
"type": "event"
|
|
323
206
|
},
|
|
324
207
|
{
|
|
325
208
|
"anonymous": false,
|
|
326
209
|
"inputs": [
|
|
327
210
|
{
|
|
328
|
-
"indexed":
|
|
329
|
-
"internalType": "address",
|
|
330
|
-
"name": "from",
|
|
331
|
-
"type": "address"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"indexed": true,
|
|
211
|
+
"indexed": false,
|
|
335
212
|
"internalType": "address",
|
|
336
|
-
"name": "
|
|
213
|
+
"name": "newFactoryAddress",
|
|
337
214
|
"type": "address"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"indexed": false,
|
|
341
|
-
"internalType": "uint256",
|
|
342
|
-
"name": "value",
|
|
343
|
-
"type": "uint256"
|
|
344
215
|
}
|
|
345
216
|
],
|
|
346
|
-
"name": "
|
|
217
|
+
"name": "FactoryAddressChanged",
|
|
347
218
|
"type": "event"
|
|
348
219
|
},
|
|
349
220
|
{
|
|
350
221
|
"anonymous": false,
|
|
351
222
|
"inputs": [
|
|
352
|
-
{
|
|
353
|
-
"indexed": true,
|
|
354
|
-
"internalType": "address",
|
|
355
|
-
"name": "sender",
|
|
356
|
-
"type": "address"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"indexed": true,
|
|
360
|
-
"internalType": "address",
|
|
361
|
-
"name": "receiver",
|
|
362
|
-
"type": "address"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"indexed": false,
|
|
366
|
-
"internalType": "uint256",
|
|
367
|
-
"name": "share",
|
|
368
|
-
"type": "uint256"
|
|
369
|
-
},
|
|
370
223
|
{
|
|
371
224
|
"indexed": false,
|
|
372
|
-
"internalType": "
|
|
373
|
-
"name": "
|
|
374
|
-
"type": "
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"indexed": false,
|
|
378
|
-
"internalType": "uint256",
|
|
379
|
-
"name": "token1Amount",
|
|
380
|
-
"type": "uint256"
|
|
225
|
+
"internalType": "uint64",
|
|
226
|
+
"name": "version",
|
|
227
|
+
"type": "uint64"
|
|
381
228
|
}
|
|
382
229
|
],
|
|
383
|
-
"name": "
|
|
230
|
+
"name": "Initialized",
|
|
384
231
|
"type": "event"
|
|
385
232
|
},
|
|
386
233
|
{
|
|
234
|
+
"anonymous": false,
|
|
387
235
|
"inputs": [
|
|
388
236
|
{
|
|
237
|
+
"indexed": false,
|
|
389
238
|
"internalType": "address",
|
|
390
|
-
"name": "
|
|
391
|
-
"type": "address"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"internalType": "address",
|
|
395
|
-
"name": "spender",
|
|
239
|
+
"name": "account",
|
|
396
240
|
"type": "address"
|
|
397
241
|
}
|
|
398
242
|
],
|
|
399
|
-
"name": "
|
|
400
|
-
"
|
|
401
|
-
{
|
|
402
|
-
"internalType": "uint256",
|
|
403
|
-
"name": "",
|
|
404
|
-
"type": "uint256"
|
|
405
|
-
}
|
|
406
|
-
],
|
|
407
|
-
"stateMutability": "view",
|
|
408
|
-
"type": "function"
|
|
243
|
+
"name": "Paused",
|
|
244
|
+
"type": "event"
|
|
409
245
|
},
|
|
410
246
|
{
|
|
247
|
+
"anonymous": false,
|
|
411
248
|
"inputs": [
|
|
412
249
|
{
|
|
413
|
-
"
|
|
414
|
-
"
|
|
415
|
-
"
|
|
250
|
+
"indexed": true,
|
|
251
|
+
"internalType": "bytes32",
|
|
252
|
+
"name": "role",
|
|
253
|
+
"type": "bytes32"
|
|
416
254
|
},
|
|
417
255
|
{
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
"name": "approve",
|
|
424
|
-
"outputs": [
|
|
256
|
+
"indexed": true,
|
|
257
|
+
"internalType": "bytes32",
|
|
258
|
+
"name": "previousAdminRole",
|
|
259
|
+
"type": "bytes32"
|
|
260
|
+
},
|
|
425
261
|
{
|
|
426
|
-
"
|
|
427
|
-
"
|
|
428
|
-
"
|
|
262
|
+
"indexed": true,
|
|
263
|
+
"internalType": "bytes32",
|
|
264
|
+
"name": "newAdminRole",
|
|
265
|
+
"type": "bytes32"
|
|
429
266
|
}
|
|
430
267
|
],
|
|
431
|
-
"
|
|
432
|
-
"type": "
|
|
268
|
+
"name": "RoleAdminChanged",
|
|
269
|
+
"type": "event"
|
|
433
270
|
},
|
|
434
271
|
{
|
|
272
|
+
"anonymous": false,
|
|
435
273
|
"inputs": [
|
|
436
274
|
{
|
|
275
|
+
"indexed": true,
|
|
276
|
+
"internalType": "bytes32",
|
|
277
|
+
"name": "role",
|
|
278
|
+
"type": "bytes32"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"indexed": true,
|
|
437
282
|
"internalType": "address",
|
|
438
283
|
"name": "account",
|
|
439
284
|
"type": "address"
|
|
440
|
-
}
|
|
441
|
-
],
|
|
442
|
-
"name": "balanceOf",
|
|
443
|
-
"outputs": [
|
|
444
|
-
{
|
|
445
|
-
"internalType": "uint256",
|
|
446
|
-
"name": "",
|
|
447
|
-
"type": "uint256"
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
"stateMutability": "view",
|
|
451
|
-
"type": "function"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"inputs": [],
|
|
455
|
-
"name": "decayPeriod",
|
|
456
|
-
"outputs": [
|
|
457
|
-
{
|
|
458
|
-
"internalType": "uint256",
|
|
459
|
-
"name": "",
|
|
460
|
-
"type": "uint256"
|
|
461
|
-
}
|
|
462
|
-
],
|
|
463
|
-
"stateMutability": "view",
|
|
464
|
-
"type": "function"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
"inputs": [
|
|
468
|
-
{
|
|
469
|
-
"internalType": "uint256",
|
|
470
|
-
"name": "vote",
|
|
471
|
-
"type": "uint256"
|
|
472
|
-
}
|
|
473
|
-
],
|
|
474
|
-
"name": "decayPeriodVote",
|
|
475
|
-
"outputs": [],
|
|
476
|
-
"stateMutability": "nonpayable",
|
|
477
|
-
"type": "function"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"inputs": [
|
|
285
|
+
},
|
|
481
286
|
{
|
|
287
|
+
"indexed": true,
|
|
482
288
|
"internalType": "address",
|
|
483
|
-
"name": "
|
|
289
|
+
"name": "sender",
|
|
484
290
|
"type": "address"
|
|
485
291
|
}
|
|
486
292
|
],
|
|
487
|
-
"name": "
|
|
488
|
-
"
|
|
489
|
-
{
|
|
490
|
-
"internalType": "uint256",
|
|
491
|
-
"name": "",
|
|
492
|
-
"type": "uint256"
|
|
493
|
-
}
|
|
494
|
-
],
|
|
495
|
-
"stateMutability": "view",
|
|
496
|
-
"type": "function"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"inputs": [],
|
|
500
|
-
"name": "decimals",
|
|
501
|
-
"outputs": [
|
|
502
|
-
{
|
|
503
|
-
"internalType": "uint8",
|
|
504
|
-
"name": "",
|
|
505
|
-
"type": "uint8"
|
|
506
|
-
}
|
|
507
|
-
],
|
|
508
|
-
"stateMutability": "view",
|
|
509
|
-
"type": "function"
|
|
293
|
+
"name": "RoleGranted",
|
|
294
|
+
"type": "event"
|
|
510
295
|
},
|
|
511
296
|
{
|
|
297
|
+
"anonymous": false,
|
|
512
298
|
"inputs": [
|
|
513
299
|
{
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
"internalType": "
|
|
528
|
-
"name": "",
|
|
529
|
-
"type": "
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"
|
|
533
|
-
"type": "
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"inputs": [],
|
|
537
|
-
"name": "discardDecayPeriodVote",
|
|
538
|
-
"outputs": [],
|
|
539
|
-
"stateMutability": "nonpayable",
|
|
540
|
-
"type": "function"
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
"inputs": [],
|
|
544
|
-
"name": "discardFeeVote",
|
|
545
|
-
"outputs": [],
|
|
546
|
-
"stateMutability": "nonpayable",
|
|
547
|
-
"type": "function"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"inputs": [],
|
|
551
|
-
"name": "discardSlippageFeeVote",
|
|
552
|
-
"outputs": [],
|
|
553
|
-
"stateMutability": "nonpayable",
|
|
554
|
-
"type": "function"
|
|
300
|
+
"indexed": true,
|
|
301
|
+
"internalType": "bytes32",
|
|
302
|
+
"name": "role",
|
|
303
|
+
"type": "bytes32"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"indexed": true,
|
|
307
|
+
"internalType": "address",
|
|
308
|
+
"name": "account",
|
|
309
|
+
"type": "address"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"indexed": true,
|
|
313
|
+
"internalType": "address",
|
|
314
|
+
"name": "sender",
|
|
315
|
+
"type": "address"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"name": "RoleRevoked",
|
|
319
|
+
"type": "event"
|
|
555
320
|
},
|
|
556
321
|
{
|
|
557
|
-
"
|
|
558
|
-
"
|
|
559
|
-
"outputs": [
|
|
322
|
+
"anonymous": false,
|
|
323
|
+
"inputs": [
|
|
560
324
|
{
|
|
561
|
-
"
|
|
562
|
-
"
|
|
563
|
-
"
|
|
325
|
+
"indexed": false,
|
|
326
|
+
"internalType": "address",
|
|
327
|
+
"name": "account",
|
|
328
|
+
"type": "address"
|
|
564
329
|
}
|
|
565
330
|
],
|
|
566
|
-
"
|
|
567
|
-
"type": "
|
|
331
|
+
"name": "Unpaused",
|
|
332
|
+
"type": "event"
|
|
568
333
|
},
|
|
569
334
|
{
|
|
335
|
+
"anonymous": false,
|
|
570
336
|
"inputs": [
|
|
571
337
|
{
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
"
|
|
338
|
+
"indexed": true,
|
|
339
|
+
"internalType": "address",
|
|
340
|
+
"name": "implementation",
|
|
341
|
+
"type": "address"
|
|
575
342
|
}
|
|
576
343
|
],
|
|
577
|
-
"name": "
|
|
578
|
-
"
|
|
579
|
-
"stateMutability": "nonpayable",
|
|
580
|
-
"type": "function"
|
|
344
|
+
"name": "Upgraded",
|
|
345
|
+
"type": "event"
|
|
581
346
|
},
|
|
582
347
|
{
|
|
348
|
+
"anonymous": false,
|
|
583
349
|
"inputs": [
|
|
584
350
|
{
|
|
351
|
+
"indexed": true,
|
|
352
|
+
"internalType": "contract IERC20",
|
|
353
|
+
"name": "originalToken",
|
|
354
|
+
"type": "address"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"indexed": true,
|
|
358
|
+
"internalType": "contract IERC20",
|
|
359
|
+
"name": "wrappedToken",
|
|
360
|
+
"type": "address"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"indexed": false,
|
|
585
364
|
"internalType": "address",
|
|
586
|
-
"name": "
|
|
365
|
+
"name": "wrapperContract",
|
|
587
366
|
"type": "address"
|
|
588
367
|
}
|
|
589
368
|
],
|
|
590
|
-
"name": "
|
|
591
|
-
"
|
|
369
|
+
"name": "WrapperCreated",
|
|
370
|
+
"type": "event"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"anonymous": false,
|
|
374
|
+
"inputs": [
|
|
592
375
|
{
|
|
593
|
-
"
|
|
594
|
-
"
|
|
595
|
-
"
|
|
376
|
+
"indexed": false,
|
|
377
|
+
"internalType": "address",
|
|
378
|
+
"name": "newWrapperImplementation",
|
|
379
|
+
"type": "address"
|
|
596
380
|
}
|
|
597
381
|
],
|
|
598
|
-
"
|
|
599
|
-
"type": "
|
|
382
|
+
"name": "WrapperImplementationChanged",
|
|
383
|
+
"type": "event"
|
|
600
384
|
},
|
|
601
385
|
{
|
|
386
|
+
"anonymous": false,
|
|
602
387
|
"inputs": [
|
|
603
388
|
{
|
|
389
|
+
"indexed": true,
|
|
604
390
|
"internalType": "address",
|
|
605
|
-
"name": "
|
|
391
|
+
"name": "wrapperAddress",
|
|
606
392
|
"type": "address"
|
|
607
393
|
},
|
|
608
394
|
{
|
|
609
|
-
"
|
|
610
|
-
"
|
|
611
|
-
"
|
|
395
|
+
"indexed": true,
|
|
396
|
+
"internalType": "address",
|
|
397
|
+
"name": "newOwner",
|
|
398
|
+
"type": "address"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"indexed": true,
|
|
402
|
+
"internalType": "address",
|
|
403
|
+
"name": "previousOwner",
|
|
404
|
+
"type": "address"
|
|
612
405
|
}
|
|
613
406
|
],
|
|
614
|
-
"name": "
|
|
407
|
+
"name": "WrapperOwnershipTransferred",
|
|
408
|
+
"type": "event"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"inputs": [],
|
|
412
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
615
413
|
"outputs": [
|
|
616
414
|
{
|
|
617
|
-
"internalType": "
|
|
415
|
+
"internalType": "bytes32",
|
|
618
416
|
"name": "",
|
|
619
|
-
"type": "
|
|
417
|
+
"type": "bytes32"
|
|
620
418
|
}
|
|
621
419
|
],
|
|
622
|
-
"stateMutability": "
|
|
420
|
+
"stateMutability": "view",
|
|
623
421
|
"type": "function"
|
|
624
422
|
},
|
|
625
423
|
{
|
|
626
424
|
"inputs": [],
|
|
627
|
-
"name": "
|
|
425
|
+
"name": "MANAGER_ROLE",
|
|
628
426
|
"outputs": [
|
|
629
427
|
{
|
|
630
|
-
"internalType": "
|
|
428
|
+
"internalType": "bytes32",
|
|
631
429
|
"name": "",
|
|
632
|
-
"type": "
|
|
430
|
+
"type": "bytes32"
|
|
633
431
|
}
|
|
634
432
|
],
|
|
635
433
|
"stateMutability": "view",
|
|
@@ -637,12 +435,12 @@
|
|
|
637
435
|
},
|
|
638
436
|
{
|
|
639
437
|
"inputs": [],
|
|
640
|
-
"name": "
|
|
438
|
+
"name": "UPGRADER_ROLE",
|
|
641
439
|
"outputs": [
|
|
642
440
|
{
|
|
643
|
-
"internalType": "
|
|
441
|
+
"internalType": "bytes32",
|
|
644
442
|
"name": "",
|
|
645
|
-
"type": "
|
|
443
|
+
"type": "bytes32"
|
|
646
444
|
}
|
|
647
445
|
],
|
|
648
446
|
"stateMutability": "view",
|
|
@@ -650,59 +448,44 @@
|
|
|
650
448
|
},
|
|
651
449
|
{
|
|
652
450
|
"inputs": [],
|
|
653
|
-
"name": "
|
|
451
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
654
452
|
"outputs": [
|
|
655
453
|
{
|
|
656
|
-
"internalType": "
|
|
454
|
+
"internalType": "string",
|
|
657
455
|
"name": "",
|
|
658
|
-
"type": "
|
|
456
|
+
"type": "string"
|
|
659
457
|
}
|
|
660
458
|
],
|
|
661
459
|
"stateMutability": "view",
|
|
662
460
|
"type": "function"
|
|
663
461
|
},
|
|
664
|
-
{
|
|
665
|
-
"inputs": [],
|
|
666
|
-
"name": "renounceOwnership",
|
|
667
|
-
"outputs": [],
|
|
668
|
-
"stateMutability": "nonpayable",
|
|
669
|
-
"type": "function"
|
|
670
|
-
},
|
|
671
462
|
{
|
|
672
463
|
"inputs": [
|
|
673
464
|
{
|
|
674
|
-
"internalType": "
|
|
675
|
-
"name": "
|
|
465
|
+
"internalType": "address",
|
|
466
|
+
"name": "_walletAddress",
|
|
467
|
+
"type": "address"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"internalType": "contract IERC20",
|
|
471
|
+
"name": "_token",
|
|
676
472
|
"type": "address"
|
|
677
473
|
}
|
|
678
474
|
],
|
|
679
|
-
"name": "
|
|
475
|
+
"name": "addCuratedToken",
|
|
680
476
|
"outputs": [],
|
|
681
477
|
"stateMutability": "nonpayable",
|
|
682
478
|
"type": "function"
|
|
683
479
|
},
|
|
684
|
-
{
|
|
685
|
-
"inputs": [],
|
|
686
|
-
"name": "slippageFee",
|
|
687
|
-
"outputs": [
|
|
688
|
-
{
|
|
689
|
-
"internalType": "uint256",
|
|
690
|
-
"name": "",
|
|
691
|
-
"type": "uint256"
|
|
692
|
-
}
|
|
693
|
-
],
|
|
694
|
-
"stateMutability": "view",
|
|
695
|
-
"type": "function"
|
|
696
|
-
},
|
|
697
480
|
{
|
|
698
481
|
"inputs": [
|
|
699
482
|
{
|
|
700
|
-
"internalType": "
|
|
701
|
-
"name": "
|
|
702
|
-
"type": "
|
|
483
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
484
|
+
"name": "_wrapper",
|
|
485
|
+
"type": "address"
|
|
703
486
|
}
|
|
704
487
|
],
|
|
705
|
-
"name": "
|
|
488
|
+
"name": "addWrapper",
|
|
706
489
|
"outputs": [],
|
|
707
490
|
"stateMutability": "nonpayable",
|
|
708
491
|
"type": "function"
|
|
@@ -710,17 +493,17 @@
|
|
|
710
493
|
{
|
|
711
494
|
"inputs": [
|
|
712
495
|
{
|
|
713
|
-
"internalType": "
|
|
714
|
-
"name": "
|
|
715
|
-
"type": "
|
|
496
|
+
"internalType": "uint256",
|
|
497
|
+
"name": "",
|
|
498
|
+
"type": "uint256"
|
|
716
499
|
}
|
|
717
500
|
],
|
|
718
|
-
"name": "
|
|
501
|
+
"name": "allWrappers",
|
|
719
502
|
"outputs": [
|
|
720
503
|
{
|
|
721
|
-
"internalType": "
|
|
504
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
722
505
|
"name": "",
|
|
723
|
-
"type": "
|
|
506
|
+
"type": "address"
|
|
724
507
|
}
|
|
725
508
|
],
|
|
726
509
|
"stateMutability": "view",
|
|
@@ -728,36 +511,29 @@
|
|
|
728
511
|
},
|
|
729
512
|
{
|
|
730
513
|
"inputs": [],
|
|
731
|
-
"name": "
|
|
514
|
+
"name": "allWrappersLength",
|
|
732
515
|
"outputs": [
|
|
733
516
|
{
|
|
734
|
-
"internalType": "
|
|
517
|
+
"internalType": "uint256",
|
|
735
518
|
"name": "",
|
|
736
|
-
"type": "
|
|
519
|
+
"type": "uint256"
|
|
737
520
|
}
|
|
738
521
|
],
|
|
739
522
|
"stateMutability": "view",
|
|
740
523
|
"type": "function"
|
|
741
524
|
},
|
|
742
525
|
{
|
|
743
|
-
"inputs": [
|
|
744
|
-
"name": "token0",
|
|
745
|
-
"outputs": [
|
|
526
|
+
"inputs": [
|
|
746
527
|
{
|
|
747
528
|
"internalType": "contract IERC20",
|
|
748
529
|
"name": "",
|
|
749
530
|
"type": "address"
|
|
750
531
|
}
|
|
751
532
|
],
|
|
752
|
-
"
|
|
753
|
-
"type": "function"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"inputs": [],
|
|
757
|
-
"name": "token1",
|
|
533
|
+
"name": "bifkn314ToWrapper",
|
|
758
534
|
"outputs": [
|
|
759
535
|
{
|
|
760
|
-
"internalType": "contract
|
|
536
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
761
537
|
"name": "",
|
|
762
538
|
"type": "address"
|
|
763
539
|
}
|
|
@@ -767,12 +543,12 @@
|
|
|
767
543
|
},
|
|
768
544
|
{
|
|
769
545
|
"inputs": [],
|
|
770
|
-
"name": "
|
|
546
|
+
"name": "bifknFactory",
|
|
771
547
|
"outputs": [
|
|
772
548
|
{
|
|
773
|
-
"internalType": "
|
|
549
|
+
"internalType": "contract IBIFKN314FactoryV2",
|
|
774
550
|
"name": "",
|
|
775
|
-
"type": "
|
|
551
|
+
"type": "address"
|
|
776
552
|
}
|
|
777
553
|
],
|
|
778
554
|
"stateMutability": "view",
|
|
@@ -781,184 +557,133 @@
|
|
|
781
557
|
{
|
|
782
558
|
"inputs": [
|
|
783
559
|
{
|
|
784
|
-
"internalType": "
|
|
785
|
-
"name": "
|
|
560
|
+
"internalType": "contract IERC20",
|
|
561
|
+
"name": "originalToken",
|
|
786
562
|
"type": "address"
|
|
787
563
|
},
|
|
564
|
+
{
|
|
565
|
+
"internalType": "string",
|
|
566
|
+
"name": "tokenName",
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"internalType": "string",
|
|
571
|
+
"name": "tokenSymbol",
|
|
572
|
+
"type": "string"
|
|
573
|
+
},
|
|
788
574
|
{
|
|
789
575
|
"internalType": "uint256",
|
|
790
|
-
"name": "
|
|
576
|
+
"name": "totalSupply",
|
|
791
577
|
"type": "uint256"
|
|
792
|
-
}
|
|
793
|
-
],
|
|
794
|
-
"name": "transfer",
|
|
795
|
-
"outputs": [
|
|
796
|
-
{
|
|
797
|
-
"internalType": "bool",
|
|
798
|
-
"name": "",
|
|
799
|
-
"type": "bool"
|
|
800
|
-
}
|
|
801
|
-
],
|
|
802
|
-
"stateMutability": "nonpayable",
|
|
803
|
-
"type": "function"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
"inputs": [
|
|
578
|
+
},
|
|
807
579
|
{
|
|
808
580
|
"internalType": "address",
|
|
809
|
-
"name": "
|
|
581
|
+
"name": "owner_",
|
|
810
582
|
"type": "address"
|
|
811
583
|
},
|
|
812
584
|
{
|
|
813
|
-
"internalType": "
|
|
814
|
-
"name": "
|
|
815
|
-
"type": "
|
|
585
|
+
"internalType": "uint256",
|
|
586
|
+
"name": "tradingFee",
|
|
587
|
+
"type": "uint256"
|
|
816
588
|
},
|
|
817
589
|
{
|
|
818
590
|
"internalType": "uint256",
|
|
819
|
-
"name": "
|
|
591
|
+
"name": "maxWalletPercent",
|
|
820
592
|
"type": "uint256"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"internalType": "string",
|
|
596
|
+
"name": "metadataURI",
|
|
597
|
+
"type": "string"
|
|
821
598
|
}
|
|
822
599
|
],
|
|
823
|
-
"name": "
|
|
600
|
+
"name": "createWrapper",
|
|
824
601
|
"outputs": [
|
|
825
602
|
{
|
|
826
|
-
"internalType": "
|
|
827
|
-
"name": "",
|
|
828
|
-
"type": "
|
|
829
|
-
}
|
|
830
|
-
],
|
|
831
|
-
"stateMutability": "nonpayable",
|
|
832
|
-
"type": "function"
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"inputs": [
|
|
603
|
+
"internalType": "address",
|
|
604
|
+
"name": "wrapperAddress",
|
|
605
|
+
"type": "address"
|
|
606
|
+
},
|
|
836
607
|
{
|
|
837
608
|
"internalType": "address",
|
|
838
|
-
"name": "
|
|
609
|
+
"name": "wrappedTokenAddress",
|
|
839
610
|
"type": "address"
|
|
840
611
|
}
|
|
841
612
|
],
|
|
842
|
-
"
|
|
843
|
-
"outputs": [],
|
|
844
|
-
"stateMutability": "nonpayable",
|
|
613
|
+
"stateMutability": "payable",
|
|
845
614
|
"type": "function"
|
|
846
615
|
},
|
|
847
616
|
{
|
|
848
617
|
"inputs": [
|
|
849
618
|
{
|
|
850
|
-
"internalType": "
|
|
619
|
+
"internalType": "address",
|
|
851
620
|
"name": "",
|
|
852
621
|
"type": "address"
|
|
853
622
|
}
|
|
854
623
|
],
|
|
855
|
-
"name": "
|
|
624
|
+
"name": "curatedTokenList",
|
|
856
625
|
"outputs": [
|
|
857
|
-
{
|
|
858
|
-
"internalType": "uint216",
|
|
859
|
-
"name": "balance",
|
|
860
|
-
"type": "uint216"
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"internalType": "uint40",
|
|
864
|
-
"name": "time",
|
|
865
|
-
"type": "uint40"
|
|
866
|
-
}
|
|
867
|
-
],
|
|
868
|
-
"stateMutability": "view",
|
|
869
|
-
"type": "function"
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
"inputs": [
|
|
873
626
|
{
|
|
874
627
|
"internalType": "contract IERC20",
|
|
875
628
|
"name": "",
|
|
876
629
|
"type": "address"
|
|
877
630
|
}
|
|
878
631
|
],
|
|
879
|
-
"name": "virtualBalancesForRemoval",
|
|
880
|
-
"outputs": [
|
|
881
|
-
{
|
|
882
|
-
"internalType": "uint216",
|
|
883
|
-
"name": "balance",
|
|
884
|
-
"type": "uint216"
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"internalType": "uint40",
|
|
888
|
-
"name": "time",
|
|
889
|
-
"type": "uint40"
|
|
890
|
-
}
|
|
891
|
-
],
|
|
892
632
|
"stateMutability": "view",
|
|
893
633
|
"type": "function"
|
|
894
634
|
},
|
|
895
635
|
{
|
|
896
636
|
"inputs": [],
|
|
897
|
-
"name": "
|
|
637
|
+
"name": "curatedTokensOnly",
|
|
898
638
|
"outputs": [
|
|
899
639
|
{
|
|
900
|
-
"internalType": "
|
|
901
|
-
"name": "",
|
|
902
|
-
"type": "uint104"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"internalType": "uint104",
|
|
906
|
-
"name": "",
|
|
907
|
-
"type": "uint104"
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
"internalType": "uint48",
|
|
640
|
+
"internalType": "bool",
|
|
911
641
|
"name": "",
|
|
912
|
-
"type": "
|
|
642
|
+
"type": "bool"
|
|
913
643
|
}
|
|
914
644
|
],
|
|
915
645
|
"stateMutability": "view",
|
|
916
646
|
"type": "function"
|
|
917
647
|
},
|
|
918
648
|
{
|
|
919
|
-
"inputs": [
|
|
920
|
-
"name": "virtualFee",
|
|
921
|
-
"outputs": [
|
|
649
|
+
"inputs": [
|
|
922
650
|
{
|
|
923
|
-
"internalType": "
|
|
924
|
-
"name": "",
|
|
925
|
-
"type": "
|
|
651
|
+
"internalType": "contract IERC20",
|
|
652
|
+
"name": "token",
|
|
653
|
+
"type": "address"
|
|
926
654
|
},
|
|
927
655
|
{
|
|
928
|
-
"internalType": "
|
|
929
|
-
"name": "",
|
|
930
|
-
"type": "
|
|
656
|
+
"internalType": "uint256",
|
|
657
|
+
"name": "amount",
|
|
658
|
+
"type": "uint256"
|
|
931
659
|
},
|
|
932
660
|
{
|
|
933
|
-
"internalType": "
|
|
934
|
-
"name": "",
|
|
935
|
-
"type": "
|
|
661
|
+
"internalType": "address",
|
|
662
|
+
"name": "to",
|
|
663
|
+
"type": "address"
|
|
936
664
|
}
|
|
937
665
|
],
|
|
938
|
-
"
|
|
666
|
+
"name": "emergencyWithdraw",
|
|
667
|
+
"outputs": [],
|
|
668
|
+
"stateMutability": "nonpayable",
|
|
939
669
|
"type": "function"
|
|
940
670
|
},
|
|
941
671
|
{
|
|
942
|
-
"inputs": [
|
|
943
|
-
"name": "virtualSlippageFee",
|
|
944
|
-
"outputs": [
|
|
945
|
-
{
|
|
946
|
-
"internalType": "uint104",
|
|
947
|
-
"name": "",
|
|
948
|
-
"type": "uint104"
|
|
949
|
-
},
|
|
672
|
+
"inputs": [
|
|
950
673
|
{
|
|
951
|
-
"internalType": "
|
|
952
|
-
"name": "",
|
|
953
|
-
"type": "
|
|
674
|
+
"internalType": "address",
|
|
675
|
+
"name": "to",
|
|
676
|
+
"type": "address"
|
|
954
677
|
},
|
|
955
678
|
{
|
|
956
|
-
"internalType": "
|
|
957
|
-
"name": "",
|
|
958
|
-
"type": "
|
|
679
|
+
"internalType": "uint256",
|
|
680
|
+
"name": "amount",
|
|
681
|
+
"type": "uint256"
|
|
959
682
|
}
|
|
960
683
|
],
|
|
961
|
-
"
|
|
684
|
+
"name": "emergencyWithdrawNative",
|
|
685
|
+
"outputs": [],
|
|
686
|
+
"stateMutability": "nonpayable",
|
|
962
687
|
"type": "function"
|
|
963
688
|
},
|
|
964
689
|
{
|
|
@@ -969,17 +694,12 @@
|
|
|
969
694
|
"type": "address"
|
|
970
695
|
}
|
|
971
696
|
],
|
|
972
|
-
"name": "
|
|
697
|
+
"name": "erc20ToWrapper",
|
|
973
698
|
"outputs": [
|
|
974
699
|
{
|
|
975
|
-
"internalType": "
|
|
976
|
-
"name": "
|
|
977
|
-
"type": "
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"internalType": "uint128",
|
|
981
|
-
"name": "result",
|
|
982
|
-
"type": "uint128"
|
|
700
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
701
|
+
"name": "",
|
|
702
|
+
"type": "address"
|
|
983
703
|
}
|
|
984
704
|
],
|
|
985
705
|
"stateMutability": "view",
|
|
@@ -987,11 +707,11 @@
|
|
|
987
707
|
},
|
|
988
708
|
{
|
|
989
709
|
"inputs": [],
|
|
990
|
-
"name": "
|
|
710
|
+
"name": "getAllWrappers",
|
|
991
711
|
"outputs": [
|
|
992
712
|
{
|
|
993
|
-
"internalType": "contract
|
|
994
|
-
"name": "
|
|
713
|
+
"internalType": "contract BIFKN314Wrapper[]",
|
|
714
|
+
"name": "",
|
|
995
715
|
"type": "address[]"
|
|
996
716
|
}
|
|
997
717
|
],
|
|
@@ -1001,17 +721,17 @@
|
|
|
1001
721
|
{
|
|
1002
722
|
"inputs": [
|
|
1003
723
|
{
|
|
1004
|
-
"internalType": "
|
|
1005
|
-
"name": "
|
|
1006
|
-
"type": "
|
|
724
|
+
"internalType": "bytes32",
|
|
725
|
+
"name": "role",
|
|
726
|
+
"type": "bytes32"
|
|
1007
727
|
}
|
|
1008
728
|
],
|
|
1009
|
-
"name": "
|
|
729
|
+
"name": "getRoleAdmin",
|
|
1010
730
|
"outputs": [
|
|
1011
731
|
{
|
|
1012
|
-
"internalType": "
|
|
732
|
+
"internalType": "bytes32",
|
|
1013
733
|
"name": "",
|
|
1014
|
-
"type": "
|
|
734
|
+
"type": "bytes32"
|
|
1015
735
|
}
|
|
1016
736
|
],
|
|
1017
737
|
"stateMutability": "view",
|
|
@@ -1020,17 +740,40 @@
|
|
|
1020
740
|
{
|
|
1021
741
|
"inputs": [
|
|
1022
742
|
{
|
|
1023
|
-
"internalType": "
|
|
1024
|
-
"name": "
|
|
743
|
+
"internalType": "bytes32",
|
|
744
|
+
"name": "role",
|
|
745
|
+
"type": "bytes32"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"internalType": "address",
|
|
749
|
+
"name": "account",
|
|
750
|
+
"type": "address"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"name": "grantRole",
|
|
754
|
+
"outputs": [],
|
|
755
|
+
"stateMutability": "nonpayable",
|
|
756
|
+
"type": "function"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"inputs": [
|
|
760
|
+
{
|
|
761
|
+
"internalType": "bytes32",
|
|
762
|
+
"name": "role",
|
|
763
|
+
"type": "bytes32"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"internalType": "address",
|
|
767
|
+
"name": "account",
|
|
1025
768
|
"type": "address"
|
|
1026
769
|
}
|
|
1027
770
|
],
|
|
1028
|
-
"name": "
|
|
771
|
+
"name": "hasRole",
|
|
1029
772
|
"outputs": [
|
|
1030
773
|
{
|
|
1031
|
-
"internalType": "
|
|
774
|
+
"internalType": "bool",
|
|
1032
775
|
"name": "",
|
|
1033
|
-
"type": "
|
|
776
|
+
"type": "bool"
|
|
1034
777
|
}
|
|
1035
778
|
],
|
|
1036
779
|
"stateMutability": "view",
|
|
@@ -1044,12 +787,12 @@
|
|
|
1044
787
|
"type": "address"
|
|
1045
788
|
}
|
|
1046
789
|
],
|
|
1047
|
-
"name": "
|
|
790
|
+
"name": "hasWrappedToken",
|
|
1048
791
|
"outputs": [
|
|
1049
792
|
{
|
|
1050
|
-
"internalType": "
|
|
793
|
+
"internalType": "bool",
|
|
1051
794
|
"name": "",
|
|
1052
|
-
"type": "
|
|
795
|
+
"type": "bool"
|
|
1053
796
|
}
|
|
1054
797
|
],
|
|
1055
798
|
"stateMutability": "view",
|
|
@@ -1058,247 +801,307 @@
|
|
|
1058
801
|
{
|
|
1059
802
|
"inputs": [
|
|
1060
803
|
{
|
|
1061
|
-
"internalType": "contract
|
|
1062
|
-
"name": "
|
|
804
|
+
"internalType": "contract IBIFKN314FactoryV2",
|
|
805
|
+
"name": "_bifknFactory",
|
|
1063
806
|
"type": "address"
|
|
1064
807
|
},
|
|
1065
808
|
{
|
|
1066
|
-
"internalType": "contract
|
|
1067
|
-
"name": "
|
|
809
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
810
|
+
"name": "_wrapperImplementation",
|
|
811
|
+
"type": "address"
|
|
812
|
+
}
|
|
813
|
+
],
|
|
814
|
+
"name": "initialize",
|
|
815
|
+
"outputs": [],
|
|
816
|
+
"stateMutability": "nonpayable",
|
|
817
|
+
"type": "function"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"inputs": [
|
|
821
|
+
{
|
|
822
|
+
"internalType": "contract IBIFKN314WrapperFactory",
|
|
823
|
+
"name": "previousFactory",
|
|
1068
824
|
"type": "address"
|
|
1069
825
|
},
|
|
1070
826
|
{
|
|
1071
827
|
"internalType": "uint256",
|
|
1072
|
-
"name": "
|
|
828
|
+
"name": "start",
|
|
1073
829
|
"type": "uint256"
|
|
1074
|
-
}
|
|
1075
|
-
],
|
|
1076
|
-
"name": "getReturn",
|
|
1077
|
-
"outputs": [
|
|
830
|
+
},
|
|
1078
831
|
{
|
|
1079
832
|
"internalType": "uint256",
|
|
1080
|
-
"name": "",
|
|
833
|
+
"name": "end",
|
|
1081
834
|
"type": "uint256"
|
|
1082
835
|
}
|
|
1083
836
|
],
|
|
1084
|
-
"
|
|
837
|
+
"name": "initializeFromPreviousFactory",
|
|
838
|
+
"outputs": [],
|
|
839
|
+
"stateMutability": "nonpayable",
|
|
1085
840
|
"type": "function"
|
|
1086
841
|
},
|
|
1087
842
|
{
|
|
1088
843
|
"inputs": [
|
|
1089
844
|
{
|
|
1090
|
-
"internalType": "
|
|
1091
|
-
"name": "
|
|
1092
|
-
"type": "
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"internalType": "uint256[2]",
|
|
1096
|
-
"name": "minAmounts",
|
|
1097
|
-
"type": "uint256[2]"
|
|
845
|
+
"internalType": "contract IERC20",
|
|
846
|
+
"name": "token",
|
|
847
|
+
"type": "address"
|
|
1098
848
|
}
|
|
1099
849
|
],
|
|
1100
|
-
"name": "
|
|
850
|
+
"name": "isWrappedToken",
|
|
1101
851
|
"outputs": [
|
|
1102
852
|
{
|
|
1103
|
-
"internalType": "
|
|
1104
|
-
"name": "
|
|
1105
|
-
"type": "
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
"internalType": "uint256[2]",
|
|
1109
|
-
"name": "receivedAmounts",
|
|
1110
|
-
"type": "uint256[2]"
|
|
853
|
+
"internalType": "bool",
|
|
854
|
+
"name": "",
|
|
855
|
+
"type": "bool"
|
|
1111
856
|
}
|
|
1112
857
|
],
|
|
1113
|
-
"stateMutability": "
|
|
858
|
+
"stateMutability": "view",
|
|
1114
859
|
"type": "function"
|
|
1115
860
|
},
|
|
1116
861
|
{
|
|
1117
|
-
"inputs": [
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
},
|
|
862
|
+
"inputs": [],
|
|
863
|
+
"name": "pause",
|
|
864
|
+
"outputs": [],
|
|
865
|
+
"stateMutability": "nonpayable",
|
|
866
|
+
"type": "function"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"inputs": [],
|
|
870
|
+
"name": "paused",
|
|
871
|
+
"outputs": [
|
|
1128
872
|
{
|
|
1129
|
-
"internalType": "
|
|
1130
|
-
"name": "
|
|
1131
|
-
"type": "
|
|
873
|
+
"internalType": "bool",
|
|
874
|
+
"name": "",
|
|
875
|
+
"type": "bool"
|
|
1132
876
|
}
|
|
1133
877
|
],
|
|
1134
|
-
"
|
|
878
|
+
"stateMutability": "view",
|
|
879
|
+
"type": "function"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"inputs": [],
|
|
883
|
+
"name": "proxiableUUID",
|
|
1135
884
|
"outputs": [
|
|
1136
885
|
{
|
|
1137
|
-
"internalType": "
|
|
1138
|
-
"name": "
|
|
1139
|
-
"type": "
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"internalType": "uint256[2]",
|
|
1143
|
-
"name": "receivedAmounts",
|
|
1144
|
-
"type": "uint256[2]"
|
|
886
|
+
"internalType": "bytes32",
|
|
887
|
+
"name": "",
|
|
888
|
+
"type": "bytes32"
|
|
1145
889
|
}
|
|
1146
890
|
],
|
|
1147
|
-
"stateMutability": "
|
|
891
|
+
"stateMutability": "view",
|
|
1148
892
|
"type": "function"
|
|
1149
893
|
},
|
|
1150
894
|
{
|
|
1151
895
|
"inputs": [
|
|
1152
896
|
{
|
|
1153
|
-
"internalType": "
|
|
1154
|
-
"name": "
|
|
1155
|
-
"type": "
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"internalType": "uint256[]",
|
|
1159
|
-
"name": "minReturns",
|
|
1160
|
-
"type": "uint256[]"
|
|
897
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
898
|
+
"name": "_wrapper",
|
|
899
|
+
"type": "address"
|
|
1161
900
|
}
|
|
1162
901
|
],
|
|
1163
|
-
"name": "
|
|
1164
|
-
"outputs": [
|
|
902
|
+
"name": "removeWrapper",
|
|
903
|
+
"outputs": [],
|
|
904
|
+
"stateMutability": "nonpayable",
|
|
905
|
+
"type": "function"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"inputs": [
|
|
1165
909
|
{
|
|
1166
|
-
"internalType": "
|
|
1167
|
-
"name": "
|
|
1168
|
-
"type": "
|
|
910
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
911
|
+
"name": "_wrapper",
|
|
912
|
+
"type": "address"
|
|
1169
913
|
}
|
|
1170
914
|
],
|
|
915
|
+
"name": "renounceOwnershipOfWrapper",
|
|
916
|
+
"outputs": [],
|
|
1171
917
|
"stateMutability": "nonpayable",
|
|
1172
918
|
"type": "function"
|
|
1173
919
|
},
|
|
1174
920
|
{
|
|
1175
921
|
"inputs": [
|
|
1176
922
|
{
|
|
1177
|
-
"internalType": "
|
|
1178
|
-
"name": "
|
|
1179
|
-
"type": "
|
|
923
|
+
"internalType": "bytes32",
|
|
924
|
+
"name": "role",
|
|
925
|
+
"type": "bytes32"
|
|
1180
926
|
},
|
|
1181
927
|
{
|
|
1182
|
-
"internalType": "
|
|
1183
|
-
"name": "
|
|
1184
|
-
"type": "
|
|
928
|
+
"internalType": "address",
|
|
929
|
+
"name": "callerConfirmation",
|
|
930
|
+
"type": "address"
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"name": "renounceRole",
|
|
934
|
+
"outputs": [],
|
|
935
|
+
"stateMutability": "nonpayable",
|
|
936
|
+
"type": "function"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"inputs": [
|
|
940
|
+
{
|
|
941
|
+
"internalType": "bytes32",
|
|
942
|
+
"name": "role",
|
|
943
|
+
"type": "bytes32"
|
|
1185
944
|
},
|
|
1186
945
|
{
|
|
1187
|
-
"internalType": "address
|
|
1188
|
-
"name": "
|
|
946
|
+
"internalType": "address",
|
|
947
|
+
"name": "account",
|
|
1189
948
|
"type": "address"
|
|
1190
949
|
}
|
|
1191
950
|
],
|
|
1192
|
-
"name": "
|
|
1193
|
-
"outputs": [
|
|
951
|
+
"name": "revokeRole",
|
|
952
|
+
"outputs": [],
|
|
953
|
+
"stateMutability": "nonpayable",
|
|
954
|
+
"type": "function"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"inputs": [
|
|
1194
958
|
{
|
|
1195
|
-
"internalType": "
|
|
1196
|
-
"name": "
|
|
1197
|
-
"type": "
|
|
959
|
+
"internalType": "contract IBIFKN314FactoryV2",
|
|
960
|
+
"name": "_bifknFactory",
|
|
961
|
+
"type": "address"
|
|
1198
962
|
}
|
|
1199
963
|
],
|
|
964
|
+
"name": "setBIFKNFactory",
|
|
965
|
+
"outputs": [],
|
|
1200
966
|
"stateMutability": "nonpayable",
|
|
1201
967
|
"type": "function"
|
|
1202
968
|
},
|
|
1203
969
|
{
|
|
1204
970
|
"inputs": [
|
|
1205
971
|
{
|
|
1206
|
-
"internalType": "
|
|
1207
|
-
"name": "
|
|
1208
|
-
"type": "
|
|
1209
|
-
}
|
|
972
|
+
"internalType": "bool",
|
|
973
|
+
"name": "_value",
|
|
974
|
+
"type": "bool"
|
|
975
|
+
}
|
|
976
|
+
],
|
|
977
|
+
"name": "setCuratedListOnly",
|
|
978
|
+
"outputs": [],
|
|
979
|
+
"stateMutability": "nonpayable",
|
|
980
|
+
"type": "function"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"inputs": [
|
|
1210
984
|
{
|
|
1211
985
|
"internalType": "contract IERC20",
|
|
1212
|
-
"name": "
|
|
986
|
+
"name": "_token",
|
|
1213
987
|
"type": "address"
|
|
1214
988
|
},
|
|
1215
989
|
{
|
|
1216
|
-
"internalType": "
|
|
1217
|
-
"name": "
|
|
1218
|
-
"type": "
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
990
|
+
"internalType": "bool",
|
|
991
|
+
"name": "_value",
|
|
992
|
+
"type": "bool"
|
|
993
|
+
}
|
|
994
|
+
],
|
|
995
|
+
"name": "setWhitelist",
|
|
996
|
+
"outputs": [],
|
|
997
|
+
"stateMutability": "nonpayable",
|
|
998
|
+
"type": "function"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"inputs": [
|
|
1225
1002
|
{
|
|
1226
|
-
"internalType": "
|
|
1227
|
-
"name": "
|
|
1003
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
1004
|
+
"name": "_wrapperImplementation",
|
|
1228
1005
|
"type": "address"
|
|
1229
1006
|
}
|
|
1230
1007
|
],
|
|
1231
|
-
"name": "
|
|
1008
|
+
"name": "setWrapperImplementation",
|
|
1009
|
+
"outputs": [],
|
|
1010
|
+
"stateMutability": "nonpayable",
|
|
1011
|
+
"type": "function"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"inputs": [
|
|
1015
|
+
{
|
|
1016
|
+
"internalType": "bytes4",
|
|
1017
|
+
"name": "interfaceId",
|
|
1018
|
+
"type": "bytes4"
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
"name": "supportsInterface",
|
|
1232
1022
|
"outputs": [
|
|
1233
1023
|
{
|
|
1234
|
-
"internalType": "
|
|
1235
|
-
"name": "
|
|
1236
|
-
"type": "
|
|
1024
|
+
"internalType": "bool",
|
|
1025
|
+
"name": "",
|
|
1026
|
+
"type": "bool"
|
|
1237
1027
|
}
|
|
1238
1028
|
],
|
|
1239
|
-
"stateMutability": "
|
|
1029
|
+
"stateMutability": "view",
|
|
1240
1030
|
"type": "function"
|
|
1241
1031
|
},
|
|
1242
1032
|
{
|
|
1243
1033
|
"inputs": [
|
|
1244
1034
|
{
|
|
1245
|
-
"internalType": "contract
|
|
1246
|
-
"name": "
|
|
1035
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
1036
|
+
"name": "_wrapper",
|
|
1247
1037
|
"type": "address"
|
|
1248
1038
|
},
|
|
1249
1039
|
{
|
|
1250
|
-
"internalType": "
|
|
1251
|
-
"name": "
|
|
1040
|
+
"internalType": "address",
|
|
1041
|
+
"name": "newOwner",
|
|
1252
1042
|
"type": "address"
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1045
|
+
"name": "transferOwnershipOfWrapper",
|
|
1046
|
+
"outputs": [],
|
|
1047
|
+
"stateMutability": "nonpayable",
|
|
1048
|
+
"type": "function"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"inputs": [],
|
|
1052
|
+
"name": "unpause",
|
|
1053
|
+
"outputs": [],
|
|
1054
|
+
"stateMutability": "nonpayable",
|
|
1055
|
+
"type": "function"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"inputs": [
|
|
1264
1059
|
{
|
|
1265
1060
|
"internalType": "address",
|
|
1266
|
-
"name": "
|
|
1061
|
+
"name": "newImplementation",
|
|
1267
1062
|
"type": "address"
|
|
1268
1063
|
},
|
|
1269
1064
|
{
|
|
1270
|
-
"internalType": "
|
|
1271
|
-
"name": "
|
|
1065
|
+
"internalType": "bytes",
|
|
1066
|
+
"name": "data",
|
|
1067
|
+
"type": "bytes"
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
"name": "upgradeToAndCall",
|
|
1071
|
+
"outputs": [],
|
|
1072
|
+
"stateMutability": "payable",
|
|
1073
|
+
"type": "function"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"inputs": [
|
|
1077
|
+
{
|
|
1078
|
+
"internalType": "contract IERC20",
|
|
1079
|
+
"name": "",
|
|
1272
1080
|
"type": "address"
|
|
1273
1081
|
}
|
|
1274
1082
|
],
|
|
1275
|
-
"name": "
|
|
1083
|
+
"name": "whitelist",
|
|
1276
1084
|
"outputs": [
|
|
1277
1085
|
{
|
|
1278
|
-
"internalType": "
|
|
1279
|
-
"name": "
|
|
1280
|
-
"type": "
|
|
1086
|
+
"internalType": "bool",
|
|
1087
|
+
"name": "",
|
|
1088
|
+
"type": "bool"
|
|
1281
1089
|
}
|
|
1282
1090
|
],
|
|
1283
|
-
"stateMutability": "
|
|
1091
|
+
"stateMutability": "view",
|
|
1284
1092
|
"type": "function"
|
|
1285
1093
|
},
|
|
1286
1094
|
{
|
|
1287
|
-
"inputs": [
|
|
1095
|
+
"inputs": [],
|
|
1096
|
+
"name": "wrapperImplementation",
|
|
1097
|
+
"outputs": [
|
|
1288
1098
|
{
|
|
1289
|
-
"internalType": "contract
|
|
1290
|
-
"name": "
|
|
1099
|
+
"internalType": "contract BIFKN314Wrapper",
|
|
1100
|
+
"name": "",
|
|
1291
1101
|
"type": "address"
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"internalType": "uint256",
|
|
1295
|
-
"name": "amount",
|
|
1296
|
-
"type": "uint256"
|
|
1297
1102
|
}
|
|
1298
1103
|
],
|
|
1299
|
-
"
|
|
1300
|
-
"outputs": [],
|
|
1301
|
-
"stateMutability": "nonpayable",
|
|
1104
|
+
"stateMutability": "view",
|
|
1302
1105
|
"type": "function"
|
|
1303
1106
|
}
|
|
1304
1107
|
]
|