Skip to content

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

Source

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

Source

Details

Signature

(uint256 setupDuration)

Visibility

internal

State Mutability

nonpayable

Modifiers

onlyDuringSetup

Source

Reverts the transaction if the current timestamp is not before setupExpiryTime.