@iotexproject/kit 0.0.41 → 0.0.42

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 +24 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4473,7 +4473,7 @@ declare class MarshallDao {
4473
4473
  ];
4474
4474
  rewardAllTokens: true;
4475
4475
  };
4476
- }>[] | undefined>;
4476
+ }>[] | null>;
4477
4477
  totalGaugeRewards(args: {
4478
4478
  account?: `0x${string}`;
4479
4479
  }): Promise<{
@@ -6816,13 +6816,29 @@ declare class MSP {
6816
6816
  renounceOwnership: () => Promise<any>;
6817
6817
  transferOwnership: (newOwner: `0x${string}`) => Promise<any>;
6818
6818
  }[];
6819
- myLstTokens: import("@dappworks/kit/aiem").QueryReturnType<MockLSTEntity, {
6820
- name: true;
6821
- address: true;
6822
- balanceOf: false | [
6823
- `0x${string}`
6824
- ];
6825
- }>[];
6819
+ myLstTokens: {
6820
+ lstContractAddress: `0x${string}`;
6821
+ address: `0x${string}`;
6822
+ chainId: string;
6823
+ name: any;
6824
+ symbol: () => Promise<any>;
6825
+ decimals: () => Promise<any>;
6826
+ allowance: (owner: `0x${string}`, spender: `0x${string}`) => Promise<any>;
6827
+ balanceOf: {
6828
+ value: string;
6829
+ format: string;
6830
+ originFormat: string;
6831
+ decimals: string;
6832
+ isZero: boolean;
6833
+ };
6834
+ approve: (spender: `0x${string}`, amount: string, owner: `0x${string}`) => Promise<`0x${string}` | null>;
6835
+ totalSupply: () => Promise<any>;
6836
+ mint: (user_: `0x${string}`, amount_: string) => Promise<any>;
6837
+ transfer: (to: `0x${string}`, amount: string) => Promise<any>;
6838
+ transferFrom: (from: `0x${string}`, to: `0x${string}`, amount: string) => Promise<any>;
6839
+ decreaseAllowance: (spender: `0x${string}`, subtractedValue: string) => Promise<any>;
6840
+ increaseAllowance: (spender: `0x${string}`, addedValue: string) => Promise<any>;
6841
+ }[];
6826
6842
  }>;
6827
6843
  myStakedBucketsAndLSTs(args: {
6828
6844
  account?: `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.41",
5
+ "version": "v0.0.42",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {