@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,442 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ERC721",
4
- "sourceName": "contracts/libraries/token/ERC721/ERC721.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "string",
10
- "name": "name",
11
- "type": "string"
12
- },
13
- {
14
- "internalType": "string",
15
- "name": "symbol",
16
- "type": "string"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
21
- },
22
- {
23
- "anonymous": false,
24
- "inputs": [
25
- {
26
- "indexed": true,
27
- "internalType": "address",
28
- "name": "owner",
29
- "type": "address"
30
- },
31
- {
32
- "indexed": true,
33
- "internalType": "address",
34
- "name": "approved",
35
- "type": "address"
36
- },
37
- {
38
- "indexed": true,
39
- "internalType": "uint256",
40
- "name": "tokenId",
41
- "type": "uint256"
42
- }
43
- ],
44
- "name": "Approval",
45
- "type": "event"
46
- },
47
- {
48
- "anonymous": false,
49
- "inputs": [
50
- {
51
- "indexed": true,
52
- "internalType": "address",
53
- "name": "owner",
54
- "type": "address"
55
- },
56
- {
57
- "indexed": true,
58
- "internalType": "address",
59
- "name": "operator",
60
- "type": "address"
61
- },
62
- {
63
- "indexed": false,
64
- "internalType": "bool",
65
- "name": "approved",
66
- "type": "bool"
67
- }
68
- ],
69
- "name": "ApprovalForAll",
70
- "type": "event"
71
- },
72
- {
73
- "anonymous": false,
74
- "inputs": [
75
- {
76
- "indexed": true,
77
- "internalType": "address",
78
- "name": "from",
79
- "type": "address"
80
- },
81
- {
82
- "indexed": true,
83
- "internalType": "address",
84
- "name": "to",
85
- "type": "address"
86
- },
87
- {
88
- "indexed": true,
89
- "internalType": "uint256",
90
- "name": "tokenId",
91
- "type": "uint256"
92
- }
93
- ],
94
- "name": "Transfer",
95
- "type": "event"
96
- },
97
- {
98
- "inputs": [
99
- {
100
- "internalType": "address",
101
- "name": "to",
102
- "type": "address"
103
- },
104
- {
105
- "internalType": "uint256",
106
- "name": "tokenId",
107
- "type": "uint256"
108
- }
109
- ],
110
- "name": "approve",
111
- "outputs": [],
112
- "stateMutability": "nonpayable",
113
- "type": "function"
114
- },
115
- {
116
- "inputs": [
117
- {
118
- "internalType": "address",
119
- "name": "owner",
120
- "type": "address"
121
- }
122
- ],
123
- "name": "balanceOf",
124
- "outputs": [
125
- {
126
- "internalType": "uint256",
127
- "name": "",
128
- "type": "uint256"
129
- }
130
- ],
131
- "stateMutability": "view",
132
- "type": "function"
133
- },
134
- {
135
- "inputs": [],
136
- "name": "baseURI",
137
- "outputs": [
138
- {
139
- "internalType": "string",
140
- "name": "",
141
- "type": "string"
142
- }
143
- ],
144
- "stateMutability": "view",
145
- "type": "function"
146
- },
147
- {
148
- "inputs": [
149
- {
150
- "internalType": "uint256",
151
- "name": "tokenId",
152
- "type": "uint256"
153
- }
154
- ],
155
- "name": "getApproved",
156
- "outputs": [
157
- {
158
- "internalType": "address",
159
- "name": "",
160
- "type": "address"
161
- }
162
- ],
163
- "stateMutability": "view",
164
- "type": "function"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "address",
170
- "name": "owner",
171
- "type": "address"
172
- },
173
- {
174
- "internalType": "address",
175
- "name": "operator",
176
- "type": "address"
177
- }
178
- ],
179
- "name": "isApprovedForAll",
180
- "outputs": [
181
- {
182
- "internalType": "bool",
183
- "name": "",
184
- "type": "bool"
185
- }
186
- ],
187
- "stateMutability": "view",
188
- "type": "function"
189
- },
190
- {
191
- "inputs": [
192
- {
193
- "internalType": "address",
194
- "name": "to",
195
- "type": "address"
196
- },
197
- {
198
- "internalType": "uint256",
199
- "name": "tokenId",
200
- "type": "uint256"
201
- }
202
- ],
203
- "name": "mint",
204
- "outputs": [],
205
- "stateMutability": "nonpayable",
206
- "type": "function"
207
- },
208
- {
209
- "inputs": [],
210
- "name": "name",
211
- "outputs": [
212
- {
213
- "internalType": "string",
214
- "name": "",
215
- "type": "string"
216
- }
217
- ],
218
- "stateMutability": "view",
219
- "type": "function"
220
- },
221
- {
222
- "inputs": [
223
- {
224
- "internalType": "uint256",
225
- "name": "tokenId",
226
- "type": "uint256"
227
- }
228
- ],
229
- "name": "ownerOf",
230
- "outputs": [
231
- {
232
- "internalType": "address",
233
- "name": "",
234
- "type": "address"
235
- }
236
- ],
237
- "stateMutability": "view",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [
242
- {
243
- "internalType": "address",
244
- "name": "from",
245
- "type": "address"
246
- },
247
- {
248
- "internalType": "address",
249
- "name": "to",
250
- "type": "address"
251
- },
252
- {
253
- "internalType": "uint256",
254
- "name": "tokenId",
255
- "type": "uint256"
256
- }
257
- ],
258
- "name": "safeTransferFrom",
259
- "outputs": [],
260
- "stateMutability": "nonpayable",
261
- "type": "function"
262
- },
263
- {
264
- "inputs": [
265
- {
266
- "internalType": "address",
267
- "name": "from",
268
- "type": "address"
269
- },
270
- {
271
- "internalType": "address",
272
- "name": "to",
273
- "type": "address"
274
- },
275
- {
276
- "internalType": "uint256",
277
- "name": "tokenId",
278
- "type": "uint256"
279
- },
280
- {
281
- "internalType": "bytes",
282
- "name": "_data",
283
- "type": "bytes"
284
- }
285
- ],
286
- "name": "safeTransferFrom",
287
- "outputs": [],
288
- "stateMutability": "nonpayable",
289
- "type": "function"
290
- },
291
- {
292
- "inputs": [
293
- {
294
- "internalType": "address",
295
- "name": "operator",
296
- "type": "address"
297
- },
298
- {
299
- "internalType": "bool",
300
- "name": "approved",
301
- "type": "bool"
302
- }
303
- ],
304
- "name": "setApprovalForAll",
305
- "outputs": [],
306
- "stateMutability": "nonpayable",
307
- "type": "function"
308
- },
309
- {
310
- "inputs": [
311
- {
312
- "internalType": "bytes4",
313
- "name": "interfaceId",
314
- "type": "bytes4"
315
- }
316
- ],
317
- "name": "supportsInterface",
318
- "outputs": [
319
- {
320
- "internalType": "bool",
321
- "name": "",
322
- "type": "bool"
323
- }
324
- ],
325
- "stateMutability": "view",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [],
330
- "name": "symbol",
331
- "outputs": [
332
- {
333
- "internalType": "string",
334
- "name": "",
335
- "type": "string"
336
- }
337
- ],
338
- "stateMutability": "view",
339
- "type": "function"
340
- },
341
- {
342
- "inputs": [
343
- {
344
- "internalType": "uint256",
345
- "name": "index",
346
- "type": "uint256"
347
- }
348
- ],
349
- "name": "tokenByIndex",
350
- "outputs": [
351
- {
352
- "internalType": "uint256",
353
- "name": "",
354
- "type": "uint256"
355
- }
356
- ],
357
- "stateMutability": "view",
358
- "type": "function"
359
- },
360
- {
361
- "inputs": [
362
- {
363
- "internalType": "address",
364
- "name": "owner",
365
- "type": "address"
366
- },
367
- {
368
- "internalType": "uint256",
369
- "name": "index",
370
- "type": "uint256"
371
- }
372
- ],
373
- "name": "tokenOfOwnerByIndex",
374
- "outputs": [
375
- {
376
- "internalType": "uint256",
377
- "name": "",
378
- "type": "uint256"
379
- }
380
- ],
381
- "stateMutability": "view",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "internalType": "uint256",
388
- "name": "tokenId",
389
- "type": "uint256"
390
- }
391
- ],
392
- "name": "tokenURI",
393
- "outputs": [
394
- {
395
- "internalType": "string",
396
- "name": "",
397
- "type": "string"
398
- }
399
- ],
400
- "stateMutability": "view",
401
- "type": "function"
402
- },
403
- {
404
- "inputs": [],
405
- "name": "totalSupply",
406
- "outputs": [
407
- {
408
- "internalType": "uint256",
409
- "name": "",
410
- "type": "uint256"
411
- }
412
- ],
413
- "stateMutability": "view",
414
- "type": "function"
415
- },
416
- {
417
- "inputs": [
418
- {
419
- "internalType": "address",
420
- "name": "from",
421
- "type": "address"
422
- },
423
- {
424
- "internalType": "address",
425
- "name": "to",
426
- "type": "address"
427
- },
428
- {
429
- "internalType": "uint256",
430
- "name": "tokenId",
431
- "type": "uint256"
432
- }
433
- ],
434
- "name": "transferFrom",
435
- "outputs": [],
436
- "stateMutability": "nonpayable",
437
- "type": "function"
438
- }
439
- ],
440
- "linkReferences": {},
441
- "deployedLinkReferences": {}
442
- }