Skip to content

contract.SaleControl

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

SaleControl

Git Source

Inherits: Ownable

State Variables

__SALE_NEVER_STARTS

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

startTimestamp

uint256 public startTimestamp = __SALE_NEVER_STARTS;

Functions

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