@iotexproject/kit 0.0.77 → 0.0.79

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 (2) hide show
  1. package/dist/index.d.ts +54 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1848,6 +1848,7 @@ declare class ERC721Entity {
1848
1848
  decimals: string;
1849
1849
  isZero: boolean;
1850
1850
  }>;
1851
+ balanceOfTokenIds(account?: `0x${string}`): Promise<any>;
1851
1852
  MINTER_ROLE: () => Promise<any>;
1852
1853
  PAUSER_ROLE: () => Promise<any>;
1853
1854
  totalSupply: () => Promise<any>;
@@ -3377,6 +3378,8 @@ declare class GaugeEntity {
3377
3378
  readonly type: "function";
3378
3379
  }
3379
3380
  ];
3381
+ StakingToken: ERC20Entity;
3382
+ Incentive: IncentivesEntity;
3380
3383
  /**
3381
3384
  * @important : This property is distinguished from the other gauge and is the gauge that owns tax
3382
3385
  */
@@ -3410,6 +3413,9 @@ declare class GaugeEntity {
3410
3413
  balanceOf: false | [
3411
3414
  `0x${string}`
3412
3415
  ];
3416
+ balanceOfTokenIds: false | [
3417
+ `0x${string}`
3418
+ ];
3413
3419
  }> | import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
3414
3420
  name: true;
3415
3421
  symbol: true;
@@ -3441,9 +3447,18 @@ declare class GaugeEntity {
3441
3447
  isZero: boolean;
3442
3448
  };
3443
3449
  balanceOfUSD: string;
3444
- }>;
3445
- StakingToken: ERC20Entity;
3446
- Incentive: IncentivesEntity;
3450
+ balanceOfTokenIds?: undefined;
3451
+ } | {
3452
+ balanceOf: {
3453
+ value: string;
3454
+ format: string;
3455
+ originFormat: string;
3456
+ decimals: string;
3457
+ isZero: boolean;
3458
+ };
3459
+ balanceOfTokenIds: number[];
3460
+ balanceOfUSD: string;
3461
+ } | undefined>;
3447
3462
  totalSupply(): Promise<{
3448
3463
  totalSupply: {
3449
3464
  value: string;
@@ -3454,6 +3469,26 @@ declare class GaugeEntity {
3454
3469
  };
3455
3470
  totalSupplyUSD: string;
3456
3471
  }>;
3472
+ gaugeCurrentRewards(): Promise<{
3473
+ rewards: {
3474
+ value: string;
3475
+ format: string;
3476
+ originFormat: string;
3477
+ decimals: string;
3478
+ isZero: boolean;
3479
+ };
3480
+ rewardsUSD: string;
3481
+ }>;
3482
+ userDailyRewards(account: `0x${string}`): Promise<{
3483
+ rewards: {
3484
+ value: string;
3485
+ format: string;
3486
+ originFormat: string;
3487
+ decimals: string;
3488
+ isZero: boolean;
3489
+ };
3490
+ rewardsUSD: string;
3491
+ }>;
3457
3492
  votes(account: `0x${string}`): Promise<{
3458
3493
  votes: string;
3459
3494
  percent: string;
@@ -5326,6 +5361,10 @@ declare class MarshallDao {
5326
5361
  rewards: false | [
5327
5362
  `0x${string}`
5328
5363
  ];
5364
+ userDailyRewards: false | [
5365
+ `0x${string}`
5366
+ ];
5367
+ gaugeCurrentRewards: true;
5329
5368
  balanceOf: false | [
5330
5369
  `0x${string}`
5331
5370
  ];
@@ -8205,10 +8244,20 @@ declare class Account extends BaseDBModule {
8205
8244
  }): Promise<{
8206
8245
  list: any;
8207
8246
  }>;
8247
+ balanceChartV2({ address, mode }: {
8248
+ address: string;
8249
+ mode: "24hr" | "7day" | "30day" | "365day";
8250
+ }): Promise<{
8251
+ list: [
8252
+ number,
8253
+ number
8254
+ ][];
8255
+ } | undefined>;
8256
+ private convertBalanceChartData;
8208
8257
  getXrc20Tokens({ address }: {
8209
8258
  address: string;
8210
8259
  }): Promise<{
8211
- tokens: postgres.RowList<postgres.Row[]>;
8260
+ tokens: import("postgres").RowList<import("postgres").Row[]>;
8212
8261
  }>;
8213
8262
  }
8214
8263
  declare class Analysis extends BaseDBModule {
@@ -8273,7 +8322,7 @@ declare class Transaction extends BaseDBModule {
8273
8322
  startCursor?: number;
8274
8323
  endCursor?: number;
8275
8324
  }): Promise<{
8276
- data: import("postgres").RowList<import("postgres").Row[]>;
8325
+ data: import("postgres").Row[];
8277
8326
  startCursor: any;
8278
8327
  endCursor: any;
8279
8328
  }>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.0.77",
5
+ "version": "v0.0.79",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {