@gmx-io/sdk 0.0.4 → 0.0.6

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.
Files changed (90) hide show
  1. package/build/src/abis/CustomErrors.json +3196 -3196
  2. package/build/src/abis/DataStore.json +1335 -1335
  3. package/build/src/abis/ERC721.json +399 -399
  4. package/build/src/abis/EventEmitter.json +1967 -1967
  5. package/build/src/abis/ExchangeRouter.json +1461 -1461
  6. package/build/src/abis/GMT.json +478 -478
  7. package/build/src/abis/GlpManager.json +590 -589
  8. package/build/src/abis/GlvReader.json +1338 -1337
  9. package/build/src/abis/GlvRouter.json +595 -594
  10. package/build/src/abis/GmxMigrator.json +601 -601
  11. package/build/src/abis/GovToken.json +1040 -1040
  12. package/build/src/abis/MintableBaseToken.json +645 -645
  13. package/build/src/abis/Multicall.json +310 -310
  14. package/build/src/abis/OrderBook.json +1995 -1995
  15. package/build/src/abis/OrderBookReader.json +103 -103
  16. package/build/src/abis/OrderExecutor.json +108 -108
  17. package/build/src/abis/PositionManager.json +1162 -1162
  18. package/build/src/abis/PositionRouter.json +2028 -2028
  19. package/build/src/abis/Reader.json +328 -328
  20. package/build/src/abis/ReaderV2.json +628 -628
  21. package/build/src/abis/ReferralStorage.json +460 -460
  22. package/build/src/abis/RewardReader.json +78 -78
  23. package/build/src/abis/RewardRouter.json +767 -767
  24. package/build/src/abis/RewardTracker.json +848 -848
  25. package/build/src/abis/Router-v2.json +602 -602
  26. package/build/src/abis/Router.json +602 -602
  27. package/build/src/abis/SubaccountRouter.json +572 -572
  28. package/build/src/abis/SyntheticsReader.json +4238 -4238
  29. package/build/src/abis/SyntheticsRouter.json +67 -67
  30. package/build/src/abis/Timelock.json +1735 -1735
  31. package/build/src/abis/Token.json +311 -311
  32. package/build/src/abis/Treasury.json +375 -375
  33. package/build/src/abis/UniPool.json +81 -81
  34. package/build/src/abis/UniswapV2.json +1 -1
  35. package/build/src/abis/Vault.json +3218 -3218
  36. package/build/src/abis/VaultReader.json +81 -81
  37. package/build/src/abis/VaultV2.json +3017 -3017
  38. package/build/src/abis/VaultV2b.json +3218 -3218
  39. package/build/src/abis/Vester.json +942 -942
  40. package/build/src/abis/WETH.json +289 -289
  41. package/build/src/abis/YieldFarm.json +556 -556
  42. package/build/src/abis/YieldToken.json +512 -512
  43. package/build/src/prebuilt/hashedMarketConfigKeys.json +3656 -3656
  44. package/build/src/prebuilt/hashedMarketValuesKeys.json +1101 -1101
  45. package/package.json +2 -2
  46. package/build/abis/CustomErrors.json +0 -3254
  47. package/build/abis/DataStore.json +0 -1440
  48. package/build/abis/ERC721.json +0 -442
  49. package/build/abis/EventEmitter.json +0 -2065
  50. package/build/abis/ExchangeRouter.json +0 -1598
  51. package/build/abis/GMT.json +0 -522
  52. package/build/abis/GlpManager.json +0 -592
  53. package/build/abis/GlvReader.json +0 -1425
  54. package/build/abis/GlvRouter.json +0 -613
  55. package/build/abis/GmxMigrator.json +0 -657
  56. package/build/abis/GovToken.json +0 -1121
  57. package/build/abis/MintableBaseToken.json +0 -696
  58. package/build/abis/Multicall.json +0 -333
  59. package/build/abis/OrderBook.json +0 -1997
  60. package/build/abis/OrderBookReader.json +0 -111
  61. package/build/abis/OrderExecutor.json +0 -122
  62. package/build/abis/PositionManager.json +0 -1165
  63. package/build/abis/PositionRouter.json +0 -2030
  64. package/build/abis/Reader.json +0 -355
  65. package/build/abis/ReaderV2.json +0 -630
  66. package/build/abis/ReferralStorage.json +0 -507
  67. package/build/abis/RewardReader.json +0 -86
  68. package/build/abis/RewardRouter.json +0 -769
  69. package/build/abis/RewardTracker.json +0 -918
  70. package/build/abis/Router-v2.json +0 -605
  71. package/build/abis/Router.json +0 -605
  72. package/build/abis/SubaccountRouter.json +0 -648
  73. package/build/abis/SyntheticsReader.json +0 -4577
  74. package/build/abis/SyntheticsRouter.json +0 -77
  75. package/build/abis/Timelock.json +0 -1737
  76. package/build/abis/Token.json +0 -345
  77. package/build/abis/Treasury.json +0 -411
  78. package/build/abis/UniPool.json +0 -89
  79. package/build/abis/UniswapV2.json +0 -1
  80. package/build/abis/Vault.json +0 -3220
  81. package/build/abis/VaultReader.json +0 -87
  82. package/build/abis/VaultV2.json +0 -3019
  83. package/build/abis/VaultV2b.json +0 -3220
  84. package/build/abis/Vester.json +0 -1031
  85. package/build/abis/WETH.json +0 -320
  86. package/build/abis/YieldFarm.json +0 -599
  87. package/build/abis/YieldToken.json +0 -560
  88. package/build/prebuilt/hashedMarketConfigKeys.json +0 -3658
  89. package/build/prebuilt/hashedMarketValuesKeys.json +0 -1103
  90. /package/build/{prebuilt → src/prebuilt}/index.ts +0 -0
@@ -1,522 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "GMT",
4
- "sourceName": "contracts/gambit-token/GMT.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "uint256",
10
- "name": "_initialSupply",
11
- "type": "uint256"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
- {
18
- "anonymous": false,
19
- "inputs": [
20
- {
21
- "indexed": true,
22
- "internalType": "address",
23
- "name": "owner",
24
- "type": "address"
25
- },
26
- {
27
- "indexed": true,
28
- "internalType": "address",
29
- "name": "spender",
30
- "type": "address"
31
- },
32
- {
33
- "indexed": false,
34
- "internalType": "uint256",
35
- "name": "value",
36
- "type": "uint256"
37
- }
38
- ],
39
- "name": "Approval",
40
- "type": "event"
41
- },
42
- {
43
- "anonymous": false,
44
- "inputs": [
45
- {
46
- "indexed": true,
47
- "internalType": "address",
48
- "name": "from",
49
- "type": "address"
50
- },
51
- {
52
- "indexed": true,
53
- "internalType": "address",
54
- "name": "to",
55
- "type": "address"
56
- },
57
- {
58
- "indexed": false,
59
- "internalType": "uint256",
60
- "name": "value",
61
- "type": "uint256"
62
- }
63
- ],
64
- "name": "Transfer",
65
- "type": "event"
66
- },
67
- {
68
- "inputs": [
69
- {
70
- "internalType": "address",
71
- "name": "_account",
72
- "type": "address"
73
- }
74
- ],
75
- "name": "addAdmin",
76
- "outputs": [],
77
- "stateMutability": "nonpayable",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [
82
- {
83
- "internalType": "address",
84
- "name": "_recipient",
85
- "type": "address"
86
- }
87
- ],
88
- "name": "addBlockedRecipient",
89
- "outputs": [],
90
- "stateMutability": "nonpayable",
91
- "type": "function"
92
- },
93
- {
94
- "inputs": [
95
- {
96
- "internalType": "address",
97
- "name": "_msgSender",
98
- "type": "address"
99
- }
100
- ],
101
- "name": "addMsgSender",
102
- "outputs": [],
103
- "stateMutability": "nonpayable",
104
- "type": "function"
105
- },
106
- {
107
- "inputs": [
108
- {
109
- "internalType": "address",
110
- "name": "",
111
- "type": "address"
112
- }
113
- ],
114
- "name": "admins",
115
- "outputs": [
116
- {
117
- "internalType": "bool",
118
- "name": "",
119
- "type": "bool"
120
- }
121
- ],
122
- "stateMutability": "view",
123
- "type": "function"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "internalType": "address",
129
- "name": "_owner",
130
- "type": "address"
131
- },
132
- {
133
- "internalType": "address",
134
- "name": "_spender",
135
- "type": "address"
136
- }
137
- ],
138
- "name": "allowance",
139
- "outputs": [
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [
151
- {
152
- "internalType": "address",
153
- "name": "",
154
- "type": "address"
155
- },
156
- {
157
- "internalType": "address",
158
- "name": "",
159
- "type": "address"
160
- }
161
- ],
162
- "name": "allowances",
163
- "outputs": [
164
- {
165
- "internalType": "uint256",
166
- "name": "",
167
- "type": "uint256"
168
- }
169
- ],
170
- "stateMutability": "view",
171
- "type": "function"
172
- },
173
- {
174
- "inputs": [
175
- {
176
- "internalType": "address",
177
- "name": "",
178
- "type": "address"
179
- }
180
- ],
181
- "name": "allowedMsgSenders",
182
- "outputs": [
183
- {
184
- "internalType": "bool",
185
- "name": "",
186
- "type": "bool"
187
- }
188
- ],
189
- "stateMutability": "view",
190
- "type": "function"
191
- },
192
- {
193
- "inputs": [
194
- {
195
- "internalType": "address",
196
- "name": "_spender",
197
- "type": "address"
198
- },
199
- {
200
- "internalType": "uint256",
201
- "name": "_amount",
202
- "type": "uint256"
203
- }
204
- ],
205
- "name": "approve",
206
- "outputs": [
207
- {
208
- "internalType": "bool",
209
- "name": "",
210
- "type": "bool"
211
- }
212
- ],
213
- "stateMutability": "nonpayable",
214
- "type": "function"
215
- },
216
- {
217
- "inputs": [
218
- {
219
- "internalType": "address",
220
- "name": "_account",
221
- "type": "address"
222
- }
223
- ],
224
- "name": "balanceOf",
225
- "outputs": [
226
- {
227
- "internalType": "uint256",
228
- "name": "",
229
- "type": "uint256"
230
- }
231
- ],
232
- "stateMutability": "view",
233
- "type": "function"
234
- },
235
- {
236
- "inputs": [
237
- {
238
- "internalType": "address",
239
- "name": "",
240
- "type": "address"
241
- }
242
- ],
243
- "name": "balances",
244
- "outputs": [
245
- {
246
- "internalType": "uint256",
247
- "name": "",
248
- "type": "uint256"
249
- }
250
- ],
251
- "stateMutability": "view",
252
- "type": "function"
253
- },
254
- {
255
- "inputs": [],
256
- "name": "beginMigration",
257
- "outputs": [],
258
- "stateMutability": "nonpayable",
259
- "type": "function"
260
- },
261
- {
262
- "inputs": [
263
- {
264
- "internalType": "address",
265
- "name": "",
266
- "type": "address"
267
- }
268
- ],
269
- "name": "blockedRecipients",
270
- "outputs": [
271
- {
272
- "internalType": "bool",
273
- "name": "",
274
- "type": "bool"
275
- }
276
- ],
277
- "stateMutability": "view",
278
- "type": "function"
279
- },
280
- {
281
- "inputs": [],
282
- "name": "decimals",
283
- "outputs": [
284
- {
285
- "internalType": "uint8",
286
- "name": "",
287
- "type": "uint8"
288
- }
289
- ],
290
- "stateMutability": "view",
291
- "type": "function"
292
- },
293
- {
294
- "inputs": [],
295
- "name": "endMigration",
296
- "outputs": [],
297
- "stateMutability": "nonpayable",
298
- "type": "function"
299
- },
300
- {
301
- "inputs": [],
302
- "name": "gov",
303
- "outputs": [
304
- {
305
- "internalType": "address",
306
- "name": "",
307
- "type": "address"
308
- }
309
- ],
310
- "stateMutability": "view",
311
- "type": "function"
312
- },
313
- {
314
- "inputs": [],
315
- "name": "hasActiveMigration",
316
- "outputs": [
317
- {
318
- "internalType": "bool",
319
- "name": "",
320
- "type": "bool"
321
- }
322
- ],
323
- "stateMutability": "view",
324
- "type": "function"
325
- },
326
- {
327
- "inputs": [],
328
- "name": "migrationTime",
329
- "outputs": [
330
- {
331
- "internalType": "uint256",
332
- "name": "",
333
- "type": "uint256"
334
- }
335
- ],
336
- "stateMutability": "view",
337
- "type": "function"
338
- },
339
- {
340
- "inputs": [],
341
- "name": "name",
342
- "outputs": [
343
- {
344
- "internalType": "string",
345
- "name": "",
346
- "type": "string"
347
- }
348
- ],
349
- "stateMutability": "view",
350
- "type": "function"
351
- },
352
- {
353
- "inputs": [
354
- {
355
- "internalType": "address",
356
- "name": "_account",
357
- "type": "address"
358
- }
359
- ],
360
- "name": "removeAdmin",
361
- "outputs": [],
362
- "stateMutability": "nonpayable",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [
367
- {
368
- "internalType": "address",
369
- "name": "_recipient",
370
- "type": "address"
371
- }
372
- ],
373
- "name": "removeBlockedRecipient",
374
- "outputs": [],
375
- "stateMutability": "nonpayable",
376
- "type": "function"
377
- },
378
- {
379
- "inputs": [
380
- {
381
- "internalType": "address",
382
- "name": "_msgSender",
383
- "type": "address"
384
- }
385
- ],
386
- "name": "removeMsgSender",
387
- "outputs": [],
388
- "stateMutability": "nonpayable",
389
- "type": "function"
390
- },
391
- {
392
- "inputs": [
393
- {
394
- "internalType": "address",
395
- "name": "_gov",
396
- "type": "address"
397
- }
398
- ],
399
- "name": "setGov",
400
- "outputs": [],
401
- "stateMutability": "nonpayable",
402
- "type": "function"
403
- },
404
- {
405
- "inputs": [
406
- {
407
- "internalType": "uint256",
408
- "name": "_migrationTime",
409
- "type": "uint256"
410
- }
411
- ],
412
- "name": "setNextMigrationTime",
413
- "outputs": [],
414
- "stateMutability": "nonpayable",
415
- "type": "function"
416
- },
417
- {
418
- "inputs": [],
419
- "name": "symbol",
420
- "outputs": [
421
- {
422
- "internalType": "string",
423
- "name": "",
424
- "type": "string"
425
- }
426
- ],
427
- "stateMutability": "view",
428
- "type": "function"
429
- },
430
- {
431
- "inputs": [],
432
- "name": "totalSupply",
433
- "outputs": [
434
- {
435
- "internalType": "uint256",
436
- "name": "",
437
- "type": "uint256"
438
- }
439
- ],
440
- "stateMutability": "view",
441
- "type": "function"
442
- },
443
- {
444
- "inputs": [
445
- {
446
- "internalType": "address",
447
- "name": "_recipient",
448
- "type": "address"
449
- },
450
- {
451
- "internalType": "uint256",
452
- "name": "_amount",
453
- "type": "uint256"
454
- }
455
- ],
456
- "name": "transfer",
457
- "outputs": [
458
- {
459
- "internalType": "bool",
460
- "name": "",
461
- "type": "bool"
462
- }
463
- ],
464
- "stateMutability": "nonpayable",
465
- "type": "function"
466
- },
467
- {
468
- "inputs": [
469
- {
470
- "internalType": "address",
471
- "name": "_sender",
472
- "type": "address"
473
- },
474
- {
475
- "internalType": "address",
476
- "name": "_recipient",
477
- "type": "address"
478
- },
479
- {
480
- "internalType": "uint256",
481
- "name": "_amount",
482
- "type": "uint256"
483
- }
484
- ],
485
- "name": "transferFrom",
486
- "outputs": [
487
- {
488
- "internalType": "bool",
489
- "name": "",
490
- "type": "bool"
491
- }
492
- ],
493
- "stateMutability": "nonpayable",
494
- "type": "function"
495
- },
496
- {
497
- "inputs": [
498
- {
499
- "internalType": "address",
500
- "name": "_token",
501
- "type": "address"
502
- },
503
- {
504
- "internalType": "address",
505
- "name": "_account",
506
- "type": "address"
507
- },
508
- {
509
- "internalType": "uint256",
510
- "name": "_amount",
511
- "type": "uint256"
512
- }
513
- ],
514
- "name": "withdrawToken",
515
- "outputs": [],
516
- "stateMutability": "nonpayable",
517
- "type": "function"
518
- }
519
- ],
520
- "linkReferences": {},
521
- "deployedLinkReferences": {}
522
- }