Skip to content

Commit

Permalink
update toggle liveness
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed Jun 3, 2024
1 parent 85996dd commit 2f63c02
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion smart_contract/contracts/Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ contract NFTMintDN404 is DN404, ERC20Permit, Ownable {

// initialize the toggle live functionality
function toggleLive() public onlyOwner {
live = !live
if (live) {
live = false;
} else {
live = true;
}
}

// initialize withdraw functionality
Expand Down

0 comments on commit 2f63c02

Please sign in to comment.