@pendle/core-v2 0.6.2 → 0.6.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.
Files changed (139) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +4 -0
  2. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +495 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +4 -0
  4. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.json +10 -0
  5. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +4 -0
  6. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.json +77 -0
  7. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +4 -0
  8. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.json +90 -0
  9. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +4 -0
  10. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +556 -0
  11. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +641 -0
  13. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +4 -0
  14. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +333 -0
  15. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +4 -0
  16. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +842 -0
  17. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
  18. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +265 -0
  19. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  20. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -0
  21. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +4 -0
  22. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +230 -0
  23. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +4 -0
  24. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +783 -0
  25. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  26. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.json +10 -0
  27. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +4 -0
  28. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +766 -0
  29. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +4 -0
  30. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +641 -0
  31. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +4 -0
  32. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +623 -0
  33. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +4 -0
  34. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +623 -0
  35. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +4 -0
  36. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +339 -0
  37. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +4 -0
  38. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +808 -0
  39. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +862 -0
  41. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +58 -0
  43. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +4 -0
  44. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +750 -0
  45. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.json +55 -0
  47. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +521 -0
  49. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
  50. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +10 -0
  51. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +185 -0
  53. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +210 -0
  55. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.json +10 -0
  57. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +4 -0
  58. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +213 -0
  59. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +4 -0
  60. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +87 -0
  61. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
  62. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +59 -0
  63. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +4 -0
  64. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +44 -0
  65. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +4 -0
  66. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.json +662 -0
  67. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +4 -0
  68. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.json +760 -0
  69. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +4 -0
  70. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +555 -0
  71. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +4 -0
  72. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.json +55 -0
  73. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +4 -0
  74. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +306 -0
  75. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +894 -0
  77. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +4 -0
  78. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.json +259 -0
  79. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +4 -0
  80. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +24 -0
  81. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +4 -0
  82. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +670 -0
  83. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +4 -0
  84. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +67 -0
  85. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +4 -0
  86. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +96 -0
  87. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +4 -0
  88. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +34 -0
  89. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +24 -0
  91. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +334 -0
  93. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +820 -0
  95. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +206 -0
  97. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +595 -0
  99. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +258 -0
  101. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +4 -0
  102. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +207 -0
  103. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +92 -0
  105. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +252 -0
  107. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +119 -0
  109. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +62 -0
  111. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +62 -0
  113. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +4 -0
  114. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +10 -0
  115. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +4 -0
  116. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +10 -0
  117. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +4 -0
  118. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +10 -0
  119. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +4 -0
  120. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +10 -0
  121. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +4 -0
  122. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +10 -0
  123. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +4 -0
  124. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +10 -0
  125. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +4 -0
  126. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +10 -0
  127. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +4 -0
  128. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +10 -0
  129. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +4 -0
  130. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +87 -0
  131. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +4 -0
  132. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.json +37 -0
  133. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +4 -0
  134. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json +24 -0
  135. package/contracts/core/RouterStatic.sol +4 -4
  136. package/deployments/kovan.json +34 -0
  137. package/package.json +4 -2
  138. package/typechain-types/RouterStatic.ts +4 -4
  139. package/typechain-types/factories/RouterStatic__factory.ts +3 -3
@@ -0,0 +1,760 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IJoeRouter01",
4
+ "sourceName": "contracts/interfaces/IJoeRouter01.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "WAVAX",
9
+ "outputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "pure",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "tokenA",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "internalType": "address",
28
+ "name": "tokenB",
29
+ "type": "address"
30
+ },
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "amountADesired",
34
+ "type": "uint256"
35
+ },
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "amountBDesired",
39
+ "type": "uint256"
40
+ },
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "amountAMin",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "internalType": "uint256",
48
+ "name": "amountBMin",
49
+ "type": "uint256"
50
+ },
51
+ {
52
+ "internalType": "address",
53
+ "name": "to",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "deadline",
59
+ "type": "uint256"
60
+ }
61
+ ],
62
+ "name": "addLiquidity",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "amountA",
67
+ "type": "uint256"
68
+ },
69
+ {
70
+ "internalType": "uint256",
71
+ "name": "amountB",
72
+ "type": "uint256"
73
+ },
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "liquidity",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "stateMutability": "nonpayable",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "internalType": "address",
87
+ "name": "token",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "amountTokenDesired",
93
+ "type": "uint256"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "amountTokenMin",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "amountAVAXMin",
103
+ "type": "uint256"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "to",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "deadline",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "name": "addLiquidityAVAX",
117
+ "outputs": [
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "amountToken",
121
+ "type": "uint256"
122
+ },
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "amountAVAX",
126
+ "type": "uint256"
127
+ },
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "liquidity",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "payable",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "factory",
140
+ "outputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "stateMutability": "pure",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "uint256",
154
+ "name": "amountOut",
155
+ "type": "uint256"
156
+ },
157
+ {
158
+ "internalType": "uint256",
159
+ "name": "reserveIn",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "reserveOut",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "name": "getAmountIn",
169
+ "outputs": [
170
+ {
171
+ "internalType": "uint256",
172
+ "name": "amountIn",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "stateMutability": "pure",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "amountIn",
184
+ "type": "uint256"
185
+ },
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "reserveIn",
189
+ "type": "uint256"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "reserveOut",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "name": "getAmountOut",
198
+ "outputs": [
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "amountOut",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "pure",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "uint256",
212
+ "name": "amountOut",
213
+ "type": "uint256"
214
+ },
215
+ {
216
+ "internalType": "address[]",
217
+ "name": "path",
218
+ "type": "address[]"
219
+ }
220
+ ],
221
+ "name": "getAmountsIn",
222
+ "outputs": [
223
+ {
224
+ "internalType": "uint256[]",
225
+ "name": "amounts",
226
+ "type": "uint256[]"
227
+ }
228
+ ],
229
+ "stateMutability": "view",
230
+ "type": "function"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "amountIn",
237
+ "type": "uint256"
238
+ },
239
+ {
240
+ "internalType": "address[]",
241
+ "name": "path",
242
+ "type": "address[]"
243
+ }
244
+ ],
245
+ "name": "getAmountsOut",
246
+ "outputs": [
247
+ {
248
+ "internalType": "uint256[]",
249
+ "name": "amounts",
250
+ "type": "uint256[]"
251
+ }
252
+ ],
253
+ "stateMutability": "view",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "amountA",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "reserveA",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "uint256",
270
+ "name": "reserveB",
271
+ "type": "uint256"
272
+ }
273
+ ],
274
+ "name": "quote",
275
+ "outputs": [
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "amountB",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "stateMutability": "pure",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "address",
289
+ "name": "tokenA",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "internalType": "address",
294
+ "name": "tokenB",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "liquidity",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "uint256",
304
+ "name": "amountAMin",
305
+ "type": "uint256"
306
+ },
307
+ {
308
+ "internalType": "uint256",
309
+ "name": "amountBMin",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "internalType": "address",
314
+ "name": "to",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "internalType": "uint256",
319
+ "name": "deadline",
320
+ "type": "uint256"
321
+ }
322
+ ],
323
+ "name": "removeLiquidity",
324
+ "outputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "amountA",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "amountB",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "stateMutability": "nonpayable",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "inputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "token",
344
+ "type": "address"
345
+ },
346
+ {
347
+ "internalType": "uint256",
348
+ "name": "liquidity",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "amountTokenMin",
354
+ "type": "uint256"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "amountAVAXMin",
359
+ "type": "uint256"
360
+ },
361
+ {
362
+ "internalType": "address",
363
+ "name": "to",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "uint256",
368
+ "name": "deadline",
369
+ "type": "uint256"
370
+ }
371
+ ],
372
+ "name": "removeLiquidityAVAX",
373
+ "outputs": [
374
+ {
375
+ "internalType": "uint256",
376
+ "name": "amountToken",
377
+ "type": "uint256"
378
+ },
379
+ {
380
+ "internalType": "uint256",
381
+ "name": "amountAVAX",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "stateMutability": "nonpayable",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [
390
+ {
391
+ "internalType": "address",
392
+ "name": "token",
393
+ "type": "address"
394
+ },
395
+ {
396
+ "internalType": "uint256",
397
+ "name": "liquidity",
398
+ "type": "uint256"
399
+ },
400
+ {
401
+ "internalType": "uint256",
402
+ "name": "amountTokenMin",
403
+ "type": "uint256"
404
+ },
405
+ {
406
+ "internalType": "uint256",
407
+ "name": "amountAVAXMin",
408
+ "type": "uint256"
409
+ },
410
+ {
411
+ "internalType": "address",
412
+ "name": "to",
413
+ "type": "address"
414
+ },
415
+ {
416
+ "internalType": "uint256",
417
+ "name": "deadline",
418
+ "type": "uint256"
419
+ },
420
+ {
421
+ "internalType": "bool",
422
+ "name": "approveMax",
423
+ "type": "bool"
424
+ },
425
+ {
426
+ "internalType": "uint8",
427
+ "name": "v",
428
+ "type": "uint8"
429
+ },
430
+ {
431
+ "internalType": "bytes32",
432
+ "name": "r",
433
+ "type": "bytes32"
434
+ },
435
+ {
436
+ "internalType": "bytes32",
437
+ "name": "s",
438
+ "type": "bytes32"
439
+ }
440
+ ],
441
+ "name": "removeLiquidityAVAXWithPermit",
442
+ "outputs": [
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "amountToken",
446
+ "type": "uint256"
447
+ },
448
+ {
449
+ "internalType": "uint256",
450
+ "name": "amountAVAX",
451
+ "type": "uint256"
452
+ }
453
+ ],
454
+ "stateMutability": "nonpayable",
455
+ "type": "function"
456
+ },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "address",
461
+ "name": "tokenA",
462
+ "type": "address"
463
+ },
464
+ {
465
+ "internalType": "address",
466
+ "name": "tokenB",
467
+ "type": "address"
468
+ },
469
+ {
470
+ "internalType": "uint256",
471
+ "name": "liquidity",
472
+ "type": "uint256"
473
+ },
474
+ {
475
+ "internalType": "uint256",
476
+ "name": "amountAMin",
477
+ "type": "uint256"
478
+ },
479
+ {
480
+ "internalType": "uint256",
481
+ "name": "amountBMin",
482
+ "type": "uint256"
483
+ },
484
+ {
485
+ "internalType": "address",
486
+ "name": "to",
487
+ "type": "address"
488
+ },
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "deadline",
492
+ "type": "uint256"
493
+ },
494
+ {
495
+ "internalType": "bool",
496
+ "name": "approveMax",
497
+ "type": "bool"
498
+ },
499
+ {
500
+ "internalType": "uint8",
501
+ "name": "v",
502
+ "type": "uint8"
503
+ },
504
+ {
505
+ "internalType": "bytes32",
506
+ "name": "r",
507
+ "type": "bytes32"
508
+ },
509
+ {
510
+ "internalType": "bytes32",
511
+ "name": "s",
512
+ "type": "bytes32"
513
+ }
514
+ ],
515
+ "name": "removeLiquidityWithPermit",
516
+ "outputs": [
517
+ {
518
+ "internalType": "uint256",
519
+ "name": "amountA",
520
+ "type": "uint256"
521
+ },
522
+ {
523
+ "internalType": "uint256",
524
+ "name": "amountB",
525
+ "type": "uint256"
526
+ }
527
+ ],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [
533
+ {
534
+ "internalType": "uint256",
535
+ "name": "amountOut",
536
+ "type": "uint256"
537
+ },
538
+ {
539
+ "internalType": "address[]",
540
+ "name": "path",
541
+ "type": "address[]"
542
+ },
543
+ {
544
+ "internalType": "address",
545
+ "name": "to",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "internalType": "uint256",
550
+ "name": "deadline",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "name": "swapAVAXForExactTokens",
555
+ "outputs": [
556
+ {
557
+ "internalType": "uint256[]",
558
+ "name": "amounts",
559
+ "type": "uint256[]"
560
+ }
561
+ ],
562
+ "stateMutability": "payable",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [
567
+ {
568
+ "internalType": "uint256",
569
+ "name": "amountOutMin",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "internalType": "address[]",
574
+ "name": "path",
575
+ "type": "address[]"
576
+ },
577
+ {
578
+ "internalType": "address",
579
+ "name": "to",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "deadline",
585
+ "type": "uint256"
586
+ }
587
+ ],
588
+ "name": "swapExactAVAXForTokens",
589
+ "outputs": [
590
+ {
591
+ "internalType": "uint256[]",
592
+ "name": "amounts",
593
+ "type": "uint256[]"
594
+ }
595
+ ],
596
+ "stateMutability": "payable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "amountIn",
604
+ "type": "uint256"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "amountOutMin",
609
+ "type": "uint256"
610
+ },
611
+ {
612
+ "internalType": "address[]",
613
+ "name": "path",
614
+ "type": "address[]"
615
+ },
616
+ {
617
+ "internalType": "address",
618
+ "name": "to",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "deadline",
624
+ "type": "uint256"
625
+ }
626
+ ],
627
+ "name": "swapExactTokensForAVAX",
628
+ "outputs": [
629
+ {
630
+ "internalType": "uint256[]",
631
+ "name": "amounts",
632
+ "type": "uint256[]"
633
+ }
634
+ ],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "amountIn",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "amountOutMin",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "internalType": "address[]",
652
+ "name": "path",
653
+ "type": "address[]"
654
+ },
655
+ {
656
+ "internalType": "address",
657
+ "name": "to",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "deadline",
663
+ "type": "uint256"
664
+ }
665
+ ],
666
+ "name": "swapExactTokensForTokens",
667
+ "outputs": [
668
+ {
669
+ "internalType": "uint256[]",
670
+ "name": "amounts",
671
+ "type": "uint256[]"
672
+ }
673
+ ],
674
+ "stateMutability": "nonpayable",
675
+ "type": "function"
676
+ },
677
+ {
678
+ "inputs": [
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "amountOut",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "amountInMax",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "internalType": "address[]",
691
+ "name": "path",
692
+ "type": "address[]"
693
+ },
694
+ {
695
+ "internalType": "address",
696
+ "name": "to",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "deadline",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "name": "swapTokensForExactAVAX",
706
+ "outputs": [
707
+ {
708
+ "internalType": "uint256[]",
709
+ "name": "amounts",
710
+ "type": "uint256[]"
711
+ }
712
+ ],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "internalType": "uint256",
720
+ "name": "amountOut",
721
+ "type": "uint256"
722
+ },
723
+ {
724
+ "internalType": "uint256",
725
+ "name": "amountInMax",
726
+ "type": "uint256"
727
+ },
728
+ {
729
+ "internalType": "address[]",
730
+ "name": "path",
731
+ "type": "address[]"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "to",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "deadline",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "name": "swapTokensForExactTokens",
745
+ "outputs": [
746
+ {
747
+ "internalType": "uint256[]",
748
+ "name": "amounts",
749
+ "type": "uint256[]"
750
+ }
751
+ ],
752
+ "stateMutability": "nonpayable",
753
+ "type": "function"
754
+ }
755
+ ],
756
+ "bytecode": "0x",
757
+ "deployedBytecode": "0x",
758
+ "linkReferences": {},
759
+ "deployedLinkReferences": {}
760
+ }