@pendle/core-v2 2.19.0-tradingbot → 2.19.1-tradingbot

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 (60) hide show
  1. package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldActionHelper.sol/LongYieldActionHelper.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/TradingBot/{base/BotActionHelper.sol/BotActionHelper.json → LongYield/LongYieldActionHelper.sol/LongYieldActionHelper.json} +2 -119
  3. package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.json +2 -2
  5. package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol/LongYieldTradingBot.json +2 -119
  7. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldActionHelper.sol/ShortYieldActionHelper.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldActionHelper.sol/ShortYieldActionHelper.json +765 -0
  9. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldDecisionHelper.sol/ShortYieldDecisionHelper.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldDecisionHelper.sol/ShortYieldDecisionHelper.json +2 -2
  11. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol/ShortYieldTradingBot.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol/ShortYieldTradingBot.json +6 -173
  13. package/build/artifacts/contracts/core/TradingBot/base/BotActionCallback.sol/BotActionCallback.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/TradingBot/base/BotActionCallback.sol/BotActionCallback.json +0 -117
  15. package/build/artifacts/contracts/core/TradingBot/base/BotDecisionHelperBase.sol/BotDecisionHelperBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/TradingBot/base/TradingBotBase.sol/TradingBotBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/TradingBot/base/TradingBotBase.sol/TradingBotBase.json +0 -117
  18. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.json +2 -2
  20. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.json +2 -2
  22. package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +0 -117
  26. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.json +4 -121
  29. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +0 -117
  31. package/contracts/core/TradingBot/{base/BotActionHelper.sol → LongYield/LongYieldActionHelper.sol} +4 -81
  32. package/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol +2 -2
  33. package/contracts/core/TradingBot/ShortYield/ShortYieldActionHelper.sol +54 -0
  34. package/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol +2 -2
  35. package/contracts/core/TradingBot/base/TradingBotBase.sol +5 -5
  36. package/contracts/interfaces/TradingBot/ITradingBotBase.sol +0 -4
  37. package/package.json +1 -1
  38. package/typechain-types/BotActionCallback.ts +0 -50
  39. package/typechain-types/ILongYieldTradingBot.ts +0 -50
  40. package/typechain-types/IShortYieldTradingBot.ts +2 -52
  41. package/typechain-types/ITradingBotBase.ts +0 -50
  42. package/typechain-types/LongYieldActionHelper.ts +900 -0
  43. package/typechain-types/LongYieldTradingBot.ts +0 -50
  44. package/typechain-types/ShortYieldActionHelper.ts +856 -0
  45. package/typechain-types/ShortYieldTradingBot.ts +2 -96
  46. package/typechain-types/TradingBotBase.ts +0 -50
  47. package/typechain-types/factories/BotActionCallback__factory.ts +0 -117
  48. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -117
  49. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +4 -121
  50. package/typechain-types/factories/ITradingBotBase__factory.ts +0 -117
  51. package/typechain-types/factories/LongYieldActionHelper__factory.ts +834 -0
  52. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1 -1
  53. package/typechain-types/factories/LongYieldTradingBot__factory.ts +1 -118
  54. package/typechain-types/factories/ShortYieldActionHelper__factory.ts +784 -0
  55. package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1 -1
  56. package/typechain-types/factories/ShortYieldTradingBot__factory.ts +5 -172
  57. package/typechain-types/factories/TradingBotBase__factory.ts +0 -117
  58. package/typechain-types/hardhat.d.ts +18 -0
  59. package/typechain-types/index.ts +4 -0
  60. package/build/artifacts/contracts/core/TradingBot/base/BotActionHelper.sol/BotActionHelper.dbg.json +0 -4
@@ -312,6 +312,10 @@ declare module "hardhat/types/runtime" {
312
312
  name: "MarketExtLib",
313
313
  signerOrOptions?: ethers.Signer | FactoryOptions
314
314
  ): Promise<Contracts.MarketExtLib__factory>;
315
+ getContractFactory(
316
+ name: "LongYieldActionHelper",
317
+ signerOrOptions?: ethers.Signer | FactoryOptions
318
+ ): Promise<Contracts.LongYieldActionHelper__factory>;
315
319
  getContractFactory(
316
320
  name: "LongYieldDecisionHelper",
317
321
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -320,6 +324,10 @@ declare module "hardhat/types/runtime" {
320
324
  name: "LongYieldTradingBot",
321
325
  signerOrOptions?: ethers.Signer | FactoryOptions
322
326
  ): Promise<Contracts.LongYieldTradingBot__factory>;
327
+ getContractFactory(
328
+ name: "ShortYieldActionHelper",
329
+ signerOrOptions?: ethers.Signer | FactoryOptions
330
+ ): Promise<Contracts.ShortYieldActionHelper__factory>;
323
331
  getContractFactory(
324
332
  name: "ShortYieldDecisionHelper",
325
333
  signerOrOptions?: ethers.Signer | FactoryOptions
@@ -1308,6 +1316,11 @@ declare module "hardhat/types/runtime" {
1308
1316
  address: string,
1309
1317
  signer?: ethers.Signer
1310
1318
  ): Promise<Contracts.MarketExtLib>;
1319
+ getContractAt(
1320
+ name: "LongYieldActionHelper",
1321
+ address: string,
1322
+ signer?: ethers.Signer
1323
+ ): Promise<Contracts.LongYieldActionHelper>;
1311
1324
  getContractAt(
1312
1325
  name: "LongYieldDecisionHelper",
1313
1326
  address: string,
@@ -1318,6 +1331,11 @@ declare module "hardhat/types/runtime" {
1318
1331
  address: string,
1319
1332
  signer?: ethers.Signer
1320
1333
  ): Promise<Contracts.LongYieldTradingBot>;
1334
+ getContractAt(
1335
+ name: "ShortYieldActionHelper",
1336
+ address: string,
1337
+ signer?: ethers.Signer
1338
+ ): Promise<Contracts.ShortYieldActionHelper>;
1321
1339
  getContractAt(
1322
1340
  name: "ShortYieldDecisionHelper",
1323
1341
  address: string,
@@ -76,8 +76,10 @@ export type { BotActionHelper } from "./BotActionHelper";
76
76
  export type { BotDecisionHelperBase } from "./BotDecisionHelperBase";
77
77
  export type { TradingBotBase } from "./TradingBotBase";
78
78
  export type { MarketExtLib } from "./MarketExtLib";
79
+ export type { LongYieldActionHelper } from "./LongYieldActionHelper";
79
80
  export type { LongYieldDecisionHelper } from "./LongYieldDecisionHelper";
80
81
  export type { LongYieldTradingBot } from "./LongYieldTradingBot";
82
+ export type { ShortYieldActionHelper } from "./ShortYieldActionHelper";
81
83
  export type { ShortYieldDecisionHelper } from "./ShortYieldDecisionHelper";
82
84
  export type { ShortYieldTradingBot } from "./ShortYieldTradingBot";
83
85
  export type { InterestManagerYT } from "./InterestManagerYT";
@@ -307,8 +309,10 @@ export { BotActionHelper__factory } from "./factories/BotActionHelper__factory";
307
309
  export { BotDecisionHelperBase__factory } from "./factories/BotDecisionHelperBase__factory";
308
310
  export { TradingBotBase__factory } from "./factories/TradingBotBase__factory";
309
311
  export { MarketExtLib__factory } from "./factories/MarketExtLib__factory";
312
+ export { LongYieldActionHelper__factory } from "./factories/LongYieldActionHelper__factory";
310
313
  export { LongYieldDecisionHelper__factory } from "./factories/LongYieldDecisionHelper__factory";
311
314
  export { LongYieldTradingBot__factory } from "./factories/LongYieldTradingBot__factory";
315
+ export { ShortYieldActionHelper__factory } from "./factories/ShortYieldActionHelper__factory";
312
316
  export { ShortYieldDecisionHelper__factory } from "./factories/ShortYieldDecisionHelper__factory";
313
317
  export { ShortYieldTradingBot__factory } from "./factories/ShortYieldTradingBot__factory";
314
318
  export { InterestManagerYT__factory } from "./factories/InterestManagerYT__factory";
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/3d6c17b9f62ecbb53e8390fa955e4fde.json"
4
- }