@typus/typus-sdk 0.5.8 → 0.5.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/lib/test/eventListener.js +3 -2
- package/lib/test/testClaim.js +1 -1
- package/lib/test/testDeposit.js +1 -1
- package/lib/test/testDepositV2.js +2 -2
- package/lib/test/testMint.js +1 -1
- package/lib/test/testNewAuction.js +1 -1
- package/lib/test/testNewVault.js +1 -1
- package/lib/test/testOracle.js +1 -1
- package/lib/test/testSettle.js +1 -1
- package/lib/test/testUnsubscribe.js +1 -1
- package/lib/test/testWithdraw.js +1 -1
- package/lib/utils/authorized/getAuthorizedAddAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedAddCoveredCallVaultAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedDeliveryTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedEvolutionTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedLastEvolutionTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedNewAuctionTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedNewCoveredCallVaultTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedRemoveAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedRemoveCoveredCallVaultAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedSettleTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedUpdateCapacityTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedUpdateNextVaultConfigTx.d.ts +1 -1
- package/lib/utils/authorized/getAuthorizedUpdateVaultConfigTx.d.ts +1 -1
- package/lib/utils/coveredCall/createPriceOracle.js +1 -1
- package/lib/utils/coveredCall/createTimeOracle.js +1 -1
- package/lib/utils/coveredCall/getAddCoveredCallVaultAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/coveredCall/getClaimAllTx.d.ts +1 -1
- package/lib/utils/coveredCall/getClaimTx.d.ts +1 -1
- package/lib/utils/coveredCall/getCloseAuctionTx.d.ts +1 -1
- package/lib/utils/coveredCall/getCloseVaultTx.d.ts +1 -1
- package/lib/utils/coveredCall/getDeliveryTx.d.ts +1 -1
- package/lib/utils/coveredCall/getDepositTx.d.ts +1 -1
- package/lib/utils/coveredCall/getEvolutionTx.d.ts +1 -1
- package/lib/utils/coveredCall/getLastEvolutionTx.d.ts +1 -1
- package/lib/utils/coveredCall/getMakerClaimAllTx.d.ts +1 -1
- package/lib/utils/coveredCall/getMakerClaimTx.d.ts +1 -1
- package/lib/utils/coveredCall/getNewAuctionTx.d.ts +1 -1
- package/lib/utils/coveredCall/getNewAuctionWithNextCoveredCallVaultTx.d.ts +1 -1
- package/lib/utils/coveredCall/getNewBidTx.d.ts +1 -1
- package/lib/utils/coveredCall/getNewCoveredCallVaultTx.d.ts +1 -1
- package/lib/utils/coveredCall/getNewManagerTx.d.ts +1 -1
- package/lib/utils/coveredCall/getRefundTx.d.ts +1 -1
- package/lib/utils/coveredCall/getRemoveBidTx.d.ts +1 -1
- package/lib/utils/coveredCall/getRemoveCoveredCallVaultAuthorizedUserTx.d.ts +1 -1
- package/lib/utils/coveredCall/getRemoveManagerTx.d.ts +1 -1
- package/lib/utils/coveredCall/getRollOverTx.d.ts +1 -1
- package/lib/utils/coveredCall/getSettleTx.d.ts +1 -1
- package/lib/utils/coveredCall/getSettleWithRollOverTx.d.ts +1 -1
- package/lib/utils/coveredCall/getSubscribeTx.d.ts +1 -1
- package/lib/utils/coveredCall/getUnsubscribeTx.d.ts +1 -1
- package/lib/utils/coveredCall/getUpdateCapacityTx.d.ts +1 -1
- package/lib/utils/coveredCall/getUpdateNextVaultConfigTx.d.ts +1 -1
- package/lib/utils/coveredCall/getUpdatePayoffConfigTx.d.ts +1 -1
- package/lib/utils/coveredCall/getUpdateVaultConfigTx.d.ts +1 -1
- package/lib/utils/coveredCall/getWithdrawTx.d.ts +1 -1
- package/lib/utils/getCreateTokenRegistryTx.d.ts +1 -1
- package/lib/utils/getMintTx.d.ts +1 -1
- package/lib/utils/getNewOracleTx.d.ts +1 -1
- package/lib/utils/getNewTimeOracleTx.d.ts +1 -1
- package/lib/utils/getUpdateOracleTx.d.ts +1 -1
- package/lib/utils/getUpdateTimeOracleTx.d.ts +1 -1
- package/package.json +1 -1
|
@@ -219,7 +219,8 @@ function getNewAuctionEventsCranker(type, renewSec, provider) {
|
|
|
219
219
|
return [4 /*yield*/, twoObjArrAreSame(newRes, res)];
|
|
220
220
|
case 2:
|
|
221
221
|
if (!!(_b.sent())) return [3 /*break*/, 5];
|
|
222
|
-
format_2 = "Typus Auction is live!
|
|
222
|
+
format_2 = "Typus Auction is live! ";
|
|
223
|
+
format_2 += '<a href="https://devnet.typus.finance/auction">Bid now </a>' + "! \n";
|
|
223
224
|
return [4 /*yield*/, (0, getVaultData_1.getVaultDataFromRegistry)(constants_1.COVERED_CALL_REGISTRY, provider)];
|
|
224
225
|
case 3:
|
|
225
226
|
vault = _b.sent();
|
|
@@ -347,7 +348,7 @@ function sendEventToTelegramChannel(text) {
|
|
|
347
348
|
return __awaiter(this, void 0, void 0, function () {
|
|
348
349
|
var urlString, request;
|
|
349
350
|
return __generator(this, function (_a) {
|
|
350
|
-
urlString = "https://api.telegram.org/bot".concat(apiToken, "/sendMessage?chat_id=").concat(chatId, "&text=").concat(text);
|
|
351
|
+
urlString = "https://api.telegram.org/bot".concat(apiToken, "/sendMessage?chat_id=").concat(chatId, "&text=").concat(text, "&parse_mode=HTML");
|
|
351
352
|
request = new XMLHttpRequest();
|
|
352
353
|
request.open("GET", urlString);
|
|
353
354
|
request.send();
|
package/lib/test/testClaim.js
CHANGED
|
@@ -61,7 +61,7 @@ var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
|
61
61
|
case 1:
|
|
62
62
|
typeArgument = _a.sent();
|
|
63
63
|
console.log("test for claim, try to claim " + token + " for " + claimAmount + " ...");
|
|
64
|
-
gasBudget =
|
|
64
|
+
gasBudget = 100000;
|
|
65
65
|
return [4 /*yield*/, (0, getClaimTx_1.getClaimTx)(gasBudget, constants_1.COVERED_CALL_PACKAGE, constants_1.COVERED_CALL_REGISTRY, typeArgument, vaultIndex[0])];
|
|
66
66
|
case 2:
|
|
67
67
|
claimTx = _a.sent();
|
package/lib/test/testDeposit.js
CHANGED
|
@@ -60,7 +60,7 @@ var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
|
60
60
|
case 1:
|
|
61
61
|
typeArgument = _a.sent();
|
|
62
62
|
console.log("test for deposit, try to deposit " + token + " for " + depositAmount + " ...");
|
|
63
|
-
gasBudget =
|
|
63
|
+
gasBudget = 100000;
|
|
64
64
|
return [4 /*yield*/, (0, getDepositTx_1.getDepositTx)(gasBudget, constants_1.COVERED_CALL_PACKAGE, constants_1.COVERED_CALL_REGISTRY, typeArgument, vaultIndex, token, depositAmount)];
|
|
65
65
|
case 2:
|
|
66
66
|
depositTx = _a.sent();
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
// it('Create new vault in registry', async () => {
|
|
34
34
|
// try {
|
|
35
35
|
// let newSharkFinVaultTx: any = await getNewSharkFinVaultTx(
|
|
36
|
-
// gasBudget:
|
|
36
|
+
// gasBudget: number, SHARKFIN_PACKAGE, SHARKFIN_REGISTRY, typeArgument, expiration, bullish, lowBarrierPrice, highBarrierPrice);
|
|
37
37
|
// let moveCallTxn = await signer.executeMoveCall(newSharkFinVaultTx);
|
|
38
38
|
// console.log(moveCallTxn)
|
|
39
39
|
// assert.ok("Create new vault in registry successfully");
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
// let numOfVaultBeforeCreateVault = registry.details.data.fields.num_of_vault
|
|
49
49
|
// // console.log("numOfVaultBeforeCreateVault: " + numOfVaultBeforeCreateVault)
|
|
50
50
|
// let newSharkFinVaultTx: any = await getNewSharkFinVaultTx(
|
|
51
|
-
// gasBudget:
|
|
51
|
+
// gasBudget: number, SHARKFIN_PACKAGE, SHARKFIN_REGISTRY, typeArgument, expiration, bullish, lowBarrierPrice, highBarrierPrice);
|
|
52
52
|
// await signer.executeMoveCall(newSharkFinVaultTx);
|
|
53
53
|
// registry = await provider.getObject(SHARKFIN_REGISTRY)
|
|
54
54
|
// //@ts-ignore
|
package/lib/test/testMint.js
CHANGED
|
@@ -52,7 +52,7 @@ var mintAmount = 1000500000;
|
|
|
52
52
|
return [4 /*yield*/, prepareData(tokenRegistry)];
|
|
53
53
|
case 1:
|
|
54
54
|
moduleName = _a.sent();
|
|
55
|
-
gasBudget =
|
|
55
|
+
gasBudget = 100000;
|
|
56
56
|
return [4 /*yield*/, (0, getMintTx_1.getMintTx)(gasBudget, constants_1.TOKEN_PACKAGE, tokenRegistry, moduleName, mintAmount)];
|
|
57
57
|
case 2:
|
|
58
58
|
mintTx = _a.sent();
|
|
@@ -80,7 +80,7 @@ var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
|
80
80
|
_b = __read.apply(void 0, [_c.sent(), 2]), timeOracle = _b[0], timeOracleManager = _b[1];
|
|
81
81
|
activationTsMs = 1671992000000;
|
|
82
82
|
expirationTsMs = 1;
|
|
83
|
-
gasBudget =
|
|
83
|
+
gasBudget = 100000;
|
|
84
84
|
return [4 /*yield*/, (0, getNewAuctionTx_1.getNewAuctionTx)(gasBudget, constants_1.COVERED_CALL_PACKAGE, constants_1.COVERED_CALL_REGISTRY, typeArgument, constants_1.COVERED_CALL_MANAGER, vaultIndex.toString(), priceOracle, timeOracle)];
|
|
85
85
|
case 4:
|
|
86
86
|
newAuctionTx = _c.sent();
|
package/lib/test/testNewVault.js
CHANGED
|
@@ -99,7 +99,7 @@ var leverage = "100";
|
|
|
99
99
|
case 2:
|
|
100
100
|
_a = __read.apply(void 0, [_b.sent(), 2]), timeOracle = _a[0], _ = _a[1];
|
|
101
101
|
console.log(typeArgument, timeOracle);
|
|
102
|
-
gasBudget =
|
|
102
|
+
gasBudget = 100000;
|
|
103
103
|
return [4 /*yield*/, (0, getNewCoveredCallVaultTx_1.getNewCoveredCallVaultTx)(gasBudget, constants_1.COVERED_CALL_PACKAGE, constants_1.COVERED_CALL_REGISTRY, typeArgument, constants_1.COVERED_CALL_MANAGER, timeOracle, period, activationTsMs, expirationTsMs.toString(), tokenDecimal, shareDecimal, capacity, strikeOtmPct, strikeIncrement, decaySpeed, initialPrice, finalPrice, auctionDurationInMs, [], leverage)];
|
|
104
104
|
case 3:
|
|
105
105
|
newCoveredCallVaultTx = _b.sent();
|
package/lib/test/testOracle.js
CHANGED
|
@@ -52,7 +52,7 @@ var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
|
52
52
|
unix = 5678;
|
|
53
53
|
decimal = 8;
|
|
54
54
|
console.log("create new oracle...");
|
|
55
|
-
gasBudget =
|
|
55
|
+
gasBudget = 100000;
|
|
56
56
|
return [4 /*yield*/, (0, getNewOracleTx_1.getNewOracleTx)(gasBudget, constants_1.ORACLE_PACKAGE, constants_1.DEFAULT_TYPE_ARGUMENT, decimal)];
|
|
57
57
|
case 1:
|
|
58
58
|
newOracleTx = _a.sent();
|
package/lib/test/testSettle.js
CHANGED
|
@@ -87,7 +87,7 @@ var strike = 2000;
|
|
|
87
87
|
var isRolling = true;
|
|
88
88
|
var expirationTsMs1 = 1000000;
|
|
89
89
|
var expirationTsMs2 = 2000000;
|
|
90
|
-
var gasBudget =
|
|
90
|
+
var gasBudget = 100000;
|
|
91
91
|
// let priceOracle = '0x636b4e02991f13720571d0cbbc8b83d80cd14729';
|
|
92
92
|
// let priceOracleManager = '0xd958057a227cdfd2080f4aeda7a16d6fe7135bcc';
|
|
93
93
|
// let timeOracle = '0x2b06a0f8109e394258c288b1d90c8c5a9c3832db';
|
|
@@ -44,7 +44,7 @@ var getUnsubscribeTx_1 = require("../utils/coveredCall/getUnsubscribeTx");
|
|
|
44
44
|
var provider = new sui_js_1.JsonRpcProvider(constants_1.TESTNET_RPC_ENDPOINT); //for read only operations
|
|
45
45
|
var keypair = sui_js_1.Ed25519Keypair.deriveKeypair(constants_1.TEST_MNEMONIC);
|
|
46
46
|
var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
47
|
-
var gasBudget =
|
|
47
|
+
var gasBudget = 100000;
|
|
48
48
|
/*
|
|
49
49
|
after unsubscribe, the subvault (is deposited) "balance" in fields will be 0,
|
|
50
50
|
and a regular linked list node will be created if not exist, and the value increase.
|
package/lib/test/testWithdraw.js
CHANGED
|
@@ -57,7 +57,7 @@ var signer = new sui_js_1.RawSigner(keypair, provider);
|
|
|
57
57
|
case 1:
|
|
58
58
|
typeArgument = _a.sent();
|
|
59
59
|
console.log("test for withdraw, try to withdraw " + token + " for " + withdrawAmount + " ...");
|
|
60
|
-
gasBudget =
|
|
60
|
+
gasBudget = 100000;
|
|
61
61
|
return [4 /*yield*/, (0, getWithdrawTx_1.getWithdrawTx)(gasBudget, constants_1.COVERED_CALL_PACKAGE, constants_1.COVERED_CALL_REGISTRY, typeArgument, vaultIndex.toString(), withdrawAmount.toString())];
|
|
62
62
|
case 2:
|
|
63
63
|
withdrawTx = _a.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedAddAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedAddAuthorizedUserTx(gasBudget: number, packageId: string, registry: string, managerCap: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedAddCoveredCallVaultAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedAddCoveredCallVaultAuthorizedUserTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedDeliveryTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedDeliveryTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedEvolutionTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedEvolutionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, priceOracle: string, timeOracle: string, activationTsMs: string, expirationTsMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedLastEvolutionTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedLastEvolutionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, priceOracle: string, timeOracle: string, expirationTsMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewAuctionTx(gasBudget:
|
|
1
|
+
export declare function getNewAuctionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, priceOracle: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedNewCoveredCallVaultTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedNewCoveredCallVaultTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, timeOracle: string, period: string, activationTsMs: string, expirationTsMs: string, tokenDecimal: string, shareDecimal: string, capacity: string, strikeOtmPct: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string, whitelist: string[], leverage: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedRemoveAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedRemoveAuthorizedUserTx(gasBudget: number, packageId: string, registry: string, managerCap: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedRemoveCoveredCallVaultAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedRemoveCoveredCallVaultAuthorizedUserTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedSettleTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedSettleTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, priceOracle: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedUpdateCapacityTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedUpdateCapacityTx(gasBudget: number, packageId: string, typeArgument: string, registry: string, index: string, capacity: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateNextVaultConfigTx(gasBudget:
|
|
1
|
+
export declare function getUpdateNextVaultConfigTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, strikeOtmPct: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAuthorizedUpdateVaultConfigTx(gasBudget:
|
|
1
|
+
export declare function getAuthorizedUpdateVaultConfigTx(gasBudget: number, packageId: string, typeArgument: string, registry: string, index: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string): Promise<any>;
|
|
@@ -55,7 +55,7 @@ function createPriceOracle(typeArgument) {
|
|
|
55
55
|
case 0:
|
|
56
56
|
_a.trys.push([0, 4, , 5]);
|
|
57
57
|
console.log("create new price oracle...");
|
|
58
|
-
gasBudget =
|
|
58
|
+
gasBudget = 100000;
|
|
59
59
|
return [4 /*yield*/, (0, getNewOracleTx_1.getNewOracleTx)(gasBudget, constants_1.ORACLE_PACKAGE, typeArgument, decimal)];
|
|
60
60
|
case 1:
|
|
61
61
|
newOracleTx = _a.sent();
|
|
@@ -54,7 +54,7 @@ function createTimeOracle() {
|
|
|
54
54
|
case 0:
|
|
55
55
|
_a.trys.push([0, 4, , 5]);
|
|
56
56
|
console.log("create new time oracle...");
|
|
57
|
-
gasBudget =
|
|
57
|
+
gasBudget = 100000;
|
|
58
58
|
return [4 /*yield*/, (0, getNewTimeOracleTx_1.getNewTimeOracleTx)(gasBudget, constants_1.ORACLE_PACKAGE)];
|
|
59
59
|
case 1:
|
|
60
60
|
newTimeOracleTx = _a.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getAddCoveredCallVaultAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getAddCoveredCallVaultAuthorizedUserTx(gasBudget: number, packageId: string, managerCap: string, registry: string, typeArgument: string, index: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getClaimAllTx(gasBudget:
|
|
1
|
+
export declare function getClaimAllTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string[]): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getClaimTx(gasBudget:
|
|
1
|
+
export declare function getClaimTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getCloseAuctionTx(gasBudget:
|
|
1
|
+
export declare function getCloseAuctionTx(gasBudget: number, packageId: string, managerCap: string, typeArgument: string, registry: string, index: string, time: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getCloseVaultTx(gasBudget:
|
|
1
|
+
export declare function getCloseVaultTx(gasBudget: number, packageId: string, managerCap: string, typeArgument: string, registry: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getDeliveryTx(gasBudget:
|
|
1
|
+
export declare function getDeliveryTx(gasBudget: number, packageId: string, managerCap: string, registry: string, typeArgument: string, index: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getDepositTx(gasBudget:
|
|
1
|
+
export declare function getDepositTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, vaultIndex: string, coin: string, amount: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getEvolutionTx(gasBudget:
|
|
1
|
+
export declare function getEvolutionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, priceOracle: string, timeOracle: string, activationTsMs: string, expirationTsMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getEvolutionTx(gasBudget:
|
|
1
|
+
export declare function getEvolutionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, priceOracle: string, timeOracle: string, expirationTsMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getMakerClaimAllTx(gasBudget:
|
|
1
|
+
export declare function getMakerClaimAllTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getMakerClaimTx(gasBudget:
|
|
1
|
+
export declare function getMakerClaimTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewAuctionTx(gasBudget:
|
|
1
|
+
export declare function getNewAuctionTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, priceOracle: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewAuctionWithNextCoveredCallVaultTx(gasBudget:
|
|
1
|
+
export declare function getNewAuctionWithNextCoveredCallVaultTx(gasBudget: number, packageId: string, managerCap: string, registry: string, typeArgument: string, index: number, priceOracle: string, timeOracle: string, activationTsMs: number, expirationTsMs: number): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewBidTx(gasBudget:
|
|
1
|
+
export declare function getNewBidTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, vaultIndex: string, size: string, coin: string, time: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewCoveredCallVaultTx(gasBudget:
|
|
1
|
+
export declare function getNewCoveredCallVaultTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, timeOracle: string, period: string, activationTsMs: string, expirationTsMs: string, tokenDecimal: string, shareDecimal: string, capacity: string, strikeOtmPct: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string, whitelist: string[], leverage: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewManagerTx(gasBudget:
|
|
1
|
+
export declare function getNewManagerTx(gasBudget: number, packageId: string, managerCap: string, user: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRefundTx(gasBudget:
|
|
1
|
+
export declare function getRefundTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRemoveBidTx(gasBudget:
|
|
1
|
+
export declare function getRemoveBidTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, bidIndex: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRemoveCoveredCallVaultAuthorizedUserTx(gasBudget:
|
|
1
|
+
export declare function getRemoveCoveredCallVaultAuthorizedUserTx(gasBudget: number, packageId: string, managerCap: string, registry: string, typeArgument: string, index: string, address: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRemoveManagerTx(gasBudget:
|
|
1
|
+
export declare function getRemoveManagerTx(gasBudget: number, packageId: string, managerCap: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRollOverTx(gasBudget:
|
|
1
|
+
export declare function getRollOverTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getSettleTx(gasBudget:
|
|
1
|
+
export declare function getSettleTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, priceOracle: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getSettleWithRollOverTx(gasBudget:
|
|
1
|
+
export declare function getSettleWithRollOverTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, priceOracle: string, timeOracle: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getSubscribeTx(gasBudget:
|
|
1
|
+
export declare function getSubscribeTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, share: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUnsubscribeTx(gasBudget:
|
|
1
|
+
export declare function getUnsubscribeTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, index: string, share: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateCapacityTx(gasBudget:
|
|
1
|
+
export declare function getUpdateCapacityTx(gasBudget: number, packageId: string, managerCap: string, typeArgument: string, registry: string, index: string, capacity: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateNextVaultConfigTx(gasBudget:
|
|
1
|
+
export declare function getUpdateNextVaultConfigTx(gasBudget: number, packageId: string, managerCap: string, registry: string, typeArgument: string, index: string, strikeOtmPct: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdatePayoffConfigTx(gasBudget:
|
|
1
|
+
export declare function getUpdatePayoffConfigTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, managerCap: string, index: string, roi: string, exposureRatio: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateVaultConfigTx(gasBudget:
|
|
1
|
+
export declare function getUpdateVaultConfigTx(gasBudget: number, packageId: string, managerCap: string, typeArgument: string, registry: string, index: string, strikeIncrement: string, decaySpeed: string, initialPrice: string, finalPrice: string, auctionDurationInMs: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getWithdrawTx(gasBudget:
|
|
1
|
+
export declare function getWithdrawTx(gasBudget: number, packageId: string, registry: string, typeArgument: string, vaultIndex: string, share: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getCreateTokenRegistryTx(gasBudget:
|
|
1
|
+
export declare function getCreateTokenRegistryTx(gasBudget: number, packageId: string): Promise<any>;
|
package/lib/utils/getMintTx.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getMintTx(gasBudget:
|
|
1
|
+
export declare function getMintTx(gasBudget: number, packageId: string, registry: string, moduleName: string, amount: number): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewOracleTx(gasBudget:
|
|
1
|
+
export declare function getNewOracleTx(gasBudget: number, packageId: string, typeArgument: string, decimal: number): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getNewTimeOracleTx(gasBudget:
|
|
1
|
+
export declare function getNewTimeOracleTx(gasBudget: number, packageId: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateOracleTx(gasBudget:
|
|
1
|
+
export declare function getUpdateOracleTx(gasBudget: number, packageId: string, typeArgument: string, oracle: string, managerCap: string, price: number, unix: number): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUpdateTimeOracleTx(gasBudget:
|
|
1
|
+
export declare function getUpdateTimeOracleTx(gasBudget: number, packageId: string, oracle: string, managerCap: string, ts: number): Promise<any>;
|