Skip to content

Commit

Permalink
init deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJonaseb11 committed Jun 4, 2024
1 parent 868ecee commit 6225ac9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions smart_contract/arguments.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = [
"Meta",
"Meta",
"50000000000000000000",
"0",
"0",
"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
];
2 changes: 2 additions & 0 deletions smart_contract/contracts/Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ contract NFTMintDN404 is DN404, ERC20Permit, Ownable{
allowlistPrice = allowlistPrice_;
}


// utilities
function nftTotalSupply() public view returns (uint256) {
return _totalNFTSupply();
}
Expand Down
2 changes: 1 addition & 1 deletion smart_contract/scripts/deployToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const main = async() => {

console.log("Deploying contract with account:", deployer.address);

const Token = await ethers.getContractFactory("NFTMintDN404";
const Token = await ethers.getContractFactory("NFTMintDN404");
const token = await Token.deploy(
name,
symbol,
Expand Down

0 comments on commit 6225ac9

Please sign in to comment.