@iotexproject/kit 0.0.14 → 0.0.16

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 +10 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -357,7 +357,7 @@ declare class ERC20Entity {
357
357
  }
358
358
  ];
359
359
  get isEther(): boolean;
360
- get type(): string;
360
+ type(): Promise<string>;
361
361
  totalSupply: number;
362
362
  name: string;
363
363
  symbol: string;
@@ -1140,13 +1140,13 @@ declare class ERC721Entity {
1140
1140
  readonly stateMutability: "nonpayable";
1141
1141
  }
1142
1142
  ];
1143
- get type(): string;
1143
+ type(): Promise<string>;
1144
1144
  approve(to: `0x${string}`, tokenId: string): Promise<`0x${string}` | null>;
1145
1145
  name: () => Promise<any>;
1146
1146
  symbol: () => Promise<any>;
1147
1147
  hasRole: (role: string, account: `0x${string}`) => Promise<any>;
1148
1148
  ownerOf: (tokenId: string) => Promise<any>;
1149
- tokenURI: (tokenId: string) => Promise<any>;
1149
+ tokenUrl(): Promise<string>;
1150
1150
  balanceOf(account?: `0x${string}`): Promise<{
1151
1151
  value: string;
1152
1152
  format: string;
@@ -1812,7 +1812,7 @@ declare class LPTokenEntity {
1812
1812
  readonly stateMutability: "nonpayable";
1813
1813
  }
1814
1814
  ];
1815
- get type(): string;
1815
+ type(): Promise<string>;
1816
1816
  balanceOf(account?: `0x${string}`): Promise<{
1817
1817
  value: string;
1818
1818
  format: string;
@@ -1826,6 +1826,7 @@ declare class LPTokenEntity {
1826
1826
  symbol(): Promise<string>;
1827
1827
  token0(): Promise<`0x${string}`>;
1828
1828
  token1(): Promise<`0x${string}`>;
1829
+ tokenUrl(): Promise<any[]>;
1829
1830
  factory: () => Promise<any>;
1830
1831
  decimals: () => Promise<any>;
1831
1832
  allowance: (owner: string, spender: string) => Promise<any>;
@@ -2454,6 +2455,7 @@ declare class GaugeEntity {
2454
2455
  name: true;
2455
2456
  symbol: true;
2456
2457
  tokenUrl: true;
2458
+ type: true;
2457
2459
  balanceOf: [
2458
2460
  `0x${string}` | undefined
2459
2461
  ];
@@ -2489,6 +2491,7 @@ declare class GaugeEntity {
2489
2491
  decimals: string;
2490
2492
  isZero: boolean;
2491
2493
  };
2494
+ totalSupplyUSD: string;
2492
2495
  }>;
2493
2496
  votes(account: `0x${string}`): Promise<{
2494
2497
  votes: string;
@@ -3732,6 +3735,8 @@ declare class MarshallDao {
3732
3735
  gaugeList(args: {
3733
3736
  account: `0x${string}`;
3734
3737
  }): Promise<import("@dappworks/kit/aiem").QueryReturnType<GaugeEntity, {
3738
+ address: true;
3739
+ chainId: true;
3735
3740
  gaugeType: true;
3736
3741
  apr: true;
3737
3742
  rewards: [
@@ -3786,7 +3791,7 @@ declare class MarshallDao {
3786
3791
  }): Promise<any>;
3787
3792
  claimIncentiveRewards(args: {
3788
3793
  gaugeAddress: string;
3789
- }): Promise<void>;
3794
+ }): Promise<any>;
3790
3795
  }
3791
3796
  declare class UniswapV2LPEntity {
3792
3797
  address: `0x${string}`;
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.14",
5
+ "version": "v0.0.16",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {