@typus/typus-perp-sdk 1.0.23 → 1.0.25
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/src/api/sentio.d.ts +5 -0
- package/dist/src/api/sentio.js +59 -1
- package/dist/src/index.js +9 -9
- package/dist/src/typus_perp/admin/structs.d.ts +5 -5
- package/dist/src/typus_perp/escrow/structs.d.ts +1 -1
- package/dist/src/typus_perp/index.js +3 -3
- package/dist/src/typus_perp/lp-pool/structs.d.ts +26 -26
- package/dist/src/typus_perp/position/structs.d.ts +6 -6
- package/dist/src/typus_perp/symbol/structs.d.ts +1 -1
- package/dist/src/typus_perp/tlp/structs.d.ts +2 -2
- package/dist/src/typus_perp/trading/structs.d.ts +30 -30
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
- package/dist/src/typus_stake_pool/admin/structs.d.ts +4 -4
- package/dist/src/typus_stake_pool/index.js +3 -3
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +22 -22
- package/dist/src/user/orderWithBidReceipt.d.ts +2 -2
- package/dist/src/user/orderWithBidReceipt.js +6 -11
- package/package.json +2 -2
package/dist/src/api/sentio.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export declare function getFromSentio(event: string, userAddress: string, startTimestamp: string): Promise<any[]>;
|
|
2
2
|
export declare function getTlpAPRFromSentio(): Promise<number>;
|
|
3
|
+
export declare function getVolumeFromSentio(): Promise<any[]>;
|
|
4
|
+
export interface Volume {
|
|
5
|
+
timestamp: string;
|
|
6
|
+
value: number;
|
|
7
|
+
}
|
package/dist/src/api/sentio.js
CHANGED
|
@@ -38,6 +38,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.getFromSentio = getFromSentio;
|
|
40
40
|
exports.getTlpAPRFromSentio = getTlpAPRFromSentio;
|
|
41
|
+
exports.getVolumeFromSentio = getVolumeFromSentio;
|
|
41
42
|
var headers = {
|
|
42
43
|
"api-key": "vQCQ6ZvvFesph3Q8usDLKfc7Wx2D8AX5M",
|
|
43
44
|
"Content-Type": "application/json",
|
|
@@ -124,4 +125,61 @@ function getTlpAPRFromSentio() {
|
|
|
124
125
|
});
|
|
125
126
|
});
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
function getVolumeFromSentio() {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
130
|
+
var apiUrl, requestData, jsonData, response, data, symbols, volume;
|
|
131
|
+
return __generator(this, function (_a) {
|
|
132
|
+
switch (_a.label) {
|
|
133
|
+
case 0:
|
|
134
|
+
apiUrl = "https://app.sentio.xyz/api/v1/insights/typus/typus_perp/query";
|
|
135
|
+
requestData = {
|
|
136
|
+
timeRange: {
|
|
137
|
+
start: "now-3d",
|
|
138
|
+
end: "now",
|
|
139
|
+
step: 3600,
|
|
140
|
+
},
|
|
141
|
+
limit: 20,
|
|
142
|
+
queries: [
|
|
143
|
+
{
|
|
144
|
+
eventsQuery: {
|
|
145
|
+
resource: {
|
|
146
|
+
name: "OrderFilled",
|
|
147
|
+
type: "EVENTS",
|
|
148
|
+
},
|
|
149
|
+
alias: "",
|
|
150
|
+
id: "a",
|
|
151
|
+
aggregation: {
|
|
152
|
+
total: {},
|
|
153
|
+
},
|
|
154
|
+
groupBy: ["trading_token"],
|
|
155
|
+
limit: 0,
|
|
156
|
+
functions: [],
|
|
157
|
+
color: "",
|
|
158
|
+
disabled: false,
|
|
159
|
+
},
|
|
160
|
+
dataSource: "EVENTS",
|
|
161
|
+
sourceName: "",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
formulas: [],
|
|
165
|
+
};
|
|
166
|
+
jsonData = JSON.stringify(requestData);
|
|
167
|
+
return [4 /*yield*/, fetch(apiUrl, {
|
|
168
|
+
method: "POST",
|
|
169
|
+
headers: headers,
|
|
170
|
+
body: jsonData,
|
|
171
|
+
})];
|
|
172
|
+
case 1:
|
|
173
|
+
response = _a.sent();
|
|
174
|
+
return [4 /*yield*/, response.json()];
|
|
175
|
+
case 2:
|
|
176
|
+
data = _a.sent();
|
|
177
|
+
symbols = data.results[0].matrix.samples.map(function (s) { return s.metric.labels.trading_token; });
|
|
178
|
+
console.log(symbols);
|
|
179
|
+
volume = data.results[0].matrix.samples.map(function (s) { return s.values; });
|
|
180
|
+
console.log(volume);
|
|
181
|
+
return [2 /*return*/, data.results];
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
}
|
package/dist/src/index.js
CHANGED
|
@@ -27,17 +27,17 @@ exports.NETWORK = process.env.NEXT_PUBLIC_CLUSTER == "mainnet" ? "MAINNET" : "TE
|
|
|
27
27
|
console.log("Load .env NEXT_PUBLIC_CLUSTER: ".concat(process.env.NEXT_PUBLIC_CLUSTER));
|
|
28
28
|
console.log("Initializing Typus Perp SDK for ".concat(exports.NETWORK));
|
|
29
29
|
// Registry
|
|
30
|
-
exports.LP_POOL = exports.NETWORK == "MAINNET" ? "" : "0xdfd138d539ecfd3b57286e20e5b9fff6c3fcd7986651567591245ba4c87ca6b5";
|
|
31
|
-
exports.LIQUIDITY_POOL = exports.NETWORK == "MAINNET" ? "" : "0x8e4ad806781a50b0bed6011e97d48cc07ef23f2f6d95fd021e8625ffc1ee44f8";
|
|
30
|
+
exports.LP_POOL = exports.NETWORK == "MAINNET" ? "0x3d5c4b793617d848b46e8239873aa6b4d01abc1e026de226f9d5050ea03b0534" : "0xdfd138d539ecfd3b57286e20e5b9fff6c3fcd7986651567591245ba4c87ca6b5";
|
|
31
|
+
exports.LIQUIDITY_POOL = exports.NETWORK == "MAINNET" ? "0x29919540a3473d2127562e77a41a3f643ccf5e544770efb4d0fe0407d88bbf57" : "0x8e4ad806781a50b0bed6011e97d48cc07ef23f2f6d95fd021e8625ffc1ee44f8";
|
|
32
32
|
exports.LIQUIDITY_POOL_0 = exports.NETWORK == "MAINNET" ? "" : "0x952fadd71b6ada8fc2e9aacc2e9de2dd3dade9813427af6a3c42a5926e371f04";
|
|
33
33
|
// MarketRegistry
|
|
34
|
-
exports.MARKET = exports.NETWORK == "MAINNET" ? "" : "0x819ad73d991f69640e553048a343b3ddade3c1f807581166c40bb49fa5ae1ded";
|
|
35
|
-
exports.PERP_VERSION = exports.NETWORK == "MAINNET" ? "" : "0x26acf84bc93db806e435da1223e9e6add249724495c4103a08296d1b67d1edfc";
|
|
34
|
+
exports.MARKET = exports.NETWORK == "MAINNET" ? "0x41a9721eb80d3e097865a2d9d85cbc334f74c7b2b6a50cba1e44fe9802baa9bb" : "0x819ad73d991f69640e553048a343b3ddade3c1f807581166c40bb49fa5ae1ded";
|
|
35
|
+
exports.PERP_VERSION = exports.NETWORK == "MAINNET" ? "0x059366677707d36e6a63fa6eaa3547bb1a32d821e1ba74c78024b471afb62f27" : "0x26acf84bc93db806e435da1223e9e6add249724495c4103a08296d1b67d1edfc";
|
|
36
36
|
// LpRegistry
|
|
37
|
-
exports.TLP = exports.NETWORK == "MAINNET" ? "" : "0x42096762e1dd5721621c4104c167569e6afb0586ba92a7f92d834062dd38d7e7";
|
|
38
|
-
exports.TLP_TOKEN = exports.NETWORK == "MAINNET" ? "" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::TLP";
|
|
39
|
-
exports.TLP_TREASURY_CAP = exports.NETWORK == "MAINNET" ? "" : "0xb180a31c9335d0fb9b7f59b5aa9f0fef7e09292bb0edab9af587f9aa0f411b04";
|
|
37
|
+
exports.TLP = exports.NETWORK == "MAINNET" ? "0xc359ecccc1e5ec6e2d701bc1ad0e2e6f1299717bb43309b4359899f2aeae3d69" : "0x42096762e1dd5721621c4104c167569e6afb0586ba92a7f92d834062dd38d7e7";
|
|
38
|
+
exports.TLP_TOKEN = exports.NETWORK == "MAINNET" ? "0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::tlp::TLP" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::TLP";
|
|
39
|
+
exports.TLP_TREASURY_CAP = exports.NETWORK == "MAINNET" ? "0xf760d6e1a254f5218f9502a764bda3e7dce4a1fa0ed9414b73efe5cbd5a1fb4c" : "0xb180a31c9335d0fb9b7f59b5aa9f0fef7e09292bb0edab9af587f9aa0f411b04";
|
|
40
40
|
// StakePoolRegistry
|
|
41
|
-
exports.STAKE_POOL = exports.NETWORK == "MAINNET" ? "" : "0xcd9b35eca5209f8abe8bd9f57b5a6cdda033cc21c3e6663418d40b38681f1d34";
|
|
41
|
+
exports.STAKE_POOL = exports.NETWORK == "MAINNET" ? "0x973d90d39d9c3f424e64fb2c372df4ceaef9cf6655fafdda1bc10a1b43322737" : "0xcd9b35eca5209f8abe8bd9f57b5a6cdda033cc21c3e6663418d40b38681f1d34";
|
|
42
42
|
exports.STAKE_POOL_0 = exports.NETWORK == "MAINNET" ? "" : "0x29f3c845641a256d13a68c8613836b13aab5bd6ed6c5542e97d8098bec40e09f";
|
|
43
|
-
exports.STAKE_POOL_VERSION = exports.NETWORK == "MAINNET" ? "" : "0xf9c29dd67d8e6a145671a8cf34681d7445b85cbf79b2f204d80af230fc7e8b50";
|
|
43
|
+
exports.STAKE_POOL_VERSION = exports.NETWORK == "MAINNET" ? "0x33b5b105563256282ff1569d5bd13b08cb1f8bd79fd30ca756c7adaccef2d48a" : "0xf9c29dd67d8e6a145671a8cf34681d7445b85cbf79b2f204d80af230fc7e8b50";
|
|
@@ -36,7 +36,7 @@ export declare class Version implements StructClass {
|
|
|
36
36
|
static reified(): VersionReified;
|
|
37
37
|
static get r(): reified.StructClassReified<Version, VersionFields>;
|
|
38
38
|
static phantom(): PhantomReified<ToTypeStr<Version>>;
|
|
39
|
-
static get p(): reified.PhantomReified<"::admin::Version" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::Version">;
|
|
39
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::admin::Version" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::Version">;
|
|
40
40
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
41
41
|
id: {
|
|
42
42
|
id: {
|
|
@@ -216,7 +216,7 @@ export declare class FeeInfo implements StructClass {
|
|
|
216
216
|
static reified(): FeeInfoReified;
|
|
217
217
|
static get r(): reified.StructClassReified<FeeInfo, FeeInfoFields>;
|
|
218
218
|
static phantom(): PhantomReified<ToTypeStr<FeeInfo>>;
|
|
219
|
-
static get p(): reified.PhantomReified<"::admin::FeeInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::FeeInfo">;
|
|
219
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::admin::FeeInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::FeeInfo">;
|
|
220
220
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
221
221
|
token: {
|
|
222
222
|
name: {
|
|
@@ -278,7 +278,7 @@ export declare class FeePool implements StructClass {
|
|
|
278
278
|
static reified(): FeePoolReified;
|
|
279
279
|
static get r(): reified.StructClassReified<FeePool, FeePoolFields>;
|
|
280
280
|
static phantom(): PhantomReified<ToTypeStr<FeePool>>;
|
|
281
|
-
static get p(): reified.PhantomReified<"::admin::FeePool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::FeePool">;
|
|
281
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::admin::FeePool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::FeePool">;
|
|
282
282
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
283
283
|
id: {
|
|
284
284
|
id: {
|
|
@@ -362,7 +362,7 @@ export declare class SendFeeEvent implements StructClass {
|
|
|
362
362
|
static reified(): SendFeeEventReified;
|
|
363
363
|
static get r(): reified.StructClassReified<SendFeeEvent, SendFeeEventFields>;
|
|
364
364
|
static phantom(): PhantomReified<ToTypeStr<SendFeeEvent>>;
|
|
365
|
-
static get p(): reified.PhantomReified<"::admin::SendFeeEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::SendFeeEvent">;
|
|
365
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::admin::SendFeeEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::SendFeeEvent">;
|
|
366
366
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
367
367
|
token: {
|
|
368
368
|
name: {
|
|
@@ -424,7 +424,7 @@ export declare class ProtocolFeeEvent implements StructClass {
|
|
|
424
424
|
static reified(): ProtocolFeeEventReified;
|
|
425
425
|
static get r(): reified.StructClassReified<ProtocolFeeEvent, ProtocolFeeEventFields>;
|
|
426
426
|
static phantom(): PhantomReified<ToTypeStr<ProtocolFeeEvent>>;
|
|
427
|
-
static get p(): reified.PhantomReified<"::admin::ProtocolFeeEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::ProtocolFeeEvent">;
|
|
427
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::admin::ProtocolFeeEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::admin::ProtocolFeeEvent">;
|
|
428
428
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
429
429
|
token: {
|
|
430
430
|
name: {
|
|
@@ -45,7 +45,7 @@ export declare class UnsettledBidReceipt implements StructClass {
|
|
|
45
45
|
static reified(): UnsettledBidReceiptReified;
|
|
46
46
|
static get r(): reified.StructClassReified<UnsettledBidReceipt, UnsettledBidReceiptFields>;
|
|
47
47
|
static phantom(): PhantomReified<ToTypeStr<UnsettledBidReceipt>>;
|
|
48
|
-
static get p(): reified.PhantomReified<"::escrow::UnsettledBidReceipt" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::escrow::UnsettledBidReceipt">;
|
|
48
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::escrow::UnsettledBidReceipt" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::escrow::UnsettledBidReceipt">;
|
|
49
49
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
50
50
|
receipt: {
|
|
51
51
|
id: {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PKG_V1 = exports.PUBLISHED_AT = exports.PACKAGE_ID = void 0;
|
|
4
4
|
var index_1 = require("../index");
|
|
5
|
-
exports.PACKAGE_ID = index_1.NETWORK == "MAINNET" ? "" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
6
|
-
exports.PUBLISHED_AT = index_1.NETWORK == "MAINNET" ? "" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
7
|
-
exports.PKG_V1 = index_1.NETWORK == "MAINNET" ? "" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
5
|
+
exports.PACKAGE_ID = index_1.NETWORK == "MAINNET" ? "0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
6
|
+
exports.PUBLISHED_AT = index_1.NETWORK == "MAINNET" ? "0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
7
|
+
exports.PKG_V1 = index_1.NETWORK == "MAINNET" ? "0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3" : "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600";
|
|
@@ -34,7 +34,7 @@ export declare class Config implements StructClass {
|
|
|
34
34
|
static reified(): ConfigReified;
|
|
35
35
|
static get r(): reified.StructClassReified<Config, ConfigFields>;
|
|
36
36
|
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
37
|
-
static get p(): reified.PhantomReified<"::lp_pool::Config" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Config">;
|
|
37
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::Config" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Config">;
|
|
38
38
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
39
39
|
oracle_id: string;
|
|
40
40
|
liquidity_token_decimal: string;
|
|
@@ -196,7 +196,7 @@ export declare class State implements StructClass {
|
|
|
196
196
|
static reified(): StateReified;
|
|
197
197
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
198
198
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
199
|
-
static get p(): reified.PhantomReified<"::lp_pool::State" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::State">;
|
|
199
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::State" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::State">;
|
|
200
200
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
201
201
|
liquidity_amount: string;
|
|
202
202
|
value_in_usd: string;
|
|
@@ -280,7 +280,7 @@ export declare class Registry implements StructClass {
|
|
|
280
280
|
static reified(): RegistryReified;
|
|
281
281
|
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
282
282
|
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
283
|
-
static get p(): reified.PhantomReified<"::lp_pool::Registry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Registry">;
|
|
283
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::Registry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::Registry">;
|
|
284
284
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
285
285
|
id: {
|
|
286
286
|
id: {
|
|
@@ -356,7 +356,7 @@ export declare class AddLiquidityTokenEvent implements StructClass {
|
|
|
356
356
|
static reified(): AddLiquidityTokenEventReified;
|
|
357
357
|
static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
358
358
|
static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
|
|
359
|
-
static get p(): reified.PhantomReified<"::lp_pool::AddLiquidityTokenEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::AddLiquidityTokenEvent">;
|
|
359
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::AddLiquidityTokenEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::AddLiquidityTokenEvent">;
|
|
360
360
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
361
361
|
sender: string;
|
|
362
362
|
index: string;
|
|
@@ -606,7 +606,7 @@ export declare class BurnLpEvent implements StructClass {
|
|
|
606
606
|
static reified(): BurnLpEventReified;
|
|
607
607
|
static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
|
|
608
608
|
static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
|
|
609
|
-
static get p(): reified.PhantomReified<"::lp_pool::BurnLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::BurnLpEvent">;
|
|
609
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::BurnLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::BurnLpEvent">;
|
|
610
610
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
611
611
|
sender: string;
|
|
612
612
|
index: string;
|
|
@@ -718,7 +718,7 @@ export declare class CompleteRemoveLiquidityTokenProcessEvent implements StructC
|
|
|
718
718
|
static reified(): CompleteRemoveLiquidityTokenProcessEventReified;
|
|
719
719
|
static get r(): reified.StructClassReified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
|
|
720
720
|
static phantom(): PhantomReified<ToTypeStr<CompleteRemoveLiquidityTokenProcessEvent>>;
|
|
721
|
-
static get p(): reified.PhantomReified<"::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
721
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
722
722
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
723
723
|
index: string;
|
|
724
724
|
liquidity_token: {
|
|
@@ -808,7 +808,7 @@ export declare class LiquidityPool implements StructClass {
|
|
|
808
808
|
static reified(): LiquidityPoolReified;
|
|
809
809
|
static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
|
|
810
810
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
|
|
811
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPool">;
|
|
811
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::LiquidityPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPool">;
|
|
812
812
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
813
813
|
id: {
|
|
814
814
|
id: {
|
|
@@ -1250,7 +1250,7 @@ export declare class LiquidityPoolInfo implements StructClass {
|
|
|
1250
1250
|
static reified(): LiquidityPoolInfoReified;
|
|
1251
1251
|
static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
1252
1252
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
|
|
1253
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPoolInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPoolInfo">;
|
|
1253
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::LiquidityPoolInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::LiquidityPoolInfo">;
|
|
1254
1254
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1255
1255
|
lp_token_decimal: string;
|
|
1256
1256
|
total_share_supply: string;
|
|
@@ -1316,7 +1316,7 @@ export declare class ManagerFlashRemoveLiquidityEvent implements StructClass {
|
|
|
1316
1316
|
static reified(): ManagerFlashRemoveLiquidityEventReified;
|
|
1317
1317
|
static get r(): reified.StructClassReified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
|
|
1318
1318
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRemoveLiquidityEvent>>;
|
|
1319
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRemoveLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
1319
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::ManagerFlashRemoveLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
1320
1320
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1321
1321
|
index: string;
|
|
1322
1322
|
liquidity_token: {
|
|
@@ -1410,7 +1410,7 @@ export declare class ManagerFlashRepayLiquidityEvent implements StructClass {
|
|
|
1410
1410
|
static reified(): ManagerFlashRepayLiquidityEventReified;
|
|
1411
1411
|
static get r(): reified.StructClassReified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
|
|
1412
1412
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRepayLiquidityEvent>>;
|
|
1413
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRepayLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
1413
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::ManagerFlashRepayLiquidityEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
1414
1414
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1415
1415
|
index: string;
|
|
1416
1416
|
liquidity_token: {
|
|
@@ -1506,7 +1506,7 @@ export declare class MarginConfig implements StructClass {
|
|
|
1506
1506
|
static reified(): MarginConfigReified;
|
|
1507
1507
|
static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
|
|
1508
1508
|
static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
|
|
1509
|
-
static get p(): reified.PhantomReified<"::lp_pool::MarginConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MarginConfig">;
|
|
1509
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::MarginConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MarginConfig">;
|
|
1510
1510
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1511
1511
|
basic_borrow_rate_0: string;
|
|
1512
1512
|
basic_borrow_rate_1: string;
|
|
@@ -1594,7 +1594,7 @@ export declare class MintLpEvent implements StructClass {
|
|
|
1594
1594
|
static reified(): MintLpEventReified;
|
|
1595
1595
|
static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
|
|
1596
1596
|
static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
|
|
1597
|
-
static get p(): reified.PhantomReified<"::lp_pool::MintLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MintLpEvent">;
|
|
1597
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::MintLpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::MintLpEvent">;
|
|
1598
1598
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1599
1599
|
sender: string;
|
|
1600
1600
|
index: string;
|
|
@@ -1706,7 +1706,7 @@ export declare class NewLiquidityPoolEvent implements StructClass {
|
|
|
1706
1706
|
static reified(): NewLiquidityPoolEventReified;
|
|
1707
1707
|
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1708
1708
|
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
1709
|
-
static get p(): reified.PhantomReified<"::lp_pool::NewLiquidityPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::NewLiquidityPoolEvent">;
|
|
1709
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::NewLiquidityPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::NewLiquidityPoolEvent">;
|
|
1710
1710
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1711
1711
|
sender: string;
|
|
1712
1712
|
index: string;
|
|
@@ -1792,7 +1792,7 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
1792
1792
|
static reified(): RemoveLiquidityTokenProcessReified;
|
|
1793
1793
|
static get r(): reified.StructClassReified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
|
|
1794
1794
|
static phantom(): PhantomReified<ToTypeStr<RemoveLiquidityTokenProcess>>;
|
|
1795
|
-
static get p(): reified.PhantomReified<"::lp_pool::RemoveLiquidityTokenProcess" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::RemoveLiquidityTokenProcess">;
|
|
1795
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::RemoveLiquidityTokenProcess" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::RemoveLiquidityTokenProcess">;
|
|
1796
1796
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1797
1797
|
liquidity_token: {
|
|
1798
1798
|
name: {
|
|
@@ -1908,7 +1908,7 @@ export declare class ResumePoolEvent implements StructClass {
|
|
|
1908
1908
|
static reified(): ResumePoolEventReified;
|
|
1909
1909
|
static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
|
|
1910
1910
|
static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
|
|
1911
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumePoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumePoolEvent">;
|
|
1911
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::ResumePoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumePoolEvent">;
|
|
1912
1912
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1913
1913
|
sender: string;
|
|
1914
1914
|
index: string;
|
|
@@ -1966,7 +1966,7 @@ export declare class ResumeTokenPoolEvent implements StructClass {
|
|
|
1966
1966
|
static reified(): ResumeTokenPoolEventReified;
|
|
1967
1967
|
static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
1968
1968
|
static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
|
|
1969
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumeTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumeTokenPoolEvent">;
|
|
1969
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::ResumeTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::ResumeTokenPoolEvent">;
|
|
1970
1970
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1971
1971
|
sender: string;
|
|
1972
1972
|
index: string;
|
|
@@ -2054,7 +2054,7 @@ export declare class SpotConfig implements StructClass {
|
|
|
2054
2054
|
static reified(): SpotConfigReified;
|
|
2055
2055
|
static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
|
|
2056
2056
|
static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
|
|
2057
|
-
static get p(): reified.PhantomReified<"::lp_pool::SpotConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SpotConfig">;
|
|
2057
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::SpotConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SpotConfig">;
|
|
2058
2058
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2059
2059
|
min_deposit: string;
|
|
2060
2060
|
max_capacity: string;
|
|
@@ -2138,7 +2138,7 @@ export declare class StartRemoveLiquidityTokenProcessEvent implements StructClas
|
|
|
2138
2138
|
static reified(): StartRemoveLiquidityTokenProcessEventReified;
|
|
2139
2139
|
static get r(): reified.StructClassReified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
|
|
2140
2140
|
static phantom(): PhantomReified<ToTypeStr<StartRemoveLiquidityTokenProcessEvent>>;
|
|
2141
|
-
static get p(): reified.PhantomReified<"::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
2141
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
2142
2142
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2143
2143
|
index: string;
|
|
2144
2144
|
liquidity_token: {
|
|
@@ -2208,7 +2208,7 @@ export declare class SuspendPoolEvent implements StructClass {
|
|
|
2208
2208
|
static reified(): SuspendPoolEventReified;
|
|
2209
2209
|
static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
2210
2210
|
static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
|
|
2211
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendPoolEvent">;
|
|
2211
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::SuspendPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendPoolEvent">;
|
|
2212
2212
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2213
2213
|
sender: string;
|
|
2214
2214
|
index: string;
|
|
@@ -2266,7 +2266,7 @@ export declare class SuspendTokenPoolEvent implements StructClass {
|
|
|
2266
2266
|
static reified(): SuspendTokenPoolEventReified;
|
|
2267
2267
|
static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
2268
2268
|
static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
|
|
2269
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendTokenPoolEvent">;
|
|
2269
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::SuspendTokenPoolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SuspendTokenPoolEvent">;
|
|
2270
2270
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2271
2271
|
sender: string;
|
|
2272
2272
|
index: string;
|
|
@@ -2358,7 +2358,7 @@ export declare class SwapEvent implements StructClass {
|
|
|
2358
2358
|
static reified(): SwapEventReified;
|
|
2359
2359
|
static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
|
|
2360
2360
|
static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
|
|
2361
|
-
static get p(): reified.PhantomReified<"::lp_pool::SwapEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SwapEvent">;
|
|
2361
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::SwapEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::SwapEvent">;
|
|
2362
2362
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2363
2363
|
sender: string;
|
|
2364
2364
|
index: string;
|
|
@@ -2478,7 +2478,7 @@ export declare class TokenPool implements StructClass {
|
|
|
2478
2478
|
static reified(): TokenPoolReified;
|
|
2479
2479
|
static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
|
|
2480
2480
|
static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
|
|
2481
|
-
static get p(): reified.PhantomReified<"::lp_pool::TokenPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::TokenPool">;
|
|
2481
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::TokenPool" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::TokenPool">;
|
|
2482
2482
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2483
2483
|
token_type: {
|
|
2484
2484
|
name: {
|
|
@@ -2712,7 +2712,7 @@ export declare class UpdateBorrowInfoEvent implements StructClass {
|
|
|
2712
2712
|
static reified(): UpdateBorrowInfoEventReified;
|
|
2713
2713
|
static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
2714
2714
|
static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
|
|
2715
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateBorrowInfoEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateBorrowInfoEvent">;
|
|
2715
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::UpdateBorrowInfoEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateBorrowInfoEvent">;
|
|
2716
2716
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2717
2717
|
index: string;
|
|
2718
2718
|
liquidity_token_type: {
|
|
@@ -2810,7 +2810,7 @@ export declare class UpdateLiquidityValueEvent implements StructClass {
|
|
|
2810
2810
|
static reified(): UpdateLiquidityValueEventReified;
|
|
2811
2811
|
static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
2812
2812
|
static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
|
|
2813
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateLiquidityValueEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateLiquidityValueEvent">;
|
|
2813
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::UpdateLiquidityValueEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateLiquidityValueEvent">;
|
|
2814
2814
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2815
2815
|
sender: string;
|
|
2816
2816
|
index: string;
|
|
@@ -2902,7 +2902,7 @@ export declare class UpdateMarginConfigEvent implements StructClass {
|
|
|
2902
2902
|
static reified(): UpdateMarginConfigEventReified;
|
|
2903
2903
|
static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
2904
2904
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
|
|
2905
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateMarginConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateMarginConfigEvent">;
|
|
2905
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::UpdateMarginConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateMarginConfigEvent">;
|
|
2906
2906
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2907
2907
|
sender: string;
|
|
2908
2908
|
index: string;
|
|
@@ -3066,7 +3066,7 @@ export declare class UpdateSpotConfigEvent implements StructClass {
|
|
|
3066
3066
|
static reified(): UpdateSpotConfigEventReified;
|
|
3067
3067
|
static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
3068
3068
|
static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
|
|
3069
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateSpotConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateSpotConfigEvent">;
|
|
3069
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::lp_pool::UpdateSpotConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::lp_pool::UpdateSpotConfigEvent">;
|
|
3070
3070
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3071
3071
|
sender: string;
|
|
3072
3072
|
index: string;
|
|
@@ -31,7 +31,7 @@ export declare class OptionCollateralInfo implements StructClass {
|
|
|
31
31
|
static reified(): OptionCollateralInfoReified;
|
|
32
32
|
static get r(): reified.StructClassReified<OptionCollateralInfo, OptionCollateralInfoFields>;
|
|
33
33
|
static phantom(): PhantomReified<ToTypeStr<OptionCollateralInfo>>;
|
|
34
|
-
static get p(): reified.PhantomReified<"::position::OptionCollateralInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OptionCollateralInfo">;
|
|
34
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::OptionCollateralInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OptionCollateralInfo">;
|
|
35
35
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
36
36
|
index: string;
|
|
37
37
|
bid_token: {
|
|
@@ -131,7 +131,7 @@ export declare class OrderFilledEvent implements StructClass {
|
|
|
131
131
|
static reified(): OrderFilledEventReified;
|
|
132
132
|
static get r(): reified.StructClassReified<OrderFilledEvent, OrderFilledEventFields>;
|
|
133
133
|
static phantom(): PhantomReified<ToTypeStr<OrderFilledEvent>>;
|
|
134
|
-
static get p(): reified.PhantomReified<"::position::OrderFilledEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OrderFilledEvent">;
|
|
134
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::OrderFilledEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::OrderFilledEvent">;
|
|
135
135
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
136
136
|
user: string;
|
|
137
137
|
collateral_token: {
|
|
@@ -355,7 +355,7 @@ export declare class Position implements StructClass {
|
|
|
355
355
|
static reified(): PositionReified;
|
|
356
356
|
static get r(): reified.StructClassReified<Position, PositionFields>;
|
|
357
357
|
static phantom(): PhantomReified<ToTypeStr<Position>>;
|
|
358
|
-
static get p(): reified.PhantomReified<"::position::Position" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::Position">;
|
|
358
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::Position" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::Position">;
|
|
359
359
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
360
360
|
id: {
|
|
361
361
|
id: {
|
|
@@ -597,7 +597,7 @@ export declare class RealizeFundingEvent implements StructClass {
|
|
|
597
597
|
static reified(): RealizeFundingEventReified;
|
|
598
598
|
static get r(): reified.StructClassReified<RealizeFundingEvent, RealizeFundingEventFields>;
|
|
599
599
|
static phantom(): PhantomReified<ToTypeStr<RealizeFundingEvent>>;
|
|
600
|
-
static get p(): reified.PhantomReified<"::position::RealizeFundingEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RealizeFundingEvent">;
|
|
600
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::RealizeFundingEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RealizeFundingEvent">;
|
|
601
601
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
602
602
|
user: string;
|
|
603
603
|
collateral_token: {
|
|
@@ -739,7 +739,7 @@ export declare class RemovePositionEvent implements StructClass {
|
|
|
739
739
|
static reified(): RemovePositionEventReified;
|
|
740
740
|
static get r(): reified.StructClassReified<RemovePositionEvent, RemovePositionEventFields>;
|
|
741
741
|
static phantom(): PhantomReified<ToTypeStr<RemovePositionEvent>>;
|
|
742
|
-
static get p(): reified.PhantomReified<"::position::RemovePositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RemovePositionEvent">;
|
|
742
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::RemovePositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::RemovePositionEvent">;
|
|
743
743
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
744
744
|
user: string;
|
|
745
745
|
collateral_token: {
|
|
@@ -905,7 +905,7 @@ export declare class TradingOrder implements StructClass {
|
|
|
905
905
|
static reified(): TradingOrderReified;
|
|
906
906
|
static get r(): reified.StructClassReified<TradingOrder, TradingOrderFields>;
|
|
907
907
|
static phantom(): PhantomReified<ToTypeStr<TradingOrder>>;
|
|
908
|
-
static get p(): reified.PhantomReified<"::position::TradingOrder" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::TradingOrder">;
|
|
908
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::position::TradingOrder" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::position::TradingOrder">;
|
|
909
909
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
910
910
|
id: {
|
|
911
911
|
id: {
|
|
@@ -24,7 +24,7 @@ export declare class Symbol implements StructClass {
|
|
|
24
24
|
static reified(): SymbolReified;
|
|
25
25
|
static get r(): import("../../_framework/reified").StructClassReified<Symbol, SymbolFields>;
|
|
26
26
|
static phantom(): PhantomReified<ToTypeStr<Symbol>>;
|
|
27
|
-
static get p(): PhantomReified<"::symbol::Symbol" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::symbol::Symbol">;
|
|
27
|
+
static get p(): PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::symbol::Symbol" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::symbol::Symbol">;
|
|
28
28
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
29
29
|
base_token: {
|
|
30
30
|
name: {
|
|
@@ -22,7 +22,7 @@ export declare class LpRegistry implements StructClass {
|
|
|
22
22
|
static reified(): LpRegistryReified;
|
|
23
23
|
static get r(): import("../../_framework/reified").StructClassReified<LpRegistry, LpRegistryFields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<LpRegistry>>;
|
|
25
|
-
static get p(): PhantomReified<"::tlp::LpRegistry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::LpRegistry">;
|
|
25
|
+
static get p(): PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::tlp::LpRegistry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::LpRegistry">;
|
|
26
26
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
27
|
id: {
|
|
28
28
|
id: {
|
|
@@ -72,7 +72,7 @@ export declare class TLP implements StructClass {
|
|
|
72
72
|
static reified(): TLPReified;
|
|
73
73
|
static get r(): import("../../_framework/reified").StructClassReified<TLP, TLPFields>;
|
|
74
74
|
static phantom(): PhantomReified<ToTypeStr<TLP>>;
|
|
75
|
-
static get p(): PhantomReified<"
|
|
75
|
+
static get p(): PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::tlp::TLP" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::tlp::TLP">;
|
|
76
76
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
77
77
|
dummy_field: boolean;
|
|
78
78
|
}, {
|
|
@@ -37,7 +37,7 @@ export declare class AddTradingSymbolEvent implements StructClass {
|
|
|
37
37
|
static reified(): AddTradingSymbolEventReified;
|
|
38
38
|
static get r(): reified.StructClassReified<AddTradingSymbolEvent, AddTradingSymbolEventFields>;
|
|
39
39
|
static phantom(): PhantomReified<ToTypeStr<AddTradingSymbolEvent>>;
|
|
40
|
-
static get p(): reified.PhantomReified<"::trading::AddTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::AddTradingSymbolEvent">;
|
|
40
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::AddTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::AddTradingSymbolEvent">;
|
|
41
41
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
42
42
|
index: string;
|
|
43
43
|
base_token_type: {
|
|
@@ -239,7 +239,7 @@ export declare class CancelTradingOrderEvent implements StructClass {
|
|
|
239
239
|
static reified(): CancelTradingOrderEventReified;
|
|
240
240
|
static get r(): reified.StructClassReified<CancelTradingOrderEvent, CancelTradingOrderEventFields>;
|
|
241
241
|
static phantom(): PhantomReified<ToTypeStr<CancelTradingOrderEvent>>;
|
|
242
|
-
static get p(): reified.PhantomReified<"::trading::CancelTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CancelTradingOrderEvent">;
|
|
242
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::CancelTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CancelTradingOrderEvent">;
|
|
243
243
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
244
244
|
user: string;
|
|
245
245
|
market_index: string;
|
|
@@ -371,7 +371,7 @@ export declare class CreateTradingOrderEvent implements StructClass {
|
|
|
371
371
|
static reified(): CreateTradingOrderEventReified;
|
|
372
372
|
static get r(): reified.StructClassReified<CreateTradingOrderEvent, CreateTradingOrderEventFields>;
|
|
373
373
|
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderEvent>>;
|
|
374
|
-
static get p(): reified.PhantomReified<"::trading::CreateTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CreateTradingOrderEvent">;
|
|
374
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::CreateTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CreateTradingOrderEvent">;
|
|
375
375
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
376
376
|
user: string;
|
|
377
377
|
market_index: string;
|
|
@@ -543,7 +543,7 @@ export declare class CreateTradingOrderWithBidReceiptsEvent implements StructCla
|
|
|
543
543
|
static reified(): CreateTradingOrderWithBidReceiptsEventReified;
|
|
544
544
|
static get r(): reified.StructClassReified<CreateTradingOrderWithBidReceiptsEvent, CreateTradingOrderWithBidReceiptsEventFields>;
|
|
545
545
|
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderWithBidReceiptsEvent>>;
|
|
546
|
-
static get p(): reified.PhantomReified<"::trading::CreateTradingOrderWithBidReceiptsEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CreateTradingOrderWithBidReceiptsEvent">;
|
|
546
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::CreateTradingOrderWithBidReceiptsEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::CreateTradingOrderWithBidReceiptsEvent">;
|
|
547
547
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
548
548
|
user: string;
|
|
549
549
|
market_index: string;
|
|
@@ -677,7 +677,7 @@ export declare class ExpiredPositionInfo implements StructClass {
|
|
|
677
677
|
static reified(): ExpiredPositionInfoReified;
|
|
678
678
|
static get r(): reified.StructClassReified<ExpiredPositionInfo, ExpiredPositionInfoFields>;
|
|
679
679
|
static phantom(): PhantomReified<ToTypeStr<ExpiredPositionInfo>>;
|
|
680
|
-
static get p(): reified.PhantomReified<"::trading::ExpiredPositionInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ExpiredPositionInfo">;
|
|
680
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ExpiredPositionInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ExpiredPositionInfo">;
|
|
681
681
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
682
682
|
position_id: string;
|
|
683
683
|
dov_index: string;
|
|
@@ -793,7 +793,7 @@ export declare class IncreaseCollateralEvent implements StructClass {
|
|
|
793
793
|
static reified(): IncreaseCollateralEventReified;
|
|
794
794
|
static get r(): reified.StructClassReified<IncreaseCollateralEvent, IncreaseCollateralEventFields>;
|
|
795
795
|
static phantom(): PhantomReified<ToTypeStr<IncreaseCollateralEvent>>;
|
|
796
|
-
static get p(): reified.PhantomReified<"::trading::IncreaseCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::IncreaseCollateralEvent">;
|
|
796
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::IncreaseCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::IncreaseCollateralEvent">;
|
|
797
797
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
798
798
|
user: string;
|
|
799
799
|
market_index: string;
|
|
@@ -913,7 +913,7 @@ export declare class LiquidateEvent implements StructClass {
|
|
|
913
913
|
static reified(): LiquidateEventReified;
|
|
914
914
|
static get r(): reified.StructClassReified<LiquidateEvent, LiquidateEventFields>;
|
|
915
915
|
static phantom(): PhantomReified<ToTypeStr<LiquidateEvent>>;
|
|
916
|
-
static get p(): reified.PhantomReified<"::trading::LiquidateEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::LiquidateEvent">;
|
|
916
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::LiquidateEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::LiquidateEvent">;
|
|
917
917
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
918
918
|
user: string;
|
|
919
919
|
collateral_token: {
|
|
@@ -1021,7 +1021,7 @@ export declare class LiquidationInfo implements StructClass {
|
|
|
1021
1021
|
static reified(): LiquidationInfoReified;
|
|
1022
1022
|
static get r(): reified.StructClassReified<LiquidationInfo, LiquidationInfoFields>;
|
|
1023
1023
|
static phantom(): PhantomReified<ToTypeStr<LiquidationInfo>>;
|
|
1024
|
-
static get p(): reified.PhantomReified<"::trading::LiquidationInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::LiquidationInfo">;
|
|
1024
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::LiquidationInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::LiquidationInfo">;
|
|
1025
1025
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1026
1026
|
position_id: string;
|
|
1027
1027
|
dov_index: {
|
|
@@ -1103,7 +1103,7 @@ export declare class ManagerCloseOptionPositionEvent implements StructClass {
|
|
|
1103
1103
|
static reified(): ManagerCloseOptionPositionEventReified;
|
|
1104
1104
|
static get r(): reified.StructClassReified<ManagerCloseOptionPositionEvent, ManagerCloseOptionPositionEventFields>;
|
|
1105
1105
|
static phantom(): PhantomReified<ToTypeStr<ManagerCloseOptionPositionEvent>>;
|
|
1106
|
-
static get p(): reified.PhantomReified<"::trading::ManagerCloseOptionPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerCloseOptionPositionEvent">;
|
|
1106
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ManagerCloseOptionPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerCloseOptionPositionEvent">;
|
|
1107
1107
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1108
1108
|
user: string;
|
|
1109
1109
|
collateral_token: {
|
|
@@ -1225,7 +1225,7 @@ export declare class ManagerReducePositionEvent implements StructClass {
|
|
|
1225
1225
|
static reified(): ManagerReducePositionEventReified;
|
|
1226
1226
|
static get r(): reified.StructClassReified<ManagerReducePositionEvent, ManagerReducePositionEventFields>;
|
|
1227
1227
|
static phantom(): PhantomReified<ToTypeStr<ManagerReducePositionEvent>>;
|
|
1228
|
-
static get p(): reified.PhantomReified<"::trading::ManagerReducePositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerReducePositionEvent">;
|
|
1228
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ManagerReducePositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerReducePositionEvent">;
|
|
1229
1229
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1230
1230
|
user: string;
|
|
1231
1231
|
collateral_token: {
|
|
@@ -1337,7 +1337,7 @@ export declare class ManagerUpdateProcessStatusAfterOrderEvent implements Struct
|
|
|
1337
1337
|
static reified(): ManagerUpdateProcessStatusAfterOrderEventReified;
|
|
1338
1338
|
static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterOrderEvent, ManagerUpdateProcessStatusAfterOrderEventFields>;
|
|
1339
1339
|
static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterOrderEvent>>;
|
|
1340
|
-
static get p(): reified.PhantomReified<"::trading::ManagerUpdateProcessStatusAfterOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerUpdateProcessStatusAfterOrderEvent">;
|
|
1340
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ManagerUpdateProcessStatusAfterOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerUpdateProcessStatusAfterOrderEvent">;
|
|
1341
1341
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1342
1342
|
market_index: string;
|
|
1343
1343
|
pool_index: string;
|
|
@@ -1425,7 +1425,7 @@ export declare class ManagerUpdateProcessStatusAfterPositionEvent implements Str
|
|
|
1425
1425
|
static reified(): ManagerUpdateProcessStatusAfterPositionEventReified;
|
|
1426
1426
|
static get r(): reified.StructClassReified<ManagerUpdateProcessStatusAfterPositionEvent, ManagerUpdateProcessStatusAfterPositionEventFields>;
|
|
1427
1427
|
static phantom(): PhantomReified<ToTypeStr<ManagerUpdateProcessStatusAfterPositionEvent>>;
|
|
1428
|
-
static get p(): reified.PhantomReified<"::trading::ManagerUpdateProcessStatusAfterPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerUpdateProcessStatusAfterPositionEvent">;
|
|
1428
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ManagerUpdateProcessStatusAfterPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ManagerUpdateProcessStatusAfterPositionEvent">;
|
|
1429
1429
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1430
1430
|
market_index: string;
|
|
1431
1431
|
pool_index: string;
|
|
@@ -1525,7 +1525,7 @@ export declare class MarketConfig implements StructClass {
|
|
|
1525
1525
|
static reified(): MarketConfigReified;
|
|
1526
1526
|
static get r(): reified.StructClassReified<MarketConfig, MarketConfigFields>;
|
|
1527
1527
|
static phantom(): PhantomReified<ToTypeStr<MarketConfig>>;
|
|
1528
|
-
static get p(): reified.PhantomReified<"::trading::MarketConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketConfig">;
|
|
1528
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::MarketConfig" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketConfig">;
|
|
1529
1529
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1530
1530
|
oracle_id: string;
|
|
1531
1531
|
max_leverage_mbp: string;
|
|
@@ -1635,7 +1635,7 @@ export declare class MarketInfo implements StructClass {
|
|
|
1635
1635
|
static reified(): MarketInfoReified;
|
|
1636
1636
|
static get r(): reified.StructClassReified<MarketInfo, MarketInfoFields>;
|
|
1637
1637
|
static phantom(): PhantomReified<ToTypeStr<MarketInfo>>;
|
|
1638
|
-
static get p(): reified.PhantomReified<"::trading::MarketInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketInfo">;
|
|
1638
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::MarketInfo" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketInfo">;
|
|
1639
1639
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1640
1640
|
is_active: boolean;
|
|
1641
1641
|
size_decimal: string;
|
|
@@ -1743,7 +1743,7 @@ export declare class MarketRegistry implements StructClass {
|
|
|
1743
1743
|
static reified(): MarketRegistryReified;
|
|
1744
1744
|
static get r(): reified.StructClassReified<MarketRegistry, MarketRegistryFields>;
|
|
1745
1745
|
static phantom(): PhantomReified<ToTypeStr<MarketRegistry>>;
|
|
1746
|
-
static get p(): reified.PhantomReified<"::trading::MarketRegistry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketRegistry">;
|
|
1746
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::MarketRegistry" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MarketRegistry">;
|
|
1747
1747
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1748
1748
|
id: {
|
|
1749
1749
|
id: {
|
|
@@ -1887,7 +1887,7 @@ export declare class Markets implements StructClass {
|
|
|
1887
1887
|
static reified(): MarketsReified;
|
|
1888
1888
|
static get r(): reified.StructClassReified<Markets, MarketsFields>;
|
|
1889
1889
|
static phantom(): PhantomReified<ToTypeStr<Markets>>;
|
|
1890
|
-
static get p(): reified.PhantomReified<"::trading::Markets" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::Markets">;
|
|
1890
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::Markets" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::Markets">;
|
|
1891
1891
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1892
1892
|
id: {
|
|
1893
1893
|
id: {
|
|
@@ -2041,7 +2041,7 @@ export declare class MatchTradingOrderEvent implements StructClass {
|
|
|
2041
2041
|
static reified(): MatchTradingOrderEventReified;
|
|
2042
2042
|
static get r(): reified.StructClassReified<MatchTradingOrderEvent, MatchTradingOrderEventFields>;
|
|
2043
2043
|
static phantom(): PhantomReified<ToTypeStr<MatchTradingOrderEvent>>;
|
|
2044
|
-
static get p(): reified.PhantomReified<"::trading::MatchTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MatchTradingOrderEvent">;
|
|
2044
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::MatchTradingOrderEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::MatchTradingOrderEvent">;
|
|
2045
2045
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2046
2046
|
collateral_token: {
|
|
2047
2047
|
name: {
|
|
@@ -2135,7 +2135,7 @@ export declare class NewMarketsEvent implements StructClass {
|
|
|
2135
2135
|
static reified(): NewMarketsEventReified;
|
|
2136
2136
|
static get r(): reified.StructClassReified<NewMarketsEvent, NewMarketsEventFields>;
|
|
2137
2137
|
static phantom(): PhantomReified<ToTypeStr<NewMarketsEvent>>;
|
|
2138
|
-
static get p(): reified.PhantomReified<"::trading::NewMarketsEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::NewMarketsEvent">;
|
|
2138
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::NewMarketsEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::NewMarketsEvent">;
|
|
2139
2139
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2140
2140
|
index: string;
|
|
2141
2141
|
lp_token_type: {
|
|
@@ -2245,7 +2245,7 @@ export declare class RealizeOptionPositionEvent implements StructClass {
|
|
|
2245
2245
|
static reified(): RealizeOptionPositionEventReified;
|
|
2246
2246
|
static get r(): reified.StructClassReified<RealizeOptionPositionEvent, RealizeOptionPositionEventFields>;
|
|
2247
2247
|
static phantom(): PhantomReified<ToTypeStr<RealizeOptionPositionEvent>>;
|
|
2248
|
-
static get p(): reified.PhantomReified<"::trading::RealizeOptionPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::RealizeOptionPositionEvent">;
|
|
2248
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::RealizeOptionPositionEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::RealizeOptionPositionEvent">;
|
|
2249
2249
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2250
2250
|
position_user: string;
|
|
2251
2251
|
position_id: string;
|
|
@@ -2377,7 +2377,7 @@ export declare class ReleaseCollateralEvent implements StructClass {
|
|
|
2377
2377
|
static reified(): ReleaseCollateralEventReified;
|
|
2378
2378
|
static get r(): reified.StructClassReified<ReleaseCollateralEvent, ReleaseCollateralEventFields>;
|
|
2379
2379
|
static phantom(): PhantomReified<ToTypeStr<ReleaseCollateralEvent>>;
|
|
2380
|
-
static get p(): reified.PhantomReified<"::trading::ReleaseCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ReleaseCollateralEvent">;
|
|
2380
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ReleaseCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ReleaseCollateralEvent">;
|
|
2381
2381
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2382
2382
|
user: string;
|
|
2383
2383
|
market_index: string;
|
|
@@ -2483,7 +2483,7 @@ export declare class ResumeMarketEvent implements StructClass {
|
|
|
2483
2483
|
static reified(): ResumeMarketEventReified;
|
|
2484
2484
|
static get r(): reified.StructClassReified<ResumeMarketEvent, ResumeMarketEventFields>;
|
|
2485
2485
|
static phantom(): PhantomReified<ToTypeStr<ResumeMarketEvent>>;
|
|
2486
|
-
static get p(): reified.PhantomReified<"::trading::ResumeMarketEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ResumeMarketEvent">;
|
|
2486
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ResumeMarketEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ResumeMarketEvent">;
|
|
2487
2487
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2488
2488
|
index: string;
|
|
2489
2489
|
u64_padding: string[];
|
|
@@ -2535,7 +2535,7 @@ export declare class ResumeTradingSymbolEvent implements StructClass {
|
|
|
2535
2535
|
static reified(): ResumeTradingSymbolEventReified;
|
|
2536
2536
|
static get r(): reified.StructClassReified<ResumeTradingSymbolEvent, ResumeTradingSymbolEventFields>;
|
|
2537
2537
|
static phantom(): PhantomReified<ToTypeStr<ResumeTradingSymbolEvent>>;
|
|
2538
|
-
static get p(): reified.PhantomReified<"::trading::ResumeTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ResumeTradingSymbolEvent">;
|
|
2538
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::ResumeTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::ResumeTradingSymbolEvent">;
|
|
2539
2539
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2540
2540
|
index: string;
|
|
2541
2541
|
resumed_base_token: {
|
|
@@ -2617,7 +2617,7 @@ export declare class SettleReceiptCollateralEvent implements StructClass {
|
|
|
2617
2617
|
static reified(): SettleReceiptCollateralEventReified;
|
|
2618
2618
|
static get r(): reified.StructClassReified<SettleReceiptCollateralEvent, SettleReceiptCollateralEventFields>;
|
|
2619
2619
|
static phantom(): PhantomReified<ToTypeStr<SettleReceiptCollateralEvent>>;
|
|
2620
|
-
static get p(): reified.PhantomReified<"::trading::SettleReceiptCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SettleReceiptCollateralEvent">;
|
|
2620
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::SettleReceiptCollateralEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SettleReceiptCollateralEvent">;
|
|
2621
2621
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2622
2622
|
user: string;
|
|
2623
2623
|
collateral_token: {
|
|
@@ -2723,7 +2723,7 @@ export declare class SuspendMarketEvent implements StructClass {
|
|
|
2723
2723
|
static reified(): SuspendMarketEventReified;
|
|
2724
2724
|
static get r(): reified.StructClassReified<SuspendMarketEvent, SuspendMarketEventFields>;
|
|
2725
2725
|
static phantom(): PhantomReified<ToTypeStr<SuspendMarketEvent>>;
|
|
2726
|
-
static get p(): reified.PhantomReified<"::trading::SuspendMarketEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SuspendMarketEvent">;
|
|
2726
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::SuspendMarketEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SuspendMarketEvent">;
|
|
2727
2727
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2728
2728
|
index: string;
|
|
2729
2729
|
u64_padding: string[];
|
|
@@ -2775,7 +2775,7 @@ export declare class SuspendTradingSymbolEvent implements StructClass {
|
|
|
2775
2775
|
static reified(): SuspendTradingSymbolEventReified;
|
|
2776
2776
|
static get r(): reified.StructClassReified<SuspendTradingSymbolEvent, SuspendTradingSymbolEventFields>;
|
|
2777
2777
|
static phantom(): PhantomReified<ToTypeStr<SuspendTradingSymbolEvent>>;
|
|
2778
|
-
static get p(): reified.PhantomReified<"::trading::SuspendTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SuspendTradingSymbolEvent">;
|
|
2778
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::SuspendTradingSymbolEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SuspendTradingSymbolEvent">;
|
|
2779
2779
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2780
2780
|
index: string;
|
|
2781
2781
|
suspended_base_token: {
|
|
@@ -2851,7 +2851,7 @@ export declare class SymbolMarket implements StructClass {
|
|
|
2851
2851
|
static reified(): SymbolMarketReified;
|
|
2852
2852
|
static get r(): reified.StructClassReified<SymbolMarket, SymbolMarketFields>;
|
|
2853
2853
|
static phantom(): PhantomReified<ToTypeStr<SymbolMarket>>;
|
|
2854
|
-
static get p(): reified.PhantomReified<"::trading::SymbolMarket" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SymbolMarket">;
|
|
2854
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::SymbolMarket" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::SymbolMarket">;
|
|
2855
2855
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2856
2856
|
id: {
|
|
2857
2857
|
id: {
|
|
@@ -3115,7 +3115,7 @@ export declare class USD implements StructClass {
|
|
|
3115
3115
|
static reified(): USDReified;
|
|
3116
3116
|
static get r(): reified.StructClassReified<USD, USDFields>;
|
|
3117
3117
|
static phantom(): PhantomReified<ToTypeStr<USD>>;
|
|
3118
|
-
static get p(): reified.PhantomReified<"::trading::USD" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::USD">;
|
|
3118
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::USD" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::USD">;
|
|
3119
3119
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3120
3120
|
dummy_field: boolean;
|
|
3121
3121
|
}, {
|
|
@@ -3171,7 +3171,7 @@ export declare class UpdateFundingRateEvent implements StructClass {
|
|
|
3171
3171
|
static reified(): UpdateFundingRateEventReified;
|
|
3172
3172
|
static get r(): reified.StructClassReified<UpdateFundingRateEvent, UpdateFundingRateEventFields>;
|
|
3173
3173
|
static phantom(): PhantomReified<ToTypeStr<UpdateFundingRateEvent>>;
|
|
3174
|
-
static get p(): reified.PhantomReified<"::trading::UpdateFundingRateEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateFundingRateEvent">;
|
|
3174
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::UpdateFundingRateEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateFundingRateEvent">;
|
|
3175
3175
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3176
3176
|
base_token: {
|
|
3177
3177
|
name: {
|
|
@@ -3265,7 +3265,7 @@ export declare class UpdateMarketConfigEvent implements StructClass {
|
|
|
3265
3265
|
static reified(): UpdateMarketConfigEventReified;
|
|
3266
3266
|
static get r(): reified.StructClassReified<UpdateMarketConfigEvent, UpdateMarketConfigEventFields>;
|
|
3267
3267
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarketConfigEvent>>;
|
|
3268
|
-
static get p(): reified.PhantomReified<"::trading::UpdateMarketConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateMarketConfigEvent">;
|
|
3268
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::UpdateMarketConfigEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateMarketConfigEvent">;
|
|
3269
3269
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3270
3270
|
index: string;
|
|
3271
3271
|
base_token_type: {
|
|
@@ -3441,7 +3441,7 @@ export declare class UpdateProtocolFeeShareBpEvent implements StructClass {
|
|
|
3441
3441
|
static reified(): UpdateProtocolFeeShareBpEventReified;
|
|
3442
3442
|
static get r(): reified.StructClassReified<UpdateProtocolFeeShareBpEvent, UpdateProtocolFeeShareBpEventFields>;
|
|
3443
3443
|
static phantom(): PhantomReified<ToTypeStr<UpdateProtocolFeeShareBpEvent>>;
|
|
3444
|
-
static get p(): reified.PhantomReified<"::trading::UpdateProtocolFeeShareBpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateProtocolFeeShareBpEvent">;
|
|
3444
|
+
static get p(): reified.PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::trading::UpdateProtocolFeeShareBpEvent" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::UpdateProtocolFeeShareBpEvent">;
|
|
3445
3445
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3446
3446
|
index: string;
|
|
3447
3447
|
previous_protocol_fee_share_bp: string;
|
|
@@ -22,7 +22,7 @@ export declare class TreasuryCaps implements StructClass {
|
|
|
22
22
|
static reified(): TreasuryCapsReified;
|
|
23
23
|
static get r(): import("../../_framework/reified").StructClassReified<TreasuryCaps, TreasuryCapsFields>;
|
|
24
24
|
static phantom(): PhantomReified<ToTypeStr<TreasuryCaps>>;
|
|
25
|
-
static get p(): PhantomReified<"::treasury_caps::TreasuryCaps" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::treasury_caps::TreasuryCaps">;
|
|
25
|
+
static get p(): PhantomReified<"0x7ea60df3452d1cec0064d3380cb6f2a9309dcf7ac1b51529de71ef427688b1c3::treasury_caps::TreasuryCaps" | "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::treasury_caps::TreasuryCaps">;
|
|
26
26
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
27
27
|
id: {
|
|
28
28
|
id: {
|
|
@@ -36,7 +36,7 @@ export declare class Version implements StructClass {
|
|
|
36
36
|
static reified(): VersionReified;
|
|
37
37
|
static get r(): reified.StructClassReified<Version, VersionFields>;
|
|
38
38
|
static phantom(): PhantomReified<ToTypeStr<Version>>;
|
|
39
|
-
static get p(): reified.PhantomReified<"::admin::Version" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::Version">;
|
|
39
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::admin::Version" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::Version">;
|
|
40
40
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
41
41
|
id: {
|
|
42
42
|
id: {
|
|
@@ -216,7 +216,7 @@ export declare class FeeInfo implements StructClass {
|
|
|
216
216
|
static reified(): FeeInfoReified;
|
|
217
217
|
static get r(): reified.StructClassReified<FeeInfo, FeeInfoFields>;
|
|
218
218
|
static phantom(): PhantomReified<ToTypeStr<FeeInfo>>;
|
|
219
|
-
static get p(): reified.PhantomReified<"::admin::FeeInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::FeeInfo">;
|
|
219
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::admin::FeeInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::FeeInfo">;
|
|
220
220
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
221
221
|
token: {
|
|
222
222
|
name: {
|
|
@@ -278,7 +278,7 @@ export declare class FeePool implements StructClass {
|
|
|
278
278
|
static reified(): FeePoolReified;
|
|
279
279
|
static get r(): reified.StructClassReified<FeePool, FeePoolFields>;
|
|
280
280
|
static phantom(): PhantomReified<ToTypeStr<FeePool>>;
|
|
281
|
-
static get p(): reified.PhantomReified<"::admin::FeePool" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::FeePool">;
|
|
281
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::admin::FeePool" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::FeePool">;
|
|
282
282
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
283
283
|
id: {
|
|
284
284
|
id: {
|
|
@@ -362,7 +362,7 @@ export declare class SendFeeEvent implements StructClass {
|
|
|
362
362
|
static reified(): SendFeeEventReified;
|
|
363
363
|
static get r(): reified.StructClassReified<SendFeeEvent, SendFeeEventFields>;
|
|
364
364
|
static phantom(): PhantomReified<ToTypeStr<SendFeeEvent>>;
|
|
365
|
-
static get p(): reified.PhantomReified<"::admin::SendFeeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::SendFeeEvent">;
|
|
365
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::admin::SendFeeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::admin::SendFeeEvent">;
|
|
366
366
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
367
367
|
token: {
|
|
368
368
|
name: {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PKG_V1 = exports.PUBLISHED_AT = exports.PACKAGE_ID = void 0;
|
|
4
4
|
var index_1 = require("../index");
|
|
5
|
-
exports.PACKAGE_ID = index_1.NETWORK == "MAINNET" ? "" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
6
|
-
exports.PUBLISHED_AT = index_1.NETWORK == "MAINNET" ? "" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
7
|
-
exports.PKG_V1 = index_1.NETWORK == "MAINNET" ? "" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
5
|
+
exports.PACKAGE_ID = index_1.NETWORK == "MAINNET" ? "0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
6
|
+
exports.PUBLISHED_AT = index_1.NETWORK == "MAINNET" ? "0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
7
|
+
exports.PKG_V1 = index_1.NETWORK == "MAINNET" ? "0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0" : "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2";
|
|
@@ -40,7 +40,7 @@ export declare class UnsubscribeEvent implements StructClass {
|
|
|
40
40
|
static reified(): UnsubscribeEventReified;
|
|
41
41
|
static get r(): reified.StructClassReified<UnsubscribeEvent, UnsubscribeEventFields>;
|
|
42
42
|
static phantom(): PhantomReified<ToTypeStr<UnsubscribeEvent>>;
|
|
43
|
-
static get p(): reified.PhantomReified<"::stake_pool::UnsubscribeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnsubscribeEvent">;
|
|
43
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::UnsubscribeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnsubscribeEvent">;
|
|
44
44
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
45
45
|
sender: string;
|
|
46
46
|
index: string;
|
|
@@ -134,7 +134,7 @@ export declare class WithdrawIncentiveEvent implements StructClass {
|
|
|
134
134
|
static reified(): WithdrawIncentiveEventReified;
|
|
135
135
|
static get r(): reified.StructClassReified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
|
|
136
136
|
static phantom(): PhantomReified<ToTypeStr<WithdrawIncentiveEvent>>;
|
|
137
|
-
static get p(): reified.PhantomReified<"::stake_pool::WithdrawIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::WithdrawIncentiveEvent">;
|
|
137
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::WithdrawIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::WithdrawIncentiveEvent">;
|
|
138
138
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
139
139
|
sender: string;
|
|
140
140
|
index: string;
|
|
@@ -214,7 +214,7 @@ export declare class ActivateIncentiveTokenEvent implements StructClass {
|
|
|
214
214
|
static reified(): ActivateIncentiveTokenEventReified;
|
|
215
215
|
static get r(): reified.StructClassReified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
|
|
216
216
|
static phantom(): PhantomReified<ToTypeStr<ActivateIncentiveTokenEvent>>;
|
|
217
|
-
static get p(): reified.PhantomReified<"::stake_pool::ActivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::ActivateIncentiveTokenEvent">;
|
|
217
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::ActivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::ActivateIncentiveTokenEvent">;
|
|
218
218
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
219
219
|
sender: string;
|
|
220
220
|
index: string;
|
|
@@ -294,7 +294,7 @@ export declare class AddIncentiveTokenEvent implements StructClass {
|
|
|
294
294
|
static reified(): AddIncentiveTokenEventReified;
|
|
295
295
|
static get r(): reified.StructClassReified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
|
|
296
296
|
static phantom(): PhantomReified<ToTypeStr<AddIncentiveTokenEvent>>;
|
|
297
|
-
static get p(): reified.PhantomReified<"::stake_pool::AddIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::AddIncentiveTokenEvent">;
|
|
297
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::AddIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::AddIncentiveTokenEvent">;
|
|
298
298
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
299
299
|
sender: string;
|
|
300
300
|
index: string;
|
|
@@ -422,7 +422,7 @@ export declare class DeactivateIncentiveTokenEvent implements StructClass {
|
|
|
422
422
|
static reified(): DeactivateIncentiveTokenEventReified;
|
|
423
423
|
static get r(): reified.StructClassReified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
|
|
424
424
|
static phantom(): PhantomReified<ToTypeStr<DeactivateIncentiveTokenEvent>>;
|
|
425
|
-
static get p(): reified.PhantomReified<"::stake_pool::DeactivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivateIncentiveTokenEvent">;
|
|
425
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::DeactivateIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivateIncentiveTokenEvent">;
|
|
426
426
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
427
427
|
sender: string;
|
|
428
428
|
index: string;
|
|
@@ -500,7 +500,7 @@ export declare class DeactivatingShares implements StructClass {
|
|
|
500
500
|
static reified(): DeactivatingSharesReified;
|
|
501
501
|
static get r(): reified.StructClassReified<DeactivatingShares, DeactivatingSharesFields>;
|
|
502
502
|
static phantom(): PhantomReified<ToTypeStr<DeactivatingShares>>;
|
|
503
|
-
static get p(): reified.PhantomReified<"::stake_pool::DeactivatingShares" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivatingShares">;
|
|
503
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::DeactivatingShares" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DeactivatingShares">;
|
|
504
504
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
505
505
|
shares: string;
|
|
506
506
|
unsubscribed_ts_ms: string;
|
|
@@ -604,7 +604,7 @@ export declare class DepositIncentiveEvent implements StructClass {
|
|
|
604
604
|
static reified(): DepositIncentiveEventReified;
|
|
605
605
|
static get r(): reified.StructClassReified<DepositIncentiveEvent, DepositIncentiveEventFields>;
|
|
606
606
|
static phantom(): PhantomReified<ToTypeStr<DepositIncentiveEvent>>;
|
|
607
|
-
static get p(): reified.PhantomReified<"::stake_pool::DepositIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DepositIncentiveEvent">;
|
|
607
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::DepositIncentiveEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::DepositIncentiveEvent">;
|
|
608
608
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
609
609
|
sender: string;
|
|
610
610
|
index: string;
|
|
@@ -688,7 +688,7 @@ export declare class HarvestPerUserShareEvent implements StructClass {
|
|
|
688
688
|
static reified(): HarvestPerUserShareEventReified;
|
|
689
689
|
static get r(): reified.StructClassReified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
|
|
690
690
|
static phantom(): PhantomReified<ToTypeStr<HarvestPerUserShareEvent>>;
|
|
691
|
-
static get p(): reified.PhantomReified<"::stake_pool::HarvestPerUserShareEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::HarvestPerUserShareEvent">;
|
|
691
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::HarvestPerUserShareEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::HarvestPerUserShareEvent">;
|
|
692
692
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
693
693
|
sender: string;
|
|
694
694
|
index: string;
|
|
@@ -770,7 +770,7 @@ export declare class Incentive implements StructClass {
|
|
|
770
770
|
static reified(): IncentiveReified;
|
|
771
771
|
static get r(): reified.StructClassReified<Incentive, IncentiveFields>;
|
|
772
772
|
static phantom(): PhantomReified<ToTypeStr<Incentive>>;
|
|
773
|
-
static get p(): reified.PhantomReified<"::stake_pool::Incentive" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::Incentive">;
|
|
773
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::Incentive" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::Incentive">;
|
|
774
774
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
775
775
|
token_type: {
|
|
776
776
|
name: {
|
|
@@ -882,7 +882,7 @@ export declare class IncentiveConfig implements StructClass {
|
|
|
882
882
|
static reified(): IncentiveConfigReified;
|
|
883
883
|
static get r(): reified.StructClassReified<IncentiveConfig, IncentiveConfigFields>;
|
|
884
884
|
static phantom(): PhantomReified<ToTypeStr<IncentiveConfig>>;
|
|
885
|
-
static get p(): reified.PhantomReified<"::stake_pool::IncentiveConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveConfig">;
|
|
885
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::IncentiveConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveConfig">;
|
|
886
886
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
887
887
|
period_incentive_amount: string;
|
|
888
888
|
incentive_interval_ts_ms: string;
|
|
@@ -942,7 +942,7 @@ export declare class IncentiveInfo implements StructClass {
|
|
|
942
942
|
static reified(): IncentiveInfoReified;
|
|
943
943
|
static get r(): reified.StructClassReified<IncentiveInfo, IncentiveInfoFields>;
|
|
944
944
|
static phantom(): PhantomReified<ToTypeStr<IncentiveInfo>>;
|
|
945
|
-
static get p(): reified.PhantomReified<"::stake_pool::IncentiveInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveInfo">;
|
|
945
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::IncentiveInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::IncentiveInfo">;
|
|
946
946
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
947
947
|
active: boolean;
|
|
948
948
|
last_allocate_ts_ms: string;
|
|
@@ -1016,7 +1016,7 @@ export declare class LpUserShare implements StructClass {
|
|
|
1016
1016
|
static reified(): LpUserShareReified;
|
|
1017
1017
|
static get r(): reified.StructClassReified<LpUserShare, LpUserShareFields>;
|
|
1018
1018
|
static phantom(): PhantomReified<ToTypeStr<LpUserShare>>;
|
|
1019
|
-
static get p(): reified.PhantomReified<"::stake_pool::LpUserShare" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::LpUserShare">;
|
|
1019
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::LpUserShare" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::LpUserShare">;
|
|
1020
1020
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1021
1021
|
user: string;
|
|
1022
1022
|
user_share_id: string;
|
|
@@ -1194,7 +1194,7 @@ export declare class NewStakePoolEvent implements StructClass {
|
|
|
1194
1194
|
static reified(): NewStakePoolEventReified;
|
|
1195
1195
|
static get r(): reified.StructClassReified<NewStakePoolEvent, NewStakePoolEventFields>;
|
|
1196
1196
|
static phantom(): PhantomReified<ToTypeStr<NewStakePoolEvent>>;
|
|
1197
|
-
static get p(): reified.PhantomReified<"::stake_pool::NewStakePoolEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::NewStakePoolEvent">;
|
|
1197
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::NewStakePoolEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::NewStakePoolEvent">;
|
|
1198
1198
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1199
1199
|
sender: string;
|
|
1200
1200
|
stake_pool_info: {
|
|
@@ -1316,7 +1316,7 @@ export declare class RemoveIncentiveTokenEvent implements StructClass {
|
|
|
1316
1316
|
static reified(): RemoveIncentiveTokenEventReified;
|
|
1317
1317
|
static get r(): reified.StructClassReified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
|
|
1318
1318
|
static phantom(): PhantomReified<ToTypeStr<RemoveIncentiveTokenEvent>>;
|
|
1319
|
-
static get p(): reified.PhantomReified<"::stake_pool::RemoveIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::RemoveIncentiveTokenEvent">;
|
|
1319
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::RemoveIncentiveTokenEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::RemoveIncentiveTokenEvent">;
|
|
1320
1320
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1321
1321
|
sender: string;
|
|
1322
1322
|
index: string;
|
|
@@ -1404,7 +1404,7 @@ export declare class StakeEvent implements StructClass {
|
|
|
1404
1404
|
static reified(): StakeEventReified;
|
|
1405
1405
|
static get r(): reified.StructClassReified<StakeEvent, StakeEventFields>;
|
|
1406
1406
|
static phantom(): PhantomReified<ToTypeStr<StakeEvent>>;
|
|
1407
|
-
static get p(): reified.PhantomReified<"::stake_pool::StakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakeEvent">;
|
|
1407
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::StakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakeEvent">;
|
|
1408
1408
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1409
1409
|
sender: string;
|
|
1410
1410
|
index: string;
|
|
@@ -1534,7 +1534,7 @@ export declare class StakePool implements StructClass {
|
|
|
1534
1534
|
static reified(): StakePoolReified;
|
|
1535
1535
|
static get r(): reified.StructClassReified<StakePool, StakePoolFields>;
|
|
1536
1536
|
static phantom(): PhantomReified<ToTypeStr<StakePool>>;
|
|
1537
|
-
static get p(): reified.PhantomReified<"::stake_pool::StakePool" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePool">;
|
|
1537
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::StakePool" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePool">;
|
|
1538
1538
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1539
1539
|
id: {
|
|
1540
1540
|
id: {
|
|
@@ -1738,7 +1738,7 @@ export declare class StakePoolConfig implements StructClass {
|
|
|
1738
1738
|
static reified(): StakePoolConfigReified;
|
|
1739
1739
|
static get r(): reified.StructClassReified<StakePoolConfig, StakePoolConfigFields>;
|
|
1740
1740
|
static phantom(): PhantomReified<ToTypeStr<StakePoolConfig>>;
|
|
1741
|
-
static get p(): reified.PhantomReified<"::stake_pool::StakePoolConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolConfig">;
|
|
1741
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::StakePoolConfig" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolConfig">;
|
|
1742
1742
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1743
1743
|
unlock_countdown_ts_ms: string;
|
|
1744
1744
|
u64_padding: string[];
|
|
@@ -1796,7 +1796,7 @@ export declare class StakePoolInfo implements StructClass {
|
|
|
1796
1796
|
static reified(): StakePoolInfoReified;
|
|
1797
1797
|
static get r(): reified.StructClassReified<StakePoolInfo, StakePoolInfoFields>;
|
|
1798
1798
|
static phantom(): PhantomReified<ToTypeStr<StakePoolInfo>>;
|
|
1799
|
-
static get p(): reified.PhantomReified<"::stake_pool::StakePoolInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolInfo">;
|
|
1799
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::StakePoolInfo" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolInfo">;
|
|
1800
1800
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1801
1801
|
stake_token: {
|
|
1802
1802
|
name: {
|
|
@@ -1876,7 +1876,7 @@ export declare class StakePoolRegistry implements StructClass {
|
|
|
1876
1876
|
static reified(): StakePoolRegistryReified;
|
|
1877
1877
|
static get r(): reified.StructClassReified<StakePoolRegistry, StakePoolRegistryFields>;
|
|
1878
1878
|
static phantom(): PhantomReified<ToTypeStr<StakePoolRegistry>>;
|
|
1879
|
-
static get p(): reified.PhantomReified<"::stake_pool::StakePoolRegistry" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolRegistry">;
|
|
1879
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::StakePoolRegistry" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::StakePoolRegistry">;
|
|
1880
1880
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1881
1881
|
id: {
|
|
1882
1882
|
id: {
|
|
@@ -1942,7 +1942,7 @@ export declare class UnstakeEvent implements StructClass {
|
|
|
1942
1942
|
static reified(): UnstakeEventReified;
|
|
1943
1943
|
static get r(): reified.StructClassReified<UnstakeEvent, UnstakeEventFields>;
|
|
1944
1944
|
static phantom(): PhantomReified<ToTypeStr<UnstakeEvent>>;
|
|
1945
|
-
static get p(): reified.PhantomReified<"::stake_pool::UnstakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnstakeEvent">;
|
|
1945
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::UnstakeEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UnstakeEvent">;
|
|
1946
1946
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1947
1947
|
sender: string;
|
|
1948
1948
|
index: string;
|
|
@@ -2032,7 +2032,7 @@ export declare class UpdateIncentiveConfigEvent implements StructClass {
|
|
|
2032
2032
|
static reified(): UpdateIncentiveConfigEventReified;
|
|
2033
2033
|
static get r(): reified.StructClassReified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
|
|
2034
2034
|
static phantom(): PhantomReified<ToTypeStr<UpdateIncentiveConfigEvent>>;
|
|
2035
|
-
static get p(): reified.PhantomReified<"::stake_pool::UpdateIncentiveConfigEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateIncentiveConfigEvent">;
|
|
2035
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::UpdateIncentiveConfigEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateIncentiveConfigEvent">;
|
|
2036
2036
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2037
2037
|
sender: string;
|
|
2038
2038
|
index: string;
|
|
@@ -2136,7 +2136,7 @@ export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
|
|
|
2136
2136
|
static reified(): UpdateUnlockCountdownTsMsEventReified;
|
|
2137
2137
|
static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
2138
2138
|
static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
|
|
2139
|
-
static get p(): reified.PhantomReified<"::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
2139
|
+
static get p(): reified.PhantomReified<"0x59033cb52ab8286b2ff368b8e6b319eefd7f2a4a83bd9152b53ce2a2cc4b6ad0::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0xafe221d6a3abc88d6f6f79b2452840c9f8d4cf8f7e58938b853acee5f06f24a2::stake_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
2140
2140
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2141
2141
|
sender: string;
|
|
2142
2142
|
index: string;
|
|
@@ -8,8 +8,8 @@ export declare function createTradingOrderWithBidReceipt(config: TypusConfig, tx
|
|
|
8
8
|
user: string;
|
|
9
9
|
index: string;
|
|
10
10
|
bToken: TOKEN;
|
|
11
|
-
|
|
12
|
-
share
|
|
11
|
+
bidReceipts: string[];
|
|
12
|
+
share?: string;
|
|
13
13
|
}): Promise<Transaction>;
|
|
14
14
|
export declare function reduceOptionCollateralPositionSize(config: TypusConfig, tx: Transaction, pythClient: PythClient, input: {
|
|
15
15
|
cToken: TOKEN;
|
|
@@ -80,17 +80,12 @@ function createTradingOrderWithBidReceipt(config, tx, pythClient, input) {
|
|
|
80
80
|
}
|
|
81
81
|
finally { if (e_1) throw e_1.error; }
|
|
82
82
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
collateralBidReceipt = input.bidReceipt;
|
|
93
|
-
}
|
|
83
|
+
collateralBidReceipt = (0, typus_dov_single_v2_1.getSplitBidReceiptTx)(config, tx, {
|
|
84
|
+
index: input.index,
|
|
85
|
+
receipts: input.bidReceipts,
|
|
86
|
+
share: input.share, // if undefined, merge all receipts
|
|
87
|
+
recipient: input.user,
|
|
88
|
+
});
|
|
94
89
|
cToken = constants_1.tokenType[__1.NETWORK][TOKEN];
|
|
95
90
|
bToken = constants_1.tokenType[__1.NETWORK][input.bToken];
|
|
96
91
|
baseToken = constants_1.tokenType[__1.NETWORK][BASE_TOKEN];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typus/typus-perp-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
|
|
5
5
|
"author": "Typus",
|
|
6
6
|
"description": "typus perp sdk",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@typus/typus-sdk": "1.6.
|
|
9
|
+
"@typus/typus-sdk": "1.6.7-tk1"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@types/bs58": "^4.0.1",
|