@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.
- package/dist/coston/deploys/contractAddresses.d.ts +1 -0
- package/dist/coston/deploys/contractAddresses.d.ts.map +1 -1
- package/dist/coston/deploys/contractAddresses.js +1 -0
- package/dist/coston/deploys/contractAddresses.js.map +1 -1
- package/dist/coston/deploys/mapper.d.ts.map +1 -1
- package/dist/coston/deploys/mapper.js +6 -2
- package/dist/coston/deploys/mapper.js.map +1 -1
- package/dist/coston2/abis.coston2.d.ts.map +1 -1
- package/dist/coston2/abis.coston2.js +8 -2
- package/dist/coston2/abis.coston2.js.map +1 -1
- package/dist/coston2/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +72 -2
- package/dist/coston2/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
- package/dist/coston2/artifacts/contracts/assetRegistry/implementation/WNatRegistryProvider.sol/WNatRegistryProvider.json +2 -2
- package/dist/coston2/artifacts/contracts/genesis/implementation/DistributionTreasury.sol/DistributionTreasury.json +17 -64
- package/dist/coston2/artifacts/contracts/token/lib/IICombinedNatBalance.sol/IICombinedNatBalance.json +54 -0
- package/dist/coston2/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +148 -231
- package/dist/coston2/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
- package/dist/coston2/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
- package/dist/coston2/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
- package/dist/coston2/deploys/contractAddresses.d.ts +2 -1
- package/dist/coston2/deploys/contractAddresses.d.ts.map +1 -1
- package/dist/coston2/deploys/contractAddresses.js +5 -4
- package/dist/coston2/deploys/contractAddresses.js.map +1 -1
- package/dist/coston2/deploys/mapper.d.ts.map +1 -1
- package/dist/coston2/deploys/mapper.js +6 -2
- package/dist/coston2/deploys/mapper.js.map +1 -1
- package/dist/flare/abis.flare.d.ts.map +1 -1
- package/dist/flare/abis.flare.js +8 -2
- package/dist/flare/abis.flare.js.map +1 -1
- package/dist/flare/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +72 -2
- package/dist/flare/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
- package/dist/flare/artifacts/contracts/assetRegistry/implementation/WNatRegistryProvider.sol/WNatRegistryProvider.json +2 -2
- package/dist/flare/artifacts/contracts/genesis/implementation/DistributionTreasury.sol/DistributionTreasury.json +17 -64
- package/dist/flare/artifacts/contracts/token/lib/IICombinedNatBalance.sol/IICombinedNatBalance.json +54 -0
- package/dist/flare/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +148 -231
- package/dist/flare/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
- package/dist/flare/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
- package/dist/flare/deploys/contractAddresses.d.ts +2 -1
- package/dist/flare/deploys/contractAddresses.d.ts.map +1 -1
- package/dist/flare/deploys/contractAddresses.js +5 -4
- package/dist/flare/deploys/contractAddresses.js.map +1 -1
- package/dist/flare/deploys/mapper.d.ts.map +1 -1
- package/dist/flare/deploys/mapper.js +6 -2
- package/dist/flare/deploys/mapper.js.map +1 -1
- package/dist/songbird/abis.songbird.d.ts.map +1 -1
- package/dist/songbird/abis.songbird.js +52 -4
- package/dist/songbird/abis.songbird.js.map +1 -1
- package/dist/songbird/artifacts/contracts/addressUpdater/implementation/AddressUpdatable.sol/AddressUpdatable.json +42 -0
- package/dist/songbird/artifacts/contracts/addressUpdater/implementation/AddressUpdater.sol/AddressUpdater.json +381 -0
- package/dist/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdatable.sol/IIAddressUpdatable.json +29 -0
- package/dist/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +105 -0
- package/dist/songbird/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +1151 -0
- package/dist/songbird/artifacts/contracts/claiming/implementation/CloneFactory.sol/CloneFactory.json +10 -0
- package/dist/songbird/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +346 -0
- package/dist/songbird/artifacts/contracts/claiming/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +795 -0
- package/dist/songbird/artifacts/contracts/claiming/interface/IIDelegationAccount.sol/IIDelegationAccount.json +316 -0
- package/dist/songbird/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +175 -26
- package/dist/songbird/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +758 -146
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +162 -20
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManager.sol/IIFtsoManager.json +321 -46
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +102 -0
- package/dist/songbird/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
- package/dist/songbird/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +43 -0
- package/dist/songbird/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
- package/dist/songbird/artifacts/contracts/ftso/lib/FtsoMedian.sol/FtsoMedian.json +2 -2
- package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +184 -3
- package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
- package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
- package/dist/songbird/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +164 -22
- package/dist/songbird/artifacts/contracts/genesis/implementation/GovernanceSettings.sol/GovernanceSettings.json +224 -0
- package/dist/songbird/artifacts/contracts/genesis/implementation/PriceSubmitter.sol/PriceSubmitter.json +2 -2
- package/dist/songbird/artifacts/contracts/genesis/implementation/StateConnector.sol/StateConnector.json +106 -785
- package/dist/songbird/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +24 -0
- package/dist/songbird/artifacts/contracts/{tokenPools/interface/IIDataAvailabilityRewardManager.sol/IIDataAvailabilityRewardManager.json → governance/implementation/GovernedBaseV2.sol/GovernedBaseV2.json} +97 -91
- package/dist/songbird/artifacts/contracts/governance/implementation/GovernedV2.sol/GovernedV2.json +220 -0
- package/dist/songbird/artifacts/contracts/governance/implementation/Governor.sol/Governor.json +22 -154
- package/dist/songbird/artifacts/contracts/governance/implementation/GovernorProposer.sol/GovernorProposer.json +126 -32
- package/dist/songbird/artifacts/contracts/governance/implementation/InflationAllocation.sol/InflationAllocation.json +2 -2
- package/dist/songbird/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +161 -90
- package/dist/songbird/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -31
- package/dist/songbird/artifacts/contracts/inflation/implementation/Inflation.sol/Inflation.json +2 -2
- package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnum.sol/InflationAnnum.json +2 -2
- package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnums.sol/InflationAnnums.json +2 -2
- package/dist/songbird/artifacts/contracts/inflation/lib/RewardServices.sol/RewardServices.json +2 -2
- package/dist/songbird/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +2 -2
- package/dist/songbird/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
- package/dist/songbird/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
- package/dist/songbird/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
- package/dist/songbird/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +25 -2
- package/dist/songbird/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
- package/dist/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +69 -0
- package/dist/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManagerV2.sol/IIFtsoRewardManagerV2.json +949 -0
- package/dist/songbird/artifacts/contracts/tokenPools/lib/DataProviderFee.sol/DataProviderFee.json +10 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/AddressSet.sol/AddressSet.json +10 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/FlareContractRegistry.sol/FlareContractRegistry.json +147 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +327 -33
- package/dist/songbird/artifacts/contracts/utils/implementation/FtsoRegistryProxy.sol/FtsoRegistryProxy.json +272 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +440 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/GovernedAndFlareDaemonizedV2.sol/GovernedAndFlareDaemonizedV2.json +238 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/ProxyGoverned.sol/ProxyGoverned.json +256 -0
- package/dist/songbird/artifacts/contracts/utils/implementation/RevertErrorTracking.sol/RevertErrorTracking.json +2 -20
- package/dist/songbird/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
- package/dist/songbird/artifacts/contracts/utils/interface/IIFtsoRegistry.sol/IIFtsoRegistry.json +175 -13
- package/dist/songbird/artifacts/contracts/utils/interface/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +120 -0
- package/dist/songbird/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +60 -0
- package/dist/songbird/artifacts/contracts/utils/interface/IUpdateValidators.sol/IUpdateValidators.json +18 -0
- package/dist/songbird/deploys/contractAddresses.d.ts +3 -0
- package/dist/songbird/deploys/contractAddresses.d.ts.map +1 -1
- package/dist/songbird/deploys/contractAddresses.js +19 -16
- package/dist/songbird/deploys/contractAddresses.js.map +1 -1
- package/dist/songbird/deploys/mapper.d.ts.map +1 -1
- package/dist/songbird/deploys/mapper.js +6 -2
- package/dist/songbird/deploys/mapper.js.map +1 -1
- package/package.json +1 -1
- package/dist/README.md +0 -5
- package/dist/coston/deploys/coston.json +0 -142
- package/dist/coston2/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +0 -561
- package/dist/coston2/deploys/coston2.json +0 -212
- package/dist/flare/artifacts/contracts/tokenPools/implementation/Distribution.sol/Distribution.json +0 -561
- package/dist/flare/deploys/flare.json +0 -207
- package/dist/package.json +0 -28
- package/dist/songbird/artifacts/contracts/tokenPools/implementation/DataAvailabilityRewardManager.sol/DataAvailabilityRewardManager.json +0 -566
- package/dist/songbird/deploys/songbird.json +0 -132
package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManager.sol/IIFtsoManager.json
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
{
|
|
10
10
|
"indexed": false,
|
|
11
11
|
"internalType": "uint256",
|
|
12
|
-
"name": "
|
|
12
|
+
"name": "epochId",
|
|
13
13
|
"type": "uint256"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"name": "
|
|
16
|
+
"name": "AccruingUnearnedRewardsFailed",
|
|
17
17
|
"type": "event"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"anonymous": false,
|
|
21
21
|
"inputs": [],
|
|
22
|
-
"name": "
|
|
22
|
+
"name": "ChillingNonrevealingDataProvidersFailed",
|
|
23
23
|
"type": "event"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -28,7 +28,20 @@
|
|
|
28
28
|
{
|
|
29
29
|
"indexed": false,
|
|
30
30
|
"internalType": "uint256",
|
|
31
|
-
"name": "
|
|
31
|
+
"name": "blockNumber",
|
|
32
|
+
"type": "uint256"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "CleanupBlockNumberManagerFailedForBlock",
|
|
36
|
+
"type": "event"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"anonymous": false,
|
|
40
|
+
"inputs": [
|
|
41
|
+
{
|
|
42
|
+
"indexed": false,
|
|
43
|
+
"internalType": "uint256",
|
|
44
|
+
"name": "rewardEpoch",
|
|
32
45
|
"type": "uint256"
|
|
33
46
|
}
|
|
34
47
|
],
|
|
@@ -111,6 +124,19 @@
|
|
|
111
124
|
"name": "FtsoAdded",
|
|
112
125
|
"type": "event"
|
|
113
126
|
},
|
|
127
|
+
{
|
|
128
|
+
"anonymous": false,
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"indexed": false,
|
|
132
|
+
"internalType": "contract IIFtso",
|
|
133
|
+
"name": "ftso",
|
|
134
|
+
"type": "address"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"name": "FtsoDeactivationFailed",
|
|
138
|
+
"type": "event"
|
|
139
|
+
},
|
|
114
140
|
{
|
|
115
141
|
"anonymous": false,
|
|
116
142
|
"inputs": [
|
|
@@ -187,6 +213,38 @@
|
|
|
187
213
|
"name": "RewardEpochFinalized",
|
|
188
214
|
"type": "event"
|
|
189
215
|
},
|
|
216
|
+
{
|
|
217
|
+
"anonymous": false,
|
|
218
|
+
"inputs": [
|
|
219
|
+
{
|
|
220
|
+
"indexed": false,
|
|
221
|
+
"internalType": "uint256",
|
|
222
|
+
"name": "rewardEpoch",
|
|
223
|
+
"type": "uint256"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"name": "UpdatingActiveValidatorsTriggerFailed",
|
|
227
|
+
"type": "event"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"anonymous": false,
|
|
231
|
+
"inputs": [
|
|
232
|
+
{
|
|
233
|
+
"indexed": false,
|
|
234
|
+
"internalType": "bool",
|
|
235
|
+
"name": "useGoodRandom",
|
|
236
|
+
"type": "bool"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"indexed": false,
|
|
240
|
+
"internalType": "uint256",
|
|
241
|
+
"name": "maxWaitForGoodRandomSeconds",
|
|
242
|
+
"type": "uint256"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"name": "UseGoodRandomSet",
|
|
246
|
+
"type": "event"
|
|
247
|
+
},
|
|
190
248
|
{
|
|
191
249
|
"inputs": [],
|
|
192
250
|
"name": "activate",
|
|
@@ -220,6 +278,45 @@
|
|
|
220
278
|
"stateMutability": "nonpayable",
|
|
221
279
|
"type": "function"
|
|
222
280
|
},
|
|
281
|
+
{
|
|
282
|
+
"inputs": [
|
|
283
|
+
{
|
|
284
|
+
"internalType": "contract IIFtso[]",
|
|
285
|
+
"name": "_ftsos",
|
|
286
|
+
"type": "address[]"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"name": "addFtsosBulk",
|
|
290
|
+
"outputs": [],
|
|
291
|
+
"stateMutability": "nonpayable",
|
|
292
|
+
"type": "function"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"inputs": [],
|
|
296
|
+
"name": "currentRewardEpochEnds",
|
|
297
|
+
"outputs": [
|
|
298
|
+
{
|
|
299
|
+
"internalType": "uint256",
|
|
300
|
+
"name": "",
|
|
301
|
+
"type": "uint256"
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"stateMutability": "view",
|
|
305
|
+
"type": "function"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"inputs": [],
|
|
309
|
+
"name": "daemonize",
|
|
310
|
+
"outputs": [
|
|
311
|
+
{
|
|
312
|
+
"internalType": "bool",
|
|
313
|
+
"name": "",
|
|
314
|
+
"type": "bool"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"stateMutability": "nonpayable",
|
|
318
|
+
"type": "function"
|
|
319
|
+
},
|
|
223
320
|
{
|
|
224
321
|
"inputs": [],
|
|
225
322
|
"name": "getCurrentPriceEpochData",
|
|
@@ -253,6 +350,19 @@
|
|
|
253
350
|
"stateMutability": "view",
|
|
254
351
|
"type": "function"
|
|
255
352
|
},
|
|
353
|
+
{
|
|
354
|
+
"inputs": [],
|
|
355
|
+
"name": "getCurrentPriceEpochId",
|
|
356
|
+
"outputs": [
|
|
357
|
+
{
|
|
358
|
+
"internalType": "uint256",
|
|
359
|
+
"name": "_priceEpochId",
|
|
360
|
+
"type": "uint256"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"stateMutability": "view",
|
|
364
|
+
"type": "function"
|
|
365
|
+
},
|
|
256
366
|
{
|
|
257
367
|
"inputs": [],
|
|
258
368
|
"name": "getCurrentRewardEpoch",
|
|
@@ -266,6 +376,25 @@
|
|
|
266
376
|
"stateMutability": "view",
|
|
267
377
|
"type": "function"
|
|
268
378
|
},
|
|
379
|
+
{
|
|
380
|
+
"inputs": [
|
|
381
|
+
{
|
|
382
|
+
"internalType": "contract IIFtso",
|
|
383
|
+
"name": "_ftso",
|
|
384
|
+
"type": "address"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"name": "getElasticBandWidthPPMFtso",
|
|
388
|
+
"outputs": [
|
|
389
|
+
{
|
|
390
|
+
"internalType": "uint256",
|
|
391
|
+
"name": "",
|
|
392
|
+
"type": "uint256"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"stateMutability": "view",
|
|
396
|
+
"type": "function"
|
|
397
|
+
},
|
|
269
398
|
{
|
|
270
399
|
"inputs": [],
|
|
271
400
|
"name": "getFallbackMode",
|
|
@@ -302,6 +431,29 @@
|
|
|
302
431
|
"stateMutability": "view",
|
|
303
432
|
"type": "function"
|
|
304
433
|
},
|
|
434
|
+
{
|
|
435
|
+
"inputs": [],
|
|
436
|
+
"name": "getLastUnprocessedPriceEpochData",
|
|
437
|
+
"outputs": [
|
|
438
|
+
{
|
|
439
|
+
"internalType": "uint256",
|
|
440
|
+
"name": "_lastUnprocessedPriceEpoch",
|
|
441
|
+
"type": "uint256"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"internalType": "uint256",
|
|
445
|
+
"name": "_lastUnprocessedPriceEpochRevealEnds",
|
|
446
|
+
"type": "uint256"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"internalType": "bool",
|
|
450
|
+
"name": "_lastUnprocessedPriceEpochInitialized",
|
|
451
|
+
"type": "bool"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"stateMutability": "view",
|
|
455
|
+
"type": "function"
|
|
456
|
+
},
|
|
305
457
|
{
|
|
306
458
|
"inputs": [],
|
|
307
459
|
"name": "getPriceEpochConfiguration",
|
|
@@ -327,12 +479,66 @@
|
|
|
327
479
|
},
|
|
328
480
|
{
|
|
329
481
|
"inputs": [],
|
|
330
|
-
"name": "
|
|
482
|
+
"name": "getRewardEpochConfiguration",
|
|
331
483
|
"outputs": [
|
|
332
484
|
{
|
|
333
|
-
"internalType": "
|
|
485
|
+
"internalType": "uint256",
|
|
486
|
+
"name": "_firstRewardEpochStartTs",
|
|
487
|
+
"type": "uint256"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"internalType": "uint256",
|
|
491
|
+
"name": "_rewardEpochDurationSeconds",
|
|
492
|
+
"type": "uint256"
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"stateMutability": "view",
|
|
496
|
+
"type": "function"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"inputs": [
|
|
500
|
+
{
|
|
501
|
+
"internalType": "uint256",
|
|
502
|
+
"name": "_rewardEpochId",
|
|
503
|
+
"type": "uint256"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"name": "getRewardEpochData",
|
|
507
|
+
"outputs": [
|
|
508
|
+
{
|
|
509
|
+
"components": [
|
|
510
|
+
{
|
|
511
|
+
"internalType": "uint256",
|
|
512
|
+
"name": "votepowerBlock",
|
|
513
|
+
"type": "uint256"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"internalType": "uint256",
|
|
517
|
+
"name": "startBlock",
|
|
518
|
+
"type": "uint256"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"internalType": "uint256",
|
|
522
|
+
"name": "startTimestamp",
|
|
523
|
+
"type": "uint256"
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"internalType": "struct IIFtsoManager.RewardEpochData",
|
|
334
527
|
"name": "",
|
|
335
|
-
"type": "
|
|
528
|
+
"type": "tuple"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"stateMutability": "view",
|
|
532
|
+
"type": "function"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"inputs": [],
|
|
536
|
+
"name": "getRewardEpochToExpireNext",
|
|
537
|
+
"outputs": [
|
|
538
|
+
{
|
|
539
|
+
"internalType": "uint256",
|
|
540
|
+
"name": "",
|
|
541
|
+
"type": "uint256"
|
|
336
542
|
}
|
|
337
543
|
],
|
|
338
544
|
"stateMutability": "view",
|
|
@@ -357,6 +563,38 @@
|
|
|
357
563
|
"stateMutability": "view",
|
|
358
564
|
"type": "function"
|
|
359
565
|
},
|
|
566
|
+
{
|
|
567
|
+
"inputs": [],
|
|
568
|
+
"name": "getRewardExpiryOffsetSeconds",
|
|
569
|
+
"outputs": [
|
|
570
|
+
{
|
|
571
|
+
"internalType": "uint256",
|
|
572
|
+
"name": "",
|
|
573
|
+
"type": "uint256"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"stateMutability": "view",
|
|
577
|
+
"type": "function"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"inputs": [
|
|
581
|
+
{
|
|
582
|
+
"internalType": "contract IIFtso",
|
|
583
|
+
"name": "",
|
|
584
|
+
"type": "address"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"name": "notInitializedFtsos",
|
|
588
|
+
"outputs": [
|
|
589
|
+
{
|
|
590
|
+
"internalType": "bool",
|
|
591
|
+
"name": "",
|
|
592
|
+
"type": "bool"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"stateMutability": "view",
|
|
596
|
+
"type": "function"
|
|
597
|
+
},
|
|
360
598
|
{
|
|
361
599
|
"inputs": [
|
|
362
600
|
{
|
|
@@ -372,11 +610,6 @@
|
|
|
372
610
|
},
|
|
373
611
|
{
|
|
374
612
|
"inputs": [
|
|
375
|
-
{
|
|
376
|
-
"internalType": "contract IIFtso",
|
|
377
|
-
"name": "_ftsoToRemove",
|
|
378
|
-
"type": "address"
|
|
379
|
-
},
|
|
380
613
|
{
|
|
381
614
|
"internalType": "contract IIFtso",
|
|
382
615
|
"name": "_ftsoToAdd",
|
|
@@ -398,6 +631,42 @@
|
|
|
398
631
|
"stateMutability": "nonpayable",
|
|
399
632
|
"type": "function"
|
|
400
633
|
},
|
|
634
|
+
{
|
|
635
|
+
"inputs": [
|
|
636
|
+
{
|
|
637
|
+
"internalType": "contract IIFtso[]",
|
|
638
|
+
"name": "_ftsosToAdd",
|
|
639
|
+
"type": "address[]"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"internalType": "bool",
|
|
643
|
+
"name": "copyCurrentPrice",
|
|
644
|
+
"type": "bool"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"internalType": "bool",
|
|
648
|
+
"name": "copyAssetOrAssetFtsos",
|
|
649
|
+
"type": "bool"
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"name": "replaceFtsosBulk",
|
|
653
|
+
"outputs": [],
|
|
654
|
+
"stateMutability": "nonpayable",
|
|
655
|
+
"type": "function"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"inputs": [],
|
|
659
|
+
"name": "rewardEpochDurationSeconds",
|
|
660
|
+
"outputs": [
|
|
661
|
+
{
|
|
662
|
+
"internalType": "uint256",
|
|
663
|
+
"name": "",
|
|
664
|
+
"type": "uint256"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"stateMutability": "view",
|
|
668
|
+
"type": "function"
|
|
669
|
+
},
|
|
401
670
|
{
|
|
402
671
|
"inputs": [
|
|
403
672
|
{
|
|
@@ -427,6 +696,19 @@
|
|
|
427
696
|
"stateMutability": "view",
|
|
428
697
|
"type": "function"
|
|
429
698
|
},
|
|
699
|
+
{
|
|
700
|
+
"inputs": [],
|
|
701
|
+
"name": "rewardEpochsStartTs",
|
|
702
|
+
"outputs": [
|
|
703
|
+
{
|
|
704
|
+
"internalType": "uint256",
|
|
705
|
+
"name": "",
|
|
706
|
+
"type": "uint256"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"stateMutability": "view",
|
|
710
|
+
"type": "function"
|
|
711
|
+
},
|
|
430
712
|
{
|
|
431
713
|
"inputs": [
|
|
432
714
|
{
|
|
@@ -496,6 +778,11 @@
|
|
|
496
778
|
},
|
|
497
779
|
{
|
|
498
780
|
"inputs": [
|
|
781
|
+
{
|
|
782
|
+
"internalType": "uint256",
|
|
783
|
+
"name": "_updateTs",
|
|
784
|
+
"type": "uint256"
|
|
785
|
+
},
|
|
499
786
|
{
|
|
500
787
|
"internalType": "uint256",
|
|
501
788
|
"name": "_maxVotePowerNatThresholdFraction",
|
|
@@ -526,6 +813,11 @@
|
|
|
526
813
|
"name": "_lowNatTurnoutThresholdBIPS",
|
|
527
814
|
"type": "uint256"
|
|
528
815
|
},
|
|
816
|
+
{
|
|
817
|
+
"internalType": "uint256",
|
|
818
|
+
"name": "_elasticBandRewardBIPS",
|
|
819
|
+
"type": "uint256"
|
|
820
|
+
},
|
|
529
821
|
{
|
|
530
822
|
"internalType": "uint256",
|
|
531
823
|
"name": "_rewardExpiryOffsetSeconds",
|
|
@@ -543,56 +835,39 @@
|
|
|
543
835
|
"type": "function"
|
|
544
836
|
},
|
|
545
837
|
{
|
|
546
|
-
"inputs": [
|
|
547
|
-
"name": "settings",
|
|
548
|
-
"outputs": [
|
|
549
|
-
{
|
|
550
|
-
"internalType": "uint256",
|
|
551
|
-
"name": "_maxVotePowerNatThresholdFraction",
|
|
552
|
-
"type": "uint256"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"internalType": "uint256",
|
|
556
|
-
"name": "_maxVotePowerAssetThresholdFraction",
|
|
557
|
-
"type": "uint256"
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"internalType": "uint256",
|
|
561
|
-
"name": "_lowAssetUSDThreshold",
|
|
562
|
-
"type": "uint256"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"internalType": "uint256",
|
|
566
|
-
"name": "_highAssetUSDThreshold",
|
|
567
|
-
"type": "uint256"
|
|
568
|
-
},
|
|
838
|
+
"inputs": [
|
|
569
839
|
{
|
|
570
840
|
"internalType": "uint256",
|
|
571
|
-
"name": "
|
|
841
|
+
"name": "_nextRewardEpochToExpire",
|
|
572
842
|
"type": "uint256"
|
|
573
843
|
},
|
|
574
844
|
{
|
|
575
845
|
"internalType": "uint256",
|
|
576
|
-
"name": "
|
|
846
|
+
"name": "_rewardEpochsLength",
|
|
577
847
|
"type": "uint256"
|
|
578
848
|
},
|
|
579
849
|
{
|
|
580
850
|
"internalType": "uint256",
|
|
581
|
-
"name": "
|
|
851
|
+
"name": "_currentRewardEpochEnds",
|
|
582
852
|
"type": "uint256"
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"name": "setInitialRewardData",
|
|
856
|
+
"outputs": [],
|
|
857
|
+
"stateMutability": "nonpayable",
|
|
858
|
+
"type": "function"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"inputs": [],
|
|
862
|
+
"name": "switchToFallbackMode",
|
|
863
|
+
"outputs": [
|
|
589
864
|
{
|
|
590
865
|
"internalType": "bool",
|
|
591
|
-
"name": "
|
|
866
|
+
"name": "",
|
|
592
867
|
"type": "bool"
|
|
593
868
|
}
|
|
594
869
|
],
|
|
595
|
-
"stateMutability": "
|
|
870
|
+
"stateMutability": "nonpayable",
|
|
596
871
|
"type": "function"
|
|
597
872
|
}
|
|
598
873
|
],
|
package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoManagerV1.sol/IIFtsoManagerV1.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IIFtsoManagerV1",
|
|
4
|
+
"sourceName": "contracts/ftso/interface/IIFtsoManagerV1.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "getCurrentRewardEpoch",
|
|
9
|
+
"outputs": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint256",
|
|
12
|
+
"name": "",
|
|
13
|
+
"type": "uint256"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"stateMutability": "view",
|
|
17
|
+
"type": "function"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"inputs": [],
|
|
21
|
+
"name": "getPriceEpochConfiguration",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint256",
|
|
25
|
+
"name": "_firstPriceEpochStartTs",
|
|
26
|
+
"type": "uint256"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint256",
|
|
30
|
+
"name": "_priceEpochDurationSeconds",
|
|
31
|
+
"type": "uint256"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"internalType": "uint256",
|
|
35
|
+
"name": "_revealEpochDurationSeconds",
|
|
36
|
+
"type": "uint256"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"stateMutability": "view",
|
|
40
|
+
"type": "function"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [],
|
|
44
|
+
"name": "rewardEpochDurationSeconds",
|
|
45
|
+
"outputs": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "uint256",
|
|
48
|
+
"name": "",
|
|
49
|
+
"type": "uint256"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"stateMutability": "view",
|
|
53
|
+
"type": "function"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"inputs": [
|
|
57
|
+
{
|
|
58
|
+
"internalType": "uint256",
|
|
59
|
+
"name": "_rewardEpochId",
|
|
60
|
+
"type": "uint256"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"name": "rewardEpochs",
|
|
64
|
+
"outputs": [
|
|
65
|
+
{
|
|
66
|
+
"internalType": "uint256",
|
|
67
|
+
"name": "_votepowerBlock",
|
|
68
|
+
"type": "uint256"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"internalType": "uint256",
|
|
72
|
+
"name": "_startBlock",
|
|
73
|
+
"type": "uint256"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint256",
|
|
77
|
+
"name": "_startTimestamp",
|
|
78
|
+
"type": "uint256"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "rewardEpochsStartTs",
|
|
87
|
+
"outputs": [
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint256",
|
|
90
|
+
"name": "",
|
|
91
|
+
"type": "uint256"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"stateMutability": "view",
|
|
95
|
+
"type": "function"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"bytecode": "0x",
|
|
99
|
+
"deployedBytecode": "0x",
|
|
100
|
+
"linkReferences": {},
|
|
101
|
+
"deployedLinkReferences": {}
|
|
102
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"contractName": "FtsoEpoch",
|
|
4
4
|
"sourceName": "contracts/ftso/lib/FtsoEpoch.sol",
|
|
5
5
|
"abi": [],
|
|
6
|
-
"bytecode": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202725d091ace58a9b36cd1403cf67b9ba56df0834b65e7d21d58391c3a18db9ae64736f6c63430007060033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202725d091ace58a9b36cd1403cf67b9ba56df0834b65e7d21d58391c3a18db9ae64736f6c63430007060033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|