@iotexproject/kit 0.0.29 → 0.0.30
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 +29 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4428,40 +4428,40 @@ 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
4449
|
stakingTokenInfo: true;
|
|
4450
4450
|
Incentive: {
|
|
4451
|
-
allRewards: [
|
|
4451
|
+
allRewards: false | [
|
|
4452
4452
|
`0x${string}`
|
|
4453
4453
|
];
|
|
4454
4454
|
rewardAllTokens: true;
|
|
4455
4455
|
};
|
|
4456
4456
|
}>[] | undefined>;
|
|
4457
4457
|
voterInfo(args: {
|
|
4458
|
-
account
|
|
4458
|
+
account?: `0x${string}`;
|
|
4459
4459
|
}): Promise<import("@dappworks/kit/aiem").QueryReturnType<VoterEntity, {
|
|
4460
4460
|
epochVoteEndTime: true;
|
|
4461
|
-
myVote: [
|
|
4461
|
+
myVote: false | [
|
|
4462
4462
|
`0x${string}`
|
|
4463
4463
|
];
|
|
4464
|
-
usedWeights: [
|
|
4464
|
+
usedWeights: false | [
|
|
4465
4465
|
`0x${string}`
|
|
4466
4466
|
];
|
|
4467
4467
|
weeklyVoteEmissions: true;
|
|
@@ -6723,13 +6723,19 @@ declare class LSTStrategyEntity {
|
|
|
6723
6723
|
transferOwnership: (newOwner: `0x${string}`) => Promise<any>;
|
|
6724
6724
|
}
|
|
6725
6725
|
declare class MSP {
|
|
6726
|
-
mockBucket(): Promise<
|
|
6726
|
+
mockBucket(): Promise<{
|
|
6727
|
+
data: any;
|
|
6728
|
+
address: string;
|
|
6729
|
+
}>;
|
|
6727
6730
|
mockLST(args: {
|
|
6728
6731
|
lstTokenAddress: string;
|
|
6729
6732
|
account: `0x${string}`;
|
|
6730
|
-
}): Promise<
|
|
6733
|
+
}): Promise<{
|
|
6734
|
+
data: any;
|
|
6735
|
+
address: string;
|
|
6736
|
+
}>;
|
|
6731
6737
|
myBucketsAndLSTs(args: {
|
|
6732
|
-
account
|
|
6738
|
+
account?: `0x${string}`;
|
|
6733
6739
|
}): Promise<{
|
|
6734
6740
|
myBuckets: {
|
|
6735
6741
|
bucketId: number;
|
|
@@ -6778,8 +6784,13 @@ declare class MSP {
|
|
|
6778
6784
|
}>[];
|
|
6779
6785
|
}>;
|
|
6780
6786
|
myStakedBucketsAndLSTs(args: {
|
|
6781
|
-
account
|
|
6787
|
+
account?: `0x${string}`;
|
|
6782
6788
|
}): Promise<{
|
|
6789
|
+
myBuckets: never[];
|
|
6790
|
+
myLstTokens: never[];
|
|
6791
|
+
myStakedBuckets?: undefined;
|
|
6792
|
+
myLstStrategies?: undefined;
|
|
6793
|
+
} | {
|
|
6783
6794
|
myStakedBuckets: {
|
|
6784
6795
|
bucketId: bigint;
|
|
6785
6796
|
address: `0x${string}`;
|
|
@@ -6826,7 +6837,13 @@ declare class MSP {
|
|
|
6826
6837
|
amount: false | [
|
|
6827
6838
|
`0x${string}`
|
|
6828
6839
|
];
|
|
6840
|
+
MockLST: {
|
|
6841
|
+
name: true;
|
|
6842
|
+
symbol: true;
|
|
6843
|
+
};
|
|
6829
6844
|
}>[];
|
|
6845
|
+
myBuckets?: undefined;
|
|
6846
|
+
myLstTokens?: undefined;
|
|
6830
6847
|
}>;
|
|
6831
6848
|
stakeBucket(args: {
|
|
6832
6849
|
bucketId: string;
|