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