@iotexproject/kit 0.1.84 → 0.1.86

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 +20 -16
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4738,7 +4738,7 @@ declare class VoterEntity {
4738
4738
  declare class MarshallDao {
4739
4739
  gaugeList(args: {
4740
4740
  account?: `0x${string}`;
4741
- gauge?: `0x${string}`;
4741
+ gauges?: `0x${string}`[];
4742
4742
  }, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<GaugeEntity, any>[] | null>;
4743
4743
  totalGaugeRewards(args: {
4744
4744
  account?: `0x${string}`;
@@ -4832,32 +4832,31 @@ declare class MarshallDao {
4832
4832
  gaugeAddress: `0x${string}`;
4833
4833
  chainId: string;
4834
4834
  } | null>;
4835
- depolyOwnerdNFT(args: {
4836
- account: `0x${string}`;
4837
- deviceNFT: `0x${string}`;
4838
- }, ctx?: ConfigContext): Promise<{
4839
- data: string;
4840
- chainId: string;
4841
- error?: undefined;
4842
- } | {
4843
- error: unknown;
4844
- data?: undefined;
4845
- chainId?: undefined;
4846
- }>;
4847
4835
  depolyFixedRewardPoolV2(args: {
4848
4836
  nft: `0x${string}`;
4849
- startBlock: string;
4837
+ startTimeStamp: string;
4850
4838
  rewardPerBlock: string;
4851
- totalBlocks: string;
4839
+ durationInDays: string;
4852
4840
  }, ctx?: ConfigContext): Promise<{
4853
- data: string;
4841
+ data: `0x${string}`;
4842
+ address: `0x${string}`;
4854
4843
  chainId: string;
4855
4844
  error?: undefined;
4856
4845
  } | {
4857
4846
  error: unknown;
4858
4847
  data?: undefined;
4848
+ address?: undefined;
4859
4849
  chainId?: undefined;
4860
4850
  }>;
4851
+ setOwnedWeightedNFTWeight(args: {
4852
+ gaugeAddress: `0x${string}`;
4853
+ tokenId: number;
4854
+ weight: number;
4855
+ }, ctx?: ConfigContext): Promise<{
4856
+ data: `0x${string}`;
4857
+ address: `0x${string}`;
4858
+ chainId: string;
4859
+ }>;
4861
4860
  }
4862
4861
  declare class UniswapV2LPEntity {
4863
4862
  address: `0x${string}`;
@@ -8751,6 +8750,11 @@ declare class Analyzer extends BaseDBModule {
8751
8750
  height: any;
8752
8751
  };
8753
8752
  }>;
8753
+ get_block_meta({ block_height, start_block, end_block, }?: {
8754
+ block_height?: number | string;
8755
+ start_block?: number | string;
8756
+ end_block?: number | string;
8757
+ }): Promise<postgres.Row | postgres.RowList<postgres.Row[]>>;
8754
8758
  }
8755
8759
  export interface ItemNFT {
8756
8760
  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.84",
5
+ "version": "0.1.86",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {