JBDeadline
Inherits: IJBRulesetApprovalHook
JBDeadline
is a ruleset approval hook which rejects rulesets if they are not queued at least duration
seconds before the current ruleset ends. In other words, rulesets must be queued before the deadline to take effect.
Project rulesets are stored in a queue. Rulesets take effect after the previous ruleset in the queue ends, and only if they are approved by the previous ruleset's approval hook.
State Variables
DURATION
The minimum number of seconds between the time a ruleset is queued and the time it starts. If the
difference is greater than this number, the ruleset is Approved
.
uint256 public immutable override DURATION;
Functions
constructor
constructor(uint256 duration);