diff --git a/backend/.env.example b/backend/.env.example deleted file mode 100644 index eb5d486056..0000000000 --- a/backend/.env.example +++ /dev/null @@ -1 +0,0 @@ -NFTPORT_API_KEY= \ No newline at end of file diff --git a/backend/src/config.js b/backend/src/config.js index 79cc89ea19..a7f1390cf1 100644 --- a/backend/src/config.js +++ b/backend/src/config.js @@ -7,7 +7,7 @@ const { NETWORK } = require(`${basePath}/constants/network.js`); const network = NETWORK.eth; // General metadata for Ethereum -const namePrefix = "YOUR COLLECTION NAME"; +const namePrefix = "MY COLLECTION "; const description = "Remember to replace this description"; const baseUri = "ipfs://NewUriToReplace"; // This will be replaced automatically @@ -37,7 +37,7 @@ const format = { }; const extraMetadata = { - external_url: "https://codecats.xyz", // Replace with your website or remove this line if you do not have one. + external_url: "https://astonishing-parfait-37e0cd.netlify.app/", // Replace with your website or remove this line if you do not have one. }; // NFTPort Info @@ -51,19 +51,19 @@ const CHAIN = 'rinkeby'; // only rinkeby, polygon, or ethereum const CONTRACT_NAME = 'CRYPTOPUNKS'; const CONTRACT_SYMBOL = 'CP'; const METADATA_UPDATABLE = true; // set to false if you don't want to allow metadata updates after minting -const OWNER_ADDRESS = 'YOUR WALLET ADDRESS HERE'; -const TREASURY_ADDRESS = 'YOUR WALLET ADDRESS HERE'; +const OWNER_ADDRESS = '0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6'; +const TREASURY_ADDRESS = '0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6'; const MAX_SUPPLY = 5000; // The maximum number of NFTs that can be minted. CANNOT BE UPDATED! const MINT_PRICE = 0.01; // Minting price per NFT. Rinkeby = ETH, Ethereum = ETH, Polygon = MATIC. CANNOT BE UPDATED! const TOKENS_PER_MINT = 10; // maximum number of NFTs a user can mint in a single transaction. CANNOT BE UPDATED! // REQUIRED CONTRACT DETAILS THAT CAN BE UPDATED LATER. -const PUBLIC_MINT_START_DATE = "2022-03-20T11:30:48+00:00"; // This is required. Eg: 2022-02-08T11:30:48+00:00 +const PUBLIC_MINT_START_DATE = "2022-10-10T11:30:48+00:00"; // This is required. Eg: 2022-02-08T11:30:48+00:00 // OPTIONAL CONTRACT DETAILS THAT CAN BE UPDATED LATER. -const PRESALE_MINT_START_DATE = null; // Optional. Eg: 2022-02-08T11:30:48+00:00 +const PRESALE_MINT_START_DATE = "2022-09-16T11:30:48+00:00"; // Optional. Eg: 2022-02-08T11:30:48+00:00 const ROYALTY_SHARE = 1000; // Percentage of the token price that goes to the royalty address. 100 bps = 1% -const ROYALTY_ADDRESS = "0xd8B808A887326F45B2D0cd999709Aa6264CeF919"; // Address that will receive the royalty +const ROYALTY_ADDRESS = "0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6"; // Address that will receive the royalty const BASE_URI = null; // only update if you want to manually set the base uri const PREREVEAL_TOKEN_URI = null; // only update if you want to manually set the prereveal token uri const PRESALE_WHITELISTED_ADDRESSES = []; // only update if you want to manually set the whitelisted addresses @@ -74,8 +74,8 @@ let CONTRACT_ADDRESS = "YOUR CONTRACT ADDRESS"; // If you want to manually inclu // Generic Metadata is optional if you want to reveal your NFTs const GENERIC = true; // Set to true if you want to upload generic metas and reveal the real NFTs in the future const GENERIC_TITLE = CONTRACT_NAME; // Replace with what you want the generic titles to say if you want it to be different from the contract name. -const GENERIC_DESCRIPTION = "REPLACE THIS"; // Replace with what you want the generic descriptions to say. -const GENERIC_IMAGE = "https://ipfs.io/ipfs/QmUf9tDbkqnfHkQaMdFWSGAeXwVXWA61pFED7ypx4hcsfh"; // Replace with your generic image that will display for all NFTs pre-reveal. +const GENERIC_DESCRIPTION = "which one you will get !"; // Replace with what you want the generic descriptions to say. +const GENERIC_IMAGE = "https://ipfs.io/ipfs/bafkreihy3f4yrfuhm7juwfzxfkxewcpe4hcqvjh77bvn3r6ujw4sddsdwa"; // Replace with your generic image that will display for all NFTs pre-reveal. // Automatically set contract address if deployed using the deployContract.js script try { @@ -97,8 +97,8 @@ const solanaMetadata = { external_url: "https://www.youtube.com/c/hashlipsnft", creators: [ { - address: "7fXNuer5sbZtaTEPhtJ5g5gNtuyRoKkvxdjEjEnPN4mC", - share: 100, + address: "0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6", + share: 1, }, ], }; diff --git a/frontend/css/style.css b/frontend/css/style.css index 8455785888..b2919c46b8 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -8,11 +8,11 @@ --font-primary: "Poppins", sans-serif; --font-secondary: "Arvo", serif; --font-code: "Roboto", monospace; - --bg-color: #00163f; + --bg-color: #234585; --bg-color-transparent: #00163f80; --font-color: #ffffff; --btn-bg-color: #ffffff; - --accent-color: #be7efe; + --accent-color: #0979aa; --header-shadow: var(--accent-color) 0px 0px 5px; --card-shadow: var(--accent-color) 0px 0px 20px; } diff --git a/frontend/index.html b/frontend/index.html index c4934196dd..1b19485ccc 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,7 +1,7 @@ - CodeCats + OUSS @@ -39,21 +39,21 @@ diff --git a/frontend/js/abi.js b/frontend/js/abi.js index 8f27b4e5a5..191ee29647 100644 --- a/frontend/js/abi.js +++ b/frontend/js/abi.js @@ -1 +1,1566 @@ -const abi = [] +const abi= [ + { + "inputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "maxSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reservedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "tokensPerMint", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "treasuryAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.DeploymentConfig", + "name": "deploymentConfig", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "string", + "name": "baseURI", + "type": "string" + }, + { + "internalType": "bool", + "name": "metadataUpdatable", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "publicMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "presaleMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "presaleMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintStart", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "presaleMintStart", + "type": "uint256" + }, + { + "internalType": "string", + "name": "prerevealTokenURI", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "presaleMerkleRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "royaltiesBps", + "type": "uint256" + }, + { + "internalType": "address", + "name": "royaltiesAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.RuntimeConfig", + "name": "runtimeConfig", + "type": "tuple" + } + ], + "stateMutability": "nonpayable", + "type": "constructor", + "signature": "constructor" + }, + { + "inputs": [], + "name": "ApprovalCallerNotOwnerNorApproved", + "type": "error" + }, + { + "inputs": [], + "name": "ApprovalQueryForNonexistentToken", + "type": "error" + }, + { + "inputs": [], + "name": "ApprovalToCurrentOwner", + "type": "error" + }, + { + "inputs": [], + "name": "ApproveToCaller", + "type": "error" + }, + { + "inputs": [], + "name": "BalanceQueryForZeroAddress", + "type": "error" + }, + { + "inputs": [], + "name": "MintToZeroAddress", + "type": "error" + }, + { + "inputs": [], + "name": "MintZeroQuantity", + "type": "error" + }, + { + "inputs": [], + "name": "OwnerQueryForNonexistentToken", + "type": "error" + }, + { + "inputs": [], + "name": "TransferCallerNotOwnerNorApproved", + "type": "error" + }, + { + "inputs": [], + "name": "TransferFromIncorrectOwner", + "type": "error" + }, + { + "inputs": [], + "name": "TransferToNonERC721ReceiverImplementer", + "type": "error" + }, + { + "inputs": [], + "name": "TransferToZeroAddress", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "approved", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event", + "signature": "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event", + "signature": "0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event", + "signature": "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event", + "signature": "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event", + "signature": "0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event", + "signature": "0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event", + "signature": "0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event", + "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + }, + { + "inputs": [], + "name": "ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x75b238fc" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xa217fddf" + }, + { + "inputs": [], + "name": "ROYALTIES_BASIS", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x9da5b0a5" + }, + { + "inputs": [], + "name": "VERSION", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xffa1ad74" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x095ea7b3" + }, + { + "inputs": [], + "name": "availableSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x7ecc2b56" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x70a08231" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x6c0360eb" + }, + { + "inputs": [], + "name": "contractURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xe8a3d485" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x081812fc" + }, + { + "inputs": [], + "name": "getInfo", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "version", + "type": "uint256" + }, + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "maxSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reservedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "tokensPerMint", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "treasuryAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.DeploymentConfig", + "name": "deploymentConfig", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "string", + "name": "baseURI", + "type": "string" + }, + { + "internalType": "bool", + "name": "metadataUpdatable", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "publicMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "presaleMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "presaleMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintStart", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "presaleMintStart", + "type": "uint256" + }, + { + "internalType": "string", + "name": "prerevealTokenURI", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "presaleMerkleRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "royaltiesBps", + "type": "uint256" + }, + { + "internalType": "address", + "name": "royaltiesAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.RuntimeConfig", + "name": "runtimeConfig", + "type": "tuple" + } + ], + "internalType": "struct NFTCollection.ContractInfo", + "name": "info", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x5a9b0b89" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x248a9ca3" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x2f2ff15d" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x91d14854" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "maxSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "reservedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "tokensPerMint", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "treasuryAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.DeploymentConfig", + "name": "deploymentConfig", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "string", + "name": "baseURI", + "type": "string" + }, + { + "internalType": "bool", + "name": "metadataUpdatable", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "publicMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "presaleMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "presaleMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintStart", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "presaleMintStart", + "type": "uint256" + }, + { + "internalType": "string", + "name": "prerevealTokenURI", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "presaleMerkleRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "royaltiesBps", + "type": "uint256" + }, + { + "internalType": "address", + "name": "royaltiesAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.RuntimeConfig", + "name": "runtimeConfig", + "type": "tuple" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd1bff694" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xe985e9c5" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "wallet", + "type": "address" + }, + { + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" + } + ], + "name": "isWhitelisted", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x5a23dd99" + }, + { + "inputs": [], + "name": "maxSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xd5abeb01" + }, + { + "inputs": [], + "name": "metadataUpdatable", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x4e6f9dd6" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "payable": true, + "signature": "0xa0712d68" + }, + { + "inputs": [], + "name": "mintingActive", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x31f9c919" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x06fdde03" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x8da5cb5b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x6352211e" + }, + { + "inputs": [], + "name": "prerevealTokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xf4ad0f97" + }, + { + "inputs": [], + "name": "presaleActive", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x53135ca0" + }, + { + "inputs": [], + "name": "presaleMerkleRoot", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x22212e2b" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" + } + ], + "name": "presaleMint", + "outputs": [], + "stateMutability": "payable", + "type": "function", + "payable": true, + "signature": "0xe3e1e8ef" + }, + { + "inputs": [], + "name": "presaleMintPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x5be50521" + }, + { + "inputs": [], + "name": "presaleMintStart", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x4653124b" + }, + { + "inputs": [], + "name": "publicMintPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xdc53fd92" + }, + { + "inputs": [], + "name": "publicMintStart", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x8cfec4c0" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x36568abe" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "reserveMint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb0ea1802" + }, + { + "inputs": [], + "name": "reserveRemaining", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x5c629f4c" + }, + { + "inputs": [], + "name": "reservedSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x44d19d2b" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd547741f" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "salePrice", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint256", + "name": "royaltyAmount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x2a55205a" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x42842e0e" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb88d4fde" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xa22cb465" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x01ffc9a7" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x95d89b41" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xc87b56dd" + }, + { + "inputs": [], + "name": "tokensPerMint", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x0807b9e2" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0x18160ddd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "transferAdminRights", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xb5106add" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x23b872dd" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xf2fde38b" + }, + { + "inputs": [], + "name": "treasuryAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function", + "constant": true, + "signature": "0xc5f956af" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "string", + "name": "baseURI", + "type": "string" + }, + { + "internalType": "bool", + "name": "metadataUpdatable", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "publicMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "presaleMintPrice", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "presaleMintPriceFrozen", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "publicMintStart", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "presaleMintStart", + "type": "uint256" + }, + { + "internalType": "string", + "name": "prerevealTokenURI", + "type": "string" + }, + { + "internalType": "bytes32", + "name": "presaleMerkleRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "royaltiesBps", + "type": "uint256" + }, + { + "internalType": "address", + "name": "royaltiesAddress", + "type": "address" + } + ], + "internalType": "struct NFTCollection.RuntimeConfig", + "name": "newConfig", + "type": "tuple" + } + ], + "name": "updateConfig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0xd761aa48" + }, + { + "inputs": [], + "name": "withdrawFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function", + "signature": "0x476343ee" + } + ] + diff --git a/frontend/js/constants.js b/frontend/js/constants.js index 1d8868462d..ec92290f45 100644 --- a/frontend/js/constants.js +++ b/frontend/js/constants.js @@ -1,9 +1,9 @@ -const contractAddress = "YOUR CONTRACT ADDRESS"; // Replace with your own contract address +const contractAddress = "0x950dc363d674f9115c1d41c539472e2334cb276b"; // Replace with your own contract address const chain = 'rinkeby'; // rinkeby, polygon, or ethereum const welcome_h1 = "Welcome to the CodeCats NFT Project!!"; const welcome_h2 = "Connect to MetaMask to Get Started"; -const welcome_p = 'The CodeCats NFT Project is a decentralized, open-source project that aims to demonstrate how to develope and launch your own NFT Collection. Follow step by step on the codeSTACKr YouTube channel.'; +const welcome_p = 'The OUSS NFT Project is a decentralized, open-source project that aims to demonstrate how to develope and launch your own NFT Collection.'; const h1_presale_coming_soon = "NFT Drop Coming Soon!!"; const h1_presale_mint = "Pre-Sale Minting Open!!"; const h1_public_mint = "Public Minting Open!!"; diff --git a/frontend/netlify.toml b/frontend/netlify.toml index 3a8f91313d..6ab9275741 100644 --- a/frontend/netlify.toml +++ b/frontend/netlify.toml @@ -1,2 +1,2 @@ [build] - functions = "functions" \ No newline at end of file + functions = "functions" diff --git a/frontend/package.json b/frontend/package.json index f2963f5195..7d5776512d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -16,8 +16,14 @@ "bugs": { "url": "https://github.com/codeSTACKr/nft-landing-page/issues" }, - "homepage": "https://github.com/codeSTACKr/nft-landing-page#readme", + "homepage": "https://velvety-chaja-a01fe8.netlify.app", "dependencies": { "node-fetch": "^2.6.7" + }, + "env" :{ + "es2020": true, + "browser": true, + "node": true, + "mocha": true } -} \ No newline at end of file +}