@scallop-io/sui-scallop-sdk 2.0.8-emerging-asset-alpha.1 → 2.0.8
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 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +26 -26
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
- package/src/models/scallopClient.ts +66 -77
- package/src/models/scallopConstants.ts +0 -1
- package/src/queries/coreQuery.ts +17 -15
- package/src/queries/isolatedAssetQuery.ts +1 -1
- package/src/queries/poolAddressesQuery.ts +38 -71
- package/src/types/constant/common.ts +1 -2
package/dist/index.d.mts
CHANGED
|
@@ -1652,12 +1652,12 @@ declare class ScallopClient {
|
|
|
1652
1652
|
* Function to migrate all market coin in user wallet into sCoin
|
|
1653
1653
|
* @returns Transaction response
|
|
1654
1654
|
*/
|
|
1655
|
-
migrateAllMarketCoin<S extends boolean>(includeStakePool?: boolean, sign?: S): Promise<ScallopClientFnReturnType<S>>;
|
|
1655
|
+
migrateAllMarketCoin<S extends boolean>(includeStakePool?: boolean, sign?: S, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Claim unlocked SCA from all veSCA accounts.
|
|
1658
1658
|
*/
|
|
1659
1659
|
claimAllUnlockedSca(): Promise<SuiTransactionBlockResponse>;
|
|
1660
|
-
claimAllUnlockedSca<S extends boolean>(sign?: S): Promise<ScallopClientVeScaReturnType<S>>;
|
|
1660
|
+
claimAllUnlockedSca<S extends boolean>(walletAddress?: string, sign?: S): 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?: string;
|
|
2007
2007
|
spool?: string;
|
|
2008
2008
|
spoolReward?: string;
|
|
2009
2009
|
spoolName?: string;
|
|
@@ -2022,7 +2022,6 @@ type Whitelist = {
|
|
|
2022
2022
|
rewardsAsPoint: Set<string>;
|
|
2023
2023
|
pythEndpoints: Set<string>;
|
|
2024
2024
|
deprecated: Set<string>;
|
|
2025
|
-
emerging: Set<string>;
|
|
2026
2025
|
};
|
|
2027
2026
|
type CoinWrappedType = {
|
|
2028
2027
|
from: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1652,12 +1652,12 @@ declare class ScallopClient {
|
|
|
1652
1652
|
* Function to migrate all market coin in user wallet into sCoin
|
|
1653
1653
|
* @returns Transaction response
|
|
1654
1654
|
*/
|
|
1655
|
-
migrateAllMarketCoin<S extends boolean>(includeStakePool?: boolean, sign?: S): Promise<ScallopClientFnReturnType<S>>;
|
|
1655
|
+
migrateAllMarketCoin<S extends boolean>(includeStakePool?: boolean, sign?: S, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Claim unlocked SCA from all veSCA accounts.
|
|
1658
1658
|
*/
|
|
1659
1659
|
claimAllUnlockedSca(): Promise<SuiTransactionBlockResponse>;
|
|
1660
|
-
claimAllUnlockedSca<S extends boolean>(sign?: S): Promise<ScallopClientVeScaReturnType<S>>;
|
|
1660
|
+
claimAllUnlockedSca<S extends boolean>(walletAddress?: string, sign?: S): 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?: string;
|
|
2007
2007
|
spool?: string;
|
|
2008
2008
|
spoolReward?: string;
|
|
2009
2009
|
spoolName?: string;
|
|
@@ -2022,7 +2022,6 @@ type Whitelist = {
|
|
|
2022
2022
|
rewardsAsPoint: Set<string>;
|
|
2023
2023
|
pythEndpoints: Set<string>;
|
|
2024
2024
|
deprecated: Set<string>;
|
|
2025
|
-
emerging: Set<string>;
|
|
2026
2025
|
};
|
|
2027
2026
|
type CoinWrappedType = {
|
|
2028
2027
|
from: string;
|