@scallop-io/sui-scallop-sdk 2.2.4 → 2.2.6-tbw-sponsored-alpha.1
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/builders/coreBuilder.ts +8 -2
- package/src/models/scallopClient.ts +2 -1
- package/src/types/builder/core.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1528,7 +1528,7 @@ declare class ScallopClient implements ScallopClientInterface {
|
|
|
1528
1528
|
* @return Transaction block response or transaction block.
|
|
1529
1529
|
*/
|
|
1530
1530
|
depositCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
|
|
1531
|
-
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1531
|
+
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Withdraw collateral from the specific pool.
|
|
1534
1534
|
*
|
|
@@ -1837,7 +1837,7 @@ type CoreQuickMethods = {
|
|
|
1837
1837
|
sponsoredFeeds?: string[];
|
|
1838
1838
|
isSponsoredTx?: boolean;
|
|
1839
1839
|
}) => Promise<TransactionResult>;
|
|
1840
|
-
depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean) => Promise<TransactionResult>;
|
|
1840
|
+
depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean, isSponsoredTx?: boolean) => Promise<TransactionResult>;
|
|
1841
1841
|
withdrawQuick: (amount: number, poolCoinName: string) => Promise<TransactionResult>;
|
|
1842
1842
|
repayQuick: (amount: number, poolCoinName: string, obligationId?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<void>;
|
|
1843
1843
|
updateAssetPricesQuick: (assetCoinNames?: string[], updateOracleOptions?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1528,7 +1528,7 @@ declare class ScallopClient implements ScallopClientInterface {
|
|
|
1528
1528
|
* @return Transaction block response or transaction block.
|
|
1529
1529
|
*/
|
|
1530
1530
|
depositCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
|
|
1531
|
-
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1531
|
+
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Withdraw collateral from the specific pool.
|
|
1534
1534
|
*
|
|
@@ -1837,7 +1837,7 @@ type CoreQuickMethods = {
|
|
|
1837
1837
|
sponsoredFeeds?: string[];
|
|
1838
1838
|
isSponsoredTx?: boolean;
|
|
1839
1839
|
}) => Promise<TransactionResult>;
|
|
1840
|
-
depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean) => Promise<TransactionResult>;
|
|
1840
|
+
depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean, isSponsoredTx?: boolean) => Promise<TransactionResult>;
|
|
1841
1841
|
withdrawQuick: (amount: number, poolCoinName: string) => Promise<TransactionResult>;
|
|
1842
1842
|
repayQuick: (amount: number, poolCoinName: string, obligationId?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<void>;
|
|
1843
1843
|
updateAssetPricesQuick: (assetCoinNames?: string[], updateOracleOptions?: {
|