LimitedSetup¶
Description¶
This contract allows certain functions within inheriting contracts to only operate during a specific limited setup period. After this period elapses, any functions with the onlyDuringSetup
modifier no longer operate.
Source: contracts/LimitedSetup.sol
Variables¶
setupExpiryTime
¶
The timestamp at which functions which have the onlyDuringSetup
modifier will cease operating. This is determined by the setupDuration
parameter passed into the contract constructor.
Type: uint256
Constructor¶
constructor
¶
Details
Signature
constructor(uint256 setupDuration)
Visibility
internal
State Mutability
``
Modifiers¶
onlyDuringSetup
¶
Reverts the transaction if the current timestamp is not before setupExpiryTime
.