@iotexproject/kit 0.0.23 → 0.0.24
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 +8 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6136,9 +6136,9 @@ declare class MockLSTEntity {
|
|
|
6136
6136
|
decimals: string;
|
|
6137
6137
|
isZero: boolean;
|
|
6138
6138
|
}>;
|
|
6139
|
+
approve(spender: `0x${string}`, amount: string, owner: `0x${string}`): Promise<`0x${string}` | null>;
|
|
6139
6140
|
totalSupply: () => Promise<any>;
|
|
6140
6141
|
mint: (user_: `0x${string}`, amount_: string) => Promise<any>;
|
|
6141
|
-
approve: (spender: `0x${string}`, amount: string) => Promise<any>;
|
|
6142
6142
|
transfer: (to: `0x${string}`, amount: string) => Promise<any>;
|
|
6143
6143
|
transferFrom: (from: `0x${string}`, to: `0x${string}`, amount: string) => Promise<any>;
|
|
6144
6144
|
decreaseAllowance: (spender: `0x${string}`, subtractedValue: string) => Promise<any>;
|
|
@@ -6835,12 +6835,8 @@ declare class MSP {
|
|
|
6835
6835
|
}): Promise<{
|
|
6836
6836
|
data: any;
|
|
6837
6837
|
address: string;
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
bucketId: string;
|
|
6841
|
-
}): Promise<{
|
|
6842
|
-
data: any;
|
|
6843
|
-
address: string;
|
|
6838
|
+
approve: any;
|
|
6839
|
+
approveAddress: string;
|
|
6844
6840
|
}>;
|
|
6845
6841
|
unStakeBucket(args: {
|
|
6846
6842
|
bucketIds: string[];
|
|
@@ -6860,11 +6856,14 @@ declare class MSP {
|
|
|
6860
6856
|
address: string;
|
|
6861
6857
|
} | null>;
|
|
6862
6858
|
stakeLST(args: {
|
|
6863
|
-
lstContractAddress: string
|
|
6859
|
+
lstContractAddress: `0x${string}`;
|
|
6864
6860
|
amount: string;
|
|
6861
|
+
account: `0x${string}`;
|
|
6865
6862
|
}): Promise<{
|
|
6866
6863
|
data: any;
|
|
6867
|
-
address: string
|
|
6864
|
+
address: `0x${string}`;
|
|
6865
|
+
approve: `0x${string}` | null;
|
|
6866
|
+
approveAddress: `0x${string}`;
|
|
6868
6867
|
}>;
|
|
6869
6868
|
unStakeLST(args: {
|
|
6870
6869
|
lstContractAddress: string;
|