@iotexproject/kit 0.0.13 → 0.0.15
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 +10 -25
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -357,7 +357,7 @@ declare class ERC20Entity {
|
|
|
357
357
|
}
|
|
358
358
|
];
|
|
359
359
|
get isEther(): boolean;
|
|
360
|
-
|
|
360
|
+
type(): Promise<string>;
|
|
361
361
|
totalSupply: number;
|
|
362
362
|
name: string;
|
|
363
363
|
symbol: string;
|
|
@@ -1140,13 +1140,13 @@ declare class ERC721Entity {
|
|
|
1140
1140
|
readonly stateMutability: "nonpayable";
|
|
1141
1141
|
}
|
|
1142
1142
|
];
|
|
1143
|
-
|
|
1143
|
+
type(): Promise<string>;
|
|
1144
1144
|
approve(to: `0x${string}`, tokenId: string): Promise<`0x${string}` | null>;
|
|
1145
1145
|
name: () => Promise<any>;
|
|
1146
1146
|
symbol: () => Promise<any>;
|
|
1147
1147
|
hasRole: (role: string, account: `0x${string}`) => Promise<any>;
|
|
1148
1148
|
ownerOf: (tokenId: string) => Promise<any>;
|
|
1149
|
-
|
|
1149
|
+
tokenUrl(): Promise<string>;
|
|
1150
1150
|
balanceOf(account?: `0x${string}`): Promise<{
|
|
1151
1151
|
value: string;
|
|
1152
1152
|
format: string;
|
|
@@ -1812,7 +1812,7 @@ declare class LPTokenEntity {
|
|
|
1812
1812
|
readonly stateMutability: "nonpayable";
|
|
1813
1813
|
}
|
|
1814
1814
|
];
|
|
1815
|
-
|
|
1815
|
+
type(): Promise<string>;
|
|
1816
1816
|
balanceOf(account?: `0x${string}`): Promise<{
|
|
1817
1817
|
value: string;
|
|
1818
1818
|
format: string;
|
|
@@ -1826,6 +1826,7 @@ declare class LPTokenEntity {
|
|
|
1826
1826
|
symbol(): Promise<string>;
|
|
1827
1827
|
token0(): Promise<`0x${string}`>;
|
|
1828
1828
|
token1(): Promise<`0x${string}`>;
|
|
1829
|
+
tokenUrl(): Promise<any[]>;
|
|
1829
1830
|
factory: () => Promise<any>;
|
|
1830
1831
|
decimals: () => Promise<any>;
|
|
1831
1832
|
allowance: (owner: string, spender: string) => Promise<any>;
|
|
@@ -2454,18 +2455,13 @@ declare class GaugeEntity {
|
|
|
2454
2455
|
name: true;
|
|
2455
2456
|
symbol: true;
|
|
2456
2457
|
tokenUrl: true;
|
|
2458
|
+
type: true;
|
|
2457
2459
|
balanceOf: [
|
|
2458
2460
|
`0x${string}` | undefined
|
|
2459
2461
|
];
|
|
2460
2462
|
}> | null | undefined>;
|
|
2461
2463
|
apr(): Promise<string | 0>;
|
|
2462
2464
|
rewards(account: `0x${string}`): Promise<{
|
|
2463
|
-
value: string;
|
|
2464
|
-
format: string;
|
|
2465
|
-
originFormat: string;
|
|
2466
|
-
decimals: string;
|
|
2467
|
-
isZero: boolean;
|
|
2468
|
-
} | {
|
|
2469
2465
|
rewards: {
|
|
2470
2466
|
value: string;
|
|
2471
2467
|
format: string;
|
|
@@ -2476,12 +2472,6 @@ declare class GaugeEntity {
|
|
|
2476
2472
|
rewardsUSD: string;
|
|
2477
2473
|
}>;
|
|
2478
2474
|
balanceOf(account: `0x${string}`): Promise<{
|
|
2479
|
-
value: string;
|
|
2480
|
-
format: string;
|
|
2481
|
-
originFormat: string;
|
|
2482
|
-
decimals: string;
|
|
2483
|
-
isZero: boolean;
|
|
2484
|
-
} | {
|
|
2485
2475
|
balanceOf: {
|
|
2486
2476
|
value: string;
|
|
2487
2477
|
format: string;
|
|
@@ -2490,16 +2480,8 @@ declare class GaugeEntity {
|
|
|
2490
2480
|
isZero: boolean;
|
|
2491
2481
|
};
|
|
2492
2482
|
balanceOfUSD: string;
|
|
2493
|
-
} | {
|
|
2494
|
-
balanceOf: {
|
|
2495
|
-
value: string;
|
|
2496
|
-
format: string;
|
|
2497
|
-
originFormat: string;
|
|
2498
|
-
decimals: string;
|
|
2499
|
-
isZero: boolean;
|
|
2500
|
-
};
|
|
2501
|
-
balanceOfUSD?: undefined;
|
|
2502
2483
|
}>;
|
|
2484
|
+
StakingToken: ERC20Entity;
|
|
2503
2485
|
Incentive: ERC20Entity;
|
|
2504
2486
|
totalSupply(): Promise<{
|
|
2505
2487
|
totalSupply: {
|
|
@@ -2509,6 +2491,7 @@ declare class GaugeEntity {
|
|
|
2509
2491
|
decimals: string;
|
|
2510
2492
|
isZero: boolean;
|
|
2511
2493
|
};
|
|
2494
|
+
totalSupplyUSD: string;
|
|
2512
2495
|
}>;
|
|
2513
2496
|
votes(account: `0x${string}`): Promise<{
|
|
2514
2497
|
votes: string;
|
|
@@ -3752,6 +3735,8 @@ declare class MarshallDao {
|
|
|
3752
3735
|
gaugeList(args: {
|
|
3753
3736
|
account: `0x${string}`;
|
|
3754
3737
|
}): Promise<import("@dappworks/kit/aiem").QueryReturnType<GaugeEntity, {
|
|
3738
|
+
address: true;
|
|
3739
|
+
chainId: true;
|
|
3755
3740
|
gaugeType: true;
|
|
3756
3741
|
apr: true;
|
|
3757
3742
|
rewards: [
|