@iotexproject/kit 0.0.29 → 0.0.31
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 +34 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3135,8 +3135,8 @@ declare class GaugeEntity {
|
|
|
3135
3135
|
name: true;
|
|
3136
3136
|
symbol: true;
|
|
3137
3137
|
tokenUrl: true;
|
|
3138
|
-
balanceOf: [
|
|
3139
|
-
`0x${string}`
|
|
3138
|
+
balanceOf: true | [
|
|
3139
|
+
`0x${string}`
|
|
3140
3140
|
];
|
|
3141
3141
|
}> | import("@dappworks/kit/aiem").QueryReturnType<ERC721Entity, {
|
|
3142
3142
|
name: true;
|
|
@@ -4428,40 +4428,42 @@ declare class VoterEntity {
|
|
|
4428
4428
|
}
|
|
4429
4429
|
declare class MarshallDao {
|
|
4430
4430
|
gaugeList(args: {
|
|
4431
|
-
account
|
|
4431
|
+
account?: `0x${string}`;
|
|
4432
4432
|
}): Promise<import("@dappworks/kit/aiem").QueryReturnType<GaugeEntity, {
|
|
4433
4433
|
address: true;
|
|
4434
4434
|
chainId: true;
|
|
4435
4435
|
gaugeType: true;
|
|
4436
4436
|
apr: true;
|
|
4437
|
-
rewards: [
|
|
4437
|
+
rewards: false | [
|
|
4438
4438
|
`0x${string}`
|
|
4439
4439
|
];
|
|
4440
|
-
balanceOf: [
|
|
4440
|
+
balanceOf: false | [
|
|
4441
4441
|
`0x${string}`
|
|
4442
4442
|
];
|
|
4443
4443
|
totalSupply: true;
|
|
4444
|
-
votes: [
|
|
4444
|
+
votes: false | [
|
|
4445
4445
|
`0x${string}`
|
|
4446
4446
|
];
|
|
4447
4447
|
totalVote: true;
|
|
4448
4448
|
votingApr: true;
|
|
4449
|
-
stakingTokenInfo:
|
|
4449
|
+
stakingTokenInfo: false | [
|
|
4450
|
+
`0x${string}`
|
|
4451
|
+
];
|
|
4450
4452
|
Incentive: {
|
|
4451
|
-
allRewards: [
|
|
4453
|
+
allRewards: false | [
|
|
4452
4454
|
`0x${string}`
|
|
4453
4455
|
];
|
|
4454
4456
|
rewardAllTokens: true;
|
|
4455
4457
|
};
|
|
4456
4458
|
}>[] | undefined>;
|
|
4457
4459
|
voterInfo(args: {
|
|
4458
|
-
account
|
|
4460
|
+
account?: `0x${string}`;
|
|
4459
4461
|
}): Promise<import("@dappworks/kit/aiem").QueryReturnType<VoterEntity, {
|
|
4460
4462
|
epochVoteEndTime: true;
|
|
4461
|
-
myVote: [
|
|
4463
|
+
myVote: false | [
|
|
4462
4464
|
`0x${string}`
|
|
4463
4465
|
];
|
|
4464
|
-
usedWeights: [
|
|
4466
|
+
usedWeights: false | [
|
|
4465
4467
|
`0x${string}`
|
|
4466
4468
|
];
|
|
4467
4469
|
weeklyVoteEmissions: true;
|
|
@@ -6723,13 +6725,19 @@ declare class LSTStrategyEntity {
|
|
|
6723
6725
|
transferOwnership: (newOwner: `0x${string}`) => Promise<any>;
|
|
6724
6726
|
}
|
|
6725
6727
|
declare class MSP {
|
|
6726
|
-
mockBucket(): Promise<
|
|
6728
|
+
mockBucket(): Promise<{
|
|
6729
|
+
data: any;
|
|
6730
|
+
address: string;
|
|
6731
|
+
}>;
|
|
6727
6732
|
mockLST(args: {
|
|
6728
6733
|
lstTokenAddress: string;
|
|
6729
6734
|
account: `0x${string}`;
|
|
6730
|
-
}): Promise<
|
|
6735
|
+
}): Promise<{
|
|
6736
|
+
data: any;
|
|
6737
|
+
address: string;
|
|
6738
|
+
}>;
|
|
6731
6739
|
myBucketsAndLSTs(args: {
|
|
6732
|
-
account
|
|
6740
|
+
account?: `0x${string}`;
|
|
6733
6741
|
}): Promise<{
|
|
6734
6742
|
myBuckets: {
|
|
6735
6743
|
bucketId: number;
|
|
@@ -6778,8 +6786,13 @@ declare class MSP {
|
|
|
6778
6786
|
}>[];
|
|
6779
6787
|
}>;
|
|
6780
6788
|
myStakedBucketsAndLSTs(args: {
|
|
6781
|
-
account
|
|
6789
|
+
account?: `0x${string}`;
|
|
6782
6790
|
}): Promise<{
|
|
6791
|
+
myBuckets: never[];
|
|
6792
|
+
myLstTokens: never[];
|
|
6793
|
+
myStakedBuckets?: undefined;
|
|
6794
|
+
myLstStrategies?: undefined;
|
|
6795
|
+
} | {
|
|
6783
6796
|
myStakedBuckets: {
|
|
6784
6797
|
bucketId: bigint;
|
|
6785
6798
|
address: `0x${string}`;
|
|
@@ -6826,7 +6839,13 @@ declare class MSP {
|
|
|
6826
6839
|
amount: false | [
|
|
6827
6840
|
`0x${string}`
|
|
6828
6841
|
];
|
|
6842
|
+
MockLST: {
|
|
6843
|
+
name: true;
|
|
6844
|
+
symbol: true;
|
|
6845
|
+
};
|
|
6829
6846
|
}>[];
|
|
6847
|
+
myBuckets?: undefined;
|
|
6848
|
+
myLstTokens?: undefined;
|
|
6830
6849
|
}>;
|
|
6831
6850
|
stakeBucket(args: {
|
|
6832
6851
|
bucketId: string;
|