@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,657 +1,657 @@
1
1
  {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "GmxMigrator",
4
- "sourceName": "contracts/gmx/GmxMigrator.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "uint256",
10
- "name": "_minAuthorizations",
11
- "type": "uint256"
12
- }
13
- ],
14
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "GmxMigrator",
4
+ "sourceName": "contracts/gmx/GmxMigrator.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "_minAuthorizations",
11
+ "type": "uint256"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "anonymous": false,
19
+ "inputs": [
20
+ {
21
+ "indexed": false,
22
+ "internalType": "bytes32",
23
+ "name": "action",
24
+ "type": "bytes32"
25
+ },
26
+ {
27
+ "indexed": false,
28
+ "internalType": "uint256",
29
+ "name": "nonce",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "name": "ClearAction",
34
+ "type": "event"
35
+ },
36
+ {
37
+ "anonymous": false,
38
+ "inputs": [
39
+ {
40
+ "indexed": false,
41
+ "internalType": "bytes32",
42
+ "name": "action",
43
+ "type": "bytes32"
44
+ },
45
+ {
46
+ "indexed": false,
47
+ "internalType": "uint256",
48
+ "name": "nonce",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "SignAction",
53
+ "type": "event"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
17
58
  {
18
- "anonymous": false,
19
- "inputs": [
20
- {
21
- "indexed": false,
22
- "internalType": "bytes32",
23
- "name": "action",
24
- "type": "bytes32"
25
- },
26
- {
27
- "indexed": false,
28
- "internalType": "uint256",
29
- "name": "nonce",
30
- "type": "uint256"
31
- }
32
- ],
33
- "name": "ClearAction",
34
- "type": "event"
59
+ "indexed": false,
60
+ "internalType": "address",
61
+ "name": "token",
62
+ "type": "address"
35
63
  },
36
64
  {
37
- "anonymous": false,
38
- "inputs": [
39
- {
40
- "indexed": false,
41
- "internalType": "bytes32",
42
- "name": "action",
43
- "type": "bytes32"
44
- },
45
- {
46
- "indexed": false,
47
- "internalType": "uint256",
48
- "name": "nonce",
49
- "type": "uint256"
50
- }
51
- ],
52
- "name": "SignAction",
53
- "type": "event"
65
+ "indexed": false,
66
+ "internalType": "address",
67
+ "name": "spender",
68
+ "type": "address"
54
69
  },
55
70
  {
56
- "anonymous": false,
57
- "inputs": [
58
- {
59
- "indexed": false,
60
- "internalType": "address",
61
- "name": "token",
62
- "type": "address"
63
- },
64
- {
65
- "indexed": false,
66
- "internalType": "address",
67
- "name": "spender",
68
- "type": "address"
69
- },
70
- {
71
- "indexed": false,
72
- "internalType": "uint256",
73
- "name": "amount",
74
- "type": "uint256"
75
- },
76
- {
77
- "indexed": false,
78
- "internalType": "bytes32",
79
- "name": "action",
80
- "type": "bytes32"
81
- },
82
- {
83
- "indexed": false,
84
- "internalType": "uint256",
85
- "name": "nonce",
86
- "type": "uint256"
87
- }
88
- ],
89
- "name": "SignalApprove",
90
- "type": "event"
71
+ "indexed": false,
72
+ "internalType": "uint256",
73
+ "name": "amount",
74
+ "type": "uint256"
91
75
  },
92
76
  {
93
- "anonymous": false,
94
- "inputs": [
95
- {
96
- "indexed": false,
97
- "internalType": "bytes32",
98
- "name": "action",
99
- "type": "bytes32"
100
- },
101
- {
102
- "indexed": false,
103
- "internalType": "uint256",
104
- "name": "nonce",
105
- "type": "uint256"
106
- }
107
- ],
108
- "name": "SignalPendingAction",
109
- "type": "event"
77
+ "indexed": false,
78
+ "internalType": "bytes32",
79
+ "name": "action",
80
+ "type": "bytes32"
110
81
  },
111
82
  {
112
- "inputs": [],
113
- "name": "actionsNonce",
114
- "outputs": [
115
- {
116
- "internalType": "uint256",
117
- "name": "",
118
- "type": "uint256"
119
- }
120
- ],
121
- "stateMutability": "view",
122
- "type": "function"
123
- },
83
+ "indexed": false,
84
+ "internalType": "uint256",
85
+ "name": "nonce",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "SignalApprove",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": false,
97
+ "internalType": "bytes32",
98
+ "name": "action",
99
+ "type": "bytes32"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "uint256",
104
+ "name": "nonce",
105
+ "type": "uint256"
106
+ }
107
+ ],
108
+ "name": "SignalPendingAction",
109
+ "type": "event"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "actionsNonce",
114
+ "outputs": [
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "stateMutability": "view",
122
+ "type": "function"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "admin",
127
+ "outputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "stateMutability": "view",
135
+ "type": "function"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "ammRouter",
140
+ "outputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
124
152
  {
125
- "inputs": [],
126
- "name": "admin",
127
- "outputs": [
128
- {
129
- "internalType": "address",
130
- "name": "",
131
- "type": "address"
132
- }
133
- ],
134
- "stateMutability": "view",
135
- "type": "function"
153
+ "internalType": "address",
154
+ "name": "_token",
155
+ "type": "address"
136
156
  },
137
157
  {
138
- "inputs": [],
139
- "name": "ammRouter",
140
- "outputs": [
141
- {
142
- "internalType": "address",
143
- "name": "",
144
- "type": "address"
145
- }
146
- ],
147
- "stateMutability": "view",
148
- "type": "function"
158
+ "internalType": "address",
159
+ "name": "_spender",
160
+ "type": "address"
149
161
  },
150
162
  {
151
- "inputs": [
152
- {
153
- "internalType": "address",
154
- "name": "_token",
155
- "type": "address"
156
- },
157
- {
158
- "internalType": "address",
159
- "name": "_spender",
160
- "type": "address"
161
- },
162
- {
163
- "internalType": "uint256",
164
- "name": "_amount",
165
- "type": "uint256"
166
- },
167
- {
168
- "internalType": "uint256",
169
- "name": "_nonce",
170
- "type": "uint256"
171
- }
172
- ],
173
- "name": "approve",
174
- "outputs": [],
175
- "stateMutability": "nonpayable",
176
- "type": "function"
163
+ "internalType": "uint256",
164
+ "name": "_amount",
165
+ "type": "uint256"
177
166
  },
178
167
  {
179
- "inputs": [
180
- {
181
- "internalType": "address",
182
- "name": "",
183
- "type": "address"
184
- }
185
- ],
186
- "name": "caps",
187
- "outputs": [
188
- {
189
- "internalType": "uint256",
190
- "name": "",
191
- "type": "uint256"
192
- }
193
- ],
194
- "stateMutability": "view",
195
- "type": "function"
196
- },
168
+ "internalType": "uint256",
169
+ "name": "_nonce",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "approve",
174
+ "outputs": [],
175
+ "stateMutability": "nonpayable",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "caps",
187
+ "outputs": [
197
188
  {
198
- "inputs": [],
199
- "name": "endMigration",
200
- "outputs": [],
201
- "stateMutability": "nonpayable",
202
- "type": "function"
203
- },
189
+ "internalType": "uint256",
190
+ "name": "",
191
+ "type": "uint256"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "endMigration",
200
+ "outputs": [],
201
+ "stateMutability": "nonpayable",
202
+ "type": "function"
203
+ },
204
+ {
205
+ "inputs": [
206
+ {
207
+ "internalType": "address",
208
+ "name": "_token",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "getIouToken",
213
+ "outputs": [
204
214
  {
205
- "inputs": [
206
- {
207
- "internalType": "address",
208
- "name": "_token",
209
- "type": "address"
210
- }
211
- ],
212
- "name": "getIouToken",
213
- "outputs": [
214
- {
215
- "internalType": "address",
216
- "name": "",
217
- "type": "address"
218
- }
219
- ],
220
- "stateMutability": "view",
221
- "type": "function"
222
- },
215
+ "internalType": "address",
216
+ "name": "",
217
+ "type": "address"
218
+ }
219
+ ],
220
+ "stateMutability": "view",
221
+ "type": "function"
222
+ },
223
+ {
224
+ "inputs": [
225
+ {
226
+ "internalType": "address[]",
227
+ "name": "_tokens",
228
+ "type": "address[]"
229
+ }
230
+ ],
231
+ "name": "getTokenAmounts",
232
+ "outputs": [
223
233
  {
224
- "inputs": [
225
- {
226
- "internalType": "address[]",
227
- "name": "_tokens",
228
- "type": "address[]"
229
- }
230
- ],
231
- "name": "getTokenAmounts",
232
- "outputs": [
233
- {
234
- "internalType": "uint256[]",
235
- "name": "",
236
- "type": "uint256[]"
237
- }
238
- ],
239
- "stateMutability": "view",
240
- "type": "function"
241
- },
234
+ "internalType": "uint256[]",
235
+ "name": "",
236
+ "type": "uint256[]"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "_token",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "getTokenPrice",
251
+ "outputs": [
242
252
  {
243
- "inputs": [
244
- {
245
- "internalType": "address",
246
- "name": "_token",
247
- "type": "address"
248
- }
249
- ],
250
- "name": "getTokenPrice",
251
- "outputs": [
252
- {
253
- "internalType": "uint256",
254
- "name": "",
255
- "type": "uint256"
256
- }
257
- ],
258
- "stateMutability": "view",
259
- "type": "function"
260
- },
253
+ "internalType": "uint256",
254
+ "name": "",
255
+ "type": "uint256"
256
+ }
257
+ ],
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "gmxPrice",
264
+ "outputs": [
265
+ {
266
+ "internalType": "uint256",
267
+ "name": "",
268
+ "type": "uint256"
269
+ }
270
+ ],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [
261
276
  {
262
- "inputs": [],
263
- "name": "gmxPrice",
264
- "outputs": [
265
- {
266
- "internalType": "uint256",
267
- "name": "",
268
- "type": "uint256"
269
- }
270
- ],
271
- "stateMutability": "view",
272
- "type": "function"
277
+ "internalType": "address",
278
+ "name": "_ammRouter",
279
+ "type": "address"
273
280
  },
274
281
  {
275
- "inputs": [
276
- {
277
- "internalType": "address",
278
- "name": "_ammRouter",
279
- "type": "address"
280
- },
281
- {
282
- "internalType": "uint256",
283
- "name": "_gmxPrice",
284
- "type": "uint256"
285
- },
286
- {
287
- "internalType": "address[]",
288
- "name": "_signers",
289
- "type": "address[]"
290
- },
291
- {
292
- "internalType": "address[]",
293
- "name": "_whitelistedTokens",
294
- "type": "address[]"
295
- },
296
- {
297
- "internalType": "address[]",
298
- "name": "_iouTokens",
299
- "type": "address[]"
300
- },
301
- {
302
- "internalType": "uint256[]",
303
- "name": "_prices",
304
- "type": "uint256[]"
305
- },
306
- {
307
- "internalType": "uint256[]",
308
- "name": "_caps",
309
- "type": "uint256[]"
310
- },
311
- {
312
- "internalType": "address[]",
313
- "name": "_lpTokens",
314
- "type": "address[]"
315
- },
316
- {
317
- "internalType": "address[]",
318
- "name": "_lpTokenAs",
319
- "type": "address[]"
320
- },
321
- {
322
- "internalType": "address[]",
323
- "name": "_lpTokenBs",
324
- "type": "address[]"
325
- }
326
- ],
327
- "name": "initialize",
328
- "outputs": [],
329
- "stateMutability": "nonpayable",
330
- "type": "function"
282
+ "internalType": "uint256",
283
+ "name": "_gmxPrice",
284
+ "type": "uint256"
331
285
  },
332
286
  {
333
- "inputs": [
334
- {
335
- "internalType": "address",
336
- "name": "",
337
- "type": "address"
338
- }
339
- ],
340
- "name": "iouTokens",
341
- "outputs": [
342
- {
343
- "internalType": "address",
344
- "name": "",
345
- "type": "address"
346
- }
347
- ],
348
- "stateMutability": "view",
349
- "type": "function"
287
+ "internalType": "address[]",
288
+ "name": "_signers",
289
+ "type": "address[]"
350
290
  },
351
291
  {
352
- "inputs": [],
353
- "name": "isInitialized",
354
- "outputs": [
355
- {
356
- "internalType": "bool",
357
- "name": "",
358
- "type": "bool"
359
- }
360
- ],
361
- "stateMutability": "view",
362
- "type": "function"
292
+ "internalType": "address[]",
293
+ "name": "_whitelistedTokens",
294
+ "type": "address[]"
363
295
  },
364
296
  {
365
- "inputs": [],
366
- "name": "isMigrationActive",
367
- "outputs": [
368
- {
369
- "internalType": "bool",
370
- "name": "",
371
- "type": "bool"
372
- }
373
- ],
374
- "stateMutability": "view",
375
- "type": "function"
297
+ "internalType": "address[]",
298
+ "name": "_iouTokens",
299
+ "type": "address[]"
376
300
  },
377
301
  {
378
- "inputs": [
379
- {
380
- "internalType": "address",
381
- "name": "",
382
- "type": "address"
383
- }
384
- ],
385
- "name": "isSigner",
386
- "outputs": [
387
- {
388
- "internalType": "bool",
389
- "name": "",
390
- "type": "bool"
391
- }
392
- ],
393
- "stateMutability": "view",
394
- "type": "function"
302
+ "internalType": "uint256[]",
303
+ "name": "_prices",
304
+ "type": "uint256[]"
395
305
  },
396
306
  {
397
- "inputs": [
398
- {
399
- "internalType": "address",
400
- "name": "",
401
- "type": "address"
402
- }
403
- ],
404
- "name": "lpTokenAs",
405
- "outputs": [
406
- {
407
- "internalType": "address",
408
- "name": "",
409
- "type": "address"
410
- }
411
- ],
412
- "stateMutability": "view",
413
- "type": "function"
307
+ "internalType": "uint256[]",
308
+ "name": "_caps",
309
+ "type": "uint256[]"
414
310
  },
415
311
  {
416
- "inputs": [
417
- {
418
- "internalType": "address",
419
- "name": "",
420
- "type": "address"
421
- }
422
- ],
423
- "name": "lpTokenBs",
424
- "outputs": [
425
- {
426
- "internalType": "address",
427
- "name": "",
428
- "type": "address"
429
- }
430
- ],
431
- "stateMutability": "view",
432
- "type": "function"
312
+ "internalType": "address[]",
313
+ "name": "_lpTokens",
314
+ "type": "address[]"
433
315
  },
434
316
  {
435
- "inputs": [
436
- {
437
- "internalType": "address",
438
- "name": "",
439
- "type": "address"
440
- }
441
- ],
442
- "name": "lpTokens",
443
- "outputs": [
444
- {
445
- "internalType": "bool",
446
- "name": "",
447
- "type": "bool"
448
- }
449
- ],
450
- "stateMutability": "view",
451
- "type": "function"
317
+ "internalType": "address[]",
318
+ "name": "_lpTokenAs",
319
+ "type": "address[]"
452
320
  },
453
321
  {
454
- "inputs": [
455
- {
456
- "internalType": "address",
457
- "name": "_token",
458
- "type": "address"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "_tokenAmount",
463
- "type": "uint256"
464
- }
465
- ],
466
- "name": "migrate",
467
- "outputs": [],
468
- "stateMutability": "nonpayable",
469
- "type": "function"
470
- },
322
+ "internalType": "address[]",
323
+ "name": "_lpTokenBs",
324
+ "type": "address[]"
325
+ }
326
+ ],
327
+ "name": "initialize",
328
+ "outputs": [],
329
+ "stateMutability": "nonpayable",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "inputs": [
334
+ {
335
+ "internalType": "address",
336
+ "name": "",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "name": "iouTokens",
341
+ "outputs": [
471
342
  {
472
- "inputs": [],
473
- "name": "minAuthorizations",
474
- "outputs": [
475
- {
476
- "internalType": "uint256",
477
- "name": "",
478
- "type": "uint256"
479
- }
480
- ],
481
- "stateMutability": "view",
482
- "type": "function"
483
- },
343
+ "internalType": "address",
344
+ "name": "",
345
+ "type": "address"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [],
353
+ "name": "isInitialized",
354
+ "outputs": [
355
+ {
356
+ "internalType": "bool",
357
+ "name": "",
358
+ "type": "bool"
359
+ }
360
+ ],
361
+ "stateMutability": "view",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "isMigrationActive",
367
+ "outputs": [
368
+ {
369
+ "internalType": "bool",
370
+ "name": "",
371
+ "type": "bool"
372
+ }
373
+ ],
374
+ "stateMutability": "view",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "internalType": "address",
381
+ "name": "",
382
+ "type": "address"
383
+ }
384
+ ],
385
+ "name": "isSigner",
386
+ "outputs": [
484
387
  {
485
- "inputs": [
486
- {
487
- "internalType": "bytes32",
488
- "name": "",
489
- "type": "bytes32"
490
- }
491
- ],
492
- "name": "pendingActions",
493
- "outputs": [
494
- {
495
- "internalType": "bool",
496
- "name": "",
497
- "type": "bool"
498
- }
499
- ],
500
- "stateMutability": "view",
501
- "type": "function"
502
- },
388
+ "internalType": "bool",
389
+ "name": "",
390
+ "type": "bool"
391
+ }
392
+ ],
393
+ "stateMutability": "view",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [
398
+ {
399
+ "internalType": "address",
400
+ "name": "",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "name": "lpTokenAs",
405
+ "outputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "",
420
+ "type": "address"
421
+ }
422
+ ],
423
+ "name": "lpTokenBs",
424
+ "outputs": [
503
425
  {
504
- "inputs": [
505
- {
506
- "internalType": "address",
507
- "name": "",
508
- "type": "address"
509
- }
510
- ],
511
- "name": "prices",
512
- "outputs": [
513
- {
514
- "internalType": "uint256",
515
- "name": "",
516
- "type": "uint256"
517
- }
518
- ],
519
- "stateMutability": "view",
520
- "type": "function"
426
+ "internalType": "address",
427
+ "name": "",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "address",
438
+ "name": "",
439
+ "type": "address"
440
+ }
441
+ ],
442
+ "name": "lpTokens",
443
+ "outputs": [
444
+ {
445
+ "internalType": "bool",
446
+ "name": "",
447
+ "type": "bool"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [
455
+ {
456
+ "internalType": "address",
457
+ "name": "_token",
458
+ "type": "address"
521
459
  },
522
460
  {
523
- "inputs": [
524
- {
525
- "internalType": "address",
526
- "name": "_token",
527
- "type": "address"
528
- },
529
- {
530
- "internalType": "address",
531
- "name": "_spender",
532
- "type": "address"
533
- },
534
- {
535
- "internalType": "uint256",
536
- "name": "_amount",
537
- "type": "uint256"
538
- },
539
- {
540
- "internalType": "uint256",
541
- "name": "_nonce",
542
- "type": "uint256"
543
- }
544
- ],
545
- "name": "signApprove",
546
- "outputs": [],
547
- "stateMutability": "nonpayable",
548
- "type": "function"
461
+ "internalType": "uint256",
462
+ "name": "_tokenAmount",
463
+ "type": "uint256"
464
+ }
465
+ ],
466
+ "name": "migrate",
467
+ "outputs": [],
468
+ "stateMutability": "nonpayable",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "minAuthorizations",
474
+ "outputs": [
475
+ {
476
+ "internalType": "uint256",
477
+ "name": "",
478
+ "type": "uint256"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [
486
+ {
487
+ "internalType": "bytes32",
488
+ "name": "",
489
+ "type": "bytes32"
490
+ }
491
+ ],
492
+ "name": "pendingActions",
493
+ "outputs": [
494
+ {
495
+ "internalType": "bool",
496
+ "name": "",
497
+ "type": "bool"
498
+ }
499
+ ],
500
+ "stateMutability": "view",
501
+ "type": "function"
502
+ },
503
+ {
504
+ "inputs": [
505
+ {
506
+ "internalType": "address",
507
+ "name": "",
508
+ "type": "address"
509
+ }
510
+ ],
511
+ "name": "prices",
512
+ "outputs": [
513
+ {
514
+ "internalType": "uint256",
515
+ "name": "",
516
+ "type": "uint256"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "_token",
527
+ "type": "address"
549
528
  },
550
529
  {
551
- "inputs": [
552
- {
553
- "internalType": "address",
554
- "name": "_token",
555
- "type": "address"
556
- },
557
- {
558
- "internalType": "address",
559
- "name": "_spender",
560
- "type": "address"
561
- },
562
- {
563
- "internalType": "uint256",
564
- "name": "_amount",
565
- "type": "uint256"
566
- }
567
- ],
568
- "name": "signalApprove",
569
- "outputs": [],
570
- "stateMutability": "nonpayable",
571
- "type": "function"
530
+ "internalType": "address",
531
+ "name": "_spender",
532
+ "type": "address"
572
533
  },
573
534
  {
574
- "inputs": [
575
- {
576
- "internalType": "address",
577
- "name": "",
578
- "type": "address"
579
- },
580
- {
581
- "internalType": "bytes32",
582
- "name": "",
583
- "type": "bytes32"
584
- }
585
- ],
586
- "name": "signedActions",
587
- "outputs": [
588
- {
589
- "internalType": "bool",
590
- "name": "",
591
- "type": "bool"
592
- }
593
- ],
594
- "stateMutability": "view",
595
- "type": "function"
535
+ "internalType": "uint256",
536
+ "name": "_amount",
537
+ "type": "uint256"
596
538
  },
597
539
  {
598
- "inputs": [
599
- {
600
- "internalType": "uint256",
601
- "name": "",
602
- "type": "uint256"
603
- }
604
- ],
605
- "name": "signers",
606
- "outputs": [
607
- {
608
- "internalType": "address",
609
- "name": "",
610
- "type": "address"
611
- }
612
- ],
613
- "stateMutability": "view",
614
- "type": "function"
540
+ "internalType": "uint256",
541
+ "name": "_nonce",
542
+ "type": "uint256"
543
+ }
544
+ ],
545
+ "name": "signApprove",
546
+ "outputs": [],
547
+ "stateMutability": "nonpayable",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "address",
554
+ "name": "_token",
555
+ "type": "address"
615
556
  },
616
557
  {
617
- "inputs": [
618
- {
619
- "internalType": "address",
620
- "name": "",
621
- "type": "address"
622
- }
623
- ],
624
- "name": "tokenAmounts",
625
- "outputs": [
626
- {
627
- "internalType": "uint256",
628
- "name": "",
629
- "type": "uint256"
630
- }
631
- ],
632
- "stateMutability": "view",
633
- "type": "function"
558
+ "internalType": "address",
559
+ "name": "_spender",
560
+ "type": "address"
634
561
  },
635
562
  {
636
- "inputs": [
637
- {
638
- "internalType": "address",
639
- "name": "",
640
- "type": "address"
641
- }
642
- ],
643
- "name": "whitelistedTokens",
644
- "outputs": [
645
- {
646
- "internalType": "bool",
647
- "name": "",
648
- "type": "bool"
649
- }
650
- ],
651
- "stateMutability": "view",
652
- "type": "function"
653
- }
654
- ],
655
- "linkReferences": {},
656
- "deployedLinkReferences": {}
563
+ "internalType": "uint256",
564
+ "name": "_amount",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "name": "signalApprove",
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "internalType": "address",
577
+ "name": "",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "internalType": "bytes32",
582
+ "name": "",
583
+ "type": "bytes32"
584
+ }
585
+ ],
586
+ "name": "signedActions",
587
+ "outputs": [
588
+ {
589
+ "internalType": "bool",
590
+ "name": "",
591
+ "type": "bool"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "uint256",
601
+ "name": "",
602
+ "type": "uint256"
603
+ }
604
+ ],
605
+ "name": "signers",
606
+ "outputs": [
607
+ {
608
+ "internalType": "address",
609
+ "name": "",
610
+ "type": "address"
611
+ }
612
+ ],
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [
618
+ {
619
+ "internalType": "address",
620
+ "name": "",
621
+ "type": "address"
622
+ }
623
+ ],
624
+ "name": "tokenAmounts",
625
+ "outputs": [
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "address",
639
+ "name": "",
640
+ "type": "address"
641
+ }
642
+ ],
643
+ "name": "whitelistedTokens",
644
+ "outputs": [
645
+ {
646
+ "internalType": "bool",
647
+ "name": "",
648
+ "type": "bool"
649
+ }
650
+ ],
651
+ "stateMutability": "view",
652
+ "type": "function"
653
+ }
654
+ ],
655
+ "linkReferences": {},
656
+ "deployedLinkReferences": {}
657
657
  }