@pendle/core-v2 5.4.2-beta-okx-2 → 5.4.3
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/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +462 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +190 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +40 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +55 -2
- package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +117 -0
- package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +27 -0
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +2 -0
- package/contracts/router/swap-aggregator/PendleSwap.sol +6 -213
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +7 -6
- package/deployments/42161-core.json +7 -6
- package/deployments/5000-core.json +7 -6
- package/deployments/56-core.json +7 -6
- package/deployments/8453-core.json +7 -6
- package/package.json +1 -1
- package/typechain-types/IPMultiTokenMerkleDistributor.ts +275 -0
- package/typechain-types/IPSwapAggregator.ts +39 -0
- package/typechain-types/PendleMultiTokenMerkleDistributor.ts +677 -0
- package/typechain-types/PendleSwap.ts +60 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +209 -0
- package/typechain-types/factories/IPSwapAggregator__factory.ts +40 -0
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +523 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +54 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +18 -0
- package/typechain-types/index.ts +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOKXDexRouter.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOKXDexRouter.json +0 -407
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IOKXDexRouter",
|
|
4
|
-
"sourceName": "contracts/router/swap-aggregator/PendleSwap.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint256",
|
|
10
|
-
"name": "orderId",
|
|
11
|
-
"type": "uint256"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"components": [
|
|
15
|
-
{
|
|
16
|
-
"internalType": "uint256",
|
|
17
|
-
"name": "fromToken",
|
|
18
|
-
"type": "uint256"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"internalType": "address",
|
|
22
|
-
"name": "toToken",
|
|
23
|
-
"type": "address"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"internalType": "uint256",
|
|
27
|
-
"name": "fromTokenAmount",
|
|
28
|
-
"type": "uint256"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"internalType": "uint256",
|
|
32
|
-
"name": "minReturnAmount",
|
|
33
|
-
"type": "uint256"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"internalType": "uint256",
|
|
37
|
-
"name": "deadLine",
|
|
38
|
-
"type": "uint256"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"internalType": "struct IOKXDexRouter.BaseRequest",
|
|
42
|
-
"name": "baseRequest",
|
|
43
|
-
"type": "tuple"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"internalType": "uint256[]",
|
|
47
|
-
"name": "batchesAmount",
|
|
48
|
-
"type": "uint256[]"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"components": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "address[]",
|
|
54
|
-
"name": "mixAdapters",
|
|
55
|
-
"type": "address[]"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"internalType": "address[]",
|
|
59
|
-
"name": "assetTo",
|
|
60
|
-
"type": "address[]"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"internalType": "uint256[]",
|
|
64
|
-
"name": "rawData",
|
|
65
|
-
"type": "uint256[]"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"internalType": "bytes[]",
|
|
69
|
-
"name": "extraData",
|
|
70
|
-
"type": "bytes[]"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"internalType": "uint256",
|
|
74
|
-
"name": "fromToken",
|
|
75
|
-
"type": "uint256"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"internalType": "struct IOKXDexRouter.RouterPath[][]",
|
|
79
|
-
"name": "batches",
|
|
80
|
-
"type": "tuple[][]"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"components": [
|
|
84
|
-
{
|
|
85
|
-
"internalType": "uint256",
|
|
86
|
-
"name": "pathIndex",
|
|
87
|
-
"type": "uint256"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "address",
|
|
91
|
-
"name": "payer",
|
|
92
|
-
"type": "address"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"internalType": "address",
|
|
96
|
-
"name": "fromToken",
|
|
97
|
-
"type": "address"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"internalType": "address",
|
|
101
|
-
"name": "toToken",
|
|
102
|
-
"type": "address"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"internalType": "uint256",
|
|
106
|
-
"name": "fromTokenAmountMax",
|
|
107
|
-
"type": "uint256"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"internalType": "uint256",
|
|
111
|
-
"name": "toTokenAmountMax",
|
|
112
|
-
"type": "uint256"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"internalType": "uint256",
|
|
116
|
-
"name": "salt",
|
|
117
|
-
"type": "uint256"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"internalType": "uint256",
|
|
121
|
-
"name": "deadLine",
|
|
122
|
-
"type": "uint256"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"internalType": "bool",
|
|
126
|
-
"name": "isPushOrder",
|
|
127
|
-
"type": "bool"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"internalType": "bytes",
|
|
131
|
-
"name": "extension",
|
|
132
|
-
"type": "bytes"
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"internalType": "struct IOKXDexRouter.PMMSwapRequest[]",
|
|
136
|
-
"name": "extraData",
|
|
137
|
-
"type": "tuple[]"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"name": "smartSwapByOrderId",
|
|
141
|
-
"outputs": [
|
|
142
|
-
{
|
|
143
|
-
"internalType": "uint256",
|
|
144
|
-
"name": "returnAmount",
|
|
145
|
-
"type": "uint256"
|
|
146
|
-
}
|
|
147
|
-
],
|
|
148
|
-
"stateMutability": "payable",
|
|
149
|
-
"type": "function"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"inputs": [
|
|
153
|
-
{
|
|
154
|
-
"internalType": "uint256",
|
|
155
|
-
"name": "orderId",
|
|
156
|
-
"type": "uint256"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"internalType": "address",
|
|
160
|
-
"name": "receiver",
|
|
161
|
-
"type": "address"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"components": [
|
|
165
|
-
{
|
|
166
|
-
"internalType": "uint256",
|
|
167
|
-
"name": "fromToken",
|
|
168
|
-
"type": "uint256"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"internalType": "address",
|
|
172
|
-
"name": "toToken",
|
|
173
|
-
"type": "address"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"internalType": "uint256",
|
|
177
|
-
"name": "fromTokenAmount",
|
|
178
|
-
"type": "uint256"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"internalType": "uint256",
|
|
182
|
-
"name": "minReturnAmount",
|
|
183
|
-
"type": "uint256"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"internalType": "uint256",
|
|
187
|
-
"name": "deadLine",
|
|
188
|
-
"type": "uint256"
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"internalType": "struct IOKXDexRouter.BaseRequest",
|
|
192
|
-
"name": "baseRequest",
|
|
193
|
-
"type": "tuple"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"internalType": "uint256[]",
|
|
197
|
-
"name": "batchesAmount",
|
|
198
|
-
"type": "uint256[]"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"components": [
|
|
202
|
-
{
|
|
203
|
-
"internalType": "address[]",
|
|
204
|
-
"name": "mixAdapters",
|
|
205
|
-
"type": "address[]"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"internalType": "address[]",
|
|
209
|
-
"name": "assetTo",
|
|
210
|
-
"type": "address[]"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"internalType": "uint256[]",
|
|
214
|
-
"name": "rawData",
|
|
215
|
-
"type": "uint256[]"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"internalType": "bytes[]",
|
|
219
|
-
"name": "extraData",
|
|
220
|
-
"type": "bytes[]"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"internalType": "uint256",
|
|
224
|
-
"name": "fromToken",
|
|
225
|
-
"type": "uint256"
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
"internalType": "struct IOKXDexRouter.RouterPath[][]",
|
|
229
|
-
"name": "batches",
|
|
230
|
-
"type": "tuple[][]"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"components": [
|
|
234
|
-
{
|
|
235
|
-
"internalType": "uint256",
|
|
236
|
-
"name": "pathIndex",
|
|
237
|
-
"type": "uint256"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"internalType": "address",
|
|
241
|
-
"name": "payer",
|
|
242
|
-
"type": "address"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"internalType": "address",
|
|
246
|
-
"name": "fromToken",
|
|
247
|
-
"type": "address"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"internalType": "address",
|
|
251
|
-
"name": "toToken",
|
|
252
|
-
"type": "address"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"internalType": "uint256",
|
|
256
|
-
"name": "fromTokenAmountMax",
|
|
257
|
-
"type": "uint256"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"internalType": "uint256",
|
|
261
|
-
"name": "toTokenAmountMax",
|
|
262
|
-
"type": "uint256"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"internalType": "uint256",
|
|
266
|
-
"name": "salt",
|
|
267
|
-
"type": "uint256"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"internalType": "uint256",
|
|
271
|
-
"name": "deadLine",
|
|
272
|
-
"type": "uint256"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"internalType": "bool",
|
|
276
|
-
"name": "isPushOrder",
|
|
277
|
-
"type": "bool"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"internalType": "bytes",
|
|
281
|
-
"name": "extension",
|
|
282
|
-
"type": "bytes"
|
|
283
|
-
}
|
|
284
|
-
],
|
|
285
|
-
"internalType": "struct IOKXDexRouter.PMMSwapRequest[]",
|
|
286
|
-
"name": "extraData",
|
|
287
|
-
"type": "tuple[]"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"name": "smartSwapTo",
|
|
291
|
-
"outputs": [],
|
|
292
|
-
"stateMutability": "payable",
|
|
293
|
-
"type": "function"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"inputs": [
|
|
297
|
-
{
|
|
298
|
-
"internalType": "uint256",
|
|
299
|
-
"name": "receiver",
|
|
300
|
-
"type": "uint256"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"internalType": "uint256",
|
|
304
|
-
"name": "amount",
|
|
305
|
-
"type": "uint256"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"internalType": "uint256",
|
|
309
|
-
"name": "minReturn",
|
|
310
|
-
"type": "uint256"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"internalType": "uint256[]",
|
|
314
|
-
"name": "pools",
|
|
315
|
-
"type": "uint256[]"
|
|
316
|
-
}
|
|
317
|
-
],
|
|
318
|
-
"name": "uniswapV3SwapTo",
|
|
319
|
-
"outputs": [
|
|
320
|
-
{
|
|
321
|
-
"internalType": "uint256",
|
|
322
|
-
"name": "returnAmount",
|
|
323
|
-
"type": "uint256"
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
"stateMutability": "payable",
|
|
327
|
-
"type": "function"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"inputs": [
|
|
331
|
-
{
|
|
332
|
-
"internalType": "uint256",
|
|
333
|
-
"name": "srcToken",
|
|
334
|
-
"type": "uint256"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"internalType": "uint256",
|
|
338
|
-
"name": "amount",
|
|
339
|
-
"type": "uint256"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"internalType": "uint256",
|
|
343
|
-
"name": "minReturn",
|
|
344
|
-
"type": "uint256"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"internalType": "bytes32[]",
|
|
348
|
-
"name": "pools",
|
|
349
|
-
"type": "bytes32[]"
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
"name": "unxswapByOrderId",
|
|
353
|
-
"outputs": [
|
|
354
|
-
{
|
|
355
|
-
"internalType": "uint256",
|
|
356
|
-
"name": "returnAmount",
|
|
357
|
-
"type": "uint256"
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"stateMutability": "payable",
|
|
361
|
-
"type": "function"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"inputs": [
|
|
365
|
-
{
|
|
366
|
-
"internalType": "uint256",
|
|
367
|
-
"name": "srcToken",
|
|
368
|
-
"type": "uint256"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"internalType": "uint256",
|
|
372
|
-
"name": "amount",
|
|
373
|
-
"type": "uint256"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"internalType": "uint256",
|
|
377
|
-
"name": "minReturn",
|
|
378
|
-
"type": "uint256"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"internalType": "address",
|
|
382
|
-
"name": "receiver",
|
|
383
|
-
"type": "address"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"internalType": "bytes32[]",
|
|
387
|
-
"name": "pools",
|
|
388
|
-
"type": "bytes32[]"
|
|
389
|
-
}
|
|
390
|
-
],
|
|
391
|
-
"name": "unxswapTo",
|
|
392
|
-
"outputs": [
|
|
393
|
-
{
|
|
394
|
-
"internalType": "uint256",
|
|
395
|
-
"name": "returnAmount",
|
|
396
|
-
"type": "uint256"
|
|
397
|
-
}
|
|
398
|
-
],
|
|
399
|
-
"stateMutability": "payable",
|
|
400
|
-
"type": "function"
|
|
401
|
-
}
|
|
402
|
-
],
|
|
403
|
-
"bytecode": "0x",
|
|
404
|
-
"deployedBytecode": "0x",
|
|
405
|
-
"linkReferences": {},
|
|
406
|
-
"deployedLinkReferences": {}
|
|
407
|
-
}
|