dipcoin-cli 0.5.0
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/LICENSE +203 -0
- package/README.md +736 -0
- package/dist/cli/commands/account.d.ts +3 -0
- package/dist/cli/commands/account.d.ts.map +1 -0
- package/dist/cli/commands/balance.d.ts +3 -0
- package/dist/cli/commands/balance.d.ts.map +1 -0
- package/dist/cli/commands/history.d.ts +3 -0
- package/dist/cli/commands/history.d.ts.map +1 -0
- package/dist/cli/commands/market.d.ts +3 -0
- package/dist/cli/commands/market.d.ts.map +1 -0
- package/dist/cli/commands/position.d.ts +3 -0
- package/dist/cli/commands/position.d.ts.map +1 -0
- package/dist/cli/commands/trade.d.ts +3 -0
- package/dist/cli/commands/trade.d.ts.map +1 -0
- package/dist/cli/commands/vault.d.ts +4 -0
- package/dist/cli/commands/vault.d.ts.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/utils/output.d.ts +7 -0
- package/dist/cli/utils/output.d.ts.map +1 -0
- package/dist/cli/utils/sdk-factory.d.ts +5 -0
- package/dist/cli/utils/sdk-factory.d.ts.map +1 -0
- package/dist/cli.cjs +19252 -0
- package/dist/config/deployed/mainnet/main_contract.json +550 -0
- package/dist/config/deployed/testnet/main_contract.json +550 -0
- package/dist/index.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -0
- package/dist/src/__tests__/sdk.test.d.ts +2 -0
- package/dist/src/__tests__/sdk.test.d.ts.map +1 -0
- package/dist/src/config/index.d.ts +15 -0
- package/dist/src/config/index.d.ts.map +1 -0
- package/dist/src/constants/index.d.ts +55 -0
- package/dist/src/constants/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +20 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/sdk/index.d.ts +2 -0
- package/dist/src/sdk/index.d.ts.map +1 -0
- package/dist/src/sdk/sdk.d.ts +300 -0
- package/dist/src/sdk/sdk.d.ts.map +1 -0
- package/dist/src/services/httpClient.d.ts +25 -0
- package/dist/src/services/httpClient.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +603 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +62 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
{
|
|
2
|
+
"deployer": "0x74a096bbe8126ab58db4d82cf7efbbef3b85e58560c12e00e9efef9a153882fc",
|
|
3
|
+
"packages": [
|
|
4
|
+
"0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87",
|
|
5
|
+
"0xc2dd582487d685492ab7115708168b8278233442f830a5977e2cfcd6647f8fb6"
|
|
6
|
+
],
|
|
7
|
+
"objects": {
|
|
8
|
+
"OrderStatus": {
|
|
9
|
+
"id": "0x8649c6cc316148fb3eeab79edac6234d81d9d2217f8454616848a2e95c61fb57",
|
|
10
|
+
"owner": "Shared",
|
|
11
|
+
"dataType": "0x2::table::Table<vector<u8>, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::order::OrderStatus>",
|
|
12
|
+
"package_version": 1
|
|
13
|
+
},
|
|
14
|
+
"ProtocolConfig": {
|
|
15
|
+
"id": "0x941880b7423cee8250d62d33a4bd15ab56a90c73a33e217b63753f66e8e720b0",
|
|
16
|
+
"owner": "Shared",
|
|
17
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::protocol::ProtocolConfig",
|
|
18
|
+
"package_version": 1
|
|
19
|
+
},
|
|
20
|
+
"UpgradeCap": {
|
|
21
|
+
"id": "0x5ec711169dcef7523862c5eda8a22de9939da0366d86ff86920d161e1a542a8d",
|
|
22
|
+
"owner": "Owned",
|
|
23
|
+
"dataType": "0x2::package::UpgradeCap",
|
|
24
|
+
"package_version": 1
|
|
25
|
+
},
|
|
26
|
+
"FundingRateCap": {
|
|
27
|
+
"id": "0x7bd8ea5e18fe458cb23535e754925847313a1fdc40ee6cfbb8a91238cb556aa8",
|
|
28
|
+
"owner": "Owned",
|
|
29
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::roles::FundingRateCap",
|
|
30
|
+
"package_version": 1
|
|
31
|
+
},
|
|
32
|
+
"ExchangeManagerCap": {
|
|
33
|
+
"id": "0x3b9a2493cfd474cfe276a6b4076d8aff0b6a23ba8d7379e2076121407bc49494",
|
|
34
|
+
"owner": "Owned",
|
|
35
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::roles::ExchangeManagerCap",
|
|
36
|
+
"package_version": 1
|
|
37
|
+
},
|
|
38
|
+
"SubAccounts": {
|
|
39
|
+
"id": "0x5c006031299c4edaed3bd65b0932beeb6142cdb4db755cde7b181d7d9bf86ce4",
|
|
40
|
+
"owner": "Shared",
|
|
41
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::sub_accounts::SubAccounts",
|
|
42
|
+
"package_version": 1
|
|
43
|
+
},
|
|
44
|
+
"UnlimitedMintCap": {
|
|
45
|
+
"id": "0x75225f1bb55a3eaddf26681382c8971f84b8a99db0ac795a857e4da243efc181",
|
|
46
|
+
"owner": "Owned",
|
|
47
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::coin::UnlimitedMintCap",
|
|
48
|
+
"package_version": 1
|
|
49
|
+
},
|
|
50
|
+
"TxIndexer": {
|
|
51
|
+
"id": "0x28b619a8e585287a299948b323898cca85c2dc0ee3945475d84cad9afcddc53f",
|
|
52
|
+
"owner": "Shared",
|
|
53
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::sub_accounts::TxIndexer",
|
|
54
|
+
"package_version": 1
|
|
55
|
+
},
|
|
56
|
+
"DeleveragingCap": {
|
|
57
|
+
"id": "0x64977d81aabd79db2a1fe188f82004a38ea54404a74fc3b44b9c60d84830bac2",
|
|
58
|
+
"owner": "Owned",
|
|
59
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::roles::DeleveragingCap",
|
|
60
|
+
"package_version": 1
|
|
61
|
+
},
|
|
62
|
+
"ExchangeAdminCap": {
|
|
63
|
+
"id": "0xe1bc241a23da977865d470d2bfefd3bd352eae786c582e93ffa890af16b0d1c8",
|
|
64
|
+
"owner": "Owned",
|
|
65
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::roles::ExchangeAdminCap",
|
|
66
|
+
"package_version": 1
|
|
67
|
+
},
|
|
68
|
+
"Currency": {
|
|
69
|
+
"id": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87",
|
|
70
|
+
"owner": "Immutable",
|
|
71
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::coin::COIN",
|
|
72
|
+
"package_version": 1
|
|
73
|
+
},
|
|
74
|
+
"MintManager": {
|
|
75
|
+
"id": "0x559b37acdb56835126c20e07f4d98c0f728598c7109f280541849488dcce4aca",
|
|
76
|
+
"owner": "Shared",
|
|
77
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::coin::MintManager",
|
|
78
|
+
"package_version": 1
|
|
79
|
+
},
|
|
80
|
+
"Bank": {
|
|
81
|
+
"id": "0xfc48d358fa92940fc62c3bbf86ce36ed5c7d11f8322c1acb7e0b3d12a915478a",
|
|
82
|
+
"owner": "Shared",
|
|
83
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::Bank<0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::coin::COIN>",
|
|
84
|
+
"package_version": 1
|
|
85
|
+
},
|
|
86
|
+
"BankTable": {
|
|
87
|
+
"owner": "Shared",
|
|
88
|
+
"id": "0x132d64ac8355786ceb5a008349689f268df788106e2f4887945d7d7a7c0f5b09",
|
|
89
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
90
|
+
"package_version": 1
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"markets": {
|
|
94
|
+
"ETH-PERP": {
|
|
95
|
+
"Config": {
|
|
96
|
+
"symbol": "ETH-PERP",
|
|
97
|
+
"quoteAssetSymbol": "USDC",
|
|
98
|
+
"quoteAssetName": "Circle USD",
|
|
99
|
+
"baseAssetSymbol": "ETH",
|
|
100
|
+
"baseAssetName": "Ethereum",
|
|
101
|
+
"defaultLeverage": "3000000000000000000",
|
|
102
|
+
"minOrderPrice": "50000000000000000000",
|
|
103
|
+
"maxOrderPrice": "50000000000000000000000",
|
|
104
|
+
"tickSize": "10000000000000000",
|
|
105
|
+
"minTradeQty": "10000000000000000",
|
|
106
|
+
"maxTradeQtyLimit": "1000000000000000000000",
|
|
107
|
+
"maxTradeQtyMarket": "100000000000000000000",
|
|
108
|
+
"stepSize": "10000000000000000",
|
|
109
|
+
"mtbLong": "20000000000000000",
|
|
110
|
+
"mtbShort": "20000000000000000",
|
|
111
|
+
"maxAllowedOIOpen": [
|
|
112
|
+
"5000000000000000000000000",
|
|
113
|
+
"5000000000000000000000000",
|
|
114
|
+
"2500000000000000000000000",
|
|
115
|
+
"2500000000000000000000000",
|
|
116
|
+
"2500000000000000000000000",
|
|
117
|
+
"2500000000000000000000000",
|
|
118
|
+
"1000000000000000000000000",
|
|
119
|
+
"1000000000000000000000000",
|
|
120
|
+
"1000000000000000000000000",
|
|
121
|
+
"1000000000000000000000000",
|
|
122
|
+
"1000000000000000000000000",
|
|
123
|
+
"1000000000000000000000000",
|
|
124
|
+
"1000000000000000000000000",
|
|
125
|
+
"1000000000000000000000000",
|
|
126
|
+
"1000000000000000000000000",
|
|
127
|
+
"1000000000000000000000000",
|
|
128
|
+
"1000000000000000000000000",
|
|
129
|
+
"1000000000000000000000000",
|
|
130
|
+
"1000000000000000000000000",
|
|
131
|
+
"1000000000000000000000000"
|
|
132
|
+
],
|
|
133
|
+
"initialMarginReq": "45000000000000000",
|
|
134
|
+
"maintenanceMarginReq": "30000000000000000",
|
|
135
|
+
"defaultMakerFee": "150000000000000",
|
|
136
|
+
"defaultTakerFee": "550000000000000",
|
|
137
|
+
"maxFundingRate": "1000000000000000",
|
|
138
|
+
"maxAllowedPriceDiffInOP": "1000000000000000000",
|
|
139
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
140
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
141
|
+
"tradingStartTime": 1756180800000,
|
|
142
|
+
"priceInfoFeedId": "c6c75c89f14810ec1c54c03ab8f1864a4c4032791f05747f560faec380a695d1"
|
|
143
|
+
},
|
|
144
|
+
"Objects": {
|
|
145
|
+
"BankAccount": {
|
|
146
|
+
"id": "0xc10f6f126b86c96e78c51c99dc6a501aa2a942d7db39ff10a9d57912b58b1a48",
|
|
147
|
+
"owner": "Owned",
|
|
148
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
149
|
+
"package_version": 1
|
|
150
|
+
},
|
|
151
|
+
"Perpetual": {
|
|
152
|
+
"id": "0x44e07a44992498d610f455310b839d9f29aca7657bce65aa8d614b240900a5c7",
|
|
153
|
+
"owner": "Shared",
|
|
154
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
155
|
+
"package_version": 1
|
|
156
|
+
},
|
|
157
|
+
"PositionsTable": {
|
|
158
|
+
"owner": "Shared",
|
|
159
|
+
"id": "0xe6764eff20b9d36c11669a59bc669e1c13d380c7bf12ee1fe75c2241ec9e8719",
|
|
160
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
161
|
+
"package_version": 1
|
|
162
|
+
},
|
|
163
|
+
"PriceInfoObject": {
|
|
164
|
+
"owner": "Shared",
|
|
165
|
+
"id": "0x362f009be96a1d74ff76156cec96876b89aa09529c1261d491751903ee798e4d",
|
|
166
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
167
|
+
"package_version": 1
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"BTC-PERP": {
|
|
172
|
+
"Config": {
|
|
173
|
+
"symbol": "BTC-PERP",
|
|
174
|
+
"quoteAssetSymbol": "USDC",
|
|
175
|
+
"quoteAssetName": "Circle USD",
|
|
176
|
+
"baseAssetSymbol": "BTC",
|
|
177
|
+
"baseAssetName": "Bitcoin",
|
|
178
|
+
"defaultLeverage": "3000000000000000000",
|
|
179
|
+
"minOrderPrice": "500000000000000000000",
|
|
180
|
+
"maxOrderPrice": "500000000000000000000000",
|
|
181
|
+
"tickSize": "100000000000000000",
|
|
182
|
+
"minTradeQty": "1000000000000000",
|
|
183
|
+
"maxTradeQtyLimit": "100000000000000000000",
|
|
184
|
+
"maxTradeQtyMarket": "10000000000000000000",
|
|
185
|
+
"stepSize": "1000000000000000",
|
|
186
|
+
"mtbLong": "20000000000000000",
|
|
187
|
+
"mtbShort": "20000000000000000",
|
|
188
|
+
"maxAllowedOIOpen": [
|
|
189
|
+
"5000000000000000000000000",
|
|
190
|
+
"5000000000000000000000000",
|
|
191
|
+
"2500000000000000000000000",
|
|
192
|
+
"2500000000000000000000000",
|
|
193
|
+
"2500000000000000000000000",
|
|
194
|
+
"2500000000000000000000000",
|
|
195
|
+
"1000000000000000000000000",
|
|
196
|
+
"1000000000000000000000000",
|
|
197
|
+
"1000000000000000000000000",
|
|
198
|
+
"1000000000000000000000000",
|
|
199
|
+
"1000000000000000000000000",
|
|
200
|
+
"1000000000000000000000000",
|
|
201
|
+
"1000000000000000000000000",
|
|
202
|
+
"1000000000000000000000000",
|
|
203
|
+
"1000000000000000000000000",
|
|
204
|
+
"1000000000000000000000000",
|
|
205
|
+
"1000000000000000000000000",
|
|
206
|
+
"1000000000000000000000000",
|
|
207
|
+
"1000000000000000000000000",
|
|
208
|
+
"1000000000000000000000000"
|
|
209
|
+
],
|
|
210
|
+
"initialMarginReq": "45000000000000000",
|
|
211
|
+
"maintenanceMarginReq": "30000000000000000",
|
|
212
|
+
"defaultMakerFee": "150000000000000",
|
|
213
|
+
"defaultTakerFee": "550000000000000",
|
|
214
|
+
"maxAllowedPriceDiffInOP": "1000000000000000000",
|
|
215
|
+
"maxFundingRate": "1000000000000000",
|
|
216
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
217
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
218
|
+
"tradingStartTime": 1756180800000,
|
|
219
|
+
"priceInfoFeedId": "3b9551a68d01d954d6387aff4df1529027ffb2fee413082e509feb29cc4904fe"
|
|
220
|
+
},
|
|
221
|
+
"Objects": {
|
|
222
|
+
"Perpetual": {
|
|
223
|
+
"id": "0x01956b7a475b232cda4c44643ef73475d3696f2bcba7fab65716c953aca80b62",
|
|
224
|
+
"owner": "Shared",
|
|
225
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
226
|
+
"package_version": 1
|
|
227
|
+
},
|
|
228
|
+
"BankAccount": {
|
|
229
|
+
"id": "0x46fe62cd344c15b1df042e7ee93095b1461946c295f4c43fb5911b7e18e353af",
|
|
230
|
+
"owner": "Owned",
|
|
231
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
232
|
+
"package_version": 1
|
|
233
|
+
},
|
|
234
|
+
"PositionsTable": {
|
|
235
|
+
"owner": "Shared",
|
|
236
|
+
"id": "0xfb67a57e1ff22ebdbd6f8b0833dd4cda0d34bb2bd3b9cd254fcb68a17428e541",
|
|
237
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
238
|
+
"package_version": 1
|
|
239
|
+
},
|
|
240
|
+
"PriceInfoObject": {
|
|
241
|
+
"owner": "Shared",
|
|
242
|
+
"id": "0x8c65003d5d1a529adc4be78cfceb3855ef529d9807fcd58b06caab0a96caa806",
|
|
243
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
244
|
+
"package_version": 1
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"SUI-PERP": {
|
|
249
|
+
"Config": {
|
|
250
|
+
"symbol": "SUI-PERP",
|
|
251
|
+
"quoteAssetSymbol": "USDC",
|
|
252
|
+
"quoteAssetName": "Circle USD",
|
|
253
|
+
"baseAssetSymbol": "SUI",
|
|
254
|
+
"baseAssetName": "Sui",
|
|
255
|
+
"defaultLeverage": "3000000000000000000",
|
|
256
|
+
"minOrderPrice": "1000000000000000000",
|
|
257
|
+
"maxOrderPrice": "100000000000000000000",
|
|
258
|
+
"tickSize": "10000000000000000",
|
|
259
|
+
"minTradeQty": "10000000000000000",
|
|
260
|
+
"maxTradeQtyLimit": "1000000000000000000000000",
|
|
261
|
+
"maxTradeQtyMarket": "100000000000000000000000",
|
|
262
|
+
"stepSize": "10000000000000000",
|
|
263
|
+
"mtbLong": "20000000000000000",
|
|
264
|
+
"mtbShort": "20000000000000000",
|
|
265
|
+
"maxAllowedOIOpen": [
|
|
266
|
+
"5000000000000000000000000",
|
|
267
|
+
"5000000000000000000000000",
|
|
268
|
+
"2500000000000000000000000",
|
|
269
|
+
"2500000000000000000000000",
|
|
270
|
+
"2500000000000000000000000",
|
|
271
|
+
"2500000000000000000000000",
|
|
272
|
+
"1000000000000000000000000",
|
|
273
|
+
"1000000000000000000000000",
|
|
274
|
+
"1000000000000000000000000",
|
|
275
|
+
"1000000000000000000000000",
|
|
276
|
+
"1000000000000000000000000",
|
|
277
|
+
"1000000000000000000000000",
|
|
278
|
+
"1000000000000000000000000",
|
|
279
|
+
"1000000000000000000000000",
|
|
280
|
+
"1000000000000000000000000",
|
|
281
|
+
"1000000000000000000000000",
|
|
282
|
+
"1000000000000000000000000",
|
|
283
|
+
"1000000000000000000000000",
|
|
284
|
+
"1000000000000000000000000",
|
|
285
|
+
"1000000000000000000000000"
|
|
286
|
+
],
|
|
287
|
+
"initialMarginReq": "45000000000000000",
|
|
288
|
+
"maintenanceMarginReq": "30000000000000000",
|
|
289
|
+
"defaultMakerFee": "150000000000000",
|
|
290
|
+
"defaultTakerFee": "550000000000000",
|
|
291
|
+
"maxFundingRate": "1000000000000000",
|
|
292
|
+
"maxAllowedPriceDiffInOP": "100000000000000000",
|
|
293
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
294
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
295
|
+
"tradingStartTime": 1758262524131,
|
|
296
|
+
"priceInfoFeedId": "50c67b3fd225db8912a424dd4baed60ffdde625ed2feaaf283724f9608fea266"
|
|
297
|
+
},
|
|
298
|
+
"Objects": {
|
|
299
|
+
"Perpetual": {
|
|
300
|
+
"id": "0x1b072fc44f685b5a84059597f80235d9876fcb0b8e6a7f7c83654641e21d4388",
|
|
301
|
+
"owner": "Shared",
|
|
302
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
303
|
+
"package_version": 1
|
|
304
|
+
},
|
|
305
|
+
"BankAccount": {
|
|
306
|
+
"id": "0x4e93beed927cd35e333ff98124583d475271f67f076cb20d6722fd3866c9d737",
|
|
307
|
+
"owner": "Owned",
|
|
308
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
309
|
+
"package_version": 1
|
|
310
|
+
},
|
|
311
|
+
"PositionsTable": {
|
|
312
|
+
"owner": "Shared",
|
|
313
|
+
"id": "0xdbf4902bb3e9a476f437c70c6637a5e3155bd94963a79513fd5f31e9a2d67d8a",
|
|
314
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
315
|
+
"package_version": 1
|
|
316
|
+
},
|
|
317
|
+
"PriceInfoObject": {
|
|
318
|
+
"owner": "Shared",
|
|
319
|
+
"id": "0x1e9be81a16c22896f2b4852e8b5c5e59d247c5566dee7b390477f4b7f70914df",
|
|
320
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
321
|
+
"package_version": 1
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"BNB-PERP": {
|
|
326
|
+
"Config": {
|
|
327
|
+
"symbol": "BNB-PERP",
|
|
328
|
+
"quoteAssetSymbol": "USDC",
|
|
329
|
+
"quoteAssetName": "Circle USD",
|
|
330
|
+
"baseAssetSymbol": "BNB",
|
|
331
|
+
"baseAssetName": "BNB",
|
|
332
|
+
"defaultLeverage": "3000000000000000000",
|
|
333
|
+
"minOrderPrice": "100000000000000000000",
|
|
334
|
+
"maxOrderPrice": "10000000000000000000000",
|
|
335
|
+
"tickSize": "10000000000000000",
|
|
336
|
+
"minTradeQty": "1000000000000000",
|
|
337
|
+
"maxTradeQtyLimit": "80000000000000000000",
|
|
338
|
+
"maxTradeQtyMarket": "40000000000000000000",
|
|
339
|
+
"stepSize": "1000000000000000",
|
|
340
|
+
"mtbLong": "20000000000000000",
|
|
341
|
+
"mtbShort": "20000000000000000",
|
|
342
|
+
"maxAllowedOIOpen": [
|
|
343
|
+
"5000000000000000000000000",
|
|
344
|
+
"5000000000000000000000000",
|
|
345
|
+
"2500000000000000000000000",
|
|
346
|
+
"2500000000000000000000000",
|
|
347
|
+
"2500000000000000000000000",
|
|
348
|
+
"2500000000000000000000000",
|
|
349
|
+
"1000000000000000000000000",
|
|
350
|
+
"1000000000000000000000000",
|
|
351
|
+
"1000000000000000000000000",
|
|
352
|
+
"1000000000000000000000000"
|
|
353
|
+
],
|
|
354
|
+
"initialMarginReq": "95000000000000000",
|
|
355
|
+
"maintenanceMarginReq": "45000000000000000",
|
|
356
|
+
"defaultMakerFee": "100000000000000",
|
|
357
|
+
"defaultTakerFee": "300000000000000",
|
|
358
|
+
"maxFundingRate": "10000000000000000",
|
|
359
|
+
"maxAllowedPriceDiffInOP": "100000000000000000",
|
|
360
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
361
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
362
|
+
"insuranceActivePool": "0x3fef7532f98e82124148b65149d2f58ae07aa4082b9f49a2c8fe568fbbe16cfa",
|
|
363
|
+
"tradingStartTime": 1761709177236,
|
|
364
|
+
"priceInfoFeedId": "ecf553770d9b10965f8fb64771e93f5690a182edc32be4a3236e0caaa6e0581a"
|
|
365
|
+
},
|
|
366
|
+
"Objects": {
|
|
367
|
+
"BankAccount": {
|
|
368
|
+
"id": "0x4d941ef9f2ba286cd0415300c11334067b37739add5169c7078b160f2d4e7f24",
|
|
369
|
+
"owner": "Owned",
|
|
370
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
371
|
+
"package_version": 1
|
|
372
|
+
},
|
|
373
|
+
"Perpetual": {
|
|
374
|
+
"id": "0xe9d5116eb9592cc540d3d4bdb535c4b9072fc965bfacb44ceb4b1ccde0ebdb28",
|
|
375
|
+
"owner": "Shared",
|
|
376
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
377
|
+
"package_version": 1
|
|
378
|
+
},
|
|
379
|
+
"PositionsTable": {
|
|
380
|
+
"owner": "Shared",
|
|
381
|
+
"id": "0xc83b215c02d34eabf7fff661eaf594371606b4f0340f7294d046a05044999892",
|
|
382
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
383
|
+
"package_version": 1
|
|
384
|
+
},
|
|
385
|
+
"PriceInfoObject": {
|
|
386
|
+
"owner": "Shared",
|
|
387
|
+
"id": "0x1e235a96d21e9ae51514e3e5b1523fe5bf69149a697d7873e974f562e4d79435",
|
|
388
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
389
|
+
"package_version": 1
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"SOL-PERP": {
|
|
394
|
+
"Config": {
|
|
395
|
+
"symbol": "SOL-PERP",
|
|
396
|
+
"quoteAssetSymbol": "USDC",
|
|
397
|
+
"quoteAssetName": "Circle USD",
|
|
398
|
+
"baseAssetSymbol": "SOL",
|
|
399
|
+
"baseAssetName": "SOL",
|
|
400
|
+
"defaultLeverage": "3000000000000000000",
|
|
401
|
+
"minOrderPrice": "1000000000000000000",
|
|
402
|
+
"maxOrderPrice": "1000000000000000000000",
|
|
403
|
+
"tickSize": "10000000000000000",
|
|
404
|
+
"minTradeQty": "100000000000000000",
|
|
405
|
+
"maxTradeQtyLimit": "500000000000000000000",
|
|
406
|
+
"maxTradeQtyMarket": "250000000000000000000",
|
|
407
|
+
"stepSize": "100000000000000000",
|
|
408
|
+
"mtbLong": "20000000000000000",
|
|
409
|
+
"mtbShort": "20000000000000000",
|
|
410
|
+
"maxAllowedOIOpen": [
|
|
411
|
+
"5000000000000000000000000",
|
|
412
|
+
"5000000000000000000000000",
|
|
413
|
+
"2500000000000000000000000",
|
|
414
|
+
"2500000000000000000000000",
|
|
415
|
+
"1000000000000000000000000",
|
|
416
|
+
"1000000000000000000000000",
|
|
417
|
+
"1000000000000000000000000",
|
|
418
|
+
"1000000000000000000000000",
|
|
419
|
+
"1000000000000000000000000",
|
|
420
|
+
"1000000000000000000000000",
|
|
421
|
+
"1000000000000000000000000",
|
|
422
|
+
"1000000000000000000000000",
|
|
423
|
+
"1000000000000000000000000",
|
|
424
|
+
"1000000000000000000000000",
|
|
425
|
+
"1000000000000000000000000",
|
|
426
|
+
"1000000000000000000000000",
|
|
427
|
+
"1000000000000000000000000",
|
|
428
|
+
"1000000000000000000000000",
|
|
429
|
+
"1000000000000000000000000",
|
|
430
|
+
"1000000000000000000000000"
|
|
431
|
+
],
|
|
432
|
+
"initialMarginReq": "45000000000000000",
|
|
433
|
+
"maintenanceMarginReq": "25000000000000000",
|
|
434
|
+
"defaultMakerFee": "100000000000000",
|
|
435
|
+
"defaultTakerFee": "300000000000000",
|
|
436
|
+
"maxFundingRate": "10000000000000000",
|
|
437
|
+
"maxAllowedPriceDiffInOP": "100000000000000000",
|
|
438
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
439
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
440
|
+
"insuranceActivePool": "0x9114f02b81c9f5a59a0a5f77f011c31e449af1077075460b0e787ecbbe987eba",
|
|
441
|
+
"tradingStartTime": 1761709242193,
|
|
442
|
+
"priceInfoFeedId": "fe650f0367d4a7ef9815a593ea15d36593f0643aaaf0149bb04be67ab851decd"
|
|
443
|
+
},
|
|
444
|
+
"Objects": {
|
|
445
|
+
"Perpetual": {
|
|
446
|
+
"id": "0x371e2aebed966a6fca20af6d2ed1a1ab3c0d0ff585a72efa1d2db7d841e31e1d",
|
|
447
|
+
"owner": "Shared",
|
|
448
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
449
|
+
"package_version": 1
|
|
450
|
+
},
|
|
451
|
+
"BankAccount": {
|
|
452
|
+
"id": "0xae705ed64326363dbaa4ed9f202b13fb5842a1bdf1eb2e5840ca1a79f5f7913b",
|
|
453
|
+
"owner": "Owned",
|
|
454
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
455
|
+
"package_version": 1
|
|
456
|
+
},
|
|
457
|
+
"PositionsTable": {
|
|
458
|
+
"owner": "Shared",
|
|
459
|
+
"id": "0x20960fb23f79a1c773231d6c999a073491e62c168fb7f9bead74892d40525bcd",
|
|
460
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
461
|
+
"package_version": 1
|
|
462
|
+
},
|
|
463
|
+
"PriceInfoObject": {
|
|
464
|
+
"owner": "Shared",
|
|
465
|
+
"id": "0xce0d5f536bac4eba76a070719cfbb98cec877e6027fa3c319ad60cb9102a7998",
|
|
466
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
467
|
+
"package_version": 1
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"XRP-PERP": {
|
|
472
|
+
"Config": {
|
|
473
|
+
"symbol": "XRP-PERP",
|
|
474
|
+
"quoteAssetSymbol": "USDC",
|
|
475
|
+
"quoteAssetName": "Circle USD",
|
|
476
|
+
"baseAssetSymbol": "XRP",
|
|
477
|
+
"baseAssetName": "XRP",
|
|
478
|
+
"defaultLeverage": "3000000000000000000",
|
|
479
|
+
"minOrderPrice": "100000000000000000",
|
|
480
|
+
"maxOrderPrice": "100000000000000000000",
|
|
481
|
+
"tickSize": "100000000000000",
|
|
482
|
+
"minTradeQty": "1000000000000000000",
|
|
483
|
+
"maxTradeQtyLimit": "40000000000000000000000",
|
|
484
|
+
"maxTradeQtyMarket": "20000000000000000000000",
|
|
485
|
+
"stepSize": "1000000000000000000",
|
|
486
|
+
"mtbLong": "20000000000000000",
|
|
487
|
+
"mtbShort": "20000000000000000",
|
|
488
|
+
"maxAllowedOIOpen": [
|
|
489
|
+
"5000000000000000000000000",
|
|
490
|
+
"5000000000000000000000000",
|
|
491
|
+
"2500000000000000000000000",
|
|
492
|
+
"2500000000000000000000000",
|
|
493
|
+
"2500000000000000000000000",
|
|
494
|
+
"2500000000000000000000000",
|
|
495
|
+
"1000000000000000000000000",
|
|
496
|
+
"1000000000000000000000000",
|
|
497
|
+
"1000000000000000000000000",
|
|
498
|
+
"1000000000000000000000000",
|
|
499
|
+
"1000000000000000000000000",
|
|
500
|
+
"1000000000000000000000000",
|
|
501
|
+
"1000000000000000000000000",
|
|
502
|
+
"1000000000000000000000000",
|
|
503
|
+
"1000000000000000000000000",
|
|
504
|
+
"1000000000000000000000000",
|
|
505
|
+
"1000000000000000000000000",
|
|
506
|
+
"1000000000000000000000000",
|
|
507
|
+
"1000000000000000000000000",
|
|
508
|
+
"1000000000000000000000000"
|
|
509
|
+
],
|
|
510
|
+
"initialMarginReq": "45000000000000000",
|
|
511
|
+
"maintenanceMarginReq": "25000000000000000",
|
|
512
|
+
"defaultMakerFee": "100000000000000",
|
|
513
|
+
"defaultTakerFee": "300000000000000",
|
|
514
|
+
"maxFundingRate": "10000000000000000",
|
|
515
|
+
"maxAllowedPriceDiffInOP": "100000000000000000",
|
|
516
|
+
"feePool": "0x05ada716962dec8788b53ddad34827ffe46acfe16bfe9d7d064838fcda285073",
|
|
517
|
+
"gasPool": "0xefb4808ca08bd25f9edc4017d036ad8bd451d7674b11e0b322bc8b1a98d46e10",
|
|
518
|
+
"insuranceActivePool": "0x9818d56917fbd031deef9af45b8917af8028641490f1f1074cb7fb73e37c2fb6",
|
|
519
|
+
"tradingStartTime": 1761709262106,
|
|
520
|
+
"priceInfoFeedId": "bfaf7739cb6fe3e1c57a0ac08e1d931e9e6062d476fa57804e165ab572b5b621"
|
|
521
|
+
},
|
|
522
|
+
"Objects": {
|
|
523
|
+
"Perpetual": {
|
|
524
|
+
"id": "0x5dc29e3fb3e00256c2576f4fa196b626383cbaa7f3a3a83f0cabda649b42a111",
|
|
525
|
+
"owner": "Shared",
|
|
526
|
+
"dataType": "0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::perpetual::Perpetual",
|
|
527
|
+
"package_version": 1
|
|
528
|
+
},
|
|
529
|
+
"BankAccount": {
|
|
530
|
+
"id": "0xda89f3a3ee5ec51747a80ae7c9f6757649dbabf59b386619102309c31a8dad39",
|
|
531
|
+
"owner": "Owned",
|
|
532
|
+
"dataType": "0x2::dynamic_field::Field<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::bank::BankAccount>",
|
|
533
|
+
"package_version": 1
|
|
534
|
+
},
|
|
535
|
+
"PositionsTable": {
|
|
536
|
+
"owner": "Shared",
|
|
537
|
+
"id": "0x2cfe719ee747df4060f3fa45797f5a7a3eaee269227a76451e429d3a2e41e19a",
|
|
538
|
+
"dataType": "0x2::table::Table<address, 0x0de11caea463b7ec51adb976774d6bc16ba3054dd95675c8bd06ec74fb7b1c87::position::Position>",
|
|
539
|
+
"package_version": 1
|
|
540
|
+
},
|
|
541
|
+
"PriceInfoObject": {
|
|
542
|
+
"owner": "Shared",
|
|
543
|
+
"id": "0x819ffa7042d623efcd93ecdcaf0cd559b1a03ae70df808d496b93c99e195c8d4",
|
|
544
|
+
"dataType": "0x19a0d184defcceab9d51a1d4dc14ad5116029c21c0836e770e274978c97bded5::price_info::PriceInfo",
|
|
545
|
+
"package_version": 1
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|