@crypticdot/defituna-api 1.1.37 → 1.1.38
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.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1233,7 +1233,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1233
1233
|
amount: bigint;
|
|
1234
1234
|
usd: number;
|
|
1235
1235
|
}>;
|
|
1236
|
-
|
|
1236
|
+
unstakeCooldownSeconds: z.ZodNumber;
|
|
1237
1237
|
}, "strip", z.ZodTypeAny, {
|
|
1238
1238
|
address: string;
|
|
1239
1239
|
stakedTokenMint: string;
|
|
@@ -1247,7 +1247,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1247
1247
|
amount: bigint;
|
|
1248
1248
|
usd: number;
|
|
1249
1249
|
};
|
|
1250
|
-
|
|
1250
|
+
unstakeCooldownSeconds: number;
|
|
1251
1251
|
}, {
|
|
1252
1252
|
address: string;
|
|
1253
1253
|
stakedTokenMint: string;
|
|
@@ -1261,7 +1261,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1261
1261
|
amount: bigint;
|
|
1262
1262
|
usd: number;
|
|
1263
1263
|
};
|
|
1264
|
-
|
|
1264
|
+
unstakeCooldownSeconds: number;
|
|
1265
1265
|
}>;
|
|
1266
1266
|
declare const StakingPosition$1: z.ZodObject<{
|
|
1267
1267
|
address: z.ZodString;
|
|
@@ -1328,8 +1328,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1328
1328
|
usd: number;
|
|
1329
1329
|
}>;
|
|
1330
1330
|
unlockRate: z.ZodBigInt;
|
|
1331
|
-
|
|
1332
|
-
|
|
1331
|
+
unlockEverySeconds: z.ZodNumber;
|
|
1332
|
+
unlockCliffSeconds: z.ZodNumber;
|
|
1333
1333
|
lockedAt: z.ZodNullable<z.ZodDate>;
|
|
1334
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1335
1335
|
locked: {
|
|
@@ -1341,8 +1341,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1341
1341
|
usd: number;
|
|
1342
1342
|
};
|
|
1343
1343
|
unlockRate: bigint;
|
|
1344
|
-
|
|
1345
|
-
|
|
1344
|
+
unlockEverySeconds: number;
|
|
1345
|
+
unlockCliffSeconds: number;
|
|
1346
1346
|
lockedAt: Date | null;
|
|
1347
1347
|
}, {
|
|
1348
1348
|
locked: {
|
|
@@ -1354,8 +1354,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1354
1354
|
usd: number;
|
|
1355
1355
|
};
|
|
1356
1356
|
unlockRate: bigint;
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
unlockEverySeconds: number;
|
|
1358
|
+
unlockCliffSeconds: number;
|
|
1359
1359
|
lockedAt: Date | null;
|
|
1360
1360
|
}>;
|
|
1361
1361
|
lastUnstakedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -1389,8 +1389,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1389
1389
|
usd: number;
|
|
1390
1390
|
};
|
|
1391
1391
|
unlockRate: bigint;
|
|
1392
|
-
|
|
1393
|
-
|
|
1392
|
+
unlockEverySeconds: number;
|
|
1393
|
+
unlockCliffSeconds: number;
|
|
1394
1394
|
lockedAt: Date | null;
|
|
1395
1395
|
};
|
|
1396
1396
|
lastUnstakedAt: Date | null;
|
|
@@ -1424,8 +1424,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1424
1424
|
usd: number;
|
|
1425
1425
|
};
|
|
1426
1426
|
unlockRate: bigint;
|
|
1427
|
-
|
|
1428
|
-
|
|
1427
|
+
unlockEverySeconds: number;
|
|
1428
|
+
unlockCliffSeconds: number;
|
|
1429
1429
|
lockedAt: Date | null;
|
|
1430
1430
|
};
|
|
1431
1431
|
lastUnstakedAt: Date | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1233,7 +1233,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1233
1233
|
amount: bigint;
|
|
1234
1234
|
usd: number;
|
|
1235
1235
|
}>;
|
|
1236
|
-
|
|
1236
|
+
unstakeCooldownSeconds: z.ZodNumber;
|
|
1237
1237
|
}, "strip", z.ZodTypeAny, {
|
|
1238
1238
|
address: string;
|
|
1239
1239
|
stakedTokenMint: string;
|
|
@@ -1247,7 +1247,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1247
1247
|
amount: bigint;
|
|
1248
1248
|
usd: number;
|
|
1249
1249
|
};
|
|
1250
|
-
|
|
1250
|
+
unstakeCooldownSeconds: number;
|
|
1251
1251
|
}, {
|
|
1252
1252
|
address: string;
|
|
1253
1253
|
stakedTokenMint: string;
|
|
@@ -1261,7 +1261,7 @@ declare const StakingTreasury$1: z.ZodObject<{
|
|
|
1261
1261
|
amount: bigint;
|
|
1262
1262
|
usd: number;
|
|
1263
1263
|
};
|
|
1264
|
-
|
|
1264
|
+
unstakeCooldownSeconds: number;
|
|
1265
1265
|
}>;
|
|
1266
1266
|
declare const StakingPosition$1: z.ZodObject<{
|
|
1267
1267
|
address: z.ZodString;
|
|
@@ -1328,8 +1328,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1328
1328
|
usd: number;
|
|
1329
1329
|
}>;
|
|
1330
1330
|
unlockRate: z.ZodBigInt;
|
|
1331
|
-
|
|
1332
|
-
|
|
1331
|
+
unlockEverySeconds: z.ZodNumber;
|
|
1332
|
+
unlockCliffSeconds: z.ZodNumber;
|
|
1333
1333
|
lockedAt: z.ZodNullable<z.ZodDate>;
|
|
1334
1334
|
}, "strip", z.ZodTypeAny, {
|
|
1335
1335
|
locked: {
|
|
@@ -1341,8 +1341,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1341
1341
|
usd: number;
|
|
1342
1342
|
};
|
|
1343
1343
|
unlockRate: bigint;
|
|
1344
|
-
|
|
1345
|
-
|
|
1344
|
+
unlockEverySeconds: number;
|
|
1345
|
+
unlockCliffSeconds: number;
|
|
1346
1346
|
lockedAt: Date | null;
|
|
1347
1347
|
}, {
|
|
1348
1348
|
locked: {
|
|
@@ -1354,8 +1354,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1354
1354
|
usd: number;
|
|
1355
1355
|
};
|
|
1356
1356
|
unlockRate: bigint;
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
unlockEverySeconds: number;
|
|
1358
|
+
unlockCliffSeconds: number;
|
|
1359
1359
|
lockedAt: Date | null;
|
|
1360
1360
|
}>;
|
|
1361
1361
|
lastUnstakedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -1389,8 +1389,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1389
1389
|
usd: number;
|
|
1390
1390
|
};
|
|
1391
1391
|
unlockRate: bigint;
|
|
1392
|
-
|
|
1393
|
-
|
|
1392
|
+
unlockEverySeconds: number;
|
|
1393
|
+
unlockCliffSeconds: number;
|
|
1394
1394
|
lockedAt: Date | null;
|
|
1395
1395
|
};
|
|
1396
1396
|
lastUnstakedAt: Date | null;
|
|
@@ -1424,8 +1424,8 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1424
1424
|
usd: number;
|
|
1425
1425
|
};
|
|
1426
1426
|
unlockRate: bigint;
|
|
1427
|
-
|
|
1428
|
-
|
|
1427
|
+
unlockEverySeconds: number;
|
|
1428
|
+
unlockCliffSeconds: number;
|
|
1429
1429
|
lockedAt: Date | null;
|
|
1430
1430
|
};
|
|
1431
1431
|
lastUnstakedAt: Date | null;
|
package/dist/index.js
CHANGED
|
@@ -376,7 +376,7 @@ var StakingTreasury = import_zod.z.object({
|
|
|
376
376
|
apy: import_zod.z.number(),
|
|
377
377
|
totalStaked: amountWithUsd,
|
|
378
378
|
totalReward: amountWithUsd,
|
|
379
|
-
|
|
379
|
+
unstakeCooldownSeconds: import_zod.z.number()
|
|
380
380
|
});
|
|
381
381
|
var StakingPosition = import_zod.z.object({
|
|
382
382
|
address: import_zod.z.string(),
|
|
@@ -389,8 +389,8 @@ var StakingPosition = import_zod.z.object({
|
|
|
389
389
|
locked: amountWithUsd,
|
|
390
390
|
unlocked: amountWithUsd,
|
|
391
391
|
unlockRate: import_zod.z.coerce.bigint(),
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
unlockEverySeconds: import_zod.z.number(),
|
|
393
|
+
unlockCliffSeconds: import_zod.z.number(),
|
|
394
394
|
lockedAt: import_zod.z.nullable(import_zod.z.date())
|
|
395
395
|
}),
|
|
396
396
|
lastUnstakedAt: import_zod.z.nullable(import_zod.z.date()),
|
package/dist/index.mjs
CHANGED
|
@@ -341,7 +341,7 @@ var StakingTreasury = z.object({
|
|
|
341
341
|
apy: z.number(),
|
|
342
342
|
totalStaked: amountWithUsd,
|
|
343
343
|
totalReward: amountWithUsd,
|
|
344
|
-
|
|
344
|
+
unstakeCooldownSeconds: z.number()
|
|
345
345
|
});
|
|
346
346
|
var StakingPosition = z.object({
|
|
347
347
|
address: z.string(),
|
|
@@ -354,8 +354,8 @@ var StakingPosition = z.object({
|
|
|
354
354
|
locked: amountWithUsd,
|
|
355
355
|
unlocked: amountWithUsd,
|
|
356
356
|
unlockRate: z.coerce.bigint(),
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
unlockEverySeconds: z.number(),
|
|
358
|
+
unlockCliffSeconds: z.number(),
|
|
359
359
|
lockedAt: z.nullable(z.date())
|
|
360
360
|
}),
|
|
361
361
|
lastUnstakedAt: z.nullable(z.date()),
|