|
| 1 | +//SPDX-License-Identifier: MIT |
| 2 | +pragma solidity ^0.8.0; |
| 3 | + |
| 4 | +interface IStateUtils { |
| 5 | + event SetDaoApps( |
| 6 | + address agentAppPrimary, |
| 7 | + address agentAppSecondary, |
| 8 | + address votingAppPrimary, |
| 9 | + address votingAppSecondary |
| 10 | + ); |
| 11 | + |
| 12 | + event SetClaimsManagerStatus( |
| 13 | + address indexed claimsManager, |
| 14 | + bool indexed status |
| 15 | + ); |
| 16 | + |
| 17 | + event SetStakeTarget(uint256 stakeTarget); |
| 18 | + |
| 19 | + event SetMaxApr(uint256 maxApr); |
| 20 | + |
| 21 | + event SetMinApr(uint256 minApr); |
| 22 | + |
| 23 | + event SetUnstakeWaitPeriod(uint256 unstakeWaitPeriod); |
| 24 | + |
| 25 | + event SetAprUpdateStep(uint256 aprUpdateStep); |
| 26 | + |
| 27 | + event SetProposalVotingPowerThreshold(uint256 proposalVotingPowerThreshold); |
| 28 | + |
| 29 | + event UpdatedLastProposalTimestamp( |
| 30 | + address indexed user, |
| 31 | + uint256 lastProposalTimestamp, |
| 32 | + address votingApp |
| 33 | + ); |
| 34 | + |
| 35 | + function setDaoApps( |
| 36 | + address _agentAppPrimary, |
| 37 | + address _agentAppSecondary, |
| 38 | + address _votingAppPrimary, |
| 39 | + address _votingAppSecondary |
| 40 | + ) |
| 41 | + external; |
| 42 | + |
| 43 | + function setClaimsManagerStatus( |
| 44 | + address claimsManager, |
| 45 | + bool status |
| 46 | + ) |
| 47 | + external; |
| 48 | + |
| 49 | + function setStakeTarget(uint256 _stakeTarget) |
| 50 | + external; |
| 51 | + |
| 52 | + function setMaxApr(uint256 _maxApr) |
| 53 | + external; |
| 54 | + |
| 55 | + function setMinApr(uint256 _minApr) |
| 56 | + external; |
| 57 | + |
| 58 | + function setUnstakeWaitPeriod(uint256 _unstakeWaitPeriod) |
| 59 | + external; |
| 60 | + |
| 61 | + function setAprUpdateStep(uint256 _aprUpdateStep) |
| 62 | + external; |
| 63 | + |
| 64 | + function setProposalVotingPowerThreshold(uint256 _proposalVotingPowerThreshold) |
| 65 | + external; |
| 66 | + |
| 67 | + function updateLastProposalTimestamp(address userAddress) |
| 68 | + external; |
| 69 | + |
| 70 | + function isGenesisEpoch() |
| 71 | + external |
| 72 | + view |
| 73 | + returns (bool); |
| 74 | +} |
0 commit comments