Skip to content

Commit

Permalink
retrieve basic info
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed Jun 3, 2024
1 parent fae2b64 commit db5ae1e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions smart_contract/contracts/Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,22 @@ contract NFTMintDN404 is DN404, ERC20Permit, Ownable {
live = !live
}

// initialize withdraw functionality
function withdraw() {
SafeTransferLib.safeTransferAllETH(msg.sender);
}

// retrieving the basic information
function name() public view override returns(string memory) {
return _name;
}

function symbol() public view returns(string memory) {
return _symbol;
}





}

0 comments on commit db5ae1e

Please sign in to comment.