@flarenetwork/flare-periphery-contract-artifacts 0.1.14 → 0.1.16

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,239 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IFastUpdateIncentiveManager",
4
+ "sourceName": "contracts/userInterfaces/IFastUpdateIncentiveManager.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint24",
12
+ "name": "rewardEpochId",
13
+ "type": "uint24"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "Range",
18
+ "name": "rangeIncrease",
19
+ "type": "uint256"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "SampleSize",
24
+ "name": "sampleSizeIncrease",
25
+ "type": "uint256"
26
+ },
27
+ {
28
+ "indexed": false,
29
+ "internalType": "Fee",
30
+ "name": "offerAmount",
31
+ "type": "uint256"
32
+ }
33
+ ],
34
+ "name": "IncentiveOffered",
35
+ "type": "event"
36
+ },
37
+ {
38
+ "anonymous": false,
39
+ "inputs": [
40
+ {
41
+ "indexed": true,
42
+ "internalType": "uint24",
43
+ "name": "rewardEpochId",
44
+ "type": "uint24"
45
+ },
46
+ {
47
+ "components": [
48
+ {
49
+ "internalType": "bytes21",
50
+ "name": "feedId",
51
+ "type": "bytes21"
52
+ },
53
+ {
54
+ "internalType": "uint32",
55
+ "name": "rewardBandValue",
56
+ "type": "uint32"
57
+ },
58
+ {
59
+ "internalType": "uint24",
60
+ "name": "inflationShare",
61
+ "type": "uint24"
62
+ }
63
+ ],
64
+ "indexed": false,
65
+ "internalType": "struct IFastUpdatesConfiguration.FeedConfiguration[]",
66
+ "name": "feedConfigurations",
67
+ "type": "tuple[]"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "uint256",
72
+ "name": "amount",
73
+ "type": "uint256"
74
+ }
75
+ ],
76
+ "name": "InflationRewardsOffered",
77
+ "type": "event"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "getBaseScale",
82
+ "outputs": [
83
+ {
84
+ "internalType": "Scale",
85
+ "name": "",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "getCurrentSampleSizeIncreasePrice",
95
+ "outputs": [
96
+ {
97
+ "internalType": "Fee",
98
+ "name": "",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [],
107
+ "name": "getExpectedSampleSize",
108
+ "outputs": [
109
+ {
110
+ "internalType": "SampleSize",
111
+ "name": "",
112
+ "type": "uint256"
113
+ }
114
+ ],
115
+ "stateMutability": "view",
116
+ "type": "function"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "getIncentiveDuration",
121
+ "outputs": [
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "getPrecision",
134
+ "outputs": [
135
+ {
136
+ "internalType": "Precision",
137
+ "name": "",
138
+ "type": "uint256"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "getRange",
147
+ "outputs": [
148
+ {
149
+ "internalType": "Range",
150
+ "name": "",
151
+ "type": "uint256"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "getScale",
160
+ "outputs": [
161
+ {
162
+ "internalType": "Scale",
163
+ "name": "",
164
+ "type": "uint256"
165
+ }
166
+ ],
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "components": [
174
+ {
175
+ "internalType": "Range",
176
+ "name": "rangeIncrease",
177
+ "type": "uint256"
178
+ },
179
+ {
180
+ "internalType": "Range",
181
+ "name": "rangeLimit",
182
+ "type": "uint256"
183
+ }
184
+ ],
185
+ "internalType": "struct IFastUpdateIncentiveManager.IncentiveOffer",
186
+ "name": "_offer",
187
+ "type": "tuple"
188
+ }
189
+ ],
190
+ "name": "offerIncentive",
191
+ "outputs": [],
192
+ "stateMutability": "payable",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "rangeIncreaseLimit",
198
+ "outputs": [
199
+ {
200
+ "internalType": "Range",
201
+ "name": "",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "stateMutability": "view",
206
+ "type": "function"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "rangeIncreasePrice",
211
+ "outputs": [
212
+ {
213
+ "internalType": "Fee",
214
+ "name": "",
215
+ "type": "uint256"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [],
223
+ "name": "sampleIncreaseLimit",
224
+ "outputs": [
225
+ {
226
+ "internalType": "SampleSize",
227
+ "name": "",
228
+ "type": "uint256"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ }
234
+ ],
235
+ "bytecode": "0x",
236
+ "deployedBytecode": "0x",
237
+ "linkReferences": {},
238
+ "deployedLinkReferences": {}
239
+ }
@@ -0,0 +1,363 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IFastUpdater",
4
+ "sourceName": "contracts/userInterfaces/IFastUpdater.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint256",
12
+ "name": "index",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "name": "FastUpdateFeedRemoved",
17
+ "type": "event"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "uint256",
25
+ "name": "votingRoundId",
26
+ "type": "uint256"
27
+ },
28
+ {
29
+ "indexed": true,
30
+ "internalType": "uint256",
31
+ "name": "index",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "indexed": true,
36
+ "internalType": "bytes21",
37
+ "name": "id",
38
+ "type": "bytes21"
39
+ },
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint256",
43
+ "name": "value",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "int8",
49
+ "name": "decimals",
50
+ "type": "int8"
51
+ }
52
+ ],
53
+ "name": "FastUpdateFeedReset",
54
+ "type": "event"
55
+ },
56
+ {
57
+ "anonymous": false,
58
+ "inputs": [
59
+ {
60
+ "indexed": true,
61
+ "internalType": "uint256",
62
+ "name": "votingEpochId",
63
+ "type": "uint256"
64
+ },
65
+ {
66
+ "indexed": false,
67
+ "internalType": "uint256[]",
68
+ "name": "feeds",
69
+ "type": "uint256[]"
70
+ },
71
+ {
72
+ "indexed": false,
73
+ "internalType": "int8[]",
74
+ "name": "decimals",
75
+ "type": "int8[]"
76
+ }
77
+ ],
78
+ "name": "FastUpdateFeeds",
79
+ "type": "event"
80
+ },
81
+ {
82
+ "anonymous": false,
83
+ "inputs": [
84
+ {
85
+ "indexed": true,
86
+ "internalType": "uint32",
87
+ "name": "votingRoundId",
88
+ "type": "uint32"
89
+ },
90
+ {
91
+ "indexed": true,
92
+ "internalType": "address",
93
+ "name": "signingPolicyAddress",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "name": "FastUpdateFeedsSubmitted",
98
+ "type": "event"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "uint256",
104
+ "name": "_blockNum",
105
+ "type": "uint256"
106
+ }
107
+ ],
108
+ "name": "blockScoreCutoff",
109
+ "outputs": [
110
+ {
111
+ "internalType": "uint256",
112
+ "name": "_cutoff",
113
+ "type": "uint256"
114
+ }
115
+ ],
116
+ "stateMutability": "view",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "currentRewardEpochId",
122
+ "outputs": [
123
+ {
124
+ "internalType": "uint24",
125
+ "name": "",
126
+ "type": "uint24"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "currentScoreCutoff",
135
+ "outputs": [
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "_cutoff",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "_signingPolicyAddress",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "currentSortitionWeight",
154
+ "outputs": [
155
+ {
156
+ "internalType": "uint256",
157
+ "name": "_weight",
158
+ "type": "uint256"
159
+ }
160
+ ],
161
+ "stateMutability": "view",
162
+ "type": "function"
163
+ },
164
+ {
165
+ "inputs": [],
166
+ "name": "fetchAllCurrentFeeds",
167
+ "outputs": [
168
+ {
169
+ "internalType": "bytes21[]",
170
+ "name": "_feedIds",
171
+ "type": "bytes21[]"
172
+ },
173
+ {
174
+ "internalType": "uint256[]",
175
+ "name": "_feeds",
176
+ "type": "uint256[]"
177
+ },
178
+ {
179
+ "internalType": "int8[]",
180
+ "name": "_decimals",
181
+ "type": "int8[]"
182
+ },
183
+ {
184
+ "internalType": "uint64",
185
+ "name": "_timestamp",
186
+ "type": "uint64"
187
+ }
188
+ ],
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "internalType": "uint256[]",
196
+ "name": "_indices",
197
+ "type": "uint256[]"
198
+ }
199
+ ],
200
+ "name": "fetchCurrentFeeds",
201
+ "outputs": [
202
+ {
203
+ "internalType": "uint256[]",
204
+ "name": "_feeds",
205
+ "type": "uint256[]"
206
+ },
207
+ {
208
+ "internalType": "int8[]",
209
+ "name": "_decimals",
210
+ "type": "int8[]"
211
+ },
212
+ {
213
+ "internalType": "uint64",
214
+ "name": "_timestamp",
215
+ "type": "uint64"
216
+ }
217
+ ],
218
+ "stateMutability": "view",
219
+ "type": "function"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "uint256",
225
+ "name": "_historySize",
226
+ "type": "uint256"
227
+ }
228
+ ],
229
+ "name": "numberOfUpdates",
230
+ "outputs": [
231
+ {
232
+ "internalType": "uint256[]",
233
+ "name": "_noOfUpdates",
234
+ "type": "uint256[]"
235
+ }
236
+ ],
237
+ "stateMutability": "view",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "_blockNumber",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "numberOfUpdatesInBlock",
249
+ "outputs": [
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "_noOfUpdates",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "submissionWindow",
262
+ "outputs": [
263
+ {
264
+ "internalType": "uint8",
265
+ "name": "",
266
+ "type": "uint8"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "components": [
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "sortitionBlock",
279
+ "type": "uint256"
280
+ },
281
+ {
282
+ "components": [
283
+ {
284
+ "internalType": "uint256",
285
+ "name": "replicate",
286
+ "type": "uint256"
287
+ },
288
+ {
289
+ "components": [
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "x",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "y",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "internalType": "struct G1Point",
302
+ "name": "gamma",
303
+ "type": "tuple"
304
+ },
305
+ {
306
+ "internalType": "uint256",
307
+ "name": "c",
308
+ "type": "uint256"
309
+ },
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "s",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "internalType": "struct SortitionCredential",
317
+ "name": "sortitionCredential",
318
+ "type": "tuple"
319
+ },
320
+ {
321
+ "internalType": "bytes",
322
+ "name": "deltas",
323
+ "type": "bytes"
324
+ },
325
+ {
326
+ "components": [
327
+ {
328
+ "internalType": "uint8",
329
+ "name": "v",
330
+ "type": "uint8"
331
+ },
332
+ {
333
+ "internalType": "bytes32",
334
+ "name": "r",
335
+ "type": "bytes32"
336
+ },
337
+ {
338
+ "internalType": "bytes32",
339
+ "name": "s",
340
+ "type": "bytes32"
341
+ }
342
+ ],
343
+ "internalType": "struct IFastUpdater.Signature",
344
+ "name": "signature",
345
+ "type": "tuple"
346
+ }
347
+ ],
348
+ "internalType": "struct IFastUpdater.FastUpdates",
349
+ "name": "_updates",
350
+ "type": "tuple"
351
+ }
352
+ ],
353
+ "name": "submitUpdates",
354
+ "outputs": [],
355
+ "stateMutability": "nonpayable",
356
+ "type": "function"
357
+ }
358
+ ],
359
+ "bytecode": "0x",
360
+ "deployedBytecode": "0x",
361
+ "linkReferences": {},
362
+ "deployedLinkReferences": {}
363
+ }
@@ -228,5 +228,10 @@
228
228
  "name": "IReferencedPaymentNonexistenceVerification",
229
229
  "contractName": "IReferencedPaymentNonexistenceVerification.sol",
230
230
  "address": "0x870Cfd102c2C549866CA87dB800EDdaABac02452"
231
+ },
232
+ {
233
+ "name": "IRelay",
234
+ "contractName": "IRelay.sol",
235
+ "address": "0x32D46A1260BB2D8C9d5Ab1C9bBd7FF7D7CfaabCC",
231
236
  }
232
237
  ]