@scallop-io/sui-scallop-sdk 2.0.8 → 2.0.9
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.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +26 -26
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
- package/src/models/scallopClient.ts +4 -4
- package/src/models/scallopConstants.ts +1 -0
- package/src/queries/coreQuery.ts +15 -17
- package/src/queries/isolatedAssetQuery.ts +1 -1
- package/src/queries/poolAddressesQuery.ts +71 -38
- package/src/types/constant/common.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1657,7 +1657,7 @@ declare class ScallopClient {
|
|
|
1657
1657
|
* Claim unlocked SCA from all veSCA accounts.
|
|
1658
1658
|
*/
|
|
1659
1659
|
claimAllUnlockedSca(): Promise<SuiTransactionBlockResponse>;
|
|
1660
|
-
claimAllUnlockedSca<S extends boolean>(
|
|
1660
|
+
claimAllUnlockedSca<S extends boolean>(sign?: S, walletAddress?: string): Promise<ScallopClientVeScaReturnType<S>>;
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Mint and get test coin.
|
|
1663
1663
|
*
|
|
@@ -2003,7 +2003,7 @@ type PoolAddress = {
|
|
|
2003
2003
|
sCoinSymbol?: string;
|
|
2004
2004
|
sCoinMetadataId?: string;
|
|
2005
2005
|
sCoinTreasury?: string;
|
|
2006
|
-
isolatedAssetKey
|
|
2006
|
+
isolatedAssetKey: boolean;
|
|
2007
2007
|
spool?: string;
|
|
2008
2008
|
spoolReward?: string;
|
|
2009
2009
|
spoolName?: string;
|
|
@@ -2022,6 +2022,7 @@ type Whitelist = {
|
|
|
2022
2022
|
rewardsAsPoint: Set<string>;
|
|
2023
2023
|
pythEndpoints: Set<string>;
|
|
2024
2024
|
deprecated: Set<string>;
|
|
2025
|
+
emerging: Set<string>;
|
|
2025
2026
|
};
|
|
2026
2027
|
type CoinWrappedType = {
|
|
2027
2028
|
from: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1657,7 +1657,7 @@ declare class ScallopClient {
|
|
|
1657
1657
|
* Claim unlocked SCA from all veSCA accounts.
|
|
1658
1658
|
*/
|
|
1659
1659
|
claimAllUnlockedSca(): Promise<SuiTransactionBlockResponse>;
|
|
1660
|
-
claimAllUnlockedSca<S extends boolean>(
|
|
1660
|
+
claimAllUnlockedSca<S extends boolean>(sign?: S, walletAddress?: string): Promise<ScallopClientVeScaReturnType<S>>;
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Mint and get test coin.
|
|
1663
1663
|
*
|
|
@@ -2003,7 +2003,7 @@ type PoolAddress = {
|
|
|
2003
2003
|
sCoinSymbol?: string;
|
|
2004
2004
|
sCoinMetadataId?: string;
|
|
2005
2005
|
sCoinTreasury?: string;
|
|
2006
|
-
isolatedAssetKey
|
|
2006
|
+
isolatedAssetKey: boolean;
|
|
2007
2007
|
spool?: string;
|
|
2008
2008
|
spoolReward?: string;
|
|
2009
2009
|
spoolName?: string;
|
|
@@ -2022,6 +2022,7 @@ type Whitelist = {
|
|
|
2022
2022
|
rewardsAsPoint: Set<string>;
|
|
2023
2023
|
pythEndpoints: Set<string>;
|
|
2024
2024
|
deprecated: Set<string>;
|
|
2025
|
+
emerging: Set<string>;
|
|
2025
2026
|
};
|
|
2026
2027
|
type CoinWrappedType = {
|
|
2027
2028
|
from: string;
|