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