keyring-agent-core 0.2.59 → 0.2.60
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/dist/index.d.ts +41 -28
- package/dist/index.js +67 -67
- package/dist/index.native.js +163 -163
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5556,6 +5556,17 @@ interface ApyReward {
|
|
|
5556
5556
|
apyPercent: number;
|
|
5557
5557
|
/** Symbol of the token paid out, when the source names one. */
|
|
5558
5558
|
tokenSymbol: string | null;
|
|
5559
|
+
/**
|
|
5560
|
+
* What a supplier must do to actually earn this rate, in the source's own
|
|
5561
|
+
* words; null when the programme is unconditional.
|
|
5562
|
+
*
|
|
5563
|
+
* Present because a conditional rate and an unconditional one look identical
|
|
5564
|
+
* as numbers: Aave's USDe programme pays only to a supplier who also holds
|
|
5565
|
+
* sUSDe and borrows against it, while its USDtb programme asks essentially
|
|
5566
|
+
* nothing. Both are counted in {@link LendingMarketOverview.rewardApyPercent},
|
|
5567
|
+
* so this is what tells the two apart.
|
|
5568
|
+
*/
|
|
5569
|
+
conditions: string | null;
|
|
5559
5570
|
}
|
|
5560
5571
|
/** A lending market plus its live rate and size — what you'd compare before supplying. */
|
|
5561
5572
|
interface LendingMarketOverview extends LendingMarket {
|
|
@@ -6301,19 +6312,6 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6301
6312
|
marketCount: number;
|
|
6302
6313
|
totalMarketsAvailable: number;
|
|
6303
6314
|
markets: {
|
|
6304
|
-
marketName: string;
|
|
6305
|
-
protocol: string;
|
|
6306
|
-
protocolUrl: string | null;
|
|
6307
|
-
chain: string;
|
|
6308
|
-
avgApyPercent: number | null;
|
|
6309
|
-
avgApyDays: number;
|
|
6310
|
-
currentApyPercent: number | null;
|
|
6311
|
-
baseApyPercent: number | null;
|
|
6312
|
-
rewardApyPercent: number | null;
|
|
6313
|
-
rewards: {
|
|
6314
|
-
apyPercent: number | null;
|
|
6315
|
-
tokenSymbol: string | null;
|
|
6316
|
-
}[];
|
|
6317
6315
|
apyChangePercent: number | null;
|
|
6318
6316
|
totalSuppliedUsdc: number | null;
|
|
6319
6317
|
/**
|
|
@@ -6323,6 +6321,20 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6323
6321
|
*/
|
|
6324
6322
|
suppliedAssetSymbol: string | null;
|
|
6325
6323
|
platformScore: number | null;
|
|
6324
|
+
currentApyPercent: number | null;
|
|
6325
|
+
baseApyPercent: number | null;
|
|
6326
|
+
rewardApyPercent: number | null;
|
|
6327
|
+
rewards: {
|
|
6328
|
+
apyPercent: number;
|
|
6329
|
+
tokenSymbol: string | null;
|
|
6330
|
+
conditions: string | null;
|
|
6331
|
+
}[];
|
|
6332
|
+
marketName: string;
|
|
6333
|
+
protocol: string;
|
|
6334
|
+
protocolUrl: string | null;
|
|
6335
|
+
chain: string;
|
|
6336
|
+
avgApyPercent: number | null;
|
|
6337
|
+
avgApyDays: number;
|
|
6326
6338
|
}[];
|
|
6327
6339
|
protocolFilter?: string | undefined;
|
|
6328
6340
|
chain: string;
|
|
@@ -6410,21 +6422,6 @@ declare class WalletLendingPositionsTool extends BaseTool {
|
|
|
6410
6422
|
weightedAvgApyPercent: number | null;
|
|
6411
6423
|
};
|
|
6412
6424
|
positions: {
|
|
6413
|
-
marketName: string;
|
|
6414
|
-
protocol: string;
|
|
6415
|
-
protocolUrl: string | null;
|
|
6416
|
-
chain: string;
|
|
6417
|
-
suppliedUsdc: number | null;
|
|
6418
|
-
/** What `suppliedUsdc` and `estimatedAnnualYieldUsdc` are denominated in. */
|
|
6419
|
-
suppliedAssetSymbol: string | null;
|
|
6420
|
-
avgApyPercent: number | null;
|
|
6421
|
-
currentApyPercent: number | null;
|
|
6422
|
-
baseApyPercent: number | null;
|
|
6423
|
-
rewardApyPercent: number | null;
|
|
6424
|
-
rewards: {
|
|
6425
|
-
apyPercent: number | null;
|
|
6426
|
-
tokenSymbol: string | null;
|
|
6427
|
-
}[];
|
|
6428
6425
|
apyChangePercent: number | null;
|
|
6429
6426
|
estimatedAnnualYieldUsdc: number | null;
|
|
6430
6427
|
marketTotalSuppliedUsdc: number | null;
|
|
@@ -6433,6 +6430,22 @@ declare class WalletLendingPositionsTool extends BaseTool {
|
|
|
6433
6430
|
date: string;
|
|
6434
6431
|
}[];
|
|
6435
6432
|
platformScore: number | null;
|
|
6433
|
+
currentApyPercent: number | null;
|
|
6434
|
+
baseApyPercent: number | null;
|
|
6435
|
+
rewardApyPercent: number | null;
|
|
6436
|
+
rewards: {
|
|
6437
|
+
apyPercent: number;
|
|
6438
|
+
tokenSymbol: string | null;
|
|
6439
|
+
conditions: string | null;
|
|
6440
|
+
}[];
|
|
6441
|
+
marketName: string;
|
|
6442
|
+
protocol: string;
|
|
6443
|
+
protocolUrl: string | null;
|
|
6444
|
+
chain: string;
|
|
6445
|
+
suppliedUsdc: number | null;
|
|
6446
|
+
/** What `suppliedUsdc` and `estimatedAnnualYieldUsdc` are denominated in. */
|
|
6447
|
+
suppliedAssetSymbol: string | null;
|
|
6448
|
+
avgApyPercent: number | null;
|
|
6436
6449
|
}[];
|
|
6437
6450
|
error?: undefined;
|
|
6438
6451
|
chainsWithLendingMarkets?: undefined;
|