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