@gmx-io/sdk 0.0.3 → 0.0.5

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 +7 -7
  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,918 +1,918 @@
1
1
  {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "RewardTracker",
4
- "sourceName": "contracts/staking/RewardTracker.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
- },
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RewardTracker",
4
+ "sourceName": "contracts/staking/RewardTracker.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
22
8
  {
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": "spender",
35
- "type": "address"
36
- },
37
- {
38
- "indexed": false,
39
- "internalType": "uint256",
40
- "name": "value",
41
- "type": "uint256"
42
- }
43
- ],
44
- "name": "Approval",
45
- "type": "event"
9
+ "internalType": "string",
10
+ "name": "_name",
11
+ "type": "string"
46
12
  },
47
13
  {
48
- "anonymous": false,
49
- "inputs": [
50
- {
51
- "indexed": false,
52
- "internalType": "address",
53
- "name": "receiver",
54
- "type": "address"
55
- },
56
- {
57
- "indexed": false,
58
- "internalType": "uint256",
59
- "name": "amount",
60
- "type": "uint256"
61
- }
62
- ],
63
- "name": "Claim",
64
- "type": "event"
65
- },
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": "spender",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "indexed": false,
39
+ "internalType": "uint256",
40
+ "name": "value",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "name": "Approval",
45
+ "type": "event"
46
+ },
47
+ {
48
+ "anonymous": false,
49
+ "inputs": [
50
+ {
51
+ "indexed": false,
52
+ "internalType": "address",
53
+ "name": "receiver",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "indexed": false,
58
+ "internalType": "uint256",
59
+ "name": "amount",
60
+ "type": "uint256"
61
+ }
62
+ ],
63
+ "name": "Claim",
64
+ "type": "event"
65
+ },
66
+ {
67
+ "anonymous": false,
68
+ "inputs": [
69
+ {
70
+ "indexed": true,
71
+ "internalType": "address",
72
+ "name": "from",
73
+ "type": "address"
74
+ },
75
+ {
76
+ "indexed": true,
77
+ "internalType": "address",
78
+ "name": "to",
79
+ "type": "address"
80
+ },
81
+ {
82
+ "indexed": false,
83
+ "internalType": "uint256",
84
+ "name": "value",
85
+ "type": "uint256"
86
+ }
87
+ ],
88
+ "name": "Transfer",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "BASIS_POINTS_DIVISOR",
94
+ "outputs": [
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "",
98
+ "type": "uint256"
99
+ }
100
+ ],
101
+ "stateMutability": "view",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "PRECISION",
107
+ "outputs": [
108
+ {
109
+ "internalType": "uint256",
110
+ "name": "",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
66
119
  {
67
- "anonymous": false,
68
- "inputs": [
69
- {
70
- "indexed": true,
71
- "internalType": "address",
72
- "name": "from",
73
- "type": "address"
74
- },
75
- {
76
- "indexed": true,
77
- "internalType": "address",
78
- "name": "to",
79
- "type": "address"
80
- },
81
- {
82
- "indexed": false,
83
- "internalType": "uint256",
84
- "name": "value",
85
- "type": "uint256"
86
- }
87
- ],
88
- "name": "Transfer",
89
- "type": "event"
120
+ "internalType": "address",
121
+ "name": "_owner",
122
+ "type": "address"
90
123
  },
91
124
  {
92
- "inputs": [],
93
- "name": "BASIS_POINTS_DIVISOR",
94
- "outputs": [
95
- {
96
- "internalType": "uint256",
97
- "name": "",
98
- "type": "uint256"
99
- }
100
- ],
101
- "stateMutability": "view",
102
- "type": "function"
103
- },
125
+ "internalType": "address",
126
+ "name": "_spender",
127
+ "type": "address"
128
+ }
129
+ ],
130
+ "name": "allowance",
131
+ "outputs": [
104
132
  {
105
- "inputs": [],
106
- "name": "PRECISION",
107
- "outputs": [
108
- {
109
- "internalType": "uint256",
110
- "name": "",
111
- "type": "uint256"
112
- }
113
- ],
114
- "stateMutability": "view",
115
- "type": "function"
116
- },
133
+ "internalType": "uint256",
134
+ "name": "",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "stateMutability": "view",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [
117
143
  {
118
- "inputs": [
119
- {
120
- "internalType": "address",
121
- "name": "_owner",
122
- "type": "address"
123
- },
124
- {
125
- "internalType": "address",
126
- "name": "_spender",
127
- "type": "address"
128
- }
129
- ],
130
- "name": "allowance",
131
- "outputs": [
132
- {
133
- "internalType": "uint256",
134
- "name": "",
135
- "type": "uint256"
136
- }
137
- ],
138
- "stateMutability": "view",
139
- "type": "function"
144
+ "internalType": "address",
145
+ "name": "",
146
+ "type": "address"
140
147
  },
141
148
  {
142
- "inputs": [
143
- {
144
- "internalType": "address",
145
- "name": "",
146
- "type": "address"
147
- },
148
- {
149
- "internalType": "address",
150
- "name": "",
151
- "type": "address"
152
- }
153
- ],
154
- "name": "allowances",
155
- "outputs": [
156
- {
157
- "internalType": "uint256",
158
- "name": "",
159
- "type": "uint256"
160
- }
161
- ],
162
- "stateMutability": "view",
163
- "type": "function"
164
- },
149
+ "internalType": "address",
150
+ "name": "",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "allowances",
155
+ "outputs": [
165
156
  {
166
- "inputs": [
167
- {
168
- "internalType": "address",
169
- "name": "_spender",
170
- "type": "address"
171
- },
172
- {
173
- "internalType": "uint256",
174
- "name": "_amount",
175
- "type": "uint256"
176
- }
177
- ],
178
- "name": "approve",
179
- "outputs": [
180
- {
181
- "internalType": "bool",
182
- "name": "",
183
- "type": "bool"
184
- }
185
- ],
186
- "stateMutability": "nonpayable",
187
- "type": "function"
188
- },
157
+ "internalType": "uint256",
158
+ "name": "",
159
+ "type": "uint256"
160
+ }
161
+ ],
162
+ "stateMutability": "view",
163
+ "type": "function"
164
+ },
165
+ {
166
+ "inputs": [
189
167
  {
190
- "inputs": [
191
- {
192
- "internalType": "address",
193
- "name": "",
194
- "type": "address"
195
- }
196
- ],
197
- "name": "averageStakedAmounts",
198
- "outputs": [
199
- {
200
- "internalType": "uint256",
201
- "name": "",
202
- "type": "uint256"
203
- }
204
- ],
205
- "stateMutability": "view",
206
- "type": "function"
168
+ "internalType": "address",
169
+ "name": "_spender",
170
+ "type": "address"
207
171
  },
208
172
  {
209
- "inputs": [
210
- {
211
- "internalType": "address",
212
- "name": "_account",
213
- "type": "address"
214
- }
215
- ],
216
- "name": "balanceOf",
217
- "outputs": [
218
- {
219
- "internalType": "uint256",
220
- "name": "",
221
- "type": "uint256"
222
- }
223
- ],
224
- "stateMutability": "view",
225
- "type": "function"
226
- },
173
+ "internalType": "uint256",
174
+ "name": "_amount",
175
+ "type": "uint256"
176
+ }
177
+ ],
178
+ "name": "approve",
179
+ "outputs": [
227
180
  {
228
- "inputs": [
229
- {
230
- "internalType": "address",
231
- "name": "",
232
- "type": "address"
233
- }
234
- ],
235
- "name": "balances",
236
- "outputs": [
237
- {
238
- "internalType": "uint256",
239
- "name": "",
240
- "type": "uint256"
241
- }
242
- ],
243
- "stateMutability": "view",
244
- "type": "function"
245
- },
181
+ "internalType": "bool",
182
+ "name": "",
183
+ "type": "bool"
184
+ }
185
+ ],
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "averageStakedAmounts",
198
+ "outputs": [
246
199
  {
247
- "inputs": [
248
- {
249
- "internalType": "address",
250
- "name": "_receiver",
251
- "type": "address"
252
- }
253
- ],
254
- "name": "claim",
255
- "outputs": [
256
- {
257
- "internalType": "uint256",
258
- "name": "",
259
- "type": "uint256"
260
- }
261
- ],
262
- "stateMutability": "nonpayable",
263
- "type": "function"
264
- },
200
+ "internalType": "uint256",
201
+ "name": "",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "_account",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "balanceOf",
217
+ "outputs": [
265
218
  {
266
- "inputs": [
267
- {
268
- "internalType": "address",
269
- "name": "_account",
270
- "type": "address"
271
- },
272
- {
273
- "internalType": "address",
274
- "name": "_receiver",
275
- "type": "address"
276
- }
277
- ],
278
- "name": "claimForAccount",
279
- "outputs": [
280
- {
281
- "internalType": "uint256",
282
- "name": "",
283
- "type": "uint256"
284
- }
285
- ],
286
- "stateMutability": "nonpayable",
287
- "type": "function"
288
- },
219
+ "internalType": "uint256",
220
+ "name": "",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "address",
231
+ "name": "",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "name": "balances",
236
+ "outputs": [
289
237
  {
290
- "inputs": [
291
- {
292
- "internalType": "address",
293
- "name": "_account",
294
- "type": "address"
295
- }
296
- ],
297
- "name": "claimable",
298
- "outputs": [
299
- {
300
- "internalType": "uint256",
301
- "name": "",
302
- "type": "uint256"
303
- }
304
- ],
305
- "stateMutability": "view",
306
- "type": "function"
307
- },
238
+ "internalType": "uint256",
239
+ "name": "",
240
+ "type": "uint256"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "_receiver",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "claim",
255
+ "outputs": [
308
256
  {
309
- "inputs": [
310
- {
311
- "internalType": "address",
312
- "name": "",
313
- "type": "address"
314
- }
315
- ],
316
- "name": "claimableReward",
317
- "outputs": [
318
- {
319
- "internalType": "uint256",
320
- "name": "",
321
- "type": "uint256"
322
- }
323
- ],
324
- "stateMutability": "view",
325
- "type": "function"
326
- },
257
+ "internalType": "uint256",
258
+ "name": "",
259
+ "type": "uint256"
260
+ }
261
+ ],
262
+ "stateMutability": "nonpayable",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "inputs": [
327
267
  {
328
- "inputs": [],
329
- "name": "cumulativeRewardPerToken",
330
- "outputs": [
331
- {
332
- "internalType": "uint256",
333
- "name": "",
334
- "type": "uint256"
335
- }
336
- ],
337
- "stateMutability": "view",
338
- "type": "function"
268
+ "internalType": "address",
269
+ "name": "_account",
270
+ "type": "address"
339
271
  },
340
272
  {
341
- "inputs": [
342
- {
343
- "internalType": "address",
344
- "name": "",
345
- "type": "address"
346
- }
347
- ],
348
- "name": "cumulativeRewards",
349
- "outputs": [
350
- {
351
- "internalType": "uint256",
352
- "name": "",
353
- "type": "uint256"
354
- }
355
- ],
356
- "stateMutability": "view",
357
- "type": "function"
358
- },
273
+ "internalType": "address",
274
+ "name": "_receiver",
275
+ "type": "address"
276
+ }
277
+ ],
278
+ "name": "claimForAccount",
279
+ "outputs": [
359
280
  {
360
- "inputs": [],
361
- "name": "decimals",
362
- "outputs": [
363
- {
364
- "internalType": "uint8",
365
- "name": "",
366
- "type": "uint8"
367
- }
368
- ],
369
- "stateMutability": "view",
370
- "type": "function"
371
- },
281
+ "internalType": "uint256",
282
+ "name": "",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "stateMutability": "nonpayable",
287
+ "type": "function"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "_account",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "claimable",
298
+ "outputs": [
372
299
  {
373
- "inputs": [
374
- {
375
- "internalType": "address",
376
- "name": "",
377
- "type": "address"
378
- },
379
- {
380
- "internalType": "address",
381
- "name": "",
382
- "type": "address"
383
- }
384
- ],
385
- "name": "depositBalances",
386
- "outputs": [
387
- {
388
- "internalType": "uint256",
389
- "name": "",
390
- "type": "uint256"
391
- }
392
- ],
393
- "stateMutability": "view",
394
- "type": "function"
395
- },
300
+ "internalType": "uint256",
301
+ "name": "",
302
+ "type": "uint256"
303
+ }
304
+ ],
305
+ "stateMutability": "view",
306
+ "type": "function"
307
+ },
308
+ {
309
+ "inputs": [
310
+ {
311
+ "internalType": "address",
312
+ "name": "",
313
+ "type": "address"
314
+ }
315
+ ],
316
+ "name": "claimableReward",
317
+ "outputs": [
396
318
  {
397
- "inputs": [],
398
- "name": "distributor",
399
- "outputs": [
400
- {
401
- "internalType": "address",
402
- "name": "",
403
- "type": "address"
404
- }
405
- ],
406
- "stateMutability": "view",
407
- "type": "function"
408
- },
319
+ "internalType": "uint256",
320
+ "name": "",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "cumulativeRewardPerToken",
330
+ "outputs": [
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "",
334
+ "type": "uint256"
335
+ }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [
342
+ {
343
+ "internalType": "address",
344
+ "name": "",
345
+ "type": "address"
346
+ }
347
+ ],
348
+ "name": "cumulativeRewards",
349
+ "outputs": [
409
350
  {
410
- "inputs": [],
411
- "name": "gov",
412
- "outputs": [
413
- {
414
- "internalType": "address",
415
- "name": "",
416
- "type": "address"
417
- }
418
- ],
419
- "stateMutability": "view",
420
- "type": "function"
421
- },
351
+ "internalType": "uint256",
352
+ "name": "",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "stateMutability": "view",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "inputs": [],
361
+ "name": "decimals",
362
+ "outputs": [
363
+ {
364
+ "internalType": "uint8",
365
+ "name": "",
366
+ "type": "uint8"
367
+ }
368
+ ],
369
+ "stateMutability": "view",
370
+ "type": "function"
371
+ },
372
+ {
373
+ "inputs": [
422
374
  {
423
- "inputs": [],
424
- "name": "inPrivateClaimingMode",
425
- "outputs": [
426
- {
427
- "internalType": "bool",
428
- "name": "",
429
- "type": "bool"
430
- }
431
- ],
432
- "stateMutability": "view",
433
- "type": "function"
375
+ "internalType": "address",
376
+ "name": "",
377
+ "type": "address"
434
378
  },
435
379
  {
436
- "inputs": [],
437
- "name": "inPrivateStakingMode",
438
- "outputs": [
439
- {
440
- "internalType": "bool",
441
- "name": "",
442
- "type": "bool"
443
- }
444
- ],
445
- "stateMutability": "view",
446
- "type": "function"
447
- },
380
+ "internalType": "address",
381
+ "name": "",
382
+ "type": "address"
383
+ }
384
+ ],
385
+ "name": "depositBalances",
386
+ "outputs": [
448
387
  {
449
- "inputs": [],
450
- "name": "inPrivateTransferMode",
451
- "outputs": [
452
- {
453
- "internalType": "bool",
454
- "name": "",
455
- "type": "bool"
456
- }
457
- ],
458
- "stateMutability": "view",
459
- "type": "function"
460
- },
388
+ "internalType": "uint256",
389
+ "name": "",
390
+ "type": "uint256"
391
+ }
392
+ ],
393
+ "stateMutability": "view",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [],
398
+ "name": "distributor",
399
+ "outputs": [
400
+ {
401
+ "internalType": "address",
402
+ "name": "",
403
+ "type": "address"
404
+ }
405
+ ],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "gov",
412
+ "outputs": [
413
+ {
414
+ "internalType": "address",
415
+ "name": "",
416
+ "type": "address"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [],
424
+ "name": "inPrivateClaimingMode",
425
+ "outputs": [
426
+ {
427
+ "internalType": "bool",
428
+ "name": "",
429
+ "type": "bool"
430
+ }
431
+ ],
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
435
+ {
436
+ "inputs": [],
437
+ "name": "inPrivateStakingMode",
438
+ "outputs": [
439
+ {
440
+ "internalType": "bool",
441
+ "name": "",
442
+ "type": "bool"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [],
450
+ "name": "inPrivateTransferMode",
451
+ "outputs": [
452
+ {
453
+ "internalType": "bool",
454
+ "name": "",
455
+ "type": "bool"
456
+ }
457
+ ],
458
+ "stateMutability": "view",
459
+ "type": "function"
460
+ },
461
+ {
462
+ "inputs": [
461
463
  {
462
- "inputs": [
463
- {
464
- "internalType": "address[]",
465
- "name": "_depositTokens",
466
- "type": "address[]"
467
- },
468
- {
469
- "internalType": "address",
470
- "name": "_distributor",
471
- "type": "address"
472
- }
473
- ],
474
- "name": "initialize",
475
- "outputs": [],
476
- "stateMutability": "nonpayable",
477
- "type": "function"
464
+ "internalType": "address[]",
465
+ "name": "_depositTokens",
466
+ "type": "address[]"
478
467
  },
479
468
  {
480
- "inputs": [
481
- {
482
- "internalType": "address",
483
- "name": "",
484
- "type": "address"
485
- }
486
- ],
487
- "name": "isDepositToken",
488
- "outputs": [
489
- {
490
- "internalType": "bool",
491
- "name": "",
492
- "type": "bool"
493
- }
494
- ],
495
- "stateMutability": "view",
496
- "type": "function"
497
- },
469
+ "internalType": "address",
470
+ "name": "_distributor",
471
+ "type": "address"
472
+ }
473
+ ],
474
+ "name": "initialize",
475
+ "outputs": [],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "name": "isDepositToken",
488
+ "outputs": [
498
489
  {
499
- "inputs": [
500
- {
501
- "internalType": "address",
502
- "name": "",
503
- "type": "address"
504
- }
505
- ],
506
- "name": "isHandler",
507
- "outputs": [
508
- {
509
- "internalType": "bool",
510
- "name": "",
511
- "type": "bool"
512
- }
513
- ],
514
- "stateMutability": "view",
515
- "type": "function"
516
- },
490
+ "internalType": "bool",
491
+ "name": "",
492
+ "type": "bool"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [
500
+ {
501
+ "internalType": "address",
502
+ "name": "",
503
+ "type": "address"
504
+ }
505
+ ],
506
+ "name": "isHandler",
507
+ "outputs": [
517
508
  {
518
- "inputs": [],
519
- "name": "isInitialized",
520
- "outputs": [
521
- {
522
- "internalType": "bool",
523
- "name": "",
524
- "type": "bool"
525
- }
526
- ],
527
- "stateMutability": "view",
528
- "type": "function"
529
- },
509
+ "internalType": "bool",
510
+ "name": "",
511
+ "type": "bool"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [],
519
+ "name": "isInitialized",
520
+ "outputs": [
521
+ {
522
+ "internalType": "bool",
523
+ "name": "",
524
+ "type": "bool"
525
+ }
526
+ ],
527
+ "stateMutability": "view",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [],
532
+ "name": "name",
533
+ "outputs": [
534
+ {
535
+ "internalType": "string",
536
+ "name": "",
537
+ "type": "string"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [
545
+ {
546
+ "internalType": "address",
547
+ "name": "",
548
+ "type": "address"
549
+ }
550
+ ],
551
+ "name": "previousCumulatedRewardPerToken",
552
+ "outputs": [
530
553
  {
531
- "inputs": [],
532
- "name": "name",
533
- "outputs": [
534
- {
535
- "internalType": "string",
536
- "name": "",
537
- "type": "string"
538
- }
539
- ],
540
- "stateMutability": "view",
541
- "type": "function"
542
- },
554
+ "internalType": "uint256",
555
+ "name": "",
556
+ "type": "uint256"
557
+ }
558
+ ],
559
+ "stateMutability": "view",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "rewardToken",
565
+ "outputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
543
577
  {
544
- "inputs": [
545
- {
546
- "internalType": "address",
547
- "name": "",
548
- "type": "address"
549
- }
550
- ],
551
- "name": "previousCumulatedRewardPerToken",
552
- "outputs": [
553
- {
554
- "internalType": "uint256",
555
- "name": "",
556
- "type": "uint256"
557
- }
558
- ],
559
- "stateMutability": "view",
560
- "type": "function"
578
+ "internalType": "address",
579
+ "name": "_depositToken",
580
+ "type": "address"
561
581
  },
562
582
  {
563
- "inputs": [],
564
- "name": "rewardToken",
565
- "outputs": [
566
- {
567
- "internalType": "address",
568
- "name": "",
569
- "type": "address"
570
- }
571
- ],
572
- "stateMutability": "view",
573
- "type": "function"
574
- },
583
+ "internalType": "bool",
584
+ "name": "_isDepositToken",
585
+ "type": "bool"
586
+ }
587
+ ],
588
+ "name": "setDepositToken",
589
+ "outputs": [],
590
+ "stateMutability": "nonpayable",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "_gov",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "name": "setGov",
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable",
604
+ "type": "function"
605
+ },
606
+ {
607
+ "inputs": [
608
+ {
609
+ "internalType": "address",
610
+ "name": "_handler",
611
+ "type": "address"
612
+ },
613
+ {
614
+ "internalType": "bool",
615
+ "name": "_isActive",
616
+ "type": "bool"
617
+ }
618
+ ],
619
+ "name": "setHandler",
620
+ "outputs": [],
621
+ "stateMutability": "nonpayable",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [
626
+ {
627
+ "internalType": "bool",
628
+ "name": "_inPrivateClaimingMode",
629
+ "type": "bool"
630
+ }
631
+ ],
632
+ "name": "setInPrivateClaimingMode",
633
+ "outputs": [],
634
+ "stateMutability": "nonpayable",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "bool",
641
+ "name": "_inPrivateStakingMode",
642
+ "type": "bool"
643
+ }
644
+ ],
645
+ "name": "setInPrivateStakingMode",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "bool",
654
+ "name": "_inPrivateTransferMode",
655
+ "type": "bool"
656
+ }
657
+ ],
658
+ "name": "setInPrivateTransferMode",
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "_depositToken",
668
+ "type": "address"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "_amount",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "name": "stake",
677
+ "outputs": [],
678
+ "stateMutability": "nonpayable",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [
575
683
  {
576
- "inputs": [
577
- {
578
- "internalType": "address",
579
- "name": "_depositToken",
580
- "type": "address"
581
- },
582
- {
583
- "internalType": "bool",
584
- "name": "_isDepositToken",
585
- "type": "bool"
586
- }
587
- ],
588
- "name": "setDepositToken",
589
- "outputs": [],
590
- "stateMutability": "nonpayable",
591
- "type": "function"
684
+ "internalType": "address",
685
+ "name": "_fundingAccount",
686
+ "type": "address"
592
687
  },
593
688
  {
594
- "inputs": [
595
- {
596
- "internalType": "address",
597
- "name": "_gov",
598
- "type": "address"
599
- }
600
- ],
601
- "name": "setGov",
602
- "outputs": [],
603
- "stateMutability": "nonpayable",
604
- "type": "function"
689
+ "internalType": "address",
690
+ "name": "_account",
691
+ "type": "address"
605
692
  },
606
693
  {
607
- "inputs": [
608
- {
609
- "internalType": "address",
610
- "name": "_handler",
611
- "type": "address"
612
- },
613
- {
614
- "internalType": "bool",
615
- "name": "_isActive",
616
- "type": "bool"
617
- }
618
- ],
619
- "name": "setHandler",
620
- "outputs": [],
621
- "stateMutability": "nonpayable",
622
- "type": "function"
694
+ "internalType": "address",
695
+ "name": "_depositToken",
696
+ "type": "address"
623
697
  },
624
698
  {
625
- "inputs": [
626
- {
627
- "internalType": "bool",
628
- "name": "_inPrivateClaimingMode",
629
- "type": "bool"
630
- }
631
- ],
632
- "name": "setInPrivateClaimingMode",
633
- "outputs": [],
634
- "stateMutability": "nonpayable",
635
- "type": "function"
636
- },
699
+ "internalType": "uint256",
700
+ "name": "_amount",
701
+ "type": "uint256"
702
+ }
703
+ ],
704
+ "name": "stakeForAccount",
705
+ "outputs": [],
706
+ "stateMutability": "nonpayable",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [
711
+ {
712
+ "internalType": "address",
713
+ "name": "",
714
+ "type": "address"
715
+ }
716
+ ],
717
+ "name": "stakedAmounts",
718
+ "outputs": [
637
719
  {
638
- "inputs": [
639
- {
640
- "internalType": "bool",
641
- "name": "_inPrivateStakingMode",
642
- "type": "bool"
643
- }
644
- ],
645
- "name": "setInPrivateStakingMode",
646
- "outputs": [],
647
- "stateMutability": "nonpayable",
648
- "type": "function"
649
- },
720
+ "internalType": "uint256",
721
+ "name": "",
722
+ "type": "uint256"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [],
730
+ "name": "symbol",
731
+ "outputs": [
732
+ {
733
+ "internalType": "string",
734
+ "name": "",
735
+ "type": "string"
736
+ }
737
+ ],
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [],
743
+ "name": "tokensPerInterval",
744
+ "outputs": [
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "",
748
+ "type": "uint256"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [
756
+ {
757
+ "internalType": "address",
758
+ "name": "",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "name": "totalDepositSupply",
763
+ "outputs": [
650
764
  {
651
- "inputs": [
652
- {
653
- "internalType": "bool",
654
- "name": "_inPrivateTransferMode",
655
- "type": "bool"
656
- }
657
- ],
658
- "name": "setInPrivateTransferMode",
659
- "outputs": [],
660
- "stateMutability": "nonpayable",
661
- "type": "function"
662
- },
765
+ "internalType": "uint256",
766
+ "name": "",
767
+ "type": "uint256"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "totalSupply",
776
+ "outputs": [
777
+ {
778
+ "internalType": "uint256",
779
+ "name": "",
780
+ "type": "uint256"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
663
788
  {
664
- "inputs": [
665
- {
666
- "internalType": "address",
667
- "name": "_depositToken",
668
- "type": "address"
669
- },
670
- {
671
- "internalType": "uint256",
672
- "name": "_amount",
673
- "type": "uint256"
674
- }
675
- ],
676
- "name": "stake",
677
- "outputs": [],
678
- "stateMutability": "nonpayable",
679
- "type": "function"
789
+ "internalType": "address",
790
+ "name": "_recipient",
791
+ "type": "address"
680
792
  },
681
793
  {
682
- "inputs": [
683
- {
684
- "internalType": "address",
685
- "name": "_fundingAccount",
686
- "type": "address"
687
- },
688
- {
689
- "internalType": "address",
690
- "name": "_account",
691
- "type": "address"
692
- },
693
- {
694
- "internalType": "address",
695
- "name": "_depositToken",
696
- "type": "address"
697
- },
698
- {
699
- "internalType": "uint256",
700
- "name": "_amount",
701
- "type": "uint256"
702
- }
703
- ],
704
- "name": "stakeForAccount",
705
- "outputs": [],
706
- "stateMutability": "nonpayable",
707
- "type": "function"
708
- },
794
+ "internalType": "uint256",
795
+ "name": "_amount",
796
+ "type": "uint256"
797
+ }
798
+ ],
799
+ "name": "transfer",
800
+ "outputs": [
709
801
  {
710
- "inputs": [
711
- {
712
- "internalType": "address",
713
- "name": "",
714
- "type": "address"
715
- }
716
- ],
717
- "name": "stakedAmounts",
718
- "outputs": [
719
- {
720
- "internalType": "uint256",
721
- "name": "",
722
- "type": "uint256"
723
- }
724
- ],
725
- "stateMutability": "view",
726
- "type": "function"
727
- },
802
+ "internalType": "bool",
803
+ "name": "",
804
+ "type": "bool"
805
+ }
806
+ ],
807
+ "stateMutability": "nonpayable",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
728
812
  {
729
- "inputs": [],
730
- "name": "symbol",
731
- "outputs": [
732
- {
733
- "internalType": "string",
734
- "name": "",
735
- "type": "string"
736
- }
737
- ],
738
- "stateMutability": "view",
739
- "type": "function"
813
+ "internalType": "address",
814
+ "name": "_sender",
815
+ "type": "address"
740
816
  },
741
817
  {
742
- "inputs": [],
743
- "name": "tokensPerInterval",
744
- "outputs": [
745
- {
746
- "internalType": "uint256",
747
- "name": "",
748
- "type": "uint256"
749
- }
750
- ],
751
- "stateMutability": "view",
752
- "type": "function"
818
+ "internalType": "address",
819
+ "name": "_recipient",
820
+ "type": "address"
753
821
  },
754
822
  {
755
- "inputs": [
756
- {
757
- "internalType": "address",
758
- "name": "",
759
- "type": "address"
760
- }
761
- ],
762
- "name": "totalDepositSupply",
763
- "outputs": [
764
- {
765
- "internalType": "uint256",
766
- "name": "",
767
- "type": "uint256"
768
- }
769
- ],
770
- "stateMutability": "view",
771
- "type": "function"
772
- },
823
+ "internalType": "uint256",
824
+ "name": "_amount",
825
+ "type": "uint256"
826
+ }
827
+ ],
828
+ "name": "transferFrom",
829
+ "outputs": [
773
830
  {
774
- "inputs": [],
775
- "name": "totalSupply",
776
- "outputs": [
777
- {
778
- "internalType": "uint256",
779
- "name": "",
780
- "type": "uint256"
781
- }
782
- ],
783
- "stateMutability": "view",
784
- "type": "function"
785
- },
831
+ "internalType": "bool",
832
+ "name": "",
833
+ "type": "bool"
834
+ }
835
+ ],
836
+ "stateMutability": "nonpayable",
837
+ "type": "function"
838
+ },
839
+ {
840
+ "inputs": [
786
841
  {
787
- "inputs": [
788
- {
789
- "internalType": "address",
790
- "name": "_recipient",
791
- "type": "address"
792
- },
793
- {
794
- "internalType": "uint256",
795
- "name": "_amount",
796
- "type": "uint256"
797
- }
798
- ],
799
- "name": "transfer",
800
- "outputs": [
801
- {
802
- "internalType": "bool",
803
- "name": "",
804
- "type": "bool"
805
- }
806
- ],
807
- "stateMutability": "nonpayable",
808
- "type": "function"
842
+ "internalType": "address",
843
+ "name": "_depositToken",
844
+ "type": "address"
809
845
  },
810
846
  {
811
- "inputs": [
812
- {
813
- "internalType": "address",
814
- "name": "_sender",
815
- "type": "address"
816
- },
817
- {
818
- "internalType": "address",
819
- "name": "_recipient",
820
- "type": "address"
821
- },
822
- {
823
- "internalType": "uint256",
824
- "name": "_amount",
825
- "type": "uint256"
826
- }
827
- ],
828
- "name": "transferFrom",
829
- "outputs": [
830
- {
831
- "internalType": "bool",
832
- "name": "",
833
- "type": "bool"
834
- }
835
- ],
836
- "stateMutability": "nonpayable",
837
- "type": "function"
838
- },
847
+ "internalType": "uint256",
848
+ "name": "_amount",
849
+ "type": "uint256"
850
+ }
851
+ ],
852
+ "name": "unstake",
853
+ "outputs": [],
854
+ "stateMutability": "nonpayable",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
839
859
  {
840
- "inputs": [
841
- {
842
- "internalType": "address",
843
- "name": "_depositToken",
844
- "type": "address"
845
- },
846
- {
847
- "internalType": "uint256",
848
- "name": "_amount",
849
- "type": "uint256"
850
- }
851
- ],
852
- "name": "unstake",
853
- "outputs": [],
854
- "stateMutability": "nonpayable",
855
- "type": "function"
860
+ "internalType": "address",
861
+ "name": "_account",
862
+ "type": "address"
856
863
  },
857
864
  {
858
- "inputs": [
859
- {
860
- "internalType": "address",
861
- "name": "_account",
862
- "type": "address"
863
- },
864
- {
865
- "internalType": "address",
866
- "name": "_depositToken",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "uint256",
871
- "name": "_amount",
872
- "type": "uint256"
873
- },
874
- {
875
- "internalType": "address",
876
- "name": "_receiver",
877
- "type": "address"
878
- }
879
- ],
880
- "name": "unstakeForAccount",
881
- "outputs": [],
882
- "stateMutability": "nonpayable",
883
- "type": "function"
865
+ "internalType": "address",
866
+ "name": "_depositToken",
867
+ "type": "address"
884
868
  },
885
869
  {
886
- "inputs": [],
887
- "name": "updateRewards",
888
- "outputs": [],
889
- "stateMutability": "nonpayable",
890
- "type": "function"
870
+ "internalType": "uint256",
871
+ "name": "_amount",
872
+ "type": "uint256"
891
873
  },
892
874
  {
893
- "inputs": [
894
- {
895
- "internalType": "address",
896
- "name": "_token",
897
- "type": "address"
898
- },
899
- {
900
- "internalType": "address",
901
- "name": "_account",
902
- "type": "address"
903
- },
904
- {
905
- "internalType": "uint256",
906
- "name": "_amount",
907
- "type": "uint256"
908
- }
909
- ],
910
- "name": "withdrawToken",
911
- "outputs": [],
912
- "stateMutability": "nonpayable",
913
- "type": "function"
914
- }
915
- ],
916
- "linkReferences": {},
917
- "deployedLinkReferences": {}
875
+ "internalType": "address",
876
+ "name": "_receiver",
877
+ "type": "address"
878
+ }
879
+ ],
880
+ "name": "unstakeForAccount",
881
+ "outputs": [],
882
+ "stateMutability": "nonpayable",
883
+ "type": "function"
884
+ },
885
+ {
886
+ "inputs": [],
887
+ "name": "updateRewards",
888
+ "outputs": [],
889
+ "stateMutability": "nonpayable",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [
894
+ {
895
+ "internalType": "address",
896
+ "name": "_token",
897
+ "type": "address"
898
+ },
899
+ {
900
+ "internalType": "address",
901
+ "name": "_account",
902
+ "type": "address"
903
+ },
904
+ {
905
+ "internalType": "uint256",
906
+ "name": "_amount",
907
+ "type": "uint256"
908
+ }
909
+ ],
910
+ "name": "withdrawToken",
911
+ "outputs": [],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ }
915
+ ],
916
+ "linkReferences": {},
917
+ "deployedLinkReferences": {}
918
918
  }