@pendle/core-v2 2.17.1-tradingbot → 2.17.2-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 (35) hide show
  1. package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.json +15 -8
  3. package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.json +15 -8
  5. package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.json +560 -3
  7. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +72 -78
  9. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +15 -8
  11. package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.json +30 -48
  13. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +10 -0
  15. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +0 -18
  17. package/package.json +1 -1
  18. package/typechain-types/BotActionCallback.ts +16 -12
  19. package/typechain-types/BotActionHelper.ts +16 -12
  20. package/typechain-types/BotDecisionLib.ts +330 -0
  21. package/typechain-types/ILongYieldTradingBot.ts +10 -2
  22. package/typechain-types/ITradingBotBase.ts +0 -36
  23. package/typechain-types/LongYieldTradingBot.ts +74 -36
  24. package/typechain-types/TradingBotBase.ts +16 -12
  25. package/typechain-types/TradingBotOffchain.ts +19 -0
  26. package/typechain-types/factories/BotActionCallback__factory.ts +15 -8
  27. package/typechain-types/factories/BotActionHelper__factory.ts +15 -8
  28. package/typechain-types/factories/BotDecisionLib__factory.ts +620 -0
  29. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +10 -0
  30. package/typechain-types/factories/ITradingBotBase__factory.ts +0 -18
  31. package/typechain-types/factories/LongYieldTradingBot__factory.ts +75 -82
  32. package/typechain-types/factories/TradingBotBase__factory.ts +15 -8
  33. package/typechain-types/factories/TradingBotOffchain__factory.ts +36 -49
  34. package/typechain-types/hardhat.d.ts +9 -0
  35. package/typechain-types/index.ts +2 -0
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/5c3de2907fbe79e061fec785d27e50e4.json"
3
+ "buildInfo": "../../../../build-info/fce85bdc27ce8a2eb27931e27bdb334a.json"
4
4
  }
@@ -203,14 +203,21 @@
203
203
  {
204
204
  "inputs": [
205
205
  {
206
- "internalType": "address",
207
- "name": "token",
208
- "type": "address"
209
- },
210
- {
211
- "internalType": "address",
212
- "name": "spender",
213
- "type": "address"
206
+ "components": [
207
+ {
208
+ "internalType": "address[]",
209
+ "name": "tokens",
210
+ "type": "address[]"
211
+ },
212
+ {
213
+ "internalType": "address",
214
+ "name": "spender",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "internalType": "struct ITradingBotBase.MultiApproval[]",
219
+ "name": "arr",
220
+ "type": "tuple[]"
214
221
  }
215
222
  ],
216
223
  "name": "approveInf",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/5c3de2907fbe79e061fec785d27e50e4.json"
3
+ "buildInfo": "../../../../build-info/fce85bdc27ce8a2eb27931e27bdb334a.json"
4
4
  }
@@ -203,14 +203,21 @@
203
203
  {
204
204
  "inputs": [
205
205
  {
206
- "internalType": "address",
207
- "name": "token",
208
- "type": "address"
209
- },
210
- {
211
- "internalType": "address",
212
- "name": "spender",
213
- "type": "address"
206
+ "components": [
207
+ {
208
+ "internalType": "address[]",
209
+ "name": "tokens",
210
+ "type": "address[]"
211
+ },
212
+ {
213
+ "internalType": "address",
214
+ "name": "spender",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "internalType": "struct ITradingBotBase.MultiApproval[]",
219
+ "name": "arr",
220
+ "type": "tuple[]"
214
221
  }
215
222
  ],
216
223
  "name": "approveInf",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/5c3de2907fbe79e061fec785d27e50e4.json"
3
+ "buildInfo": "../../../../build-info/fce85bdc27ce8a2eb27931e27bdb334a.json"
4
4
  }