@iotexproject/kit 0.1.85 → 0.1.87

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 +30 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3477,6 +3477,21 @@ declare class IoID {
3477
3477
  data?: undefined;
3478
3478
  chainId?: undefined;
3479
3479
  }>;
3480
+ setWeight(args: {
3481
+ gaugeAddress: `0x${string}`;
3482
+ nftId: number;
3483
+ weight: number;
3484
+ }, ctx?: ConfigContext): Promise<{
3485
+ address: any;
3486
+ data: any;
3487
+ chainId: string;
3488
+ error?: undefined;
3489
+ } | {
3490
+ error: unknown;
3491
+ address?: undefined;
3492
+ data?: undefined;
3493
+ chainId?: undefined;
3494
+ }>;
3480
3495
  incrementMinterAllowance(args: {
3481
3496
  amount: string;
3482
3497
  address: `0x${string}`;
@@ -4738,7 +4753,7 @@ declare class VoterEntity {
4738
4753
  declare class MarshallDao {
4739
4754
  gaugeList(args: {
4740
4755
  account?: `0x${string}`;
4741
- gauge?: `0x${string}`;
4756
+ gauges?: `0x${string}`[];
4742
4757
  }, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<GaugeEntity, any>[] | null>;
4743
4758
  totalGaugeRewards(args: {
4744
4759
  account?: `0x${string}`;
@@ -4848,6 +4863,15 @@ declare class MarshallDao {
4848
4863
  address?: undefined;
4849
4864
  chainId?: undefined;
4850
4865
  }>;
4866
+ setOwnedWeightedNFTWeight(args: {
4867
+ gaugeAddress: `0x${string}`;
4868
+ tokenId: number;
4869
+ weight: number;
4870
+ }, ctx?: ConfigContext): Promise<{
4871
+ data: `0x${string}`;
4872
+ address: `0x${string}`;
4873
+ chainId: string;
4874
+ }>;
4851
4875
  }
4852
4876
  declare class UniswapV2LPEntity {
4853
4877
  address: `0x${string}`;
@@ -8741,6 +8765,11 @@ declare class Analyzer extends BaseDBModule {
8741
8765
  height: any;
8742
8766
  };
8743
8767
  }>;
8768
+ get_block_meta({ block_height, start_block, end_block, }?: {
8769
+ block_height?: number | string;
8770
+ start_block?: number | string;
8771
+ end_block?: number | string;
8772
+ }): Promise<postgres.Row | postgres.RowList<postgres.Row[]>>;
8744
8773
  }
8745
8774
  export interface ItemNFT {
8746
8775
  collection: 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": "0.1.85",
5
+ "version": "0.1.87",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {