@iotexproject/kit 0.0.79 → 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 +32 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3399,6 +3399,13 @@ declare class GaugeEntity {
|
|
|
3399
3399
|
isZero: boolean;
|
|
3400
3400
|
} | undefined>;
|
|
3401
3401
|
gaugeType(): Promise<"ERC20" | "ERC721" | "LPToken">;
|
|
3402
|
+
projectInfo(): Promise<{
|
|
3403
|
+
id: string;
|
|
3404
|
+
deviceNFT: string;
|
|
3405
|
+
name: string;
|
|
3406
|
+
totalIoID: string;
|
|
3407
|
+
totalAppliedIoID: string;
|
|
3408
|
+
} | null>;
|
|
3402
3409
|
stakingTokenInfo(account?: `0x${string}`): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
|
|
3403
3410
|
name: true;
|
|
3404
3411
|
symbol: true;
|
|
@@ -4120,12 +4127,14 @@ declare class IoID {
|
|
|
4120
4127
|
address: string;
|
|
4121
4128
|
value: string;
|
|
4122
4129
|
data: any;
|
|
4130
|
+
chainId: string;
|
|
4123
4131
|
error?: undefined;
|
|
4124
4132
|
} | {
|
|
4125
4133
|
error: unknown;
|
|
4126
4134
|
address?: undefined;
|
|
4127
4135
|
value?: undefined;
|
|
4128
4136
|
data?: undefined;
|
|
4137
|
+
chainId?: undefined;
|
|
4129
4138
|
}>;
|
|
4130
4139
|
setGauge(args: {
|
|
4131
4140
|
address: `0x${string}`;
|
|
@@ -4133,11 +4142,13 @@ declare class IoID {
|
|
|
4133
4142
|
}): Promise<{
|
|
4134
4143
|
address: `0x${string}`;
|
|
4135
4144
|
data: any;
|
|
4145
|
+
chainId: string;
|
|
4136
4146
|
error?: undefined;
|
|
4137
4147
|
} | {
|
|
4138
4148
|
error: unknown;
|
|
4139
4149
|
address?: undefined;
|
|
4140
4150
|
data?: undefined;
|
|
4151
|
+
chainId?: undefined;
|
|
4141
4152
|
}>;
|
|
4142
4153
|
applyIoIDs(args: {
|
|
4143
4154
|
address: `0x${string}`;
|
|
@@ -4146,12 +4157,14 @@ declare class IoID {
|
|
|
4146
4157
|
value: string;
|
|
4147
4158
|
address: `0x${string}`;
|
|
4148
4159
|
data: any;
|
|
4160
|
+
chainId: string;
|
|
4149
4161
|
error?: undefined;
|
|
4150
4162
|
} | {
|
|
4151
4163
|
error: unknown;
|
|
4152
4164
|
value?: undefined;
|
|
4153
4165
|
address?: undefined;
|
|
4154
4166
|
data?: undefined;
|
|
4167
|
+
chainId?: undefined;
|
|
4155
4168
|
}>;
|
|
4156
4169
|
}
|
|
4157
4170
|
declare class VoterEntity {
|
|
@@ -5358,6 +5371,7 @@ declare class MarshallDao {
|
|
|
5358
5371
|
chainId: true;
|
|
5359
5372
|
gaugeType: true;
|
|
5360
5373
|
apr: true;
|
|
5374
|
+
projectInfo: true;
|
|
5361
5375
|
rewards: false | [
|
|
5362
5376
|
`0x${string}`
|
|
5363
5377
|
];
|
|
@@ -5413,11 +5427,13 @@ declare class MarshallDao {
|
|
|
5413
5427
|
}): Promise<{
|
|
5414
5428
|
data: any;
|
|
5415
5429
|
address: string;
|
|
5430
|
+
chainId: string;
|
|
5416
5431
|
error?: undefined;
|
|
5417
5432
|
} | {
|
|
5418
5433
|
error: unknown;
|
|
5419
5434
|
data?: undefined;
|
|
5420
5435
|
address?: undefined;
|
|
5436
|
+
chainId?: undefined;
|
|
5421
5437
|
}>;
|
|
5422
5438
|
depositToGauge(args: {
|
|
5423
5439
|
gagueAddress: `0x${string}`;
|
|
@@ -5428,6 +5444,7 @@ declare class MarshallDao {
|
|
|
5428
5444
|
approve: `0x${string}` | null | undefined;
|
|
5429
5445
|
approveAddress: `0x${string}`;
|
|
5430
5446
|
address: `0x${string}`;
|
|
5447
|
+
chainId: string;
|
|
5431
5448
|
error?: undefined;
|
|
5432
5449
|
} | {
|
|
5433
5450
|
error: unknown;
|
|
@@ -5435,6 +5452,7 @@ declare class MarshallDao {
|
|
|
5435
5452
|
approve?: undefined;
|
|
5436
5453
|
approveAddress?: undefined;
|
|
5437
5454
|
address?: undefined;
|
|
5455
|
+
chainId?: undefined;
|
|
5438
5456
|
}>;
|
|
5439
5457
|
withdrawFromGauge(args: {
|
|
5440
5458
|
gagueAddress: string;
|
|
@@ -5442,6 +5460,7 @@ declare class MarshallDao {
|
|
|
5442
5460
|
}): Promise<{
|
|
5443
5461
|
data: any;
|
|
5444
5462
|
address: string;
|
|
5463
|
+
chainId: string;
|
|
5445
5464
|
}>;
|
|
5446
5465
|
getRewardFromGauge(args: {
|
|
5447
5466
|
gaugeAddress: string;
|
|
@@ -5454,12 +5473,14 @@ declare class MarshallDao {
|
|
|
5454
5473
|
data: any;
|
|
5455
5474
|
address: `0x${string}`;
|
|
5456
5475
|
title: string;
|
|
5476
|
+
chainId: string;
|
|
5457
5477
|
}[]>;
|
|
5458
5478
|
claimIncentiveRewards(args: {
|
|
5459
5479
|
gaugeAddress: string;
|
|
5460
5480
|
}): Promise<{
|
|
5461
5481
|
data: any;
|
|
5462
5482
|
address: `0x${string}`;
|
|
5483
|
+
chainId: string;
|
|
5463
5484
|
} | null>;
|
|
5464
5485
|
withDrawTaxReward(args: {
|
|
5465
5486
|
gaugeAddress: `0x${string}`;
|
|
@@ -5467,6 +5488,7 @@ declare class MarshallDao {
|
|
|
5467
5488
|
}): Promise<{
|
|
5468
5489
|
data: any;
|
|
5469
5490
|
gaugeAddress: `0x${string}`;
|
|
5491
|
+
chainId: string;
|
|
5470
5492
|
} | null>;
|
|
5471
5493
|
}
|
|
5472
5494
|
declare class UniswapV2LPEntity {
|
|
@@ -7699,6 +7721,7 @@ declare class MSP {
|
|
|
7699
7721
|
data: any;
|
|
7700
7722
|
address: string;
|
|
7701
7723
|
value: string;
|
|
7724
|
+
chainId: string;
|
|
7702
7725
|
}>;
|
|
7703
7726
|
mockLST(args: {
|
|
7704
7727
|
lstTokenAddress: string;
|
|
@@ -7706,6 +7729,7 @@ declare class MSP {
|
|
|
7706
7729
|
}): Promise<{
|
|
7707
7730
|
data: any;
|
|
7708
7731
|
address: string;
|
|
7732
|
+
chainId: string;
|
|
7709
7733
|
}>;
|
|
7710
7734
|
totalMSPRewards(args: {
|
|
7711
7735
|
account?: `0x${string}`;
|
|
@@ -7865,12 +7889,14 @@ declare class MSP {
|
|
|
7865
7889
|
address: string;
|
|
7866
7890
|
approve: any;
|
|
7867
7891
|
approveAddress: string;
|
|
7892
|
+
chainId: string;
|
|
7868
7893
|
}>;
|
|
7869
7894
|
unStakeBucket(args: {
|
|
7870
7895
|
bucketIds: string[];
|
|
7871
7896
|
}): Promise<{
|
|
7872
7897
|
data: any;
|
|
7873
7898
|
address: string;
|
|
7899
|
+
chainId: string;
|
|
7874
7900
|
}>;
|
|
7875
7901
|
withdrawBucket(args: {
|
|
7876
7902
|
bucketIds: string[];
|
|
@@ -7878,6 +7904,7 @@ declare class MSP {
|
|
|
7878
7904
|
}): Promise<{
|
|
7879
7905
|
data: any;
|
|
7880
7906
|
address: string;
|
|
7907
|
+
chainId: string;
|
|
7881
7908
|
}>;
|
|
7882
7909
|
claimBucketReward(): Promise<{
|
|
7883
7910
|
data: any;
|
|
@@ -7892,6 +7919,7 @@ declare class MSP {
|
|
|
7892
7919
|
address: `0x${string}`;
|
|
7893
7920
|
approve: `0x${string}` | null;
|
|
7894
7921
|
approveAddress: `0x${string}`;
|
|
7922
|
+
chainId: string;
|
|
7895
7923
|
}>;
|
|
7896
7924
|
unStakeLST(args: {
|
|
7897
7925
|
lstContractAddress: string;
|
|
@@ -7899,6 +7927,7 @@ declare class MSP {
|
|
|
7899
7927
|
}): Promise<{
|
|
7900
7928
|
data: any;
|
|
7901
7929
|
address: string;
|
|
7930
|
+
chainId: string;
|
|
7902
7931
|
}>;
|
|
7903
7932
|
withdrawLST(args: {
|
|
7904
7933
|
lstContractAddress: string;
|
|
@@ -7906,12 +7935,14 @@ declare class MSP {
|
|
|
7906
7935
|
}): Promise<{
|
|
7907
7936
|
data: any;
|
|
7908
7937
|
address: string;
|
|
7938
|
+
chainId: string;
|
|
7909
7939
|
}>;
|
|
7910
7940
|
claimLSTReward(args: {
|
|
7911
7941
|
lstContractAddress: string;
|
|
7912
7942
|
}): Promise<{
|
|
7913
7943
|
data: `0x${string}`;
|
|
7914
7944
|
address: string;
|
|
7945
|
+
chainId: string;
|
|
7915
7946
|
}>;
|
|
7916
7947
|
batchClaimLSTReward(args: {
|
|
7917
7948
|
lstContractAddresses: string[];
|
|
@@ -7919,6 +7950,7 @@ declare class MSP {
|
|
|
7919
7950
|
}): Promise<{
|
|
7920
7951
|
data: `0x${string}`;
|
|
7921
7952
|
address: string;
|
|
7953
|
+
chainId: string;
|
|
7922
7954
|
}[] | null>;
|
|
7923
7955
|
}
|
|
7924
7956
|
export interface Bucket {
|