Modifier notYieldCollectionPaused is used only once and that is in getYield() which is in VeUnoDaoYieldDistributor.sol. Because of that, the modifier code can be just pasted in the getYield()'s body.
modifier notYieldCollectionPaused() { //@audit used only once
require(!yieldCollectionPaused, "VeUnoYD: YCP");
_;
}
Modifier
notYieldCollectionPaused
is used only once and that is ingetYield()
which is inVeUnoDaoYieldDistributor.sol
. Because of that, the modifier code can be just pasted in thegetYield()
's body.