@pendle/core-v2 4.0.6 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +20 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.json +1054 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.json +1141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.json +1044 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +0 -45
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +0 -69
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -26
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -140
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.json +64 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.json +102 -0
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.json +44 -0
- package/build/artifacts/contracts/interfaces/Swell/ISwETH.sol/ISwETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{ISwETH.sol → Swell/ISwETH.sol}/ISwETH.json +8 -8
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +409 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1352 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +247 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +202 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.json +66 -0
- package/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol +18 -9
- package/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol +93 -0
- package/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol +139 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol +101 -0
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +1 -1
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +8 -17
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +4 -16
- package/contracts/interfaces/IPActionStorageStatic.sol +0 -4
- package/contracts/interfaces/Renzo/IRenzoOracle.sol +8 -0
- package/contracts/interfaces/Renzo/IRenzoRestakeManager.sol +14 -0
- package/contracts/interfaces/Swell/IRswETH.sol +10 -0
- package/contracts/interfaces/{ISwETH.sol → Swell/ISwETH.sol} +2 -2
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +109 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +182 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +672 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +116 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +64 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +20 -0
- package/contracts/oracles/PendleRedStoneRateOracle.sol +23 -0
- package/deployments/1-markets/EZETH-JUNE2024.json +11 -0
- package/deployments/1-markets/RSETH-KELP-JUNE2024.json +11 -0
- package/deployments/42161-markets/RSETH-APR2024-ARBITRUM.json +11 -0
- package/deployments/42161-markets/WEETH-APR2024.json +11 -0
- package/deployments/merkle-distribution/2024-01-25.json +9615 -0
- package/package.json +1 -1
- package/typechain-types/IPActionMarketCoreStatic.ts +18 -63
- package/typechain-types/IPActionMintRedeemStatic.ts +10 -102
- package/typechain-types/IPActionStorageStatic.ts +0 -55
- package/typechain-types/IPRouterStatic.ts +28 -220
- package/typechain-types/IRenzoOracle.ts +152 -0
- package/typechain-types/IRenzoRestakeManager.ts +219 -0
- package/typechain-types/IRswETH.ts +138 -0
- package/typechain-types/ISwETH.ts +24 -9
- package/typechain-types/PendleEzETHSY.ts +1471 -0
- package/typechain-types/PendleL2LRTSY.ts +1323 -0
- package/typechain-types/PendleRedStoneRateOracle.ts +113 -0
- package/typechain-types/PendleRsETHSY.ts +21 -0
- package/typechain-types/PendleRswETHSY.ts +1294 -0
- 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/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +0 -45
- package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +0 -69
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +0 -26
- package/typechain-types/factories/IPRouterStatic__factory.ts +0 -140
- package/typechain-types/factories/IRenzoOracle__factory.ts +76 -0
- package/typechain-types/factories/IRenzoRestakeManager__factory.ts +121 -0
- package/typechain-types/factories/IRswETH__factory.ts +56 -0
- package/typechain-types/factories/ISwETH__factory.ts +7 -7
- package/typechain-types/factories/PendleAaveV3SY__factory.ts +1 -1
- package/typechain-types/factories/PendleEzETHSY__factory.ts +1218 -0
- package/typechain-types/factories/PendleL2LRTSY__factory.ts +1139 -0
- package/typechain-types/factories/PendleRedStoneRateOracle__factory.ts +142 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRsETHSY__factory.ts +23 -1
- package/typechain-types/factories/PendleRswETHSY__factory.ts +1117 -0
- package/typechain-types/factories/PendleWEEthSY__factory.ts +1 -1
- package/typechain-types/factories/SwETHSY__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +135 -0
- package/typechain-types/index.ts +28 -0
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +0 -4
|
@@ -78,11 +78,6 @@
|
|
|
78
78
|
"name": "netTokenDesired",
|
|
79
79
|
"type": "uint256"
|
|
80
80
|
},
|
|
81
|
-
{
|
|
82
|
-
"internalType": "address",
|
|
83
|
-
"name": "bulk",
|
|
84
|
-
"type": "address"
|
|
85
|
-
},
|
|
86
81
|
{
|
|
87
82
|
"internalType": "uint256",
|
|
88
83
|
"name": "netPtDesired",
|
|
@@ -268,11 +263,6 @@
|
|
|
268
263
|
"internalType": "uint256",
|
|
269
264
|
"name": "netTokenIn",
|
|
270
265
|
"type": "uint256"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"internalType": "address",
|
|
274
|
-
"name": "bulk",
|
|
275
|
-
"type": "address"
|
|
276
266
|
}
|
|
277
267
|
],
|
|
278
268
|
"name": "addLiquiditySingleTokenKeepYtStatic",
|
|
@@ -317,11 +307,6 @@
|
|
|
317
307
|
"internalType": "uint256",
|
|
318
308
|
"name": "netTokenIn",
|
|
319
309
|
"type": "uint256"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"internalType": "address",
|
|
323
|
-
"name": "bulk",
|
|
324
|
-
"type": "address"
|
|
325
310
|
}
|
|
326
311
|
],
|
|
327
312
|
"name": "addLiquiditySingleTokenStatic",
|
|
@@ -475,11 +460,6 @@
|
|
|
475
460
|
"name": "tokenIn",
|
|
476
461
|
"type": "address"
|
|
477
462
|
},
|
|
478
|
-
{
|
|
479
|
-
"internalType": "address",
|
|
480
|
-
"name": "bulk",
|
|
481
|
-
"type": "address"
|
|
482
|
-
},
|
|
483
463
|
{
|
|
484
464
|
"internalType": "uint256",
|
|
485
465
|
"name": "netSyOut",
|
|
@@ -497,63 +477,6 @@
|
|
|
497
477
|
"stateMutability": "view",
|
|
498
478
|
"type": "function"
|
|
499
479
|
},
|
|
500
|
-
{
|
|
501
|
-
"inputs": [],
|
|
502
|
-
"name": "getBulkSellerFactory",
|
|
503
|
-
"outputs": [
|
|
504
|
-
{
|
|
505
|
-
"internalType": "address",
|
|
506
|
-
"name": "",
|
|
507
|
-
"type": "address"
|
|
508
|
-
}
|
|
509
|
-
],
|
|
510
|
-
"stateMutability": "view",
|
|
511
|
-
"type": "function"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"inputs": [
|
|
515
|
-
{
|
|
516
|
-
"internalType": "address",
|
|
517
|
-
"name": "token",
|
|
518
|
-
"type": "address"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"internalType": "address",
|
|
522
|
-
"name": "SY",
|
|
523
|
-
"type": "address"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"internalType": "uint256",
|
|
527
|
-
"name": "netTokenIn",
|
|
528
|
-
"type": "uint256"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"internalType": "uint256",
|
|
532
|
-
"name": "netSyIn",
|
|
533
|
-
"type": "uint256"
|
|
534
|
-
}
|
|
535
|
-
],
|
|
536
|
-
"name": "getBulkSellerInfo",
|
|
537
|
-
"outputs": [
|
|
538
|
-
{
|
|
539
|
-
"internalType": "address",
|
|
540
|
-
"name": "bulk",
|
|
541
|
-
"type": "address"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"internalType": "uint256",
|
|
545
|
-
"name": "totalToken",
|
|
546
|
-
"type": "uint256"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"internalType": "uint256",
|
|
550
|
-
"name": "totalSy",
|
|
551
|
-
"type": "uint256"
|
|
552
|
-
}
|
|
553
|
-
],
|
|
554
|
-
"stateMutability": "view",
|
|
555
|
-
"type": "function"
|
|
556
|
-
},
|
|
557
480
|
{
|
|
558
481
|
"inputs": [],
|
|
559
482
|
"name": "getDefaultApproxParams",
|
|
@@ -1239,11 +1162,6 @@
|
|
|
1239
1162
|
"internalType": "uint256",
|
|
1240
1163
|
"name": "netTokenIn",
|
|
1241
1164
|
"type": "uint256"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"internalType": "address",
|
|
1245
|
-
"name": "bulk",
|
|
1246
|
-
"type": "address"
|
|
1247
1165
|
}
|
|
1248
1166
|
],
|
|
1249
1167
|
"name": "mintPyFromTokenStatic",
|
|
@@ -1273,11 +1191,6 @@
|
|
|
1273
1191
|
"internalType": "uint256",
|
|
1274
1192
|
"name": "netTokenIn",
|
|
1275
1193
|
"type": "uint256"
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
"internalType": "address",
|
|
1279
|
-
"name": "bulk",
|
|
1280
|
-
"type": "address"
|
|
1281
1194
|
}
|
|
1282
1195
|
],
|
|
1283
1196
|
"name": "mintSyFromTokenStatic",
|
|
@@ -1369,11 +1282,6 @@
|
|
|
1369
1282
|
"internalType": "address",
|
|
1370
1283
|
"name": "tokenOut",
|
|
1371
1284
|
"type": "address"
|
|
1372
|
-
},
|
|
1373
|
-
{
|
|
1374
|
-
"internalType": "address",
|
|
1375
|
-
"name": "bulk",
|
|
1376
|
-
"type": "address"
|
|
1377
1285
|
}
|
|
1378
1286
|
],
|
|
1379
1287
|
"name": "redeemPyToTokenStatic",
|
|
@@ -1403,11 +1311,6 @@
|
|
|
1403
1311
|
"internalType": "uint256",
|
|
1404
1312
|
"name": "netSyIn",
|
|
1405
1313
|
"type": "uint256"
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"internalType": "address",
|
|
1409
|
-
"name": "bulk",
|
|
1410
|
-
"type": "address"
|
|
1411
1314
|
}
|
|
1412
1315
|
],
|
|
1413
1316
|
"name": "redeemSyToTokenStatic",
|
|
@@ -1466,11 +1369,6 @@
|
|
|
1466
1369
|
"internalType": "address",
|
|
1467
1370
|
"name": "tokenOut",
|
|
1468
1371
|
"type": "address"
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"internalType": "address",
|
|
1472
|
-
"name": "bulk",
|
|
1473
|
-
"type": "address"
|
|
1474
1372
|
}
|
|
1475
1373
|
],
|
|
1476
1374
|
"name": "removeLiquidityDualTokenAndPtStatic",
|
|
@@ -1618,11 +1516,6 @@
|
|
|
1618
1516
|
"internalType": "address",
|
|
1619
1517
|
"name": "tokenOut",
|
|
1620
1518
|
"type": "address"
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"internalType": "address",
|
|
1624
|
-
"name": "bulk",
|
|
1625
|
-
"type": "address"
|
|
1626
1519
|
}
|
|
1627
1520
|
],
|
|
1628
1521
|
"name": "removeLiquiditySingleTokenStatic",
|
|
@@ -1671,19 +1564,6 @@
|
|
|
1671
1564
|
"stateMutability": "view",
|
|
1672
1565
|
"type": "function"
|
|
1673
1566
|
},
|
|
1674
|
-
{
|
|
1675
|
-
"inputs": [
|
|
1676
|
-
{
|
|
1677
|
-
"internalType": "address",
|
|
1678
|
-
"name": "_bulkSellerFactory",
|
|
1679
|
-
"type": "address"
|
|
1680
|
-
}
|
|
1681
|
-
],
|
|
1682
|
-
"name": "setBulkSellerFactory",
|
|
1683
|
-
"outputs": [],
|
|
1684
|
-
"stateMutability": "nonpayable",
|
|
1685
|
-
"type": "function"
|
|
1686
|
-
},
|
|
1687
1567
|
{
|
|
1688
1568
|
"inputs": [
|
|
1689
1569
|
{
|
|
@@ -1804,11 +1684,6 @@
|
|
|
1804
1684
|
"internalType": "address",
|
|
1805
1685
|
"name": "tokenOut",
|
|
1806
1686
|
"type": "address"
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"internalType": "address",
|
|
1810
|
-
"name": "bulk",
|
|
1811
|
-
"type": "address"
|
|
1812
1687
|
}
|
|
1813
1688
|
],
|
|
1814
1689
|
"name": "swapExactPtForTokenStatic",
|
|
@@ -1980,11 +1855,6 @@
|
|
|
1980
1855
|
"internalType": "uint256",
|
|
1981
1856
|
"name": "amountTokenIn",
|
|
1982
1857
|
"type": "uint256"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"internalType": "address",
|
|
1986
|
-
"name": "bulk",
|
|
1987
|
-
"type": "address"
|
|
1988
1858
|
}
|
|
1989
1859
|
],
|
|
1990
1860
|
"name": "swapExactTokenForPtStatic",
|
|
@@ -2034,11 +1904,6 @@
|
|
|
2034
1904
|
"internalType": "uint256",
|
|
2035
1905
|
"name": "amountTokenIn",
|
|
2036
1906
|
"type": "uint256"
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"internalType": "address",
|
|
2040
|
-
"name": "bulk",
|
|
2041
|
-
"type": "address"
|
|
2042
1907
|
}
|
|
2043
1908
|
],
|
|
2044
1909
|
"name": "swapExactTokenForYtStatic",
|
|
@@ -2186,11 +2051,6 @@
|
|
|
2186
2051
|
"internalType": "address",
|
|
2187
2052
|
"name": "tokenOut",
|
|
2188
2053
|
"type": "address"
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
"internalType": "address",
|
|
2192
|
-
"name": "bulk",
|
|
2193
|
-
"type": "address"
|
|
2194
2054
|
}
|
|
2195
2055
|
],
|
|
2196
2056
|
"name": "swapExactYtForTokenStatic",
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IRenzoOracle",
|
|
4
|
+
"sourceName": "contracts/interfaces/Renzo/IRenzoOracle.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "tvl",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint256",
|
|
15
|
+
"name": "value",
|
|
16
|
+
"type": "uint256"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint256",
|
|
20
|
+
"name": "supply",
|
|
21
|
+
"type": "uint256"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "calculateMintAmount",
|
|
25
|
+
"outputs": [
|
|
26
|
+
{
|
|
27
|
+
"internalType": "uint256",
|
|
28
|
+
"name": "",
|
|
29
|
+
"type": "uint256"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "token",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "uint256",
|
|
44
|
+
"name": "amount",
|
|
45
|
+
"type": "uint256"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "lookupTokenValue",
|
|
49
|
+
"outputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "uint256",
|
|
52
|
+
"name": "",
|
|
53
|
+
"type": "uint256"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"bytecode": "0x",
|
|
61
|
+
"deployedBytecode": "0x",
|
|
62
|
+
"linkReferences": {},
|
|
63
|
+
"deployedLinkReferences": {}
|
|
64
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IRenzoRestakeManager",
|
|
4
|
+
"sourceName": "contracts/interfaces/Renzo/IRenzoRestakeManager.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "calculateTVLs",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint256[][]",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint256[][]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "uint256[]",
|
|
17
|
+
"name": "",
|
|
18
|
+
"type": "uint256[]"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint256",
|
|
22
|
+
"name": "",
|
|
23
|
+
"type": "uint256"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"stateMutability": "view",
|
|
27
|
+
"type": "function"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputs": [
|
|
31
|
+
{
|
|
32
|
+
"internalType": "uint256",
|
|
33
|
+
"name": "i",
|
|
34
|
+
"type": "uint256"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"name": "collateralTokens",
|
|
38
|
+
"outputs": [
|
|
39
|
+
{
|
|
40
|
+
"internalType": "address",
|
|
41
|
+
"name": "",
|
|
42
|
+
"type": "address"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"stateMutability": "view",
|
|
46
|
+
"type": "function"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "_collateralToken",
|
|
53
|
+
"type": "address"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"internalType": "uint256",
|
|
57
|
+
"name": "_amount",
|
|
58
|
+
"type": "uint256"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"internalType": "uint256",
|
|
62
|
+
"name": "_referralId",
|
|
63
|
+
"type": "uint256"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "deposit",
|
|
67
|
+
"outputs": [],
|
|
68
|
+
"stateMutability": "nonpayable",
|
|
69
|
+
"type": "function"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "_referralId",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"name": "depositETH",
|
|
80
|
+
"outputs": [],
|
|
81
|
+
"stateMutability": "payable",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "renzoOracle",
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "address",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "address"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"bytecode": "0x",
|
|
99
|
+
"deployedBytecode": "0x",
|
|
100
|
+
"linkReferences": {},
|
|
101
|
+
"deployedLinkReferences": {}
|
|
102
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IRswETH",
|
|
4
|
+
"sourceName": "contracts/interfaces/Swell/IRswETH.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "deposit",
|
|
9
|
+
"outputs": [],
|
|
10
|
+
"stateMutability": "payable",
|
|
11
|
+
"type": "function"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"inputs": [
|
|
15
|
+
{
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "referral",
|
|
18
|
+
"type": "address"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"name": "depositWithReferral",
|
|
22
|
+
"outputs": [],
|
|
23
|
+
"stateMutability": "payable",
|
|
24
|
+
"type": "function"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [],
|
|
28
|
+
"name": "getRate",
|
|
29
|
+
"outputs": [
|
|
30
|
+
{
|
|
31
|
+
"internalType": "uint256",
|
|
32
|
+
"name": "",
|
|
33
|
+
"type": "uint256"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"stateMutability": "view",
|
|
37
|
+
"type": "function"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"bytecode": "0x",
|
|
41
|
+
"deployedBytecode": "0x",
|
|
42
|
+
"linkReferences": {},
|
|
43
|
+
"deployedLinkReferences": {}
|
|
44
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_format": "hh-sol-artifact-1",
|
|
3
3
|
"contractName": "ISwETH",
|
|
4
|
-
"sourceName": "contracts/interfaces/ISwETH.sol",
|
|
4
|
+
"sourceName": "contracts/interfaces/Swell/ISwETH.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"inputs": [],
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
"type": "function"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"inputs": [
|
|
15
|
-
"name": "ethToSwETHRate",
|
|
16
|
-
"outputs": [
|
|
14
|
+
"inputs": [
|
|
17
15
|
{
|
|
18
|
-
"internalType": "
|
|
19
|
-
"name": "",
|
|
20
|
-
"type": "
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "referral",
|
|
18
|
+
"type": "address"
|
|
21
19
|
}
|
|
22
20
|
],
|
|
23
|
-
"
|
|
21
|
+
"name": "depositWithReferral",
|
|
22
|
+
"outputs": [],
|
|
23
|
+
"stateMutability": "payable",
|
|
24
24
|
"type": "function"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "PendleRouterStatic",
|
|
4
|
+
"sourceName": "contracts/offchain-helpers/router-static/PendleRouterStatic.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "actionStorage",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"stateMutability": "nonpayable",
|
|
15
|
+
"type": "constructor"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"stateMutability": "payable",
|
|
19
|
+
"type": "fallback"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"stateMutability": "payable",
|
|
23
|
+
"type": "receive"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"bytecode": "0x608060405234801561001057600080fd5b506040516101b33803806101b383398101604081905261002f91610090565b60008054336001600160a01b03199182161782556323b7d3cd60e21b90915260026020527fbc02cc0ac50b26a9ecfbd19a445fa7f71dbc9c12c0d1e45ba9bd4990843c174e80549091166001600160a01b03929092169190911790556100c0565b6000602082840312156100a257600080fd5b81516001600160a01b03811681146100b957600080fd5b9392505050565b60e5806100ce6000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b608c565b565b600080356001600160e01b0319168152600260205260409020546001600160a01b03168060895760405162461bcd60e51b81526020600482015260126024820152711cd95b1958dd1bdc881b9bdd08199bdd5b9960721b604482015260640160405180910390fd5b90565b3660008037600080366000845af43d6000803e80801560aa573d6000f35b3d6000fdfea2646970667358221220cfe1bcec216447a5236809b53181bbfc4b397ecada3c512289f2258ed4f00ac864736f6c63430008170033",
|
|
27
|
+
"deployedBytecode": "0x608060405236601057600e6013565b005b600e5b601f601b6021565b608c565b565b600080356001600160e01b0319168152600260205260409020546001600160a01b03168060895760405162461bcd60e51b81526020600482015260126024820152711cd95b1958dd1bdc881b9bdd08199bdd5b9960721b604482015260640160405180910390fd5b90565b3660008037600080366000845af43d6000803e80801560aa573d6000f35b3d6000fdfea2646970667358221220cfe1bcec216447a5236809b53181bbfc4b397ecada3c512289f2258ed4f00ac864736f6c63430008170033",
|
|
28
|
+
"linkReferences": {},
|
|
29
|
+
"deployedLinkReferences": {}
|
|
30
|
+
}
|