@reyaxyz/common 0.163.0 → 0.163.1

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.
@@ -0,0 +1,613 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "type": "function",
5
+ "name": "getConfiguration",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "tuple",
11
+ "internalType": "struct Configuration.Data",
12
+ "components": [
13
+ {
14
+ "name": "storkVerifyContract",
15
+ "type": "address",
16
+ "internalType": "address"
17
+ }
18
+ ]
19
+ }
20
+ ],
21
+ "stateMutability": "pure"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "setConfiguration",
26
+ "inputs": [
27
+ {
28
+ "name": "config",
29
+ "type": "tuple",
30
+ "internalType": "struct Configuration.Data",
31
+ "components": [
32
+ {
33
+ "name": "storkVerifyContract",
34
+ "type": "address",
35
+ "internalType": "address"
36
+ }
37
+ ]
38
+ }
39
+ ],
40
+ "outputs": [],
41
+ "stateMutability": "nonpayable"
42
+ },
43
+ {
44
+ "type": "error",
45
+ "name": "Unauthorized",
46
+ "inputs": [
47
+ {
48
+ "name": "addr",
49
+ "type": "address",
50
+ "internalType": "address"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "addToFeatureFlagAllowlist",
57
+ "inputs": [
58
+ {
59
+ "name": "feature",
60
+ "type": "bytes32",
61
+ "internalType": "bytes32"
62
+ },
63
+ {
64
+ "name": "account",
65
+ "type": "address",
66
+ "internalType": "address"
67
+ }
68
+ ],
69
+ "outputs": [],
70
+ "stateMutability": "nonpayable"
71
+ },
72
+ {
73
+ "type": "function",
74
+ "name": "getDeniers",
75
+ "inputs": [
76
+ {
77
+ "name": "feature",
78
+ "type": "bytes32",
79
+ "internalType": "bytes32"
80
+ }
81
+ ],
82
+ "outputs": [
83
+ {
84
+ "name": "",
85
+ "type": "address[]",
86
+ "internalType": "address[]"
87
+ }
88
+ ],
89
+ "stateMutability": "view"
90
+ },
91
+ {
92
+ "type": "function",
93
+ "name": "getFeatureFlagAllowAll",
94
+ "inputs": [
95
+ {
96
+ "name": "feature",
97
+ "type": "bytes32",
98
+ "internalType": "bytes32"
99
+ }
100
+ ],
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "bool",
105
+ "internalType": "bool"
106
+ }
107
+ ],
108
+ "stateMutability": "view"
109
+ },
110
+ {
111
+ "type": "function",
112
+ "name": "getFeatureFlagAllowlist",
113
+ "inputs": [
114
+ {
115
+ "name": "feature",
116
+ "type": "bytes32",
117
+ "internalType": "bytes32"
118
+ }
119
+ ],
120
+ "outputs": [
121
+ {
122
+ "name": "",
123
+ "type": "address[]",
124
+ "internalType": "address[]"
125
+ }
126
+ ],
127
+ "stateMutability": "view"
128
+ },
129
+ {
130
+ "type": "function",
131
+ "name": "getFeatureFlagDenyAll",
132
+ "inputs": [
133
+ {
134
+ "name": "feature",
135
+ "type": "bytes32",
136
+ "internalType": "bytes32"
137
+ }
138
+ ],
139
+ "outputs": [
140
+ {
141
+ "name": "",
142
+ "type": "bool",
143
+ "internalType": "bool"
144
+ }
145
+ ],
146
+ "stateMutability": "view"
147
+ },
148
+ {
149
+ "type": "function",
150
+ "name": "isFeatureAllowed",
151
+ "inputs": [
152
+ {
153
+ "name": "feature",
154
+ "type": "bytes32",
155
+ "internalType": "bytes32"
156
+ },
157
+ {
158
+ "name": "account",
159
+ "type": "address",
160
+ "internalType": "address"
161
+ }
162
+ ],
163
+ "outputs": [
164
+ {
165
+ "name": "",
166
+ "type": "bool",
167
+ "internalType": "bool"
168
+ }
169
+ ],
170
+ "stateMutability": "view"
171
+ },
172
+ {
173
+ "type": "function",
174
+ "name": "removeFromFeatureFlagAllowlist",
175
+ "inputs": [
176
+ {
177
+ "name": "feature",
178
+ "type": "bytes32",
179
+ "internalType": "bytes32"
180
+ },
181
+ {
182
+ "name": "account",
183
+ "type": "address",
184
+ "internalType": "address"
185
+ }
186
+ ],
187
+ "outputs": [],
188
+ "stateMutability": "nonpayable"
189
+ },
190
+ {
191
+ "type": "function",
192
+ "name": "setDeniers",
193
+ "inputs": [
194
+ {
195
+ "name": "feature",
196
+ "type": "bytes32",
197
+ "internalType": "bytes32"
198
+ },
199
+ {
200
+ "name": "deniers",
201
+ "type": "address[]",
202
+ "internalType": "address[]"
203
+ }
204
+ ],
205
+ "outputs": [],
206
+ "stateMutability": "nonpayable"
207
+ },
208
+ {
209
+ "type": "function",
210
+ "name": "setFeatureFlagAllowAll",
211
+ "inputs": [
212
+ {
213
+ "name": "feature",
214
+ "type": "bytes32",
215
+ "internalType": "bytes32"
216
+ },
217
+ {
218
+ "name": "allowAll",
219
+ "type": "bool",
220
+ "internalType": "bool"
221
+ }
222
+ ],
223
+ "outputs": [],
224
+ "stateMutability": "nonpayable"
225
+ },
226
+ {
227
+ "type": "function",
228
+ "name": "setFeatureFlagDenyAll",
229
+ "inputs": [
230
+ {
231
+ "name": "feature",
232
+ "type": "bytes32",
233
+ "internalType": "bytes32"
234
+ },
235
+ {
236
+ "name": "denyAll",
237
+ "type": "bool",
238
+ "internalType": "bool"
239
+ }
240
+ ],
241
+ "outputs": [],
242
+ "stateMutability": "nonpayable"
243
+ },
244
+ {
245
+ "type": "event",
246
+ "name": "FeatureFlagAllowAllSet",
247
+ "inputs": [
248
+ {
249
+ "name": "feature",
250
+ "type": "bytes32",
251
+ "indexed": true,
252
+ "internalType": "bytes32"
253
+ },
254
+ {
255
+ "name": "allowAll",
256
+ "type": "bool",
257
+ "indexed": false,
258
+ "internalType": "bool"
259
+ }
260
+ ],
261
+ "anonymous": false
262
+ },
263
+ {
264
+ "type": "event",
265
+ "name": "FeatureFlagAllowlistAdded",
266
+ "inputs": [
267
+ {
268
+ "name": "feature",
269
+ "type": "bytes32",
270
+ "indexed": true,
271
+ "internalType": "bytes32"
272
+ },
273
+ {
274
+ "name": "account",
275
+ "type": "address",
276
+ "indexed": false,
277
+ "internalType": "address"
278
+ }
279
+ ],
280
+ "anonymous": false
281
+ },
282
+ {
283
+ "type": "event",
284
+ "name": "FeatureFlagAllowlistRemoved",
285
+ "inputs": [
286
+ {
287
+ "name": "feature",
288
+ "type": "bytes32",
289
+ "indexed": true,
290
+ "internalType": "bytes32"
291
+ },
292
+ {
293
+ "name": "account",
294
+ "type": "address",
295
+ "indexed": false,
296
+ "internalType": "address"
297
+ }
298
+ ],
299
+ "anonymous": false
300
+ },
301
+ {
302
+ "type": "event",
303
+ "name": "FeatureFlagDeniersReset",
304
+ "inputs": [
305
+ {
306
+ "name": "feature",
307
+ "type": "bytes32",
308
+ "indexed": true,
309
+ "internalType": "bytes32"
310
+ },
311
+ {
312
+ "name": "deniers",
313
+ "type": "address[]",
314
+ "indexed": false,
315
+ "internalType": "address[]"
316
+ }
317
+ ],
318
+ "anonymous": false
319
+ },
320
+ {
321
+ "type": "event",
322
+ "name": "FeatureFlagDenyAllSet",
323
+ "inputs": [
324
+ {
325
+ "name": "feature",
326
+ "type": "bytes32",
327
+ "indexed": true,
328
+ "internalType": "bytes32"
329
+ },
330
+ {
331
+ "name": "denyAll",
332
+ "type": "bool",
333
+ "indexed": false,
334
+ "internalType": "bool"
335
+ }
336
+ ],
337
+ "anonymous": false
338
+ },
339
+ {
340
+ "type": "error",
341
+ "name": "ValueAlreadyInSet",
342
+ "inputs": []
343
+ },
344
+ {
345
+ "type": "error",
346
+ "name": "ValueNotInSet",
347
+ "inputs": []
348
+ },
349
+ {
350
+ "type": "function",
351
+ "name": "acceptOwnership",
352
+ "inputs": [],
353
+ "outputs": [],
354
+ "stateMutability": "nonpayable"
355
+ },
356
+ {
357
+ "type": "function",
358
+ "name": "getImplementation",
359
+ "inputs": [],
360
+ "outputs": [
361
+ {
362
+ "name": "",
363
+ "type": "address",
364
+ "internalType": "address"
365
+ }
366
+ ],
367
+ "stateMutability": "view"
368
+ },
369
+ {
370
+ "type": "function",
371
+ "name": "nominateNewOwner",
372
+ "inputs": [
373
+ {
374
+ "name": "newNominatedOwner",
375
+ "type": "address",
376
+ "internalType": "address"
377
+ }
378
+ ],
379
+ "outputs": [],
380
+ "stateMutability": "nonpayable"
381
+ },
382
+ {
383
+ "type": "function",
384
+ "name": "nominatedOwner",
385
+ "inputs": [],
386
+ "outputs": [
387
+ {
388
+ "name": "",
389
+ "type": "address",
390
+ "internalType": "address"
391
+ }
392
+ ],
393
+ "stateMutability": "view"
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "owner",
398
+ "inputs": [],
399
+ "outputs": [
400
+ {
401
+ "name": "",
402
+ "type": "address",
403
+ "internalType": "address"
404
+ }
405
+ ],
406
+ "stateMutability": "view"
407
+ },
408
+ {
409
+ "type": "function",
410
+ "name": "renounceNomination",
411
+ "inputs": [],
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "simulateUpgradeTo",
418
+ "inputs": [
419
+ {
420
+ "name": "newImplementation",
421
+ "type": "address",
422
+ "internalType": "address"
423
+ }
424
+ ],
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable"
427
+ },
428
+ {
429
+ "type": "function",
430
+ "name": "upgradeTo",
431
+ "inputs": [
432
+ {
433
+ "name": "newImplementation",
434
+ "type": "address",
435
+ "internalType": "address"
436
+ }
437
+ ],
438
+ "outputs": [],
439
+ "stateMutability": "nonpayable"
440
+ },
441
+ {
442
+ "type": "event",
443
+ "name": "OwnerChanged",
444
+ "inputs": [
445
+ {
446
+ "name": "oldOwner",
447
+ "type": "address",
448
+ "indexed": false,
449
+ "internalType": "address"
450
+ },
451
+ {
452
+ "name": "newOwner",
453
+ "type": "address",
454
+ "indexed": false,
455
+ "internalType": "address"
456
+ }
457
+ ],
458
+ "anonymous": false
459
+ },
460
+ {
461
+ "type": "event",
462
+ "name": "OwnerNominated",
463
+ "inputs": [
464
+ {
465
+ "name": "newOwner",
466
+ "type": "address",
467
+ "indexed": false,
468
+ "internalType": "address"
469
+ }
470
+ ],
471
+ "anonymous": false
472
+ },
473
+ {
474
+ "type": "event",
475
+ "name": "Upgraded",
476
+ "inputs": [
477
+ {
478
+ "name": "self",
479
+ "type": "address",
480
+ "indexed": true,
481
+ "internalType": "address"
482
+ },
483
+ {
484
+ "name": "implementation",
485
+ "type": "address",
486
+ "indexed": false,
487
+ "internalType": "address"
488
+ }
489
+ ],
490
+ "anonymous": false
491
+ },
492
+ {
493
+ "type": "error",
494
+ "name": "ImplementationIsSterile",
495
+ "inputs": [
496
+ {
497
+ "name": "implementation",
498
+ "type": "address",
499
+ "internalType": "address"
500
+ }
501
+ ]
502
+ },
503
+ {
504
+ "type": "error",
505
+ "name": "NoChange",
506
+ "inputs": []
507
+ },
508
+ {
509
+ "type": "error",
510
+ "name": "NotAContract",
511
+ "inputs": [
512
+ {
513
+ "name": "contr",
514
+ "type": "address",
515
+ "internalType": "address"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "type": "error",
521
+ "name": "NotNominated",
522
+ "inputs": [
523
+ {
524
+ "name": "addr",
525
+ "type": "address",
526
+ "internalType": "address"
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "type": "error",
532
+ "name": "UpgradeSimulationFailed",
533
+ "inputs": []
534
+ },
535
+ {
536
+ "type": "error",
537
+ "name": "ZeroAddress",
538
+ "inputs": []
539
+ },
540
+ {
541
+ "type": "function",
542
+ "name": "fulfillOracleQuery",
543
+ "inputs": [
544
+ {
545
+ "name": "signedOffchainData",
546
+ "type": "bytes",
547
+ "internalType": "bytes"
548
+ }
549
+ ],
550
+ "outputs": [],
551
+ "stateMutability": "payable"
552
+ },
553
+ {
554
+ "type": "function",
555
+ "name": "oracleId",
556
+ "inputs": [],
557
+ "outputs": [
558
+ {
559
+ "name": "",
560
+ "type": "bytes32",
561
+ "internalType": "bytes32"
562
+ }
563
+ ],
564
+ "stateMutability": "pure"
565
+ },
566
+ {
567
+ "type": "error",
568
+ "name": "StorkPayloadOlderThanLatest",
569
+ "inputs": []
570
+ },
571
+ {
572
+ "type": "error",
573
+ "name": "StorkPayloadSignatureInvalid",
574
+ "inputs": []
575
+ },
576
+ {
577
+ "type": "function",
578
+ "name": "getLatestPricePayload",
579
+ "inputs": [
580
+ {
581
+ "name": "assetPairId",
582
+ "type": "string",
583
+ "internalType": "string"
584
+ }
585
+ ],
586
+ "outputs": [
587
+ {
588
+ "name": "",
589
+ "type": "tuple",
590
+ "internalType": "struct StorkPricePayload",
591
+ "components": [
592
+ {
593
+ "name": "assetPairId",
594
+ "type": "string",
595
+ "internalType": "string"
596
+ },
597
+ {
598
+ "name": "timestamp",
599
+ "type": "uint256",
600
+ "internalType": "uint256"
601
+ },
602
+ {
603
+ "name": "price",
604
+ "type": "uint256",
605
+ "internalType": "uint256"
606
+ }
607
+ ]
608
+ }
609
+ ],
610
+ "stateMutability": "view"
611
+ }
612
+ ]
613
+ }
@@ -14,12 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Socket_VaultWithPayloadAbi = exports.PeripheryAbi = exports.MulticallAbi = exports.CoreAbi = void 0;
17
+ exports.Socket_VaultWithPayloadAbi = exports.PeripheryAbi = exports.OracleAdaptersAbi = exports.MulticallAbi = exports.CoreAbi = void 0;
18
18
  __exportStar(require("./action"), exports);
19
19
  var CoreProxy_json_1 = require("./abis/CoreProxy.json");
20
20
  Object.defineProperty(exports, "CoreAbi", { enumerable: true, get: function () { return CoreProxy_json_1.abi; } });
21
21
  var MulticallV2_json_1 = require("./abis/MulticallV2.json");
22
22
  Object.defineProperty(exports, "MulticallAbi", { enumerable: true, get: function () { return MulticallV2_json_1.abi; } });
23
+ var OracleAdaptersProxy_json_1 = require("./abis/OracleAdaptersProxy.json");
24
+ Object.defineProperty(exports, "OracleAdaptersAbi", { enumerable: true, get: function () { return OracleAdaptersProxy_json_1.abi; } });
23
25
  var Periphery_json_1 = require("./abis/Periphery.json");
24
26
  Object.defineProperty(exports, "PeripheryAbi", { enumerable: true, get: function () { return Periphery_json_1.abi; } });
25
27
  var VaultWithPayload_json_1 = require("./abis/socket/VaultWithPayload.json");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAuD;AAA9C,yGAAA,GAAG,OAAW;AACvB,4DAA8D;AAArD,gHAAA,GAAG,OAAgB;AAC5B,wDAA4D;AAAnD,8GAAA,GAAG,OAAgB;AAC5B,6EAAwF;AAA/E,mIAAA,GAAG,OAA8B;AAC1C,sDAAoC;AACpC,mDAAiC;AACjC,yCAAuB;AACvB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,uDAAqC;AACrC,gDAA8B","sourcesContent":["export * from './action';\nexport { abi as CoreAbi } from './abis/CoreProxy.json';\nexport { abi as MulticallAbi } from './abis/MulticallV2.json';\nexport { abi as PeripheryAbi } from './abis/Periphery.json';\nexport { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';\nexport * from './contractAddresses';\nexport * from './routerCommands';\nexport * from './sign';\nexport * from './trade';\nexport * from './txHelpers';\nexport * from './consts';\nexport * from './executeTransaction';\nexport * from './permissions';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,wDAAuD;AAA9C,yGAAA,GAAG,OAAW;AACvB,4DAA8D;AAArD,gHAAA,GAAG,OAAgB;AAC5B,4EAA2E;AAAlE,6HAAA,GAAG,OAAqB;AACjC,wDAA4D;AAAnD,8GAAA,GAAG,OAAgB;AAC5B,6EAAwF;AAA/E,mIAAA,GAAG,OAA8B;AAC1C,sDAAoC;AACpC,mDAAiC;AACjC,yCAAuB;AACvB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,uDAAqC;AACrC,gDAA8B","sourcesContent":["export * from './action';\nexport { abi as CoreAbi } from './abis/CoreProxy.json';\nexport { abi as MulticallAbi } from './abis/MulticallV2.json';\nexport { abi as OracleAdaptersAbi } from './abis/OracleAdaptersProxy.json';\nexport { abi as PeripheryAbi } from './abis/Periphery.json';\nexport { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';\nexport * from './contractAddresses';\nexport * from './routerCommands';\nexport * from './sign';\nexport * from './trade';\nexport * from './txHelpers';\nexport * from './consts';\nexport * from './executeTransaction';\nexport * from './permissions';\n"]}
@@ -1,6 +1,7 @@
1
1
  export * from './action';
2
2
  export { abi as CoreAbi } from './abis/CoreProxy.json';
3
3
  export { abi as MulticallAbi } from './abis/MulticallV2.json';
4
+ export { abi as OracleAdaptersAbi } from './abis/OracleAdaptersProxy.json';
4
5
  export { abi as PeripheryAbi } from './abis/Periphery.json';
5
6
  export { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';
6
7
  export * from './contractAddresses';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["transactions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,GAAG,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/common",
3
- "version": "0.163.0",
3
+ "version": "0.163.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -43,5 +43,5 @@
43
43
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
44
44
  },
45
45
  "packageManager": "pnpm@8.3.1",
46
- "gitHead": "7542b50483bc55f2cbcc8019eb8226f8f6b5b0f3"
46
+ "gitHead": "f1076b6346a0c654708443a2d773d802f4e4f1d3"
47
47
  }
@@ -0,0 +1,613 @@
1
+ {
2
+ "abi": [
3
+ {
4
+ "type": "function",
5
+ "name": "getConfiguration",
6
+ "inputs": [],
7
+ "outputs": [
8
+ {
9
+ "name": "",
10
+ "type": "tuple",
11
+ "internalType": "struct Configuration.Data",
12
+ "components": [
13
+ {
14
+ "name": "storkVerifyContract",
15
+ "type": "address",
16
+ "internalType": "address"
17
+ }
18
+ ]
19
+ }
20
+ ],
21
+ "stateMutability": "pure"
22
+ },
23
+ {
24
+ "type": "function",
25
+ "name": "setConfiguration",
26
+ "inputs": [
27
+ {
28
+ "name": "config",
29
+ "type": "tuple",
30
+ "internalType": "struct Configuration.Data",
31
+ "components": [
32
+ {
33
+ "name": "storkVerifyContract",
34
+ "type": "address",
35
+ "internalType": "address"
36
+ }
37
+ ]
38
+ }
39
+ ],
40
+ "outputs": [],
41
+ "stateMutability": "nonpayable"
42
+ },
43
+ {
44
+ "type": "error",
45
+ "name": "Unauthorized",
46
+ "inputs": [
47
+ {
48
+ "name": "addr",
49
+ "type": "address",
50
+ "internalType": "address"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "addToFeatureFlagAllowlist",
57
+ "inputs": [
58
+ {
59
+ "name": "feature",
60
+ "type": "bytes32",
61
+ "internalType": "bytes32"
62
+ },
63
+ {
64
+ "name": "account",
65
+ "type": "address",
66
+ "internalType": "address"
67
+ }
68
+ ],
69
+ "outputs": [],
70
+ "stateMutability": "nonpayable"
71
+ },
72
+ {
73
+ "type": "function",
74
+ "name": "getDeniers",
75
+ "inputs": [
76
+ {
77
+ "name": "feature",
78
+ "type": "bytes32",
79
+ "internalType": "bytes32"
80
+ }
81
+ ],
82
+ "outputs": [
83
+ {
84
+ "name": "",
85
+ "type": "address[]",
86
+ "internalType": "address[]"
87
+ }
88
+ ],
89
+ "stateMutability": "view"
90
+ },
91
+ {
92
+ "type": "function",
93
+ "name": "getFeatureFlagAllowAll",
94
+ "inputs": [
95
+ {
96
+ "name": "feature",
97
+ "type": "bytes32",
98
+ "internalType": "bytes32"
99
+ }
100
+ ],
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "bool",
105
+ "internalType": "bool"
106
+ }
107
+ ],
108
+ "stateMutability": "view"
109
+ },
110
+ {
111
+ "type": "function",
112
+ "name": "getFeatureFlagAllowlist",
113
+ "inputs": [
114
+ {
115
+ "name": "feature",
116
+ "type": "bytes32",
117
+ "internalType": "bytes32"
118
+ }
119
+ ],
120
+ "outputs": [
121
+ {
122
+ "name": "",
123
+ "type": "address[]",
124
+ "internalType": "address[]"
125
+ }
126
+ ],
127
+ "stateMutability": "view"
128
+ },
129
+ {
130
+ "type": "function",
131
+ "name": "getFeatureFlagDenyAll",
132
+ "inputs": [
133
+ {
134
+ "name": "feature",
135
+ "type": "bytes32",
136
+ "internalType": "bytes32"
137
+ }
138
+ ],
139
+ "outputs": [
140
+ {
141
+ "name": "",
142
+ "type": "bool",
143
+ "internalType": "bool"
144
+ }
145
+ ],
146
+ "stateMutability": "view"
147
+ },
148
+ {
149
+ "type": "function",
150
+ "name": "isFeatureAllowed",
151
+ "inputs": [
152
+ {
153
+ "name": "feature",
154
+ "type": "bytes32",
155
+ "internalType": "bytes32"
156
+ },
157
+ {
158
+ "name": "account",
159
+ "type": "address",
160
+ "internalType": "address"
161
+ }
162
+ ],
163
+ "outputs": [
164
+ {
165
+ "name": "",
166
+ "type": "bool",
167
+ "internalType": "bool"
168
+ }
169
+ ],
170
+ "stateMutability": "view"
171
+ },
172
+ {
173
+ "type": "function",
174
+ "name": "removeFromFeatureFlagAllowlist",
175
+ "inputs": [
176
+ {
177
+ "name": "feature",
178
+ "type": "bytes32",
179
+ "internalType": "bytes32"
180
+ },
181
+ {
182
+ "name": "account",
183
+ "type": "address",
184
+ "internalType": "address"
185
+ }
186
+ ],
187
+ "outputs": [],
188
+ "stateMutability": "nonpayable"
189
+ },
190
+ {
191
+ "type": "function",
192
+ "name": "setDeniers",
193
+ "inputs": [
194
+ {
195
+ "name": "feature",
196
+ "type": "bytes32",
197
+ "internalType": "bytes32"
198
+ },
199
+ {
200
+ "name": "deniers",
201
+ "type": "address[]",
202
+ "internalType": "address[]"
203
+ }
204
+ ],
205
+ "outputs": [],
206
+ "stateMutability": "nonpayable"
207
+ },
208
+ {
209
+ "type": "function",
210
+ "name": "setFeatureFlagAllowAll",
211
+ "inputs": [
212
+ {
213
+ "name": "feature",
214
+ "type": "bytes32",
215
+ "internalType": "bytes32"
216
+ },
217
+ {
218
+ "name": "allowAll",
219
+ "type": "bool",
220
+ "internalType": "bool"
221
+ }
222
+ ],
223
+ "outputs": [],
224
+ "stateMutability": "nonpayable"
225
+ },
226
+ {
227
+ "type": "function",
228
+ "name": "setFeatureFlagDenyAll",
229
+ "inputs": [
230
+ {
231
+ "name": "feature",
232
+ "type": "bytes32",
233
+ "internalType": "bytes32"
234
+ },
235
+ {
236
+ "name": "denyAll",
237
+ "type": "bool",
238
+ "internalType": "bool"
239
+ }
240
+ ],
241
+ "outputs": [],
242
+ "stateMutability": "nonpayable"
243
+ },
244
+ {
245
+ "type": "event",
246
+ "name": "FeatureFlagAllowAllSet",
247
+ "inputs": [
248
+ {
249
+ "name": "feature",
250
+ "type": "bytes32",
251
+ "indexed": true,
252
+ "internalType": "bytes32"
253
+ },
254
+ {
255
+ "name": "allowAll",
256
+ "type": "bool",
257
+ "indexed": false,
258
+ "internalType": "bool"
259
+ }
260
+ ],
261
+ "anonymous": false
262
+ },
263
+ {
264
+ "type": "event",
265
+ "name": "FeatureFlagAllowlistAdded",
266
+ "inputs": [
267
+ {
268
+ "name": "feature",
269
+ "type": "bytes32",
270
+ "indexed": true,
271
+ "internalType": "bytes32"
272
+ },
273
+ {
274
+ "name": "account",
275
+ "type": "address",
276
+ "indexed": false,
277
+ "internalType": "address"
278
+ }
279
+ ],
280
+ "anonymous": false
281
+ },
282
+ {
283
+ "type": "event",
284
+ "name": "FeatureFlagAllowlistRemoved",
285
+ "inputs": [
286
+ {
287
+ "name": "feature",
288
+ "type": "bytes32",
289
+ "indexed": true,
290
+ "internalType": "bytes32"
291
+ },
292
+ {
293
+ "name": "account",
294
+ "type": "address",
295
+ "indexed": false,
296
+ "internalType": "address"
297
+ }
298
+ ],
299
+ "anonymous": false
300
+ },
301
+ {
302
+ "type": "event",
303
+ "name": "FeatureFlagDeniersReset",
304
+ "inputs": [
305
+ {
306
+ "name": "feature",
307
+ "type": "bytes32",
308
+ "indexed": true,
309
+ "internalType": "bytes32"
310
+ },
311
+ {
312
+ "name": "deniers",
313
+ "type": "address[]",
314
+ "indexed": false,
315
+ "internalType": "address[]"
316
+ }
317
+ ],
318
+ "anonymous": false
319
+ },
320
+ {
321
+ "type": "event",
322
+ "name": "FeatureFlagDenyAllSet",
323
+ "inputs": [
324
+ {
325
+ "name": "feature",
326
+ "type": "bytes32",
327
+ "indexed": true,
328
+ "internalType": "bytes32"
329
+ },
330
+ {
331
+ "name": "denyAll",
332
+ "type": "bool",
333
+ "indexed": false,
334
+ "internalType": "bool"
335
+ }
336
+ ],
337
+ "anonymous": false
338
+ },
339
+ {
340
+ "type": "error",
341
+ "name": "ValueAlreadyInSet",
342
+ "inputs": []
343
+ },
344
+ {
345
+ "type": "error",
346
+ "name": "ValueNotInSet",
347
+ "inputs": []
348
+ },
349
+ {
350
+ "type": "function",
351
+ "name": "acceptOwnership",
352
+ "inputs": [],
353
+ "outputs": [],
354
+ "stateMutability": "nonpayable"
355
+ },
356
+ {
357
+ "type": "function",
358
+ "name": "getImplementation",
359
+ "inputs": [],
360
+ "outputs": [
361
+ {
362
+ "name": "",
363
+ "type": "address",
364
+ "internalType": "address"
365
+ }
366
+ ],
367
+ "stateMutability": "view"
368
+ },
369
+ {
370
+ "type": "function",
371
+ "name": "nominateNewOwner",
372
+ "inputs": [
373
+ {
374
+ "name": "newNominatedOwner",
375
+ "type": "address",
376
+ "internalType": "address"
377
+ }
378
+ ],
379
+ "outputs": [],
380
+ "stateMutability": "nonpayable"
381
+ },
382
+ {
383
+ "type": "function",
384
+ "name": "nominatedOwner",
385
+ "inputs": [],
386
+ "outputs": [
387
+ {
388
+ "name": "",
389
+ "type": "address",
390
+ "internalType": "address"
391
+ }
392
+ ],
393
+ "stateMutability": "view"
394
+ },
395
+ {
396
+ "type": "function",
397
+ "name": "owner",
398
+ "inputs": [],
399
+ "outputs": [
400
+ {
401
+ "name": "",
402
+ "type": "address",
403
+ "internalType": "address"
404
+ }
405
+ ],
406
+ "stateMutability": "view"
407
+ },
408
+ {
409
+ "type": "function",
410
+ "name": "renounceNomination",
411
+ "inputs": [],
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable"
414
+ },
415
+ {
416
+ "type": "function",
417
+ "name": "simulateUpgradeTo",
418
+ "inputs": [
419
+ {
420
+ "name": "newImplementation",
421
+ "type": "address",
422
+ "internalType": "address"
423
+ }
424
+ ],
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable"
427
+ },
428
+ {
429
+ "type": "function",
430
+ "name": "upgradeTo",
431
+ "inputs": [
432
+ {
433
+ "name": "newImplementation",
434
+ "type": "address",
435
+ "internalType": "address"
436
+ }
437
+ ],
438
+ "outputs": [],
439
+ "stateMutability": "nonpayable"
440
+ },
441
+ {
442
+ "type": "event",
443
+ "name": "OwnerChanged",
444
+ "inputs": [
445
+ {
446
+ "name": "oldOwner",
447
+ "type": "address",
448
+ "indexed": false,
449
+ "internalType": "address"
450
+ },
451
+ {
452
+ "name": "newOwner",
453
+ "type": "address",
454
+ "indexed": false,
455
+ "internalType": "address"
456
+ }
457
+ ],
458
+ "anonymous": false
459
+ },
460
+ {
461
+ "type": "event",
462
+ "name": "OwnerNominated",
463
+ "inputs": [
464
+ {
465
+ "name": "newOwner",
466
+ "type": "address",
467
+ "indexed": false,
468
+ "internalType": "address"
469
+ }
470
+ ],
471
+ "anonymous": false
472
+ },
473
+ {
474
+ "type": "event",
475
+ "name": "Upgraded",
476
+ "inputs": [
477
+ {
478
+ "name": "self",
479
+ "type": "address",
480
+ "indexed": true,
481
+ "internalType": "address"
482
+ },
483
+ {
484
+ "name": "implementation",
485
+ "type": "address",
486
+ "indexed": false,
487
+ "internalType": "address"
488
+ }
489
+ ],
490
+ "anonymous": false
491
+ },
492
+ {
493
+ "type": "error",
494
+ "name": "ImplementationIsSterile",
495
+ "inputs": [
496
+ {
497
+ "name": "implementation",
498
+ "type": "address",
499
+ "internalType": "address"
500
+ }
501
+ ]
502
+ },
503
+ {
504
+ "type": "error",
505
+ "name": "NoChange",
506
+ "inputs": []
507
+ },
508
+ {
509
+ "type": "error",
510
+ "name": "NotAContract",
511
+ "inputs": [
512
+ {
513
+ "name": "contr",
514
+ "type": "address",
515
+ "internalType": "address"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "type": "error",
521
+ "name": "NotNominated",
522
+ "inputs": [
523
+ {
524
+ "name": "addr",
525
+ "type": "address",
526
+ "internalType": "address"
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "type": "error",
532
+ "name": "UpgradeSimulationFailed",
533
+ "inputs": []
534
+ },
535
+ {
536
+ "type": "error",
537
+ "name": "ZeroAddress",
538
+ "inputs": []
539
+ },
540
+ {
541
+ "type": "function",
542
+ "name": "fulfillOracleQuery",
543
+ "inputs": [
544
+ {
545
+ "name": "signedOffchainData",
546
+ "type": "bytes",
547
+ "internalType": "bytes"
548
+ }
549
+ ],
550
+ "outputs": [],
551
+ "stateMutability": "payable"
552
+ },
553
+ {
554
+ "type": "function",
555
+ "name": "oracleId",
556
+ "inputs": [],
557
+ "outputs": [
558
+ {
559
+ "name": "",
560
+ "type": "bytes32",
561
+ "internalType": "bytes32"
562
+ }
563
+ ],
564
+ "stateMutability": "pure"
565
+ },
566
+ {
567
+ "type": "error",
568
+ "name": "StorkPayloadOlderThanLatest",
569
+ "inputs": []
570
+ },
571
+ {
572
+ "type": "error",
573
+ "name": "StorkPayloadSignatureInvalid",
574
+ "inputs": []
575
+ },
576
+ {
577
+ "type": "function",
578
+ "name": "getLatestPricePayload",
579
+ "inputs": [
580
+ {
581
+ "name": "assetPairId",
582
+ "type": "string",
583
+ "internalType": "string"
584
+ }
585
+ ],
586
+ "outputs": [
587
+ {
588
+ "name": "",
589
+ "type": "tuple",
590
+ "internalType": "struct StorkPricePayload",
591
+ "components": [
592
+ {
593
+ "name": "assetPairId",
594
+ "type": "string",
595
+ "internalType": "string"
596
+ },
597
+ {
598
+ "name": "timestamp",
599
+ "type": "uint256",
600
+ "internalType": "uint256"
601
+ },
602
+ {
603
+ "name": "price",
604
+ "type": "uint256",
605
+ "internalType": "uint256"
606
+ }
607
+ ]
608
+ }
609
+ ],
610
+ "stateMutability": "view"
611
+ }
612
+ ]
613
+ }
@@ -1,6 +1,7 @@
1
1
  export * from './action';
2
2
  export { abi as CoreAbi } from './abis/CoreProxy.json';
3
3
  export { abi as MulticallAbi } from './abis/MulticallV2.json';
4
+ export { abi as OracleAdaptersAbi } from './abis/OracleAdaptersProxy.json';
4
5
  export { abi as PeripheryAbi } from './abis/Periphery.json';
5
6
  export { abi as Socket_VaultWithPayloadAbi } from './abis/socket/VaultWithPayload.json';
6
7
  export * from './contractAddresses';