@paraswap/dex-lib 4.0.3 → 4.0.4
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/.idea/aws.xml +17 -0
- package/.idea/codeStyles/Project.xml +19 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/paraswap-dex-lib.iml +9 -0
- package/.idea/prettier.xml +7 -0
- package/.idea/vcs.xml +6 -0
- package/build/abi/integral/factory.json +333 -0
- package/build/abi/integral/oracle.json +501 -0
- package/build/abi/{inception/inception-ineth-pool.json → integral/pool.json} +522 -543
- package/build/abi/{wombat/pool.json → integral/relayer.json} +720 -473
- package/build/dex/aave-v1/aave-v1.d.ts +1 -2
- package/build/dex/aave-v1/aave-v1.js +0 -23
- package/build/dex/aave-v1/aave-v1.js.map +1 -1
- package/build/dex/bebop/bebop.js +1 -1
- package/build/dex/bebop/bebop.js.map +1 -1
- package/build/dex/cables/cables.d.ts +4 -2
- package/build/dex/cables/cables.js +90 -155
- package/build/dex/cables/cables.js.map +1 -1
- package/build/dex/cables/constants.d.ts +0 -1
- package/build/dex/cables/constants.js +2 -3
- package/build/dex/cables/constants.js.map +1 -1
- package/build/dex/cables/rate-fetcher.js +26 -10
- package/build/dex/cables/rate-fetcher.js.map +1 -1
- package/build/dex/cables/types.d.ts +15 -28
- package/build/dex/cables/types.js +2 -13
- package/build/dex/cables/types.js.map +1 -1
- package/build/dex/dexalot/dexalot.js.map +1 -1
- package/build/dex/fluid-dex/fluid-dex-generate-pool.d.ts +49 -0
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js +104 -0
- package/build/dex/fluid-dex/fluid-dex-generate-pool.js.map +1 -0
- package/build/dex/index.js +2 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/integral/config.d.ts +4 -0
- package/build/dex/integral/config.js +20 -0
- package/build/dex/integral/config.js.map +1 -0
- package/build/dex/integral/context.d.ts +40 -0
- package/build/dex/integral/context.js +158 -0
- package/build/dex/integral/context.js.map +1 -0
- package/build/dex/integral/integral-factory.d.ts +24 -0
- package/build/dex/integral/integral-factory.js +95 -0
- package/build/dex/integral/integral-factory.js.map +1 -0
- package/build/dex/integral/integral-pool.d.ts +50 -0
- package/build/dex/integral/integral-pool.js +149 -0
- package/build/dex/integral/integral-pool.js.map +1 -0
- package/build/dex/integral/integral-pricing.d.ts +18 -0
- package/build/dex/integral/integral-pricing.js +114 -0
- package/build/dex/integral/integral-pricing.js.map +1 -0
- package/build/dex/integral/integral-relayer.d.ts +42 -0
- package/build/dex/integral/integral-relayer.js +192 -0
- package/build/dex/integral/integral-relayer.js.map +1 -0
- package/build/dex/integral/integral-token.d.ts +27 -0
- package/build/dex/integral/integral-token.js +59 -0
- package/build/dex/integral/integral-token.js.map +1 -0
- package/build/dex/integral/integral.d.ts +41 -0
- package/build/dex/integral/integral.js +376 -0
- package/build/dex/integral/integral.js.map +1 -0
- package/build/dex/integral/types.d.ts +85 -0
- package/build/dex/integral/types.js +9 -0
- package/build/dex/integral/types.js.map +1 -0
- package/build/dex/integral/utils-e2e.d.ts +9 -0
- package/build/dex/integral/utils-e2e.js +131 -0
- package/build/dex/integral/utils-e2e.js.map +1 -0
- package/build/dex/integral/utils.d.ts +17 -0
- package/build/dex/integral/utils.js +94 -0
- package/build/dex/integral/utils.js.map +1 -0
- package/build/dex/jarvis.d.ts +1 -2
- package/build/dex/jarvis.js +0 -58
- package/build/dex/jarvis.js.map +1 -1
- package/build/dex/platypus/platypus.d.ts +1 -2
- package/build/dex/platypus/platypus.js +0 -45
- package/build/dex/platypus/platypus.js.map +1 -1
- package/build/dex/stable-pool.js +8 -1
- package/build/dex/stable-pool.js.map +1 -1
- package/build/dex/swaap-v1/swaap-v1.d.ts +1 -2
- package/build/dex/swaap-v1/swaap-v1.js +0 -14
- package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
- package/build/dex/trader-joe-v2.1/optimizer.d.ts +2 -0
- package/build/dex/trader-joe-v2.1/optimizer.js +47 -0
- package/build/dex/trader-joe-v2.1/optimizer.js.map +1 -0
- package/build/dex/zerox/index.d.ts +26 -4
- package/build/dex/zerox/index.js +42 -50
- package/build/dex/zerox/index.js.map +1 -1
- package/build/dex/zerox/types.d.ts +0 -29
- package/build/dex/zerox/types.js +1 -8
- package/build/dex/zerox/types.js.map +1 -1
- package/build/executor/Executor01BytecodeBuilder.js +11 -6
- package/build/executor/Executor01BytecodeBuilder.js.map +1 -1
- package/build/executor/Executor02BytecodeBuilder.js +11 -6
- package/build/executor/Executor02BytecodeBuilder.js.map +1 -1
- package/build/executor/Executor03BytecodeBuilder.js +11 -6
- package/build/executor/Executor03BytecodeBuilder.js.map +1 -1
- package/build/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/abi/cables/CablesMainnetRFQ.json +1083 -0
- package/src/dex/bebop/bebop.ts +1 -1
- package/src/dex/cables/cables-e2e.test.ts +207 -0
- package/src/dex/cables/cables-integration.test.ts +391 -0
- package/src/dex/cables/cables.ts +823 -0
- package/src/dex/cables/config.ts +13 -0
- package/src/dex/cables/constants.ts +33 -0
- package/src/dex/cables/rate-fetcher.ts +212 -0
- package/src/dex/cables/types.ts +113 -0
- package/src/dex/cables/validators.test.ts +151 -0
- package/src/dex/cables/validators.ts +61 -0
- package/src/dex/dexalot/dexalot.ts +1 -0
- package/src/dex/index.ts +2 -0
- package/src/executor/Executor01BytecodeBuilder.ts +15 -11
- package/src/executor/Executor02BytecodeBuilder.ts +13 -9
- package/src/executor/Executor03BytecodeBuilder.ts +16 -9
- package/src/types.ts +1 -0
- package/tests/constants-e2e.ts +2 -2
- package/.vscode/launch.json +0 -53
- package/.vscode/settings.json +0 -2
- package/.vscode/tasks.json +0 -15
- package/build/abi/inception/inception-ratio-feed.json +0 -329
- package/build/abi/inception/inception-vault.json +0 -991
- package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
- package/build/abi/usual-m-smart-m/usualM.abi.json +0 -483
- package/build/abi/usual-m-usd0/usualCollateralDao.abi.json +0 -681
- package/build/abi/usual-m-wrapped-m/usualM.abi.json +0 -509
- package/build/dex/aave-v2/tokens-avalanche.json +0 -44
- package/build/dex/aave-v2/tokens-mainnet.json +0 -188
- package/build/dex/aave-v2/tokens-polygon.json +0 -44
- package/build/dex/balancer-v3/abi/balancerBatchRouter.d.ts +0 -729
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js +0 -732
- package/build/dex/balancer-v3/abi/balancerBatchRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/balancerRouter.d.ts +0 -1406
- package/build/dex/balancer-v3/abi/balancerRouter.js +0 -1175
- package/build/dex/balancer-v3/abi/balancerRouter.js.map +0 -1
- package/build/dex/balancer-v3/abi/vaultExtension.V3.d.ts +0 -2081
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js +0 -1851
- package/build/dex/balancer-v3/abi/vaultExtension.V3.js.map +0 -1
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.d.ts +0 -34
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js +0 -406
- package/build/dex/balancer-v3/balancer-v3-sepolia-pools.js.map +0 -1
- package/build/dex/inception/config.d.ts +0 -4
- package/build/dex/inception/config.js +0 -109
- package/build/dex/inception/config.js.map +0 -1
- package/build/dex/inception/inception-event-pool.d.ts +0 -16
- package/build/dex/inception/inception-event-pool.js +0 -49
- package/build/dex/inception/inception-event-pool.js.map +0 -1
- package/build/dex/inception/inception.d.ts +0 -43
- package/build/dex/inception/inception.js +0 -180
- package/build/dex/inception/inception.js.map +0 -1
- package/build/dex/inception/tokens.d.ts +0 -9
- package/build/dex/inception/tokens.js +0 -28
- package/build/dex/inception/tokens.js.map +0 -1
- package/build/dex/inception/types.d.ts +0 -22
- package/build/dex/inception/types.js +0 -3
- package/build/dex/inception/types.js.map +0 -1
- package/build/dex/inception/utils.d.ts +0 -7
- package/build/dex/inception/utils.js +0 -58
- package/build/dex/inception/utils.js.map +0 -1
- package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
- package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
- package/build/dex/maker-psm/scripts/validate-state.js +0 -185
- package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
- package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
- package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
- package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
- package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
- package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-pricing.d.ts +0 -4
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js +0 -43
- package/build/dex/uniswap-v3/uniswap-v3-pricing.js.map +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.d.ts +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-worker.js +0 -10
- package/build/dex/uniswap-v3/uniswap-v3-worker.js.map +0 -1
- package/build/dex/usual/types.d.ts +0 -13
- package/build/dex/usual/types.js +0 -3
- package/build/dex/usual/types.js.map +0 -1
- package/build/dex/usual/usual-bond.d.ts +0 -18
- package/build/dex/usual/usual-bond.js +0 -52
- package/build/dex/usual/usual-bond.js.map +0 -1
- package/build/dex/usual/usual-m-smart-m.d.ts +0 -17
- package/build/dex/usual/usual-m-smart-m.js +0 -50
- package/build/dex/usual/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual/usual-m-usd0.d.ts +0 -17
- package/build/dex/usual/usual-m-usd0.js +0 -51
- package/build/dex/usual/usual-m-usd0.js.map +0 -1
- package/build/dex/usual/usual-m-wrapped-m.d.ts +0 -17
- package/build/dex/usual/usual-m-wrapped-m.js +0 -50
- package/build/dex/usual/usual-m-wrapped-m.js.map +0 -1
- package/build/dex/usual/usual.d.ts +0 -27
- package/build/dex/usual/usual.js +0 -125
- package/build/dex/usual/usual.js.map +0 -1
- package/build/dex/usual-m-smart-m/config.d.ts +0 -3
- package/build/dex/usual-m-smart-m/config.js +0 -13
- package/build/dex/usual-m-smart-m/config.js.map +0 -1
- package/build/dex/usual-m-smart-m/types.d.ts +0 -7
- package/build/dex/usual-m-smart-m/types.js +0 -3
- package/build/dex/usual-m-smart-m/types.js.map +0 -1
- package/build/dex/usual-m-smart-m/usual-m-smart-m.d.ts +0 -35
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js +0 -161
- package/build/dex/usual-m-smart-m/usual-m-smart-m.js.map +0 -1
- package/build/dex/usual-m-usd0/config.d.ts +0 -3
- package/build/dex/usual-m-usd0/config.js +0 -14
- package/build/dex/usual-m-usd0/config.js.map +0 -1
- package/build/dex/usual-m-usd0/types.d.ts +0 -8
- package/build/dex/usual-m-usd0/types.js +0 -3
- package/build/dex/usual-m-usd0/types.js.map +0 -1
- package/build/dex/usual-m-usd0/usual-m-usd0.d.ts +0 -35
- package/build/dex/usual-m-usd0/usual-m-usd0.js +0 -159
- package/build/dex/usual-m-usd0/usual-m-usd0.js.map +0 -1
- package/build/lib/pub-sub.d.ts +0 -35
- package/build/lib/pub-sub.js +0 -106
- package/build/lib/pub-sub.js.map +0 -1
|
@@ -5,119 +5,18 @@
|
|
|
5
5
|
"type": "constructor"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
+
"anonymous": false,
|
|
8
9
|
"inputs": [
|
|
9
10
|
{
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"indexed": true,
|
|
12
|
+
"internalType": "address",
|
|
13
|
+
"name": "owner",
|
|
14
|
+
"type": "address"
|
|
13
15
|
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "uint256",
|
|
16
|
-
"name": "fee",
|
|
17
|
-
"type": "uint256"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"name": "AmbiguousFee",
|
|
21
|
-
"type": "error"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"inputs": [],
|
|
25
|
-
"name": "InvalidInitialization",
|
|
26
|
-
"type": "error"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"inputs": [],
|
|
30
|
-
"name": "NotInitializing",
|
|
31
|
-
"type": "error"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"inputs": [],
|
|
35
|
-
"name": "OnlyGovernanceAllowed",
|
|
36
|
-
"type": "error"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"inputs": [],
|
|
40
|
-
"name": "OnlyOperatorAllowed",
|
|
41
|
-
"type": "error"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"inputs": [],
|
|
45
|
-
"name": "OnlyRestakingPoolAllowed",
|
|
46
|
-
"type": "error"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [
|
|
50
|
-
{
|
|
51
|
-
"internalType": "uint64",
|
|
52
|
-
"name": "max",
|
|
53
|
-
"type": "uint64"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"name": "PoolDistributeGasLimitNotInRange",
|
|
57
|
-
"type": "error"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"inputs": [],
|
|
61
|
-
"name": "PoolFailedInnerCall",
|
|
62
|
-
"type": "error"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"inputs": [],
|
|
66
|
-
"name": "PoolInsufficientBalance",
|
|
67
|
-
"type": "error"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"inputs": [],
|
|
71
|
-
"name": "PoolRestakerExists",
|
|
72
|
-
"type": "error"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"inputs": [],
|
|
76
|
-
"name": "PoolRestakerNotExists",
|
|
77
|
-
"type": "error"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"inputs": [],
|
|
81
|
-
"name": "PoolStakeAmGreaterThanAvailable",
|
|
82
|
-
"type": "error"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"inputs": [],
|
|
86
|
-
"name": "PoolStakeAmLessThanMin",
|
|
87
|
-
"type": "error"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"inputs": [],
|
|
91
|
-
"name": "PoolUnstakeAmLessThanMin",
|
|
92
|
-
"type": "error"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"inputs": [],
|
|
96
|
-
"name": "PoolWrongInputLength",
|
|
97
|
-
"type": "error"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"inputs": [],
|
|
101
|
-
"name": "PoolZeroAddress",
|
|
102
|
-
"type": "error"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"inputs": [],
|
|
106
|
-
"name": "PoolZeroAmount",
|
|
107
|
-
"type": "error"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"inputs": [],
|
|
111
|
-
"name": "ReentrancyGuardReentrantCall",
|
|
112
|
-
"type": "error"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"anonymous": false,
|
|
116
|
-
"inputs": [
|
|
117
16
|
{
|
|
118
17
|
"indexed": true,
|
|
119
18
|
"internalType": "address",
|
|
120
|
-
"name": "
|
|
19
|
+
"name": "spender",
|
|
121
20
|
"type": "address"
|
|
122
21
|
},
|
|
123
22
|
{
|
|
@@ -127,7 +26,7 @@
|
|
|
127
26
|
"type": "uint256"
|
|
128
27
|
}
|
|
129
28
|
],
|
|
130
|
-
"name": "
|
|
29
|
+
"name": "Approval",
|
|
131
30
|
"type": "event"
|
|
132
31
|
},
|
|
133
32
|
{
|
|
@@ -135,37 +34,36 @@
|
|
|
135
34
|
"inputs": [
|
|
136
35
|
{
|
|
137
36
|
"indexed": true,
|
|
138
|
-
"internalType": "
|
|
139
|
-
"name": "
|
|
140
|
-
"type": "
|
|
37
|
+
"internalType": "address",
|
|
38
|
+
"name": "sender",
|
|
39
|
+
"type": "address"
|
|
141
40
|
},
|
|
142
41
|
{
|
|
143
42
|
"indexed": false,
|
|
144
|
-
"internalType": "
|
|
145
|
-
"name": "
|
|
146
|
-
"type": "
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"name": "Deposited",
|
|
150
|
-
"type": "event"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"anonymous": false,
|
|
154
|
-
"inputs": [
|
|
43
|
+
"internalType": "uint256",
|
|
44
|
+
"name": "amount0Out",
|
|
45
|
+
"type": "uint256"
|
|
46
|
+
},
|
|
155
47
|
{
|
|
156
48
|
"indexed": false,
|
|
157
|
-
"internalType": "
|
|
158
|
-
"name": "
|
|
159
|
-
"type": "
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "amount1Out",
|
|
51
|
+
"type": "uint256"
|
|
160
52
|
},
|
|
161
53
|
{
|
|
162
54
|
"indexed": false,
|
|
163
|
-
"internalType": "
|
|
164
|
-
"name": "
|
|
165
|
-
"type": "
|
|
55
|
+
"internalType": "uint256",
|
|
56
|
+
"name": "liquidityIn",
|
|
57
|
+
"type": "uint256"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"indexed": true,
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "to",
|
|
63
|
+
"type": "address"
|
|
166
64
|
}
|
|
167
65
|
],
|
|
168
|
-
"name": "
|
|
66
|
+
"name": "Burn",
|
|
169
67
|
"type": "event"
|
|
170
68
|
},
|
|
171
69
|
{
|
|
@@ -174,29 +72,35 @@
|
|
|
174
72
|
{
|
|
175
73
|
"indexed": true,
|
|
176
74
|
"internalType": "address",
|
|
177
|
-
"name": "
|
|
75
|
+
"name": "sender",
|
|
178
76
|
"type": "address"
|
|
179
77
|
},
|
|
180
78
|
{
|
|
181
|
-
"indexed":
|
|
182
|
-
"internalType": "
|
|
183
|
-
"name": "
|
|
184
|
-
"type": "
|
|
79
|
+
"indexed": false,
|
|
80
|
+
"internalType": "uint256",
|
|
81
|
+
"name": "amount0In",
|
|
82
|
+
"type": "uint256"
|
|
185
83
|
},
|
|
186
84
|
{
|
|
187
85
|
"indexed": false,
|
|
188
86
|
"internalType": "uint256",
|
|
189
|
-
"name": "
|
|
87
|
+
"name": "amount1In",
|
|
190
88
|
"type": "uint256"
|
|
191
89
|
},
|
|
192
90
|
{
|
|
193
91
|
"indexed": false,
|
|
194
92
|
"internalType": "uint256",
|
|
195
|
-
"name": "
|
|
93
|
+
"name": "liquidityOut",
|
|
196
94
|
"type": "uint256"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"indexed": true,
|
|
98
|
+
"internalType": "address",
|
|
99
|
+
"name": "to",
|
|
100
|
+
"type": "address"
|
|
197
101
|
}
|
|
198
102
|
],
|
|
199
|
-
"name": "
|
|
103
|
+
"name": "Mint",
|
|
200
104
|
"type": "event"
|
|
201
105
|
},
|
|
202
106
|
{
|
|
@@ -204,12 +108,12 @@
|
|
|
204
108
|
"inputs": [
|
|
205
109
|
{
|
|
206
110
|
"indexed": false,
|
|
207
|
-
"internalType": "
|
|
208
|
-
"name": "
|
|
209
|
-
"type": "
|
|
111
|
+
"internalType": "uint256",
|
|
112
|
+
"name": "fee",
|
|
113
|
+
"type": "uint256"
|
|
210
114
|
}
|
|
211
115
|
],
|
|
212
|
-
"name": "
|
|
116
|
+
"name": "SetBurnFee",
|
|
213
117
|
"type": "event"
|
|
214
118
|
},
|
|
215
119
|
{
|
|
@@ -218,17 +122,11 @@
|
|
|
218
122
|
{
|
|
219
123
|
"indexed": false,
|
|
220
124
|
"internalType": "uint256",
|
|
221
|
-
"name": "
|
|
222
|
-
"type": "uint256"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"indexed": false,
|
|
226
|
-
"internalType": "uint256",
|
|
227
|
-
"name": "newValue",
|
|
125
|
+
"name": "fee",
|
|
228
126
|
"type": "uint256"
|
|
229
127
|
}
|
|
230
128
|
],
|
|
231
|
-
"name": "
|
|
129
|
+
"name": "SetMintFee",
|
|
232
130
|
"type": "event"
|
|
233
131
|
},
|
|
234
132
|
{
|
|
@@ -236,18 +134,12 @@
|
|
|
236
134
|
"inputs": [
|
|
237
135
|
{
|
|
238
136
|
"indexed": false,
|
|
239
|
-
"internalType": "
|
|
240
|
-
"name": "
|
|
241
|
-
"type": "
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"indexed": false,
|
|
245
|
-
"internalType": "uint256",
|
|
246
|
-
"name": "newValue",
|
|
247
|
-
"type": "uint256"
|
|
137
|
+
"internalType": "address",
|
|
138
|
+
"name": "account",
|
|
139
|
+
"type": "address"
|
|
248
140
|
}
|
|
249
141
|
],
|
|
250
|
-
"name": "
|
|
142
|
+
"name": "SetOracle",
|
|
251
143
|
"type": "event"
|
|
252
144
|
},
|
|
253
145
|
{
|
|
@@ -256,17 +148,24 @@
|
|
|
256
148
|
{
|
|
257
149
|
"indexed": false,
|
|
258
150
|
"internalType": "uint256",
|
|
259
|
-
"name": "
|
|
151
|
+
"name": "fee",
|
|
260
152
|
"type": "uint256"
|
|
261
|
-
}
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"name": "SetSwapFee",
|
|
156
|
+
"type": "event"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"anonymous": false,
|
|
160
|
+
"inputs": [
|
|
262
161
|
{
|
|
263
162
|
"indexed": false,
|
|
264
|
-
"internalType": "
|
|
265
|
-
"name": "
|
|
266
|
-
"type": "
|
|
163
|
+
"internalType": "address",
|
|
164
|
+
"name": "trader",
|
|
165
|
+
"type": "address"
|
|
267
166
|
}
|
|
268
167
|
],
|
|
269
|
-
"name": "
|
|
168
|
+
"name": "SetTrader",
|
|
270
169
|
"type": "event"
|
|
271
170
|
},
|
|
272
171
|
{
|
|
@@ -275,29 +174,41 @@
|
|
|
275
174
|
{
|
|
276
175
|
"indexed": true,
|
|
277
176
|
"internalType": "address",
|
|
278
|
-
"name": "
|
|
177
|
+
"name": "sender",
|
|
279
178
|
"type": "address"
|
|
280
179
|
},
|
|
281
180
|
{
|
|
282
|
-
"indexed":
|
|
283
|
-
"internalType": "
|
|
284
|
-
"name": "
|
|
285
|
-
"type": "
|
|
181
|
+
"indexed": false,
|
|
182
|
+
"internalType": "uint256",
|
|
183
|
+
"name": "amount0In",
|
|
184
|
+
"type": "uint256"
|
|
286
185
|
},
|
|
287
186
|
{
|
|
288
187
|
"indexed": false,
|
|
289
188
|
"internalType": "uint256",
|
|
290
|
-
"name": "
|
|
189
|
+
"name": "amount1In",
|
|
291
190
|
"type": "uint256"
|
|
292
191
|
},
|
|
293
192
|
{
|
|
294
193
|
"indexed": false,
|
|
295
194
|
"internalType": "uint256",
|
|
296
|
-
"name": "
|
|
195
|
+
"name": "amount0Out",
|
|
297
196
|
"type": "uint256"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"indexed": false,
|
|
200
|
+
"internalType": "uint256",
|
|
201
|
+
"name": "amount1Out",
|
|
202
|
+
"type": "uint256"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"indexed": true,
|
|
206
|
+
"internalType": "address",
|
|
207
|
+
"name": "to",
|
|
208
|
+
"type": "address"
|
|
298
209
|
}
|
|
299
210
|
],
|
|
300
|
-
"name": "
|
|
211
|
+
"name": "Swap",
|
|
301
212
|
"type": "event"
|
|
302
213
|
},
|
|
303
214
|
{
|
|
@@ -306,160 +217,158 @@
|
|
|
306
217
|
{
|
|
307
218
|
"indexed": true,
|
|
308
219
|
"internalType": "address",
|
|
309
|
-
"name": "
|
|
220
|
+
"name": "from",
|
|
221
|
+
"type": "address"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"indexed": true,
|
|
225
|
+
"internalType": "address",
|
|
226
|
+
"name": "to",
|
|
310
227
|
"type": "address"
|
|
311
228
|
},
|
|
312
229
|
{
|
|
313
230
|
"indexed": false,
|
|
314
231
|
"internalType": "uint256",
|
|
315
|
-
"name": "
|
|
232
|
+
"name": "value",
|
|
316
233
|
"type": "uint256"
|
|
317
234
|
}
|
|
318
235
|
],
|
|
319
|
-
"name": "
|
|
236
|
+
"name": "Transfer",
|
|
320
237
|
"type": "event"
|
|
321
238
|
},
|
|
322
239
|
{
|
|
323
|
-
"
|
|
324
|
-
"
|
|
240
|
+
"inputs": [],
|
|
241
|
+
"name": "DOMAIN_TYPEHASH",
|
|
242
|
+
"outputs": [
|
|
325
243
|
{
|
|
326
|
-
"indexed": true,
|
|
327
244
|
"internalType": "bytes32",
|
|
328
|
-
"name": "
|
|
245
|
+
"name": "",
|
|
329
246
|
"type": "bytes32"
|
|
330
247
|
}
|
|
331
248
|
],
|
|
332
|
-
"
|
|
333
|
-
"type": "
|
|
249
|
+
"stateMutability": "view",
|
|
250
|
+
"type": "function"
|
|
334
251
|
},
|
|
335
252
|
{
|
|
336
|
-
"
|
|
337
|
-
"
|
|
253
|
+
"inputs": [],
|
|
254
|
+
"name": "MINIMUM_LIQUIDITY",
|
|
255
|
+
"outputs": [
|
|
338
256
|
{
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
|
|
257
|
+
"internalType": "uint256",
|
|
258
|
+
"name": "",
|
|
259
|
+
"type": "uint256"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"stateMutability": "view",
|
|
263
|
+
"type": "function"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"inputs": [],
|
|
267
|
+
"name": "PERMIT_TYPEHASH",
|
|
268
|
+
"outputs": [
|
|
344
269
|
{
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"type": "address"
|
|
270
|
+
"internalType": "bytes32",
|
|
271
|
+
"name": "",
|
|
272
|
+
"type": "bytes32"
|
|
349
273
|
}
|
|
350
274
|
],
|
|
351
|
-
"
|
|
352
|
-
"type": "
|
|
275
|
+
"stateMutability": "view",
|
|
276
|
+
"type": "function"
|
|
353
277
|
},
|
|
354
278
|
{
|
|
355
|
-
"anonymous": false,
|
|
356
279
|
"inputs": [
|
|
357
280
|
{
|
|
358
|
-
"indexed": true,
|
|
359
281
|
"internalType": "address",
|
|
360
|
-
"name": "
|
|
282
|
+
"name": "",
|
|
361
283
|
"type": "address"
|
|
362
284
|
},
|
|
363
285
|
{
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
286
|
+
"internalType": "address",
|
|
287
|
+
"name": "",
|
|
288
|
+
"type": "address"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"name": "allowance",
|
|
292
|
+
"outputs": [
|
|
369
293
|
{
|
|
370
|
-
"indexed": false,
|
|
371
294
|
"internalType": "uint256",
|
|
372
|
-
"name": "
|
|
295
|
+
"name": "",
|
|
373
296
|
"type": "uint256"
|
|
374
297
|
}
|
|
375
298
|
],
|
|
376
|
-
"
|
|
377
|
-
"type": "
|
|
299
|
+
"stateMutability": "view",
|
|
300
|
+
"type": "function"
|
|
378
301
|
},
|
|
379
302
|
{
|
|
380
|
-
"anonymous": false,
|
|
381
303
|
"inputs": [
|
|
382
304
|
{
|
|
383
|
-
"indexed": true,
|
|
384
305
|
"internalType": "address",
|
|
385
|
-
"name": "
|
|
306
|
+
"name": "spender",
|
|
386
307
|
"type": "address"
|
|
387
308
|
},
|
|
388
309
|
{
|
|
389
|
-
"indexed": true,
|
|
390
|
-
"internalType": "address",
|
|
391
|
-
"name": "caller",
|
|
392
|
-
"type": "address"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"indexed": false,
|
|
396
310
|
"internalType": "uint256",
|
|
397
311
|
"name": "value",
|
|
398
312
|
"type": "uint256"
|
|
399
313
|
}
|
|
400
314
|
],
|
|
401
|
-
"name": "
|
|
402
|
-
"
|
|
315
|
+
"name": "approve",
|
|
316
|
+
"outputs": [
|
|
317
|
+
{
|
|
318
|
+
"internalType": "bool",
|
|
319
|
+
"name": "",
|
|
320
|
+
"type": "bool"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"stateMutability": "nonpayable",
|
|
324
|
+
"type": "function"
|
|
403
325
|
},
|
|
404
326
|
{
|
|
405
|
-
"anonymous": false,
|
|
406
327
|
"inputs": [
|
|
407
328
|
{
|
|
408
|
-
"indexed": true,
|
|
409
329
|
"internalType": "address",
|
|
410
|
-
"name": "
|
|
330
|
+
"name": "",
|
|
411
331
|
"type": "address"
|
|
412
|
-
}
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"name": "balanceOf",
|
|
335
|
+
"outputs": [
|
|
336
|
+
{
|
|
337
|
+
"internalType": "uint256",
|
|
338
|
+
"name": "",
|
|
339
|
+
"type": "uint256"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"stateMutability": "view",
|
|
343
|
+
"type": "function"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"inputs": [
|
|
413
347
|
{
|
|
414
|
-
"indexed": true,
|
|
415
348
|
"internalType": "address",
|
|
416
349
|
"name": "to",
|
|
417
350
|
"type": "address"
|
|
418
|
-
}
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"name": "burn",
|
|
354
|
+
"outputs": [
|
|
419
355
|
{
|
|
420
|
-
"indexed": false,
|
|
421
356
|
"internalType": "uint256",
|
|
422
|
-
"name": "
|
|
357
|
+
"name": "amount0Out",
|
|
423
358
|
"type": "uint256"
|
|
424
359
|
},
|
|
425
360
|
{
|
|
426
|
-
"indexed": false,
|
|
427
361
|
"internalType": "uint256",
|
|
428
|
-
"name": "
|
|
362
|
+
"name": "amount1Out",
|
|
429
363
|
"type": "uint256"
|
|
430
364
|
}
|
|
431
365
|
],
|
|
432
|
-
"
|
|
433
|
-
"type": "
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"anonymous": false,
|
|
437
|
-
"inputs": [
|
|
438
|
-
{
|
|
439
|
-
"components": [
|
|
440
|
-
{
|
|
441
|
-
"internalType": "address",
|
|
442
|
-
"name": "recipient",
|
|
443
|
-
"type": "address"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"internalType": "uint256",
|
|
447
|
-
"name": "amount",
|
|
448
|
-
"type": "uint256"
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"indexed": false,
|
|
452
|
-
"internalType": "struct IRestakingPool.Unstake[]",
|
|
453
|
-
"name": "unstakes",
|
|
454
|
-
"type": "tuple[]"
|
|
455
|
-
}
|
|
456
|
-
],
|
|
457
|
-
"name": "UnstakesDistributed",
|
|
458
|
-
"type": "event"
|
|
366
|
+
"stateMutability": "nonpayable",
|
|
367
|
+
"type": "function"
|
|
459
368
|
},
|
|
460
369
|
{
|
|
461
370
|
"inputs": [],
|
|
462
|
-
"name": "
|
|
371
|
+
"name": "burnFee",
|
|
463
372
|
"outputs": [
|
|
464
373
|
{
|
|
465
374
|
"internalType": "uint256",
|
|
@@ -473,37 +382,61 @@
|
|
|
473
382
|
{
|
|
474
383
|
"inputs": [
|
|
475
384
|
{
|
|
476
|
-
"internalType": "
|
|
477
|
-
"name": "
|
|
478
|
-
"type": "
|
|
385
|
+
"internalType": "address",
|
|
386
|
+
"name": "to",
|
|
387
|
+
"type": "address"
|
|
479
388
|
}
|
|
480
389
|
],
|
|
481
|
-
"name": "
|
|
390
|
+
"name": "collect",
|
|
482
391
|
"outputs": [],
|
|
483
392
|
"stateMutability": "nonpayable",
|
|
484
393
|
"type": "function"
|
|
485
394
|
},
|
|
395
|
+
{
|
|
396
|
+
"inputs": [],
|
|
397
|
+
"name": "decimals",
|
|
398
|
+
"outputs": [
|
|
399
|
+
{
|
|
400
|
+
"internalType": "uint8",
|
|
401
|
+
"name": "",
|
|
402
|
+
"type": "uint8"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"stateMutability": "view",
|
|
406
|
+
"type": "function"
|
|
407
|
+
},
|
|
486
408
|
{
|
|
487
409
|
"inputs": [
|
|
488
410
|
{
|
|
489
|
-
"internalType": "
|
|
490
|
-
"name": "
|
|
491
|
-
"type": "
|
|
411
|
+
"internalType": "address",
|
|
412
|
+
"name": "spender",
|
|
413
|
+
"type": "address"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"internalType": "uint256",
|
|
417
|
+
"name": "subtractedValue",
|
|
418
|
+
"type": "uint256"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"name": "decreaseAllowance",
|
|
422
|
+
"outputs": [
|
|
423
|
+
{
|
|
424
|
+
"internalType": "bool",
|
|
425
|
+
"name": "",
|
|
426
|
+
"type": "bool"
|
|
492
427
|
}
|
|
493
428
|
],
|
|
494
|
-
"name": "addRestaker",
|
|
495
|
-
"outputs": [],
|
|
496
429
|
"stateMutability": "nonpayable",
|
|
497
430
|
"type": "function"
|
|
498
431
|
},
|
|
499
432
|
{
|
|
500
433
|
"inputs": [],
|
|
501
|
-
"name": "
|
|
434
|
+
"name": "factory",
|
|
502
435
|
"outputs": [
|
|
503
436
|
{
|
|
504
|
-
"internalType": "
|
|
437
|
+
"internalType": "address",
|
|
505
438
|
"name": "",
|
|
506
|
-
"type": "
|
|
439
|
+
"type": "address"
|
|
507
440
|
}
|
|
508
441
|
],
|
|
509
442
|
"stateMutability": "view",
|
|
@@ -512,72 +445,73 @@
|
|
|
512
445
|
{
|
|
513
446
|
"inputs": [
|
|
514
447
|
{
|
|
515
|
-
"internalType": "
|
|
516
|
-
"name": "
|
|
517
|
-
"type": "
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"internalType": "bytes[]",
|
|
521
|
-
"name": "pubkeys",
|
|
522
|
-
"type": "bytes[]"
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "amount0",
|
|
450
|
+
"type": "uint256"
|
|
523
451
|
},
|
|
524
452
|
{
|
|
525
|
-
"internalType": "bytes
|
|
526
|
-
"name": "
|
|
527
|
-
"type": "bytes
|
|
528
|
-
}
|
|
453
|
+
"internalType": "bytes",
|
|
454
|
+
"name": "data",
|
|
455
|
+
"type": "bytes"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"name": "getDepositAmount0In",
|
|
459
|
+
"outputs": [
|
|
529
460
|
{
|
|
530
|
-
"internalType": "
|
|
531
|
-
"name": "
|
|
532
|
-
"type": "
|
|
461
|
+
"internalType": "uint256",
|
|
462
|
+
"name": "",
|
|
463
|
+
"type": "uint256"
|
|
533
464
|
}
|
|
534
465
|
],
|
|
535
|
-
"
|
|
536
|
-
"outputs": [],
|
|
537
|
-
"stateMutability": "nonpayable",
|
|
466
|
+
"stateMutability": "view",
|
|
538
467
|
"type": "function"
|
|
539
468
|
},
|
|
540
469
|
{
|
|
541
470
|
"inputs": [
|
|
542
471
|
{
|
|
543
|
-
"internalType": "
|
|
544
|
-
"name": "
|
|
545
|
-
"type": "
|
|
472
|
+
"internalType": "uint256",
|
|
473
|
+
"name": "amount1",
|
|
474
|
+
"type": "uint256"
|
|
546
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"internalType": "bytes",
|
|
478
|
+
"name": "data",
|
|
479
|
+
"type": "bytes"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"name": "getDepositAmount1In",
|
|
483
|
+
"outputs": [
|
|
547
484
|
{
|
|
548
485
|
"internalType": "uint256",
|
|
549
|
-
"name": "
|
|
486
|
+
"name": "",
|
|
550
487
|
"type": "uint256"
|
|
551
488
|
}
|
|
552
489
|
],
|
|
553
|
-
"
|
|
554
|
-
"outputs": [],
|
|
555
|
-
"stateMutability": "nonpayable",
|
|
490
|
+
"stateMutability": "view",
|
|
556
491
|
"type": "function"
|
|
557
492
|
},
|
|
558
493
|
{
|
|
559
|
-
"inputs": [
|
|
494
|
+
"inputs": [],
|
|
495
|
+
"name": "getDomainSeparator",
|
|
496
|
+
"outputs": [
|
|
560
497
|
{
|
|
561
|
-
"internalType": "
|
|
562
|
-
"name": "
|
|
563
|
-
"type": "
|
|
498
|
+
"internalType": "bytes32",
|
|
499
|
+
"name": "",
|
|
500
|
+
"type": "bytes32"
|
|
564
501
|
}
|
|
565
502
|
],
|
|
566
|
-
"
|
|
567
|
-
"outputs": [],
|
|
568
|
-
"stateMutability": "nonpayable",
|
|
503
|
+
"stateMutability": "view",
|
|
569
504
|
"type": "function"
|
|
570
505
|
},
|
|
571
506
|
{
|
|
572
|
-
"inputs": [
|
|
573
|
-
|
|
574
|
-
"internalType": "address",
|
|
575
|
-
"name": "claimer",
|
|
576
|
-
"type": "address"
|
|
577
|
-
}
|
|
578
|
-
],
|
|
579
|
-
"name": "claimableOf",
|
|
507
|
+
"inputs": [],
|
|
508
|
+
"name": "getFees",
|
|
580
509
|
"outputs": [
|
|
510
|
+
{
|
|
511
|
+
"internalType": "uint256",
|
|
512
|
+
"name": "",
|
|
513
|
+
"type": "uint256"
|
|
514
|
+
},
|
|
581
515
|
{
|
|
582
516
|
"internalType": "uint256",
|
|
583
517
|
"name": "",
|
|
@@ -589,12 +523,17 @@
|
|
|
589
523
|
},
|
|
590
524
|
{
|
|
591
525
|
"inputs": [],
|
|
592
|
-
"name": "
|
|
526
|
+
"name": "getReserves",
|
|
593
527
|
"outputs": [
|
|
594
528
|
{
|
|
595
|
-
"internalType": "
|
|
529
|
+
"internalType": "uint112",
|
|
596
530
|
"name": "",
|
|
597
|
-
"type": "
|
|
531
|
+
"type": "uint112"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"internalType": "uint112",
|
|
535
|
+
"name": "",
|
|
536
|
+
"type": "uint112"
|
|
598
537
|
}
|
|
599
538
|
],
|
|
600
539
|
"stateMutability": "view",
|
|
@@ -603,57 +542,69 @@
|
|
|
603
542
|
{
|
|
604
543
|
"inputs": [
|
|
605
544
|
{
|
|
606
|
-
"internalType": "
|
|
607
|
-
"name": "
|
|
608
|
-
"type": "
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"internalType": "address",
|
|
612
|
-
"name": "elOperator",
|
|
613
|
-
"type": "address"
|
|
545
|
+
"internalType": "uint256",
|
|
546
|
+
"name": "amount1Out",
|
|
547
|
+
"type": "uint256"
|
|
614
548
|
},
|
|
615
549
|
{
|
|
616
|
-
"
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
"internalType": "uint256",
|
|
624
|
-
"name": "expiry",
|
|
625
|
-
"type": "uint256"
|
|
626
|
-
}
|
|
627
|
-
],
|
|
628
|
-
"internalType": "struct ISignatureUtils.SignatureWithExpiry",
|
|
629
|
-
"name": "approverSignatureAndExpiry",
|
|
630
|
-
"type": "tuple"
|
|
631
|
-
},
|
|
550
|
+
"internalType": "bytes",
|
|
551
|
+
"name": "data",
|
|
552
|
+
"type": "bytes"
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"name": "getSwapAmount0In",
|
|
556
|
+
"outputs": [
|
|
632
557
|
{
|
|
633
|
-
"internalType": "
|
|
634
|
-
"name": "
|
|
635
|
-
"type": "
|
|
558
|
+
"internalType": "uint256",
|
|
559
|
+
"name": "swapAmount0In",
|
|
560
|
+
"type": "uint256"
|
|
636
561
|
}
|
|
637
562
|
],
|
|
638
|
-
"
|
|
639
|
-
"outputs": [],
|
|
640
|
-
"stateMutability": "nonpayable",
|
|
563
|
+
"stateMutability": "view",
|
|
641
564
|
"type": "function"
|
|
642
565
|
},
|
|
643
566
|
{
|
|
644
|
-
"inputs": [
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
567
|
+
"inputs": [
|
|
568
|
+
{
|
|
569
|
+
"internalType": "uint256",
|
|
570
|
+
"name": "amount1In",
|
|
571
|
+
"type": "uint256"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"internalType": "bytes",
|
|
575
|
+
"name": "data",
|
|
576
|
+
"type": "bytes"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"name": "getSwapAmount0Out",
|
|
580
|
+
"outputs": [
|
|
581
|
+
{
|
|
582
|
+
"internalType": "uint256",
|
|
583
|
+
"name": "swapAmount0Out",
|
|
584
|
+
"type": "uint256"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"stateMutability": "view",
|
|
648
588
|
"type": "function"
|
|
649
589
|
},
|
|
650
590
|
{
|
|
651
|
-
"inputs": [
|
|
652
|
-
|
|
591
|
+
"inputs": [
|
|
592
|
+
{
|
|
593
|
+
"internalType": "uint256",
|
|
594
|
+
"name": "amount0Out",
|
|
595
|
+
"type": "uint256"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"internalType": "bytes",
|
|
599
|
+
"name": "data",
|
|
600
|
+
"type": "bytes"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"name": "getSwapAmount1In",
|
|
653
604
|
"outputs": [
|
|
654
605
|
{
|
|
655
606
|
"internalType": "uint256",
|
|
656
|
-
"name": "
|
|
607
|
+
"name": "swapAmount1In",
|
|
657
608
|
"type": "uint256"
|
|
658
609
|
}
|
|
659
610
|
],
|
|
@@ -661,25 +612,23 @@
|
|
|
661
612
|
"type": "function"
|
|
662
613
|
},
|
|
663
614
|
{
|
|
664
|
-
"inputs": [
|
|
665
|
-
"name": "getMinUnstake",
|
|
666
|
-
"outputs": [
|
|
615
|
+
"inputs": [
|
|
667
616
|
{
|
|
668
617
|
"internalType": "uint256",
|
|
669
|
-
"name": "
|
|
618
|
+
"name": "amount0In",
|
|
670
619
|
"type": "uint256"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"internalType": "bytes",
|
|
623
|
+
"name": "data",
|
|
624
|
+
"type": "bytes"
|
|
671
625
|
}
|
|
672
626
|
],
|
|
673
|
-
"
|
|
674
|
-
"type": "function"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"inputs": [],
|
|
678
|
-
"name": "getPending",
|
|
627
|
+
"name": "getSwapAmount1Out",
|
|
679
628
|
"outputs": [
|
|
680
629
|
{
|
|
681
630
|
"internalType": "uint256",
|
|
682
|
-
"name": "",
|
|
631
|
+
"name": "swapAmount1Out",
|
|
683
632
|
"type": "uint256"
|
|
684
633
|
}
|
|
685
634
|
],
|
|
@@ -689,57 +638,77 @@
|
|
|
689
638
|
{
|
|
690
639
|
"inputs": [
|
|
691
640
|
{
|
|
692
|
-
"internalType": "
|
|
693
|
-
"name": "
|
|
694
|
-
"type": "
|
|
641
|
+
"internalType": "address",
|
|
642
|
+
"name": "spender",
|
|
643
|
+
"type": "address"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"internalType": "uint256",
|
|
647
|
+
"name": "addedValue",
|
|
648
|
+
"type": "uint256"
|
|
695
649
|
}
|
|
696
650
|
],
|
|
697
|
-
"name": "
|
|
651
|
+
"name": "increaseAllowance",
|
|
698
652
|
"outputs": [
|
|
699
653
|
{
|
|
700
|
-
"internalType": "
|
|
654
|
+
"internalType": "bool",
|
|
701
655
|
"name": "",
|
|
702
|
-
"type": "
|
|
656
|
+
"type": "bool"
|
|
703
657
|
}
|
|
704
658
|
],
|
|
705
|
-
"stateMutability": "
|
|
659
|
+
"stateMutability": "nonpayable",
|
|
706
660
|
"type": "function"
|
|
707
661
|
},
|
|
708
662
|
{
|
|
709
|
-
"inputs": [
|
|
710
|
-
"name": "getTotalClaimable",
|
|
711
|
-
"outputs": [
|
|
663
|
+
"inputs": [
|
|
712
664
|
{
|
|
713
|
-
"internalType": "
|
|
714
|
-
"name": "",
|
|
715
|
-
"type": "
|
|
665
|
+
"internalType": "address",
|
|
666
|
+
"name": "_token0",
|
|
667
|
+
"type": "address"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"internalType": "address",
|
|
671
|
+
"name": "_token1",
|
|
672
|
+
"type": "address"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"internalType": "address",
|
|
676
|
+
"name": "_oracle",
|
|
677
|
+
"type": "address"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"internalType": "address",
|
|
681
|
+
"name": "_trader",
|
|
682
|
+
"type": "address"
|
|
716
683
|
}
|
|
717
684
|
],
|
|
718
|
-
"
|
|
685
|
+
"name": "initialize",
|
|
686
|
+
"outputs": [],
|
|
687
|
+
"stateMutability": "nonpayable",
|
|
719
688
|
"type": "function"
|
|
720
689
|
},
|
|
721
690
|
{
|
|
722
|
-
"inputs": [
|
|
723
|
-
|
|
691
|
+
"inputs": [
|
|
692
|
+
{
|
|
693
|
+
"internalType": "address",
|
|
694
|
+
"name": "to",
|
|
695
|
+
"type": "address"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"name": "mint",
|
|
724
699
|
"outputs": [
|
|
725
700
|
{
|
|
726
701
|
"internalType": "uint256",
|
|
727
|
-
"name": "",
|
|
702
|
+
"name": "liquidityOut",
|
|
728
703
|
"type": "uint256"
|
|
729
704
|
}
|
|
730
705
|
],
|
|
731
|
-
"stateMutability": "
|
|
706
|
+
"stateMutability": "nonpayable",
|
|
732
707
|
"type": "function"
|
|
733
708
|
},
|
|
734
709
|
{
|
|
735
|
-
"inputs": [
|
|
736
|
-
|
|
737
|
-
"internalType": "address",
|
|
738
|
-
"name": "recipient",
|
|
739
|
-
"type": "address"
|
|
740
|
-
}
|
|
741
|
-
],
|
|
742
|
-
"name": "getTotalUnstakesOf",
|
|
710
|
+
"inputs": [],
|
|
711
|
+
"name": "mintFee",
|
|
743
712
|
"outputs": [
|
|
744
713
|
{
|
|
745
714
|
"internalType": "uint256",
|
|
@@ -752,24 +721,12 @@
|
|
|
752
721
|
},
|
|
753
722
|
{
|
|
754
723
|
"inputs": [],
|
|
755
|
-
"name": "
|
|
724
|
+
"name": "name",
|
|
756
725
|
"outputs": [
|
|
757
726
|
{
|
|
758
|
-
"
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
"name": "recipient",
|
|
762
|
-
"type": "address"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"internalType": "uint256",
|
|
766
|
-
"name": "amount",
|
|
767
|
-
"type": "uint256"
|
|
768
|
-
}
|
|
769
|
-
],
|
|
770
|
-
"internalType": "struct IRestakingPool.Unstake[]",
|
|
771
|
-
"name": "unstakes",
|
|
772
|
-
"type": "tuple[]"
|
|
727
|
+
"internalType": "string",
|
|
728
|
+
"name": "",
|
|
729
|
+
"type": "string"
|
|
773
730
|
}
|
|
774
731
|
],
|
|
775
732
|
"stateMutability": "view",
|
|
@@ -779,47 +736,29 @@
|
|
|
779
736
|
"inputs": [
|
|
780
737
|
{
|
|
781
738
|
"internalType": "address",
|
|
782
|
-
"name": "
|
|
739
|
+
"name": "",
|
|
783
740
|
"type": "address"
|
|
784
741
|
}
|
|
785
742
|
],
|
|
786
|
-
"name": "
|
|
743
|
+
"name": "nonces",
|
|
787
744
|
"outputs": [
|
|
788
745
|
{
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
"name": "recipient",
|
|
793
|
-
"type": "address"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"internalType": "uint256",
|
|
797
|
-
"name": "amount",
|
|
798
|
-
"type": "uint256"
|
|
799
|
-
}
|
|
800
|
-
],
|
|
801
|
-
"internalType": "struct IRestakingPool.Unstake[]",
|
|
802
|
-
"name": "unstakes",
|
|
803
|
-
"type": "tuple[]"
|
|
746
|
+
"internalType": "uint256",
|
|
747
|
+
"name": "",
|
|
748
|
+
"type": "uint256"
|
|
804
749
|
}
|
|
805
750
|
],
|
|
806
751
|
"stateMutability": "view",
|
|
807
752
|
"type": "function"
|
|
808
753
|
},
|
|
809
754
|
{
|
|
810
|
-
"inputs": [
|
|
811
|
-
|
|
812
|
-
"internalType": "address",
|
|
813
|
-
"name": "claimer",
|
|
814
|
-
"type": "address"
|
|
815
|
-
}
|
|
816
|
-
],
|
|
817
|
-
"name": "hasClaimable",
|
|
755
|
+
"inputs": [],
|
|
756
|
+
"name": "oracle",
|
|
818
757
|
"outputs": [
|
|
819
758
|
{
|
|
820
|
-
"internalType": "
|
|
759
|
+
"internalType": "address",
|
|
821
760
|
"name": "",
|
|
822
|
-
"type": "
|
|
761
|
+
"type": "address"
|
|
823
762
|
}
|
|
824
763
|
],
|
|
825
764
|
"stateMutability": "view",
|
|
@@ -828,45 +767,42 @@
|
|
|
828
767
|
{
|
|
829
768
|
"inputs": [
|
|
830
769
|
{
|
|
831
|
-
"internalType": "
|
|
832
|
-
"name": "
|
|
770
|
+
"internalType": "address",
|
|
771
|
+
"name": "owner",
|
|
833
772
|
"type": "address"
|
|
834
773
|
},
|
|
835
774
|
{
|
|
836
|
-
"internalType": "
|
|
837
|
-
"name": "
|
|
838
|
-
"type": "
|
|
775
|
+
"internalType": "address",
|
|
776
|
+
"name": "spender",
|
|
777
|
+
"type": "address"
|
|
839
778
|
},
|
|
840
779
|
{
|
|
841
780
|
"internalType": "uint256",
|
|
842
|
-
"name": "
|
|
781
|
+
"name": "value",
|
|
843
782
|
"type": "uint256"
|
|
844
|
-
}
|
|
845
|
-
],
|
|
846
|
-
"name": "initialize",
|
|
847
|
-
"outputs": [],
|
|
848
|
-
"stateMutability": "nonpayable",
|
|
849
|
-
"type": "function"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
"inputs": [
|
|
783
|
+
},
|
|
853
784
|
{
|
|
854
|
-
"internalType": "
|
|
855
|
-
"name": "
|
|
856
|
-
"type": "
|
|
785
|
+
"internalType": "uint256",
|
|
786
|
+
"name": "deadline",
|
|
787
|
+
"type": "uint256"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"internalType": "uint8",
|
|
791
|
+
"name": "v",
|
|
792
|
+
"type": "uint8"
|
|
857
793
|
},
|
|
858
794
|
{
|
|
859
|
-
"internalType": "
|
|
860
|
-
"name": "
|
|
861
|
-
"type": "
|
|
795
|
+
"internalType": "bytes32",
|
|
796
|
+
"name": "r",
|
|
797
|
+
"type": "bytes32"
|
|
862
798
|
},
|
|
863
799
|
{
|
|
864
|
-
"internalType": "
|
|
865
|
-
"name": "
|
|
866
|
-
"type": "
|
|
800
|
+
"internalType": "bytes32",
|
|
801
|
+
"name": "s",
|
|
802
|
+
"type": "bytes32"
|
|
867
803
|
}
|
|
868
804
|
],
|
|
869
|
-
"name": "
|
|
805
|
+
"name": "permit",
|
|
870
806
|
"outputs": [],
|
|
871
807
|
"stateMutability": "nonpayable",
|
|
872
808
|
"type": "function"
|
|
@@ -874,12 +810,12 @@
|
|
|
874
810
|
{
|
|
875
811
|
"inputs": [
|
|
876
812
|
{
|
|
877
|
-
"internalType": "
|
|
878
|
-
"name": "
|
|
879
|
-
"type": "
|
|
813
|
+
"internalType": "uint256",
|
|
814
|
+
"name": "fee",
|
|
815
|
+
"type": "uint256"
|
|
880
816
|
}
|
|
881
817
|
],
|
|
882
|
-
"name": "
|
|
818
|
+
"name": "setBurnFee",
|
|
883
819
|
"outputs": [],
|
|
884
820
|
"stateMutability": "nonpayable",
|
|
885
821
|
"type": "function"
|
|
@@ -888,11 +824,11 @@
|
|
|
888
824
|
"inputs": [
|
|
889
825
|
{
|
|
890
826
|
"internalType": "uint256",
|
|
891
|
-
"name": "
|
|
827
|
+
"name": "fee",
|
|
892
828
|
"type": "uint256"
|
|
893
829
|
}
|
|
894
830
|
],
|
|
895
|
-
"name": "
|
|
831
|
+
"name": "setMintFee",
|
|
896
832
|
"outputs": [],
|
|
897
833
|
"stateMutability": "nonpayable",
|
|
898
834
|
"type": "function"
|
|
@@ -900,12 +836,12 @@
|
|
|
900
836
|
{
|
|
901
837
|
"inputs": [
|
|
902
838
|
{
|
|
903
|
-
"internalType": "
|
|
904
|
-
"name": "
|
|
905
|
-
"type": "
|
|
839
|
+
"internalType": "address",
|
|
840
|
+
"name": "_oracle",
|
|
841
|
+
"type": "address"
|
|
906
842
|
}
|
|
907
843
|
],
|
|
908
|
-
"name": "
|
|
844
|
+
"name": "setOracle",
|
|
909
845
|
"outputs": [],
|
|
910
846
|
"stateMutability": "nonpayable",
|
|
911
847
|
"type": "function"
|
|
@@ -914,149 +850,192 @@
|
|
|
914
850
|
"inputs": [
|
|
915
851
|
{
|
|
916
852
|
"internalType": "uint256",
|
|
917
|
-
"name": "
|
|
853
|
+
"name": "fee",
|
|
918
854
|
"type": "uint256"
|
|
919
855
|
}
|
|
920
856
|
],
|
|
921
|
-
"name": "
|
|
857
|
+
"name": "setSwapFee",
|
|
922
858
|
"outputs": [],
|
|
923
859
|
"stateMutability": "nonpayable",
|
|
924
860
|
"type": "function"
|
|
925
861
|
},
|
|
926
862
|
{
|
|
927
|
-
"inputs": [
|
|
928
|
-
|
|
863
|
+
"inputs": [
|
|
864
|
+
{
|
|
865
|
+
"internalType": "address",
|
|
866
|
+
"name": "_trader",
|
|
867
|
+
"type": "address"
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"name": "setTrader",
|
|
929
871
|
"outputs": [],
|
|
930
|
-
"stateMutability": "
|
|
872
|
+
"stateMutability": "nonpayable",
|
|
931
873
|
"type": "function"
|
|
932
874
|
},
|
|
933
875
|
{
|
|
934
876
|
"inputs": [
|
|
935
877
|
{
|
|
936
|
-
"internalType": "
|
|
937
|
-
"name": "
|
|
938
|
-
"type": "
|
|
878
|
+
"internalType": "uint256",
|
|
879
|
+
"name": "amount0Out",
|
|
880
|
+
"type": "uint256"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"internalType": "uint256",
|
|
884
|
+
"name": "amount1Out",
|
|
885
|
+
"type": "uint256"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"internalType": "address",
|
|
889
|
+
"name": "to",
|
|
890
|
+
"type": "address"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"internalType": "bytes",
|
|
894
|
+
"name": "data",
|
|
895
|
+
"type": "bytes"
|
|
939
896
|
}
|
|
940
897
|
],
|
|
941
|
-
"name": "
|
|
898
|
+
"name": "swap",
|
|
942
899
|
"outputs": [],
|
|
943
|
-
"stateMutability": "
|
|
900
|
+
"stateMutability": "nonpayable",
|
|
944
901
|
"type": "function"
|
|
945
902
|
},
|
|
946
903
|
{
|
|
947
|
-
"inputs": [
|
|
904
|
+
"inputs": [],
|
|
905
|
+
"name": "swapFee",
|
|
906
|
+
"outputs": [
|
|
907
|
+
{
|
|
908
|
+
"internalType": "uint256",
|
|
909
|
+
"name": "",
|
|
910
|
+
"type": "uint256"
|
|
911
|
+
}
|
|
912
|
+
],
|
|
913
|
+
"stateMutability": "view",
|
|
914
|
+
"type": "function"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"inputs": [],
|
|
918
|
+
"name": "symbol",
|
|
919
|
+
"outputs": [
|
|
948
920
|
{
|
|
949
921
|
"internalType": "string",
|
|
950
|
-
"name": "
|
|
922
|
+
"name": "",
|
|
951
923
|
"type": "string"
|
|
952
924
|
}
|
|
953
925
|
],
|
|
954
|
-
"
|
|
926
|
+
"stateMutability": "view",
|
|
927
|
+
"type": "function"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"inputs": [],
|
|
931
|
+
"name": "sync",
|
|
955
932
|
"outputs": [],
|
|
956
933
|
"stateMutability": "nonpayable",
|
|
957
934
|
"type": "function"
|
|
958
935
|
},
|
|
959
936
|
{
|
|
960
|
-
"inputs": [
|
|
937
|
+
"inputs": [],
|
|
938
|
+
"name": "token0",
|
|
939
|
+
"outputs": [
|
|
961
940
|
{
|
|
962
941
|
"internalType": "address",
|
|
963
|
-
"name": "
|
|
942
|
+
"name": "",
|
|
964
943
|
"type": "address"
|
|
965
|
-
}
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"stateMutability": "view",
|
|
947
|
+
"type": "function"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"inputs": [],
|
|
951
|
+
"name": "token1",
|
|
952
|
+
"outputs": [
|
|
953
|
+
{
|
|
954
|
+
"internalType": "address",
|
|
955
|
+
"name": "",
|
|
956
|
+
"type": "address"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"stateMutability": "view",
|
|
960
|
+
"type": "function"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"inputs": [],
|
|
964
|
+
"name": "totalSupply",
|
|
965
|
+
"outputs": [
|
|
966
966
|
{
|
|
967
967
|
"internalType": "uint256",
|
|
968
|
-
"name": "
|
|
968
|
+
"name": "",
|
|
969
969
|
"type": "uint256"
|
|
970
970
|
}
|
|
971
971
|
],
|
|
972
|
-
"
|
|
973
|
-
"outputs": [],
|
|
974
|
-
"stateMutability": "nonpayable",
|
|
972
|
+
"stateMutability": "view",
|
|
975
973
|
"type": "function"
|
|
976
974
|
},
|
|
977
975
|
{
|
|
978
|
-
"inputs": [
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
"name": "provider",
|
|
982
|
-
"type": "string"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"internalType": "uint64",
|
|
986
|
-
"name": "oracleTimestamp",
|
|
987
|
-
"type": "uint64"
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"components": [
|
|
991
|
-
{
|
|
992
|
-
"internalType": "bytes32",
|
|
993
|
-
"name": "beaconStateRoot",
|
|
994
|
-
"type": "bytes32"
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
"internalType": "bytes",
|
|
998
|
-
"name": "proof",
|
|
999
|
-
"type": "bytes"
|
|
1000
|
-
}
|
|
1001
|
-
],
|
|
1002
|
-
"internalType": "struct BeaconChainProofs.StateRootProof",
|
|
1003
|
-
"name": "stateRootProof",
|
|
1004
|
-
"type": "tuple"
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
"internalType": "uint40[]",
|
|
1008
|
-
"name": "validatorIndices",
|
|
1009
|
-
"type": "uint40[]"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"internalType": "bytes[]",
|
|
1013
|
-
"name": "validatorFieldsProofs",
|
|
1014
|
-
"type": "bytes[]"
|
|
1015
|
-
},
|
|
976
|
+
"inputs": [],
|
|
977
|
+
"name": "trader",
|
|
978
|
+
"outputs": [
|
|
1016
979
|
{
|
|
1017
|
-
"internalType": "
|
|
1018
|
-
"name": "
|
|
1019
|
-
"type": "
|
|
980
|
+
"internalType": "address",
|
|
981
|
+
"name": "",
|
|
982
|
+
"type": "address"
|
|
1020
983
|
}
|
|
1021
984
|
],
|
|
1022
|
-
"
|
|
1023
|
-
"outputs": [],
|
|
1024
|
-
"stateMutability": "nonpayable",
|
|
985
|
+
"stateMutability": "view",
|
|
1025
986
|
"type": "function"
|
|
1026
987
|
},
|
|
1027
988
|
{
|
|
1028
989
|
"inputs": [
|
|
1029
990
|
{
|
|
1030
|
-
"internalType": "
|
|
1031
|
-
"name": "
|
|
1032
|
-
"type": "
|
|
991
|
+
"internalType": "address",
|
|
992
|
+
"name": "to",
|
|
993
|
+
"type": "address"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"internalType": "uint256",
|
|
997
|
+
"name": "value",
|
|
998
|
+
"type": "uint256"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
"name": "transfer",
|
|
1002
|
+
"outputs": [
|
|
1003
|
+
{
|
|
1004
|
+
"internalType": "bool",
|
|
1005
|
+
"name": "",
|
|
1006
|
+
"type": "bool"
|
|
1033
1007
|
}
|
|
1034
1008
|
],
|
|
1035
|
-
"name": "withdrawBeforeRestaking",
|
|
1036
|
-
"outputs": [],
|
|
1037
1009
|
"stateMutability": "nonpayable",
|
|
1038
1010
|
"type": "function"
|
|
1039
1011
|
},
|
|
1040
1012
|
{
|
|
1041
1013
|
"inputs": [
|
|
1042
1014
|
{
|
|
1043
|
-
"internalType": "
|
|
1044
|
-
"name": "
|
|
1045
|
-
"type": "
|
|
1015
|
+
"internalType": "address",
|
|
1016
|
+
"name": "from",
|
|
1017
|
+
"type": "address"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"internalType": "address",
|
|
1021
|
+
"name": "to",
|
|
1022
|
+
"type": "address"
|
|
1046
1023
|
},
|
|
1047
1024
|
{
|
|
1048
1025
|
"internalType": "uint256",
|
|
1049
|
-
"name": "
|
|
1026
|
+
"name": "value",
|
|
1050
1027
|
"type": "uint256"
|
|
1051
1028
|
}
|
|
1052
1029
|
],
|
|
1053
|
-
"name": "
|
|
1054
|
-
"outputs": [
|
|
1030
|
+
"name": "transferFrom",
|
|
1031
|
+
"outputs": [
|
|
1032
|
+
{
|
|
1033
|
+
"internalType": "bool",
|
|
1034
|
+
"name": "",
|
|
1035
|
+
"type": "bool"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1055
1038
|
"stateMutability": "nonpayable",
|
|
1056
1039
|
"type": "function"
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
"stateMutability": "payable",
|
|
1060
|
-
"type": "receive"
|
|
1061
1040
|
}
|
|
1062
1041
|
]
|