Calm Fiery Llama
Medium
A missing modifier in every Fee Management function allows every type of FeeBasisPoint
to be changed while the contract is paused.
Every Fee Management function can be called when the contract is paused.
None.
None.
- A Voucher wants to call
EthosVouch::vouchByAddress()
,EthosVouch::vouchByProfileId()
orEthosVouch::unvouch()
to vouch for a profile or unvouch as he likes the current fee condtions. - The contract is paused.
- While the contract is paused, the current
FeeBasisPoints
can be changed. - When the contract is unpaused, the fee conditions will be different and the user will not be able to vouch or unvouch for the same conditions.
Users might not be able to vouch for the conditions they originally wanted to. Additionally, users may have to pay a higher exit fee as they can't unvouch when the contract is paused, but the exitFeeBasisPoints
can be increased.
No response
Add whenNotPaused
modifier to every Fee Management function in EthosVouch.sol
just like in ReputationMarket.sol
.