@iotexproject/kit 0.0.80 → 0.0.81
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 +24 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4127,12 +4127,14 @@ declare class IoID {
|
|
|
4127
4127
|
address: string;
|
|
4128
4128
|
value: string;
|
|
4129
4129
|
data: any;
|
|
4130
|
+
chainId: string;
|
|
4130
4131
|
error?: undefined;
|
|
4131
4132
|
} | {
|
|
4132
4133
|
error: unknown;
|
|
4133
4134
|
address?: undefined;
|
|
4134
4135
|
value?: undefined;
|
|
4135
4136
|
data?: undefined;
|
|
4137
|
+
chainId?: undefined;
|
|
4136
4138
|
}>;
|
|
4137
4139
|
setGauge(args: {
|
|
4138
4140
|
address: `0x${string}`;
|
|
@@ -4140,11 +4142,13 @@ declare class IoID {
|
|
|
4140
4142
|
}): Promise<{
|
|
4141
4143
|
address: `0x${string}`;
|
|
4142
4144
|
data: any;
|
|
4145
|
+
chainId: string;
|
|
4143
4146
|
error?: undefined;
|
|
4144
4147
|
} | {
|
|
4145
4148
|
error: unknown;
|
|
4146
4149
|
address?: undefined;
|
|
4147
4150
|
data?: undefined;
|
|
4151
|
+
chainId?: undefined;
|
|
4148
4152
|
}>;
|
|
4149
4153
|
applyIoIDs(args: {
|
|
4150
4154
|
address: `0x${string}`;
|
|
@@ -4153,12 +4157,14 @@ declare class IoID {
|
|
|
4153
4157
|
value: string;
|
|
4154
4158
|
address: `0x${string}`;
|
|
4155
4159
|
data: any;
|
|
4160
|
+
chainId: string;
|
|
4156
4161
|
error?: undefined;
|
|
4157
4162
|
} | {
|
|
4158
4163
|
error: unknown;
|
|
4159
4164
|
value?: undefined;
|
|
4160
4165
|
address?: undefined;
|
|
4161
4166
|
data?: undefined;
|
|
4167
|
+
chainId?: undefined;
|
|
4162
4168
|
}>;
|
|
4163
4169
|
}
|
|
4164
4170
|
declare class VoterEntity {
|
|
@@ -5421,11 +5427,13 @@ declare class MarshallDao {
|
|
|
5421
5427
|
}): Promise<{
|
|
5422
5428
|
data: any;
|
|
5423
5429
|
address: string;
|
|
5430
|
+
chainId: string;
|
|
5424
5431
|
error?: undefined;
|
|
5425
5432
|
} | {
|
|
5426
5433
|
error: unknown;
|
|
5427
5434
|
data?: undefined;
|
|
5428
5435
|
address?: undefined;
|
|
5436
|
+
chainId?: undefined;
|
|
5429
5437
|
}>;
|
|
5430
5438
|
depositToGauge(args: {
|
|
5431
5439
|
gagueAddress: `0x${string}`;
|
|
@@ -5436,6 +5444,7 @@ declare class MarshallDao {
|
|
|
5436
5444
|
approve: `0x${string}` | null | undefined;
|
|
5437
5445
|
approveAddress: `0x${string}`;
|
|
5438
5446
|
address: `0x${string}`;
|
|
5447
|
+
chainId: string;
|
|
5439
5448
|
error?: undefined;
|
|
5440
5449
|
} | {
|
|
5441
5450
|
error: unknown;
|
|
@@ -5443,6 +5452,7 @@ declare class MarshallDao {
|
|
|
5443
5452
|
approve?: undefined;
|
|
5444
5453
|
approveAddress?: undefined;
|
|
5445
5454
|
address?: undefined;
|
|
5455
|
+
chainId?: undefined;
|
|
5446
5456
|
}>;
|
|
5447
5457
|
withdrawFromGauge(args: {
|
|
5448
5458
|
gagueAddress: string;
|
|
@@ -5450,6 +5460,7 @@ declare class MarshallDao {
|
|
|
5450
5460
|
}): Promise<{
|
|
5451
5461
|
data: any;
|
|
5452
5462
|
address: string;
|
|
5463
|
+
chainId: string;
|
|
5453
5464
|
}>;
|
|
5454
5465
|
getRewardFromGauge(args: {
|
|
5455
5466
|
gaugeAddress: string;
|
|
@@ -5462,12 +5473,14 @@ declare class MarshallDao {
|
|
|
5462
5473
|
data: any;
|
|
5463
5474
|
address: `0x${string}`;
|
|
5464
5475
|
title: string;
|
|
5476
|
+
chainId: string;
|
|
5465
5477
|
}[]>;
|
|
5466
5478
|
claimIncentiveRewards(args: {
|
|
5467
5479
|
gaugeAddress: string;
|
|
5468
5480
|
}): Promise<{
|
|
5469
5481
|
data: any;
|
|
5470
5482
|
address: `0x${string}`;
|
|
5483
|
+
chainId: string;
|
|
5471
5484
|
} | null>;
|
|
5472
5485
|
withDrawTaxReward(args: {
|
|
5473
5486
|
gaugeAddress: `0x${string}`;
|
|
@@ -5475,6 +5488,7 @@ declare class MarshallDao {
|
|
|
5475
5488
|
}): Promise<{
|
|
5476
5489
|
data: any;
|
|
5477
5490
|
gaugeAddress: `0x${string}`;
|
|
5491
|
+
chainId: string;
|
|
5478
5492
|
} | null>;
|
|
5479
5493
|
}
|
|
5480
5494
|
declare class UniswapV2LPEntity {
|
|
@@ -7707,6 +7721,7 @@ declare class MSP {
|
|
|
7707
7721
|
data: any;
|
|
7708
7722
|
address: string;
|
|
7709
7723
|
value: string;
|
|
7724
|
+
chainId: string;
|
|
7710
7725
|
}>;
|
|
7711
7726
|
mockLST(args: {
|
|
7712
7727
|
lstTokenAddress: string;
|
|
@@ -7714,6 +7729,7 @@ declare class MSP {
|
|
|
7714
7729
|
}): Promise<{
|
|
7715
7730
|
data: any;
|
|
7716
7731
|
address: string;
|
|
7732
|
+
chainId: string;
|
|
7717
7733
|
}>;
|
|
7718
7734
|
totalMSPRewards(args: {
|
|
7719
7735
|
account?: `0x${string}`;
|
|
@@ -7873,12 +7889,14 @@ declare class MSP {
|
|
|
7873
7889
|
address: string;
|
|
7874
7890
|
approve: any;
|
|
7875
7891
|
approveAddress: string;
|
|
7892
|
+
chainId: string;
|
|
7876
7893
|
}>;
|
|
7877
7894
|
unStakeBucket(args: {
|
|
7878
7895
|
bucketIds: string[];
|
|
7879
7896
|
}): Promise<{
|
|
7880
7897
|
data: any;
|
|
7881
7898
|
address: string;
|
|
7899
|
+
chainId: string;
|
|
7882
7900
|
}>;
|
|
7883
7901
|
withdrawBucket(args: {
|
|
7884
7902
|
bucketIds: string[];
|
|
@@ -7886,6 +7904,7 @@ declare class MSP {
|
|
|
7886
7904
|
}): Promise<{
|
|
7887
7905
|
data: any;
|
|
7888
7906
|
address: string;
|
|
7907
|
+
chainId: string;
|
|
7889
7908
|
}>;
|
|
7890
7909
|
claimBucketReward(): Promise<{
|
|
7891
7910
|
data: any;
|
|
@@ -7900,6 +7919,7 @@ declare class MSP {
|
|
|
7900
7919
|
address: `0x${string}`;
|
|
7901
7920
|
approve: `0x${string}` | null;
|
|
7902
7921
|
approveAddress: `0x${string}`;
|
|
7922
|
+
chainId: string;
|
|
7903
7923
|
}>;
|
|
7904
7924
|
unStakeLST(args: {
|
|
7905
7925
|
lstContractAddress: string;
|
|
@@ -7907,6 +7927,7 @@ declare class MSP {
|
|
|
7907
7927
|
}): Promise<{
|
|
7908
7928
|
data: any;
|
|
7909
7929
|
address: string;
|
|
7930
|
+
chainId: string;
|
|
7910
7931
|
}>;
|
|
7911
7932
|
withdrawLST(args: {
|
|
7912
7933
|
lstContractAddress: string;
|
|
@@ -7914,12 +7935,14 @@ declare class MSP {
|
|
|
7914
7935
|
}): Promise<{
|
|
7915
7936
|
data: any;
|
|
7916
7937
|
address: string;
|
|
7938
|
+
chainId: string;
|
|
7917
7939
|
}>;
|
|
7918
7940
|
claimLSTReward(args: {
|
|
7919
7941
|
lstContractAddress: string;
|
|
7920
7942
|
}): Promise<{
|
|
7921
7943
|
data: `0x${string}`;
|
|
7922
7944
|
address: string;
|
|
7945
|
+
chainId: string;
|
|
7923
7946
|
}>;
|
|
7924
7947
|
batchClaimLSTReward(args: {
|
|
7925
7948
|
lstContractAddresses: string[];
|
|
@@ -7927,6 +7950,7 @@ declare class MSP {
|
|
|
7927
7950
|
}): Promise<{
|
|
7928
7951
|
data: `0x${string}`;
|
|
7929
7952
|
address: string;
|
|
7953
|
+
chainId: string;
|
|
7930
7954
|
}[] | null>;
|
|
7931
7955
|
}
|
|
7932
7956
|
export interface Bucket {
|