@flarenetwork/flare-periphery-contract-artifacts 0.0.1 → 0.0.2

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 (123) hide show
  1. package/dist/coston/deploys/contractAddresses.d.ts +1 -0
  2. package/dist/coston/deploys/contractAddresses.d.ts.map +1 -1
  3. package/dist/coston/deploys/contractAddresses.js +1 -0
  4. package/dist/coston/deploys/contractAddresses.js.map +1 -1
  5. package/dist/coston/deploys/mapper.d.ts.map +1 -1
  6. package/dist/coston/deploys/mapper.js +6 -2
  7. package/dist/coston/deploys/mapper.js.map +1 -1
  8. package/dist/coston2/abis.coston2.d.ts.map +1 -1
  9. package/dist/coston2/abis.coston2.js +8 -2
  10. package/dist/coston2/abis.coston2.js.map +1 -1
  11. package/dist/coston2/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +72 -2
  12. package/dist/coston2/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
  13. package/dist/coston2/artifacts/contracts/assetRegistry/implementation/WNatRegistryProvider.sol/WNatRegistryProvider.json +2 -2
  14. package/dist/coston2/artifacts/contracts/genesis/implementation/DistributionTreasury.sol/DistributionTreasury.json +17 -64
  15. package/dist/coston2/artifacts/contracts/token/lib/IICombinedNatBalance.sol/IICombinedNatBalance.json +54 -0
  16. package/dist/coston2/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +148 -231
  17. package/dist/coston2/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  18. package/dist/coston2/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
  19. package/dist/coston2/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
  20. package/dist/coston2/deploys/contractAddresses.d.ts +2 -1
  21. package/dist/coston2/deploys/contractAddresses.d.ts.map +1 -1
  22. package/dist/coston2/deploys/contractAddresses.js +5 -4
  23. package/dist/coston2/deploys/contractAddresses.js.map +1 -1
  24. package/dist/coston2/deploys/mapper.d.ts.map +1 -1
  25. package/dist/coston2/deploys/mapper.js +6 -2
  26. package/dist/coston2/deploys/mapper.js.map +1 -1
  27. package/dist/flare/abis.flare.d.ts.map +1 -1
  28. package/dist/flare/abis.flare.js +8 -2
  29. package/dist/flare/abis.flare.js.map +1 -1
  30. package/dist/flare/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +72 -2
  31. package/dist/flare/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
  32. package/dist/flare/artifacts/contracts/assetRegistry/implementation/WNatRegistryProvider.sol/WNatRegistryProvider.json +2 -2
  33. package/dist/flare/artifacts/contracts/genesis/implementation/DistributionTreasury.sol/DistributionTreasury.json +17 -64
  34. package/dist/flare/artifacts/contracts/token/lib/IICombinedNatBalance.sol/IICombinedNatBalance.json +54 -0
  35. package/dist/flare/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +148 -231
  36. package/dist/flare/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
  37. package/dist/flare/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
  38. package/dist/flare/deploys/contractAddresses.d.ts +2 -1
  39. package/dist/flare/deploys/contractAddresses.d.ts.map +1 -1
  40. package/dist/flare/deploys/contractAddresses.js +5 -4
  41. package/dist/flare/deploys/contractAddresses.js.map +1 -1
  42. package/dist/flare/deploys/mapper.d.ts.map +1 -1
  43. package/dist/flare/deploys/mapper.js +6 -2
  44. package/dist/flare/deploys/mapper.js.map +1 -1
  45. package/dist/songbird/abis.songbird.d.ts.map +1 -1
  46. package/dist/songbird/abis.songbird.js +52 -4
  47. package/dist/songbird/abis.songbird.js.map +1 -1
  48. package/dist/songbird/artifacts/contracts/addressUpdater/implementation/AddressUpdatable.sol/AddressUpdatable.json +42 -0
  49. package/dist/songbird/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +381 -0
  50. package/dist/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdatable.sol/IIAddressUpdatable.json +29 -0
  51. package/dist/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
  52. package/dist/songbird/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +1151 -0
  53. package/dist/songbird/artifacts/contracts/claiming/implementation/CloneFactory.sol/CloneFactory.json +10 -0
  54. package/dist/songbird/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +346 -0
  55. package/dist/songbird/artifacts/contracts/claiming/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +795 -0
  56. package/dist/songbird/artifacts/contracts/claiming/interface/IIDelegationAccount.sol/IIDelegationAccount.json +316 -0
  57. package/dist/songbird/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +175 -26
  58. package/dist/songbird/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +758 -146
  59. package/dist/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +162 -20
  60. package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManager.sol/IIFtsoManager.json +321 -46
  61. package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +102 -0
  62. package/dist/songbird/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
  63. package/dist/songbird/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +43 -0
  64. package/dist/songbird/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
  65. package/dist/songbird/artifacts/contracts/ftso/lib/FtsoMedian.sol/FtsoMedian.json +2 -2
  66. package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +184 -3
  67. package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
  68. package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
  69. package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +164 -22
  70. package/dist/songbird/artifacts/contracts/genesis/implementation/GovernanceSettings.sol/GovernanceSettings.json +224 -0
  71. package/dist/songbird/artifacts/contracts/genesis/implementation/PriceSubmitter.sol/PriceSubmitter.json +2 -2
  72. package/dist/songbird/artifacts/contracts/genesis/implementation/StateConnector.sol/StateConnector.json +106 -785
  73. package/dist/songbird/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +24 -0
  74. package/dist/songbird/artifacts/contracts/{tokenPools/interface/IIDataAvailabilityRewardManager.sol/IIDataAvailabilityRewardManager.json → governance/implementation/GovernedBaseV2.sol/GovernedBaseV2.json} +97 -91
  75. package/dist/songbird/artifacts/contracts/governance/implementation/GovernedV2.sol/GovernedV2.json +220 -0
  76. package/dist/songbird/artifacts/contracts/governance/implementation/Governor.sol/Governor.json +22 -154
  77. package/dist/songbird/artifacts/contracts/governance/implementation/GovernorProposer.sol/GovernorProposer.json +126 -32
  78. package/dist/songbird/artifacts/contracts/governance/implementation/InflationAllocation.sol/InflationAllocation.json +2 -2
  79. package/dist/songbird/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +161 -90
  80. package/dist/songbird/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -31
  81. package/dist/songbird/artifacts/contracts/inflation/implementation/Inflation.sol/Inflation.json +2 -2
  82. package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnum.sol/InflationAnnum.json +2 -2
  83. package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnums.sol/InflationAnnums.json +2 -2
  84. package/dist/songbird/artifacts/contracts/inflation/lib/RewardServices.sol/RewardServices.json +2 -2
  85. package/dist/songbird/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +2 -2
  86. package/dist/songbird/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
  87. package/dist/songbird/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
  88. package/dist/songbird/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
  89. package/dist/songbird/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +25 -2
  90. package/dist/songbird/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  91. package/dist/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +69 -0
  92. package/dist/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManagerV2.sol/IIFtsoRewardManagerV2.json +949 -0
  93. package/dist/songbird/artifacts/contracts/tokenPools/lib/DataProviderFee.sol/DataProviderFee.json +10 -0
  94. package/dist/songbird/artifacts/contracts/utils/implementation/AddressSet.sol/AddressSet.json +10 -0
  95. package/dist/songbird/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
  96. package/dist/songbird/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +327 -33
  97. package/dist/songbird/artifacts/contracts/utils/implementation/FtsoRegistryProxy.sol/FtsoRegistryProxy.json +272 -0
  98. package/dist/songbird/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +440 -0
  99. package/dist/songbird/artifacts/contracts/utils/implementation/GovernedAndFlareDaemonizedV2.sol/GovernedAndFlareDaemonizedV2.json +238 -0
  100. package/dist/songbird/artifacts/contracts/utils/implementation/ProxyGoverned.sol/ProxyGoverned.json +256 -0
  101. package/dist/songbird/artifacts/contracts/utils/implementation/RevertErrorTracking.sol/RevertErrorTracking.json +2 -20
  102. package/dist/songbird/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
  103. package/dist/songbird/artifacts/contracts/utils/interface/IIFtsoRegistry.sol/IIFtsoRegistry.json +175 -13
  104. package/dist/songbird/artifacts/contracts/utils/interface/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +120 -0
  105. package/dist/songbird/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
  106. package/dist/songbird/artifacts/contracts/utils/interface/IUpdateValidators.sol/IUpdateValidators.json +18 -0
  107. package/dist/songbird/deploys/contractAddresses.d.ts +3 -0
  108. package/dist/songbird/deploys/contractAddresses.d.ts.map +1 -1
  109. package/dist/songbird/deploys/contractAddresses.js +19 -16
  110. package/dist/songbird/deploys/contractAddresses.js.map +1 -1
  111. package/dist/songbird/deploys/mapper.d.ts.map +1 -1
  112. package/dist/songbird/deploys/mapper.js +6 -2
  113. package/dist/songbird/deploys/mapper.js.map +1 -1
  114. package/package.json +1 -1
  115. package/dist/README.md +0 -5
  116. package/dist/coston/deploys/coston.json +0 -142
  117. package/dist/coston2/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +0 -561
  118. package/dist/coston2/deploys/coston2.json +0 -212
  119. package/dist/flare/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +0 -561
  120. package/dist/flare/deploys/flare.json +0 -207
  121. package/dist/package.json +0 -28
  122. package/dist/songbird/artifacts/contracts/tokenPools/implementation/DataAvailabilityRewardManager.sol/DataAvailabilityRewardManager.json +0 -566
  123. package/dist/songbird/deploys/songbird.json +0 -132
@@ -0,0 +1,949 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IIFtsoRewardManagerV2",
4
+ "sourceName": "contracts/tokenPools/interface/IIFtsoRewardManagerV2.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "uint256",
12
+ "name": "authorizedAmountWei",
13
+ "type": "uint256"
14
+ }
15
+ ],
16
+ "name": "DailyAuthorizedInflationSet",
17
+ "type": "event"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "address",
25
+ "name": "dataProvider",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "indexed": false,
30
+ "internalType": "uint256",
31
+ "name": "value",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "uint256",
37
+ "name": "validFromEpoch",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "name": "FeePercentageChanged",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": false,
49
+ "internalType": "address",
50
+ "name": "ftsoRewardManager",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "FtsoRewardManagerActivated",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": false,
62
+ "internalType": "address",
63
+ "name": "ftsoRewardManager",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "FtsoRewardManagerDeactivated",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "anonymous": false,
72
+ "inputs": [
73
+ {
74
+ "indexed": false,
75
+ "internalType": "uint256",
76
+ "name": "amountReceivedWei",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "name": "InflationReceived",
81
+ "type": "event"
82
+ },
83
+ {
84
+ "anonymous": false,
85
+ "inputs": [
86
+ {
87
+ "indexed": true,
88
+ "internalType": "address",
89
+ "name": "dataProvider",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "indexed": true,
94
+ "internalType": "address",
95
+ "name": "whoClaimed",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "indexed": true,
100
+ "internalType": "address",
101
+ "name": "sentTo",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "indexed": false,
106
+ "internalType": "uint256",
107
+ "name": "rewardEpoch",
108
+ "type": "uint256"
109
+ },
110
+ {
111
+ "indexed": false,
112
+ "internalType": "uint256",
113
+ "name": "amount",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "name": "RewardClaimed",
118
+ "type": "event"
119
+ },
120
+ {
121
+ "anonymous": false,
122
+ "inputs": [
123
+ {
124
+ "indexed": false,
125
+ "internalType": "uint256",
126
+ "name": "rewardEpochId",
127
+ "type": "uint256"
128
+ }
129
+ ],
130
+ "name": "RewardClaimsEnabled",
131
+ "type": "event"
132
+ },
133
+ {
134
+ "anonymous": false,
135
+ "inputs": [
136
+ {
137
+ "indexed": false,
138
+ "internalType": "uint256",
139
+ "name": "rewardEpochId",
140
+ "type": "uint256"
141
+ }
142
+ ],
143
+ "name": "RewardClaimsExpired",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "uint256",
152
+ "name": "amountBurnedWei",
153
+ "type": "uint256"
154
+ }
155
+ ],
156
+ "name": "RewardsBurned",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "anonymous": false,
161
+ "inputs": [
162
+ {
163
+ "indexed": true,
164
+ "internalType": "address",
165
+ "name": "ftso",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint256",
171
+ "name": "epochId",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "indexed": false,
176
+ "internalType": "address[]",
177
+ "name": "addresses",
178
+ "type": "address[]"
179
+ },
180
+ {
181
+ "indexed": false,
182
+ "internalType": "uint256[]",
183
+ "name": "rewards",
184
+ "type": "uint256[]"
185
+ }
186
+ ],
187
+ "name": "RewardsDistributed",
188
+ "type": "event"
189
+ },
190
+ {
191
+ "anonymous": false,
192
+ "inputs": [
193
+ {
194
+ "indexed": false,
195
+ "internalType": "uint256",
196
+ "name": "epochId",
197
+ "type": "uint256"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "uint256",
202
+ "name": "reward",
203
+ "type": "uint256"
204
+ }
205
+ ],
206
+ "name": "UnearnedRewardsAccrued",
207
+ "type": "event"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "epochId",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "uint256",
218
+ "name": "priceEpochDurationSeconds",
219
+ "type": "uint256"
220
+ },
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "priceEpochEndTime",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "name": "accrueUnearnedRewards",
228
+ "outputs": [],
229
+ "stateMutability": "nonpayable",
230
+ "type": "function"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "activate",
235
+ "outputs": [],
236
+ "stateMutability": "nonpayable",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [],
241
+ "name": "active",
242
+ "outputs": [
243
+ {
244
+ "internalType": "bool",
245
+ "name": "",
246
+ "type": "bool"
247
+ }
248
+ ],
249
+ "stateMutability": "view",
250
+ "type": "function"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address[]",
256
+ "name": "_rewardOwners",
257
+ "type": "address[]"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "_rewardEpoch",
262
+ "type": "uint256"
263
+ }
264
+ ],
265
+ "name": "autoClaim",
266
+ "outputs": [],
267
+ "stateMutability": "nonpayable",
268
+ "type": "function"
269
+ },
270
+ {
271
+ "inputs": [
272
+ {
273
+ "internalType": "address",
274
+ "name": "_rewardOwner",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "internalType": "address payable",
279
+ "name": "_recipient",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "internalType": "uint256",
284
+ "name": "_rewardEpoch",
285
+ "type": "uint256"
286
+ },
287
+ {
288
+ "internalType": "bool",
289
+ "name": "_wrap",
290
+ "type": "bool"
291
+ }
292
+ ],
293
+ "name": "claim",
294
+ "outputs": [
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "_rewardAmount",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "address",
308
+ "name": "_rewardOwner",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "internalType": "address payable",
313
+ "name": "_recipient",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "internalType": "uint256[]",
318
+ "name": "_rewardEpochs",
319
+ "type": "uint256[]"
320
+ },
321
+ {
322
+ "internalType": "address[]",
323
+ "name": "_dataProviders",
324
+ "type": "address[]"
325
+ },
326
+ {
327
+ "internalType": "bool",
328
+ "name": "_wrap",
329
+ "type": "bool"
330
+ }
331
+ ],
332
+ "name": "claimFromDataProviders",
333
+ "outputs": [
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "_rewardAmount",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "stateMutability": "nonpayable",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "address payable",
347
+ "name": "_recipient",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "internalType": "uint256[]",
352
+ "name": "_rewardEpochs",
353
+ "type": "uint256[]"
354
+ }
355
+ ],
356
+ "name": "claimReward",
357
+ "outputs": [
358
+ {
359
+ "internalType": "uint256",
360
+ "name": "_rewardAmount",
361
+ "type": "uint256"
362
+ }
363
+ ],
364
+ "stateMutability": "nonpayable",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "address payable",
371
+ "name": "_recipient",
372
+ "type": "address"
373
+ },
374
+ {
375
+ "internalType": "uint256[]",
376
+ "name": "_rewardEpochs",
377
+ "type": "uint256[]"
378
+ },
379
+ {
380
+ "internalType": "address[]",
381
+ "name": "_dataProviders",
382
+ "type": "address[]"
383
+ }
384
+ ],
385
+ "name": "claimRewardFromDataProviders",
386
+ "outputs": [
387
+ {
388
+ "internalType": "uint256",
389
+ "name": "_rewardAmount",
390
+ "type": "uint256"
391
+ }
392
+ ],
393
+ "stateMutability": "nonpayable",
394
+ "type": "function"
395
+ },
396
+ {
397
+ "inputs": [
398
+ {
399
+ "internalType": "uint256",
400
+ "name": "_rewardEpochId",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "name": "closeExpiredRewardEpoch",
405
+ "outputs": [],
406
+ "stateMutability": "nonpayable",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "deactivate",
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "address[]",
420
+ "name": "addresses",
421
+ "type": "address[]"
422
+ },
423
+ {
424
+ "internalType": "uint256[]",
425
+ "name": "weights",
426
+ "type": "uint256[]"
427
+ },
428
+ {
429
+ "internalType": "uint256",
430
+ "name": "totalWeight",
431
+ "type": "uint256"
432
+ },
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "epochId",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "internalType": "address",
440
+ "name": "ftso",
441
+ "type": "address"
442
+ },
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "priceEpochDurationSeconds",
446
+ "type": "uint256"
447
+ },
448
+ {
449
+ "internalType": "uint256",
450
+ "name": "currentRewardEpoch",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "priceEpochEndTime",
456
+ "type": "uint256"
457
+ },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "votePowerBlock",
461
+ "type": "uint256"
462
+ }
463
+ ],
464
+ "name": "distributeRewards",
465
+ "outputs": [],
466
+ "stateMutability": "nonpayable",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "enableClaims",
472
+ "outputs": [],
473
+ "stateMutability": "nonpayable",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [],
478
+ "name": "firstClaimableRewardEpoch",
479
+ "outputs": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "_rewardEpoch",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "address",
498
+ "name": "_dataProvider",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "internalType": "address",
503
+ "name": "_claimer",
504
+ "type": "address"
505
+ }
506
+ ],
507
+ "name": "getClaimedReward",
508
+ "outputs": [
509
+ {
510
+ "internalType": "bool",
511
+ "name": "_claimed",
512
+ "type": "bool"
513
+ },
514
+ {
515
+ "internalType": "uint256",
516
+ "name": "_amount",
517
+ "type": "uint256"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [],
525
+ "name": "getCurrentRewardEpoch",
526
+ "outputs": [
527
+ {
528
+ "internalType": "uint256",
529
+ "name": "",
530
+ "type": "uint256"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [
538
+ {
539
+ "internalType": "address",
540
+ "name": "_dataProvider",
541
+ "type": "address"
542
+ }
543
+ ],
544
+ "name": "getDataProviderCurrentFeePercentage",
545
+ "outputs": [
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "_feePercentageBIPS",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "stateMutability": "view",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "address",
559
+ "name": "_dataProvider",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "_rewardEpoch",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "name": "getDataProviderFeePercentage",
569
+ "outputs": [
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "_feePercentageBIPS",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "uint256",
583
+ "name": "_rewardEpoch",
584
+ "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "address",
588
+ "name": "_dataProvider",
589
+ "type": "address"
590
+ }
591
+ ],
592
+ "name": "getDataProviderPerformanceInfo",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "_rewardAmount",
597
+ "type": "uint256"
598
+ },
599
+ {
600
+ "internalType": "uint256",
601
+ "name": "_votePowerIgnoringRevocation",
602
+ "type": "uint256"
603
+ }
604
+ ],
605
+ "stateMutability": "view",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [
610
+ {
611
+ "internalType": "address",
612
+ "name": "_dataProvider",
613
+ "type": "address"
614
+ }
615
+ ],
616
+ "name": "getDataProviderScheduledFeePercentageChanges",
617
+ "outputs": [
618
+ {
619
+ "internalType": "uint256[]",
620
+ "name": "_feePercentageBIPS",
621
+ "type": "uint256[]"
622
+ },
623
+ {
624
+ "internalType": "uint256[]",
625
+ "name": "_validFromEpoch",
626
+ "type": "uint256[]"
627
+ },
628
+ {
629
+ "internalType": "bool[]",
630
+ "name": "_fixed",
631
+ "type": "bool[]"
632
+ }
633
+ ],
634
+ "stateMutability": "view",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "uint256",
641
+ "name": "_rewardEpoch",
642
+ "type": "uint256"
643
+ }
644
+ ],
645
+ "name": "getEpochReward",
646
+ "outputs": [
647
+ {
648
+ "internalType": "uint256",
649
+ "name": "_totalReward",
650
+ "type": "uint256"
651
+ },
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "_claimedReward",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [],
663
+ "name": "getEpochsWithClaimableRewards",
664
+ "outputs": [
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "_startEpochId",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "uint256",
672
+ "name": "_endEpochId",
673
+ "type": "uint256"
674
+ }
675
+ ],
676
+ "stateMutability": "view",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [
681
+ {
682
+ "internalType": "address",
683
+ "name": "_beneficiary",
684
+ "type": "address"
685
+ }
686
+ ],
687
+ "name": "getEpochsWithUnclaimedRewards",
688
+ "outputs": [
689
+ {
690
+ "internalType": "uint256[]",
691
+ "name": "_epochIds",
692
+ "type": "uint256[]"
693
+ }
694
+ ],
695
+ "stateMutability": "view",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [],
700
+ "name": "getInflationAddress",
701
+ "outputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "stateMutability": "nonpayable",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [],
713
+ "name": "getInitialRewardEpoch",
714
+ "outputs": [
715
+ {
716
+ "internalType": "uint256",
717
+ "name": "",
718
+ "type": "uint256"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [],
726
+ "name": "getRewardEpochToExpireNext",
727
+ "outputs": [
728
+ {
729
+ "internalType": "uint256",
730
+ "name": "",
731
+ "type": "uint256"
732
+ }
733
+ ],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "uint256",
741
+ "name": "_rewardEpoch",
742
+ "type": "uint256"
743
+ }
744
+ ],
745
+ "name": "getRewardEpochVotePowerBlock",
746
+ "outputs": [
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "",
750
+ "type": "uint256"
751
+ }
752
+ ],
753
+ "stateMutability": "view",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "address",
760
+ "name": "_beneficiary",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "_rewardEpoch",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "name": "getStateOfRewards",
770
+ "outputs": [
771
+ {
772
+ "internalType": "address[]",
773
+ "name": "_dataProviders",
774
+ "type": "address[]"
775
+ },
776
+ {
777
+ "internalType": "uint256[]",
778
+ "name": "_rewardAmounts",
779
+ "type": "uint256[]"
780
+ },
781
+ {
782
+ "internalType": "bool[]",
783
+ "name": "_claimed",
784
+ "type": "bool[]"
785
+ },
786
+ {
787
+ "internalType": "bool",
788
+ "name": "_claimable",
789
+ "type": "bool"
790
+ }
791
+ ],
792
+ "stateMutability": "view",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "address",
799
+ "name": "_beneficiary",
800
+ "type": "address"
801
+ },
802
+ {
803
+ "internalType": "uint256",
804
+ "name": "_rewardEpoch",
805
+ "type": "uint256"
806
+ },
807
+ {
808
+ "internalType": "address[]",
809
+ "name": "_dataProviders",
810
+ "type": "address[]"
811
+ }
812
+ ],
813
+ "name": "getStateOfRewardsFromDataProviders",
814
+ "outputs": [
815
+ {
816
+ "internalType": "uint256[]",
817
+ "name": "_rewardAmounts",
818
+ "type": "uint256[]"
819
+ },
820
+ {
821
+ "internalType": "bool[]",
822
+ "name": "_claimed",
823
+ "type": "bool[]"
824
+ },
825
+ {
826
+ "internalType": "bool",
827
+ "name": "_claimable",
828
+ "type": "bool"
829
+ }
830
+ ],
831
+ "stateMutability": "view",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [],
836
+ "name": "getTokenPoolSupplyData",
837
+ "outputs": [
838
+ {
839
+ "internalType": "uint256",
840
+ "name": "_foundationAllocatedFundsWei",
841
+ "type": "uint256"
842
+ },
843
+ {
844
+ "internalType": "uint256",
845
+ "name": "_totalInflationAuthorizedWei",
846
+ "type": "uint256"
847
+ },
848
+ {
849
+ "internalType": "uint256",
850
+ "name": "_totalClaimedWei",
851
+ "type": "uint256"
852
+ }
853
+ ],
854
+ "stateMutability": "view",
855
+ "type": "function"
856
+ },
857
+ {
858
+ "inputs": [
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "_rewardEpoch",
862
+ "type": "uint256"
863
+ },
864
+ {
865
+ "internalType": "address",
866
+ "name": "_dataProvider",
867
+ "type": "address"
868
+ }
869
+ ],
870
+ "name": "getUnclaimedReward",
871
+ "outputs": [
872
+ {
873
+ "internalType": "uint256",
874
+ "name": "_amount",
875
+ "type": "uint256"
876
+ },
877
+ {
878
+ "internalType": "uint256",
879
+ "name": "_weight",
880
+ "type": "uint256"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [
888
+ {
889
+ "internalType": "address",
890
+ "name": "_rewardOwner",
891
+ "type": "address"
892
+ }
893
+ ],
894
+ "name": "nextClaimableRewardEpoch",
895
+ "outputs": [
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [],
907
+ "name": "receiveInflation",
908
+ "outputs": [],
909
+ "stateMutability": "payable",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "_toAuthorizeWei",
917
+ "type": "uint256"
918
+ }
919
+ ],
920
+ "name": "setDailyAuthorizedInflation",
921
+ "outputs": [],
922
+ "stateMutability": "nonpayable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "uint256",
929
+ "name": "_feePercentageBIPS",
930
+ "type": "uint256"
931
+ }
932
+ ],
933
+ "name": "setDataProviderFeePercentage",
934
+ "outputs": [
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "_validFromEpoch",
938
+ "type": "uint256"
939
+ }
940
+ ],
941
+ "stateMutability": "nonpayable",
942
+ "type": "function"
943
+ }
944
+ ],
945
+ "bytecode": "0x",
946
+ "deployedBytecode": "0x",
947
+ "linkReferences": {},
948
+ "deployedLinkReferences": {}
949
+ }