@pendle/core-v2 2.17.1-tradingbot → 2.17.3-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.
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.json +15 -8
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotActionHelper.sol/BotActionHelper.json +15 -8
- package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/BotDecisionLib.sol/BotDecisionLib.json +560 -3
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +77 -78
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +15 -8
- package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/TradingBot/TradingBotOffchain.sol/TradingBotOffchain.json +30 -48
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +15 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +0 -18
- package/contracts/core/TradingBot/BotActionHelper.sol +4 -2
- package/contracts/core/TradingBot/LongYieldTradingBot.sol +2 -2
- package/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol +1 -1
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +16 -12
- package/typechain-types/BotActionHelper.ts +16 -12
- package/typechain-types/BotDecisionLib.ts +330 -0
- package/typechain-types/ILongYieldTradingBot.ts +15 -3
- package/typechain-types/ITradingBotBase.ts +0 -36
- package/typechain-types/LongYieldTradingBot.ts +79 -37
- package/typechain-types/TradingBotBase.ts +16 -12
- package/typechain-types/TradingBotOffchain.ts +19 -0
- package/typechain-types/factories/BotActionCallback__factory.ts +15 -8
- package/typechain-types/factories/BotActionHelper__factory.ts +15 -8
- package/typechain-types/factories/BotDecisionLib__factory.ts +620 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +15 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +0 -18
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +80 -82
- package/typechain-types/factories/TradingBotBase__factory.ts +15 -8
- package/typechain-types/factories/TradingBotOffchain__factory.ts +36 -49
- package/typechain-types/hardhat.d.ts +9 -0
- package/typechain-types/index.ts +2 -0
package/build/artifacts/contracts/core/TradingBot/BotActionCallback.sol/BotActionCallback.json
CHANGED
|
@@ -203,14 +203,21 @@
|
|
|
203
203
|
{
|
|
204
204
|
"inputs": [
|
|
205
205
|
{
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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",
|
|
@@ -203,14 +203,21 @@
|
|
|
203
203
|
{
|
|
204
204
|
"inputs": [
|
|
205
205
|
{
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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",
|