Skip to content

contract.SaleControlUpgradeable

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

SaleControlUpgradeable

Git Source

Inherits: OwnableUpgradeable

State Variables

__SALE_NEVER_STARTS

uint256 public constant __SALE_NEVER_STARTS = 2 ** 256 - 1;

startTimestamp

uint256 public startTimestamp;

Functions

initialize

function initialize() internal onlyInitializing;

whenSaleStarted

modifier whenSaleStarted();

updateStartTimestamp

function updateStartTimestamp(uint256 _startTimestamp) public onlyOwner;

startSale

function startSale() public onlyOwner;

stopSale

function stopSale() public onlyOwner;

saleStarted

function saleStarted() public view returns (bool);
Clone this wiki locally