@typus/typus-sdk 1.0.112 → 1.0.113
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.
|
@@ -48,7 +48,7 @@ export declare function getDailyAttendTx(gasBudget: number, nftPackageId: string
|
|
|
48
48
|
ctx: &mut TxContext
|
|
49
49
|
)
|
|
50
50
|
*/
|
|
51
|
-
export declare function
|
|
51
|
+
export declare function getSnapshotTx(gasBudget: number, nftPackageId: string, registry: string): Promise<TransactionBlock>;
|
|
52
52
|
export declare function getNewBidTx(gasBudget: number, packageId: string, typeArguments: string[], registry: string, additional_config_registry: string, index: string, priceOracle: string, coins: string[], size: string, premium_required: string, // fe float * b_token_decimal
|
|
53
53
|
usingSponsoredGasCoin?: boolean): Promise<TransactionBlock>;
|
|
54
54
|
export declare function getDepositTx(gasBudget: number, packageId: string, typeArguments: string[], registry: string, additional_config_registry: string, index: string, coins: string[], amount: string, usingSponsoredGasCoin?: boolean): Promise<TransactionBlock>;
|
|
@@ -52,7 +52,7 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
52
52
|
return ar;
|
|
53
53
|
};
|
|
54
54
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
-
exports.getLevelUpTx = exports.getUnsubscribeTx = exports.getWithdrawTx = exports.getDepositTx = exports.getNewBidTx = exports.
|
|
55
|
+
exports.getLevelUpTx = exports.getUnsubscribeTx = exports.getWithdrawTx = exports.getDepositTx = exports.getNewBidTx = exports.getSnapshotTx = exports.getDailyAttendTx = exports.getUnstakeNftTx = exports.getCreateKioskAndLockNftTx = exports.getStakeNftTx = exports.getTransferNftsTx = exports.getTransferNftTx = void 0;
|
|
56
56
|
var sui_js_1 = require("@mysten/sui.js");
|
|
57
57
|
var constants_1 = require("../../constants");
|
|
58
58
|
var kiosk_1 = require("@mysten/kiosk");
|
|
@@ -211,7 +211,7 @@ exports.getDailyAttendTx = getDailyAttendTx;
|
|
|
211
211
|
ctx: &mut TxContext
|
|
212
212
|
)
|
|
213
213
|
*/
|
|
214
|
-
function
|
|
214
|
+
function getSnapshotTx(gasBudget, nftPackageId, registry) {
|
|
215
215
|
return __awaiter(this, void 0, void 0, function () {
|
|
216
216
|
var tx;
|
|
217
217
|
return __generator(this, function (_a) {
|
|
@@ -226,7 +226,7 @@ function getSanpshotTx(gasBudget, nftPackageId, registry) {
|
|
|
226
226
|
});
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
|
-
exports.
|
|
229
|
+
exports.getSnapshotTx = getSnapshotTx;
|
|
230
230
|
function getNewBidTx(gasBudget, packageId, typeArguments, registry, additional_config_registry, index, priceOracle, coins, size, premium_required, // fe float * b_token_decimal
|
|
231
231
|
usingSponsoredGasCoin) {
|
|
232
232
|
if (usingSponsoredGasCoin === void 0) { usingSponsoredGasCoin = false; }
|