@iotexproject/kit 0.0.17 → 0.0.19

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 +68 -15
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4465,33 +4465,59 @@ declare class MarshallDao {
4465
4465
  ];
4466
4466
  weeklyVoteEmissions: true;
4467
4467
  }> | undefined>;
4468
+ voteToGauge(args: {
4469
+ stakingTokens: `0x${string}`[];
4470
+ weights: number[];
4471
+ }): Promise<{
4472
+ data: any;
4473
+ address: string;
4474
+ error?: undefined;
4475
+ } | {
4476
+ error: unknown;
4477
+ data?: undefined;
4478
+ address?: undefined;
4479
+ }>;
4468
4480
  depositToGauge(args: {
4469
4481
  gagueAddress: `0x${string}`;
4470
4482
  amountOrTokenId: string;
4471
4483
  account: `0x${string}`;
4472
4484
  }): Promise<{
4473
- deposit: any;
4485
+ data: any;
4474
4486
  approve: `0x${string}` | null | undefined;
4487
+ address: `0x${string}`;
4475
4488
  error?: undefined;
4476
4489
  } | {
4477
4490
  error: unknown;
4478
- deposit?: undefined;
4491
+ data?: undefined;
4479
4492
  approve?: undefined;
4493
+ address?: undefined;
4480
4494
  }>;
4481
4495
  withdrawFromGauge(args: {
4482
4496
  gagueAddress: string;
4483
4497
  amount: string;
4484
- }): Promise<any>;
4498
+ }): Promise<{
4499
+ data: any;
4500
+ address: string;
4501
+ }>;
4485
4502
  getRewardFromGauge(args: {
4486
4503
  gaugeAddress: string;
4487
4504
  account: string;
4488
- }): Promise<any>;
4505
+ }): Promise<{
4506
+ data: any;
4507
+ address: string;
4508
+ }>;
4489
4509
  batchGetRewardFromGauge(args: {
4490
4510
  gaugeAddress: any[];
4491
- }): Promise<any>;
4511
+ }): Promise<{
4512
+ data: any;
4513
+ address: string;
4514
+ }>;
4492
4515
  claimIncentiveRewards(args: {
4493
4516
  gaugeAddress: string;
4494
- }): Promise<any>;
4517
+ }): Promise<{
4518
+ data: any;
4519
+ address: `0x${string}`;
4520
+ } | null>;
4495
4521
  }
4496
4522
  declare class UniswapV2LPEntity {
4497
4523
  address: `0x${string}`;
@@ -7554,33 +7580,60 @@ declare class MSP {
7554
7580
  }>;
7555
7581
  stakeBucket(args: {
7556
7582
  bucketId: string;
7557
- }): Promise<any>;
7583
+ }): Promise<{
7584
+ data: any;
7585
+ address: string;
7586
+ }>;
7558
7587
  approveBucket(args: {
7559
7588
  bucketId: string;
7560
- }): Promise<any>;
7589
+ }): Promise<{
7590
+ data: any;
7591
+ address: string;
7592
+ }>;
7561
7593
  unStakeBucket(args: {
7562
7594
  bucketIds: string[];
7563
- }): Promise<any>;
7595
+ }): Promise<{
7596
+ data: any;
7597
+ address: string;
7598
+ }>;
7564
7599
  withdrawBucket(args: {
7565
7600
  bucketIds: string[];
7566
7601
  recipient: `0x${string}`;
7567
- }): Promise<any>;
7568
- claimBucketReward(): Promise<any>;
7602
+ }): Promise<{
7603
+ data: any;
7604
+ address: string;
7605
+ }>;
7606
+ claimBucketReward(): Promise<{
7607
+ data: any;
7608
+ address: string;
7609
+ } | null>;
7569
7610
  stakeLST(args: {
7570
7611
  lstContractAddress: string;
7571
7612
  amount: string;
7572
- }): Promise<any>;
7613
+ }): Promise<{
7614
+ data: any;
7615
+ address: string;
7616
+ }>;
7573
7617
  unStakeLST(args: {
7574
7618
  lstContractAddress: string;
7575
7619
  amount: string;
7576
- }): Promise<any>;
7620
+ }): Promise<{
7621
+ data: any;
7622
+ address: string;
7623
+ }>;
7577
7624
  withdrawLST(args: {
7578
7625
  lstContractAddress: string;
7579
7626
  account: `0x${string}`;
7580
- }): Promise<any>;
7627
+ }): Promise<{
7628
+ data: any;
7629
+ address: string;
7630
+ }>;
7581
7631
  claimLSTReward(args: {
7582
7632
  lstContractAddress: string;
7583
- }): Promise<any>;
7633
+ }): Promise<{
7634
+ data: any;
7635
+ address: string;
7636
+ }>;
7584
7637
  }
7585
7638
  export interface Bucket {
7586
7639
  index: bigint;
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.17",
5
+ "version": "v0.0.19",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {