@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,345 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "Token",
4
- "sourceName": "contracts/tokens/Token.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
- {
12
- "anonymous": false,
13
- "inputs": [
14
- {
15
- "indexed": true,
16
- "internalType": "address",
17
- "name": "owner",
18
- "type": "address"
19
- },
20
- {
21
- "indexed": true,
22
- "internalType": "address",
23
- "name": "spender",
24
- "type": "address"
25
- },
26
- {
27
- "indexed": false,
28
- "internalType": "uint256",
29
- "name": "value",
30
- "type": "uint256"
31
- }
32
- ],
33
- "name": "Approval",
34
- "type": "event"
35
- },
36
- {
37
- "anonymous": false,
38
- "inputs": [
39
- {
40
- "indexed": true,
41
- "internalType": "address",
42
- "name": "from",
43
- "type": "address"
44
- },
45
- {
46
- "indexed": true,
47
- "internalType": "address",
48
- "name": "to",
49
- "type": "address"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "uint256",
54
- "name": "value",
55
- "type": "uint256"
56
- }
57
- ],
58
- "name": "Transfer",
59
- "type": "event"
60
- },
61
- {
62
- "inputs": [
63
- {
64
- "internalType": "address",
65
- "name": "owner",
66
- "type": "address"
67
- },
68
- {
69
- "internalType": "address",
70
- "name": "spender",
71
- "type": "address"
72
- }
73
- ],
74
- "name": "allowance",
75
- "outputs": [
76
- {
77
- "internalType": "uint256",
78
- "name": "",
79
- "type": "uint256"
80
- }
81
- ],
82
- "stateMutability": "view",
83
- "type": "function"
84
- },
85
- {
86
- "inputs": [
87
- {
88
- "internalType": "address",
89
- "name": "spender",
90
- "type": "address"
91
- },
92
- {
93
- "internalType": "uint256",
94
- "name": "amount",
95
- "type": "uint256"
96
- }
97
- ],
98
- "name": "approve",
99
- "outputs": [
100
- {
101
- "internalType": "bool",
102
- "name": "",
103
- "type": "bool"
104
- }
105
- ],
106
- "stateMutability": "nonpayable",
107
- "type": "function"
108
- },
109
- {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "account",
114
- "type": "address"
115
- }
116
- ],
117
- "name": "balanceOf",
118
- "outputs": [
119
- {
120
- "internalType": "uint256",
121
- "name": "",
122
- "type": "uint256"
123
- }
124
- ],
125
- "stateMutability": "view",
126
- "type": "function"
127
- },
128
- {
129
- "inputs": [],
130
- "name": "decimals",
131
- "outputs": [
132
- {
133
- "internalType": "uint8",
134
- "name": "",
135
- "type": "uint8"
136
- }
137
- ],
138
- "stateMutability": "view",
139
- "type": "function"
140
- },
141
- {
142
- "inputs": [
143
- {
144
- "internalType": "address",
145
- "name": "spender",
146
- "type": "address"
147
- },
148
- {
149
- "internalType": "uint256",
150
- "name": "subtractedValue",
151
- "type": "uint256"
152
- }
153
- ],
154
- "name": "decreaseAllowance",
155
- "outputs": [
156
- {
157
- "internalType": "bool",
158
- "name": "",
159
- "type": "bool"
160
- }
161
- ],
162
- "stateMutability": "nonpayable",
163
- "type": "function"
164
- },
165
- {
166
- "inputs": [],
167
- "name": "deposit",
168
- "outputs": [],
169
- "stateMutability": "payable",
170
- "type": "function"
171
- },
172
- {
173
- "inputs": [
174
- {
175
- "internalType": "address",
176
- "name": "spender",
177
- "type": "address"
178
- },
179
- {
180
- "internalType": "uint256",
181
- "name": "addedValue",
182
- "type": "uint256"
183
- }
184
- ],
185
- "name": "increaseAllowance",
186
- "outputs": [
187
- {
188
- "internalType": "bool",
189
- "name": "",
190
- "type": "bool"
191
- }
192
- ],
193
- "stateMutability": "nonpayable",
194
- "type": "function"
195
- },
196
- {
197
- "inputs": [
198
- {
199
- "internalType": "address",
200
- "name": "account",
201
- "type": "address"
202
- },
203
- {
204
- "internalType": "uint256",
205
- "name": "amount",
206
- "type": "uint256"
207
- }
208
- ],
209
- "name": "mint",
210
- "outputs": [],
211
- "stateMutability": "nonpayable",
212
- "type": "function"
213
- },
214
- {
215
- "inputs": [],
216
- "name": "name",
217
- "outputs": [
218
- {
219
- "internalType": "string",
220
- "name": "",
221
- "type": "string"
222
- }
223
- ],
224
- "stateMutability": "view",
225
- "type": "function"
226
- },
227
- {
228
- "inputs": [],
229
- "name": "symbol",
230
- "outputs": [
231
- {
232
- "internalType": "string",
233
- "name": "",
234
- "type": "string"
235
- }
236
- ],
237
- "stateMutability": "view",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [],
242
- "name": "totalSupply",
243
- "outputs": [
244
- {
245
- "internalType": "uint256",
246
- "name": "",
247
- "type": "uint256"
248
- }
249
- ],
250
- "stateMutability": "view",
251
- "type": "function"
252
- },
253
- {
254
- "inputs": [
255
- {
256
- "internalType": "address",
257
- "name": "recipient",
258
- "type": "address"
259
- },
260
- {
261
- "internalType": "uint256",
262
- "name": "amount",
263
- "type": "uint256"
264
- }
265
- ],
266
- "name": "transfer",
267
- "outputs": [
268
- {
269
- "internalType": "bool",
270
- "name": "",
271
- "type": "bool"
272
- }
273
- ],
274
- "stateMutability": "nonpayable",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [
279
- {
280
- "internalType": "address",
281
- "name": "sender",
282
- "type": "address"
283
- },
284
- {
285
- "internalType": "address",
286
- "name": "recipient",
287
- "type": "address"
288
- },
289
- {
290
- "internalType": "uint256",
291
- "name": "amount",
292
- "type": "uint256"
293
- }
294
- ],
295
- "name": "transferFrom",
296
- "outputs": [
297
- {
298
- "internalType": "bool",
299
- "name": "",
300
- "type": "bool"
301
- }
302
- ],
303
- "stateMutability": "nonpayable",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [
308
- {
309
- "internalType": "uint256",
310
- "name": "amount",
311
- "type": "uint256"
312
- }
313
- ],
314
- "name": "withdraw",
315
- "outputs": [],
316
- "stateMutability": "nonpayable",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [
321
- {
322
- "internalType": "address",
323
- "name": "token",
324
- "type": "address"
325
- },
326
- {
327
- "internalType": "address",
328
- "name": "account",
329
- "type": "address"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "amount",
334
- "type": "uint256"
335
- }
336
- ],
337
- "name": "withdrawToken",
338
- "outputs": [],
339
- "stateMutability": "nonpayable",
340
- "type": "function"
341
- }
342
- ],
343
- "linkReferences": {},
344
- "deployedLinkReferences": {}
345
- }