{"version":3,"sources":["components/Button.jsx","components/Navbar.jsx","components/HeroSection.jsx","components/Footer.jsx","components/AncientChip.jsx","components/Roadmap.jsx","components/Who.jsx","components/Trailer.jsx","components/pages/Chip.jsx","App.jsx","index.js"],"names":["STYLES","SIZES","Button","children","type","onClick","buttonStyle","buttonSize","checkButtonStyle","includes","checkButtonSize","className","Navbar","props","useState","click","setClick","setButton","connectMobileWallet","a","window","ethereum","request","method","wallet","connect","alert","connectWallet","showButton","innerWidth","useEffect","addEventListener","console","log","address","href","target","status","account","HeroSection","id","autoPlay","muted","loop","src","Footer","class","AncientChip","rel","Roadmap","Who","Trailer","Chip","mintStatus","supply","mint","etherscan","txHash","App","require","setAccount","contract","setContract","chipsSupply","setChipsSupply","setMintStatus","setTxHash","useWallet","initWeb3","networkId","DustMintPass","networks","parseInt","web3","Web3","eth","handleRevert","accounts","abi","contractx","Contract","methods","totalMinted","call","then","result","mintChip","e","options","gas","estimateGas","from","value","gasAmount","send","error","transactionHash","on","hash","confirmationNumber","receipt","catch","err","message","split","path","chainId","connectors","portis","dAppId","ReactDOM","render","document","getElementById"],"mappings":"i4vzBAgBMA,EAAS,CAAC,eAAgB,eAAgB,YAAa,SAAU,QACjEC,EAAQ,CAAC,cAAe,cAAe,cAKhCC,EAAS,SAAC,GAMhB,IALLC,EAKI,EALJA,SACAC,EAII,EAJJA,KACAC,EAGI,EAHJA,QACAC,EAEI,EAFJA,YACAC,EACI,EADJA,WAEMC,EAAmBR,EAAOS,SAASH,GAAcA,EAAaN,EAAO,GAErEU,EAAkBT,EAAMQ,SAASF,GAAcA,EAAaN,EAAM,GAIxE,OACE,qBAAKU,UAAU,aAAf,SACE,wBACEA,UAAS,cAASH,EAAT,YAA6BE,GACtCL,QAASA,EACTD,KAAMA,EAHR,SAKGD,O,OCgFMS,MArHf,SAAgBC,GACd,MAA0BC,oBAAS,GAAnC,mBAAOC,EAAP,KAAcC,EAAd,KACA,EAA4BF,oBAAS,GAArC,mBAAeG,GAAf,WAKM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c,iBAGfgC,GAAG,gBAAgB,SAASE,EAAoBC,IAC3B,IAAjBA,EAAQ/D,QAKT4B,EAAc,WAEdX,KANAW,EAAc,yBAQfgC,GAAG,SAAS,SAASF,EAAOK,GAC7BnC,EAAc,yBAEboC,OAAM,SAASd,GAChBtB,EAAc,sBAEdjC,QAAQC,IAAIsD,SAEbc,OAAM,SAASC,GAChBtE,QAAQC,IAAIqE,EAAIC,QAAQC,MAAM,KAAK,IACnCvC,EAAcqC,EAAIC,QAAQC,MAAM,KAAK,IAErCf,EAAM,QAQRrE,OAAOM,MAAM,oDArDA,2CAAH,sDA/CD,SAuGE4B,IAvGF,2EAuGb,sBAAAnC,EAAA,0DACK0C,EADL,uBAEI7B,QAAQC,IAAI,kBAFhB,SAGU4B,EAASoB,QAAQC,cAAcC,OAAOC,MAAK,SAASC,GAAQrB,EAAeqB,MAHrF,4CAvGa,sBAgHb,MAA4BvE,mBAAS,GAArC,6BAWE,OACE,mCAEA,eAAC,IAAD,WACE,cAAC,EAAD,CAAQwB,QAASA,EAASd,OAAQA,IAClC,eAAC,IAAD,WACE,cAAC,IAAD,CAAOiF,KAAK,QAAZ,SACE,cAACrD,EAAD,CAAMd,QAASA,EAASd,OAAQA,EAAQ+B,KAAM,WAAO+B,KAAajC,WAAYA,EAAYI,OAAUA,EAAQH,OAAUS,MAExH,eAAC,IAAD,CAAO0C,KAAK,IAAZ,UAEE,cAAC,EAAD,IACA,cAAC,EAAD,IACA,cAAC,EAAD,IACA,cAAC,EAAD,IACA,cAAC,EAAD,IACA,cAAC,EAAD,eAaG,wBACb,cAAC,IAAD,CACEC,QAAS,EACTC,WAAY,CAEVC,OAAQ,CAAEC,OAAQ,eAJtB,SAOE,cAAC,EAAD,OCrLJC,IAASC,OAAO,cAAC,EAAD,IAASC,SAASC,eAAe,W","file":"static/js/main.9011de94.chunk.js","sourcesContent":["// import React from 'react';\n// import './Button.css';\n// import { Link } from 'react-router-dom';\n\n// export function Button() {\n// return (\n// \n// \n// \n// );\n// }\n\nimport React from 'react';\nimport './Button.css';\nimport { Link, useRouteMatch} from 'react-router-dom';\n\nconst STYLES = ['btn--primary', 'btn--outline', 'btn--test', 'hidden', 'mint'];\nconst SIZES = ['btn--mobile', 'btn--medium', 'btn--large'];\n\n\n\n\nexport const Button = ({\n children,\n type,\n onClick,\n buttonStyle,\n buttonSize\n}) => {\n const checkButtonStyle = STYLES.includes(buttonStyle)? buttonStyle: STYLES[0];\n\n const checkButtonSize = SIZES.includes(buttonSize) ? buttonSize : SIZES[0];\n \n\n\n return (\n
\n \n {children}\n \n
\n );\n};\n","import React, { useState, useEffect } from 'react';\nimport { Button } from './Button';\nimport './Navbar.css';\n\n\nfunction Navbar(props) {\n const [click, setClick] = useState(false);\n const [button, setButton] = useState(true);\n\n const handleClick = () => setClick(!click);\n const closeMobileMenu = () => setClick(false);\n\n const connectMobileWallet = async() => {\n setClick(false);\n const networkId = await window.ethereum.request({ method: 'eth_chainId' });\n if(networkId === \"0x1\"){\n props.wallet.connect()\n }\n else{\n alert(\"Contract not deployed to the selected network. Please switch to mainnet ethereum network and try again.\")\n }\n }\n\n const connectWallet = async () => {\n const networkId = await window.ethereum.request({ method: 'eth_chainId' });\n if(networkId === \"0x1\"){\n props.wallet.connect()\n }\n else{\n alert(\"Contract not deployed to the selected network. Please switch to mainnet ethereum network and try again.\")\n }\n }\n\n const showButton = () => {\n if (window.innerWidth <= 960) {\n setButton(false);\n } else {\n setButton(true);\n }\n };\n\n useEffect(() => {\n showButton();\n }, []);\n\n window.addEventListener('resize', showButton);\n console.log(props.address);\n return (\n <>\n \n \n );\n}\n\nexport default Navbar;\n","import React from 'react';\nimport '../App.css';\nimport { Button } from './Button';\nimport './HeroSection.css';\n\n\nfunction HeroSection(props) {\n return (\n
\n \n \n \n

OCULUS QUEST 2 VR NFT

\n

NOVEMBER 2021

\n
\n
\n \n \n \n \n \n
\n );\n}\n\nexport default HeroSection;\n","import React from 'react';\nimport './Footer.css';\nimport { Link } from 'react-router-dom';\n\nfunction Footer() {\n return (\n
\n COMING SOON / NOVEMBER 2021\n
\n );\n}\n\nexport default Footer;\n","\nimport './AncientChip.css';\nimport React from 'react'\n\n\n\nfunction AncientChip() {\n return (\n <>\n
\n
\n
WHAT THE [ANCIENT CHIP] IS?
\n
\n
\n
\t\n The Ancient Chip is a relic with special powers that was left behind by a now vanished civilization. What powers does it hold? As more and more Ancient Chips get spread into the hands of DUST followers, the powers will slowly be revealed to those who hold it. There are only 222 Ancient Chips known to exist, so be one of the first discoverers and benefit as its powers are unlocked. \n View the collection on OpenSea\n
\n
\n
\n
\n
\n
\n
Owning this NFT not only gives you a special Discord role with a secret Ancient channel, but also an opportunity to win other NFTs, receive exclusive airdrops, get access to the Elements and PFP Elementals presales, be a part of the VR experience beta and many more.
\n
The only question is: are you worthy?
\n\n
\n \n\n\n
\n \n \n \n );\n}\n\nexport default AncientChip;\n","\nimport './Roadmap.css';\nimport React from 'react'\n\n\n\nfunction Roadmap() {\n return (\n <>\n
\n

ROADMAP

\n
\n
\n
\n
\n
\n
\n

PHASE 0.0_ OCULUS GIVEAWAY #1

\n

First 10 DUST NFTs + one Oculus Quest 2 VR headset.
Twitter + Disccord giveaway, 10 members in total

\n
\n
\n
\n
\n
\n
\n

PHASE 0.1_ ANCIENT CHIP

\n

222 free NTFs that grants special benefits to its holders as its powers are unlocked.

\n
\n
\n
\n
\n
\n
\n

PHASE 0.2_ GRILLZ GANG GIVEAWAY

\n

Grillz #4007 NFT raffle for Ancient Chip holders.\n

\n
\n
\n
\n
\n
\n
\n

\n

\n
\n
\n
\n

\n
\n
\n
\n
\n
\n
\n

\n

\n
\n
\n
\n

\n
\n
\n
\n
\n
\n
\n

PHASE 0.5_ BIOMES

\n

First 10 DUST Biome NFTs will be up for bidding on OpenSea for 24 hours auction.\n
\n 1 day = 1 biome = 10 days in total. Highest bid wins, and the Biome holder becomes a @LORD.
\n We will reveal what are the biomes for later, there also will be at least one more Biome-bidding-drop in the future.\n
\n

\n
\n
\n
\n
\n
\n
\n

PHASE 1.0_ CHIP HOLDERS PRESALE

\n

Ancient Chip holders get to mint max 5 elements per wallet.
\n Mint 5 to get one extra for free\n

\n
\n
\n
\n
\n
\n
\n

\n

\n
\n
\n
\n

\n
\n
\n
\n
\n
\n
\n

PHASE 1.2_ PUBLIC SALE

\n

10 000 elements (minus the ones sold in presale phase) will be available to mint for 5 days and 5 days only. All of the remaining (unsold) elements will be burned into $DUST and sent to element holders (amount sent depends on the elements amount in your wallet).\n \n

\n
\n
\n \n
\n \n
\n
\n

FOR MORE INFORMATION

\n

JOIN OUR DISCORD AND FOLLOW OUR TWITTER

\n
\n \n );\n}\n\nexport default Roadmap;\n\n\n/*\n- PHASE 0.0_ OCULUS GIVEAWAY #1\nFirst 10 DUST NFTs + one Oculus Quest 2 VR headset.\n\n- PHASE 0.1_ ANCIENT CHIP\n222 free NTFs that grants special benefits to its holders as its powers are unlocked.\n\n- PHASE 0.2_ GRILLZ GANG GIVEAWAY \nGrillz #4007 NFT raffle for Ancient Chip holders.\n\n- PHASE 0.3_ GRILLZ GANG WHITELIST\n- True OG Badge holders (555 badges) - max 3 NFTs per holder;\n- 55 whitelist giveaway (GG server open raffle) - 1 NFT for each winner.\n\n- PHASE 0.4_ 888 INNER CIRCLE WHITELIST\n- 888 special (about 300 holders have the min 8 to qualify) - max 3 mint;\n- 88 whitelist giveaway (done via raffle in 888 server for ANY holder) - max 1 mint.\n\n- PHASE 0.5_ BIOMES\nFirst 10 DUST Biome NFTs will be up for bidding on OpenSea for 24 hours auction. \n1 day = 1 biome = 10 days in total. Highest bid wins, and the Biome holder becomes a @LORD.\nWe will reveal what are the biomes for later, there also will be at least one more Biome-bidding-drop in the future.\n\n*\n\n- PHASE 1.0_ CHIP HOLDERS PRESALE\nCHIP holders (222 cards) - max 6 mints.\nPrice: 0.05 ETH + gas / element.\n\n- PHASE 1.1_ GG + 888 PRESALE\nMax 3 mints. \nPrice: 0.05 ETH + gas / element.\n\n- PHASE 1.2_ PUBLIC SALE\n10 000 elements (minus the ones sold in presale phase) will be available to mint for 5 days and 5 days only. All of the remaining (unsold) elements will be burned into $DUST and sent to element holders (amount sent depends on the elements amount in your wallet). \nPrice: 0.05 ETH + gas / element.\n*/","\nimport './Who.css';\nimport React from 'react'\n\n\n\nfunction Who() {\n return (\n <>\n
\n
WHO WE ARE
\n
\n
\n
We are the ancient elemental council. We are now. We were before. We are everything that will remain. Become one of us.
\n
You know us, and we know you. We are all made of the five elements. Metaverse elements.
When you’ll collect all five, our form will be revealed. Be ready.
\n
We are.
\n \n
\n
\n \n \n );\n}\n\nexport default Who;\n","\nimport './Trailer.css';\nimport React from 'react'\n\n\n\nfunction Trailer() {\n return (\n <>\n
\n
\n \n
ANNOUNCEMENT TRAILER
\n
\n
\n
\n \n
\n
\n
There are five different core elements.
\n
Which one is the most powerful? Is it possible to have all the power? To be undefeated? To be unstoppable?
To control all the elements?
\n
Does an almighty elemental exist? You might be one of them...
\n \n
\n \n );\n}\n\nexport default Trailer;\n","import React from 'react';\nimport '../HeroSectionMint.css';\nimport '../Loader.css';\nimport { Button } from '../Button';\nimport Navbar from '../Navbar';\n\nexport default function Chip(props) {\n if(props.mintStatus===''){\n \n return(\n <>\n \n
\n {props.wallet.status === 'connected' ? (\n <>\n
GET YOUR FREE ANCIENT CHIP CARD NOW
\n \n
{props.supply} OF 222 MINTED
\n
\n \n {props.supply <222 ?\n \n :\n \n }\n \n ) : (\n

\n )}\n \n
\n \n );\n }\n else if(props.mintStatus==='confirmation'){\n return (\n <>\n \n
\n\n
\n \n

Confirm transaction in your MetaMask wallet.

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n );\n }\n else if(props.mintStatus==='inprogress'){\n \n let etherscan = \"https://etherscan.io/tx/\" + props.txHash\n return (\n <>\n \n
\n \n
\n \n
Transaction is in progress.
\n
\n
\n
\n
\n
\n
\n
\n
\n
SEE YOUR TRANSACTION DETAILS ON ETHERSCAN: \n
\n {props.txHash}\n
\n \n
\n \n );\n }\n else if(props.mintStatus==='success'){\n let etherscan = \"https://etherscan.io/tx/\" + props.txHash\n return (\n <>\n \n
\n \n {/* */}\n \n \n
M I N T E D
\n
SEE YOUR TRANSACTION DETAILS ON ETHERSCAN: \n
\n {props.txHash}\n
\n
\n \n );\n }\n else{\n return (\n <>\n \n
\n {/* */}\n
\n \n

{props.mintStatus}

\n \n
\n \n )\n \n }\n \n}\n","// import 'bootstrap/dist/css/bootstrap.min.css';\n\n\nimport { BrowserRouter as Router, Switch, Route, Link} from 'react-router-dom';\n\nimport React, { useState, useEffect, useRef} from 'react';\nimport { useWallet, UseWalletProvider } from 'use-wallet'\nimport Web3 from 'web3';\n// import dust from './abis/Dust.json'\nimport DustMintPass from './abis/DustMintPass.json'\nimport AncientChip from './abis/AncientChip.json'\nimport Navbar from './components/Navbar';\n// import HeroSectionMint from './components/HeroSectionMint';\nimport HeroSection from './components/HeroSection';\n\n// // import HeroSectionCountdown from './components/HeroSectionCountdown';\nimport Footer from './components/Footer';\nimport AncientChipComp from './components/AncientChip';\nimport Roadmap from './components/Roadmap';\nimport Who from './components/Who'\nimport Trailer from './components/Trailer'\n\nimport Landing from './components/Landing'\nimport Chip from './components/pages/Chip'\n\nfunction App (){\n var fitToRange = require('fit-to-range');\n\n\n const [account, setAccount] = useState('');\n const [contract, setContract] = useState(null);\n const [totalSupply, setTotalSupply] = useState(0);\n\n\n\n const [chipsSupply, setChipsSupply] = useState(0);\n const [mintStatus, setMintStatus] = useState('');\n const [txHash, setTxHash] = useState('');\n\n \n const ethereum = window.ethereum;\n const wallet = useWallet()\n console.log(mintStatus)\n \n\n useEffect(() => {\n initWeb3();\n supply();\n }, []);\n\n\n \n\n // ANCIENT CHIP ->\n const initWeb3 = async() =>{\n if(window.ethereum){\n const networkId = await window.ethereum.request({ method: 'eth_chainId' });\n \n const networkData = DustMintPass.networks[parseInt(networkId)];\n const web3 = new Web3(window.ethereum);\n web3.eth.handleRevert = true;\n const accounts = await window.ethereum.request({ method: 'eth_accounts' });\n setAccount(accounts[0]);\n const abi = AncientChip.abi;\n const address = \"0x8B56b4C300d58E7f5694dd8EC35aee9Dd054881D\";\n const contractx = new web3.eth.Contract(abi, address);\n setContract(contractx);\n console.log(web3.eth.handleRevert);\n await contractx.methods.totalMinted().call().then(function(result){setChipsSupply(result)});\n }\n \n }\n const mintChip = async(e) =>{\n const networkId = await window.ethereum.request({ method: 'eth_chainId' });\n if(networkId !==\"0x1\"){\n alert(\"Contract not deployed to the selected network. Please switch to mainnet ethereum network and try again.\")\n\n return\n }\n if(contract) {\n contract.options.handleRevert = true;\n var gas = 300000;\n \n contract.methods.mintChip().estimateGas({from: wallet.account, value: 0}).then(function(gasAmount){\n gas = gasAmount;\n console.log(gas);\n setMintStatus('confirmation');\n \n \n contract.methods.mintChip().send({from: wallet.account, gas:gas, value: 0}, function(error, transactionHash){ console.log(error)})\n .on('transactionHash', function(hash){\n setTxHash(hash)\n setMintStatus('inprogress')\n \n })\n .on('confirmation', function(confirmationNumber, receipt){\n if(receipt.status===false){\n setMintStatus('Transaction failed')\n \n return;\n }else{\n setMintStatus('success')\n\n supply()\n }\n }).on('error', function(error, receipt) { // If the transaction was rejected by the network with a receipt, the second parameter will be the receipt.\n setMintStatus('Transaction failed')\n\n }).catch(function(e){\n setMintStatus('Transaction failed')\n\n console.log(e)\n });\n }).catch(function(err){\n console.log(err.message.split(\"{\")[0])\n setMintStatus(err.message.split(\"{\")[0])\n\n gas = 300000;\n })\n\n \n\n \n \n }else {\n window.alert('Smart contract not deployed to detected network.')\n }\n } \n async function supply(){\n if(contract) {\n console.log(\"supply updated\")\n await contract.methods.totalMinted().call().then(function(result){setChipsSupply(result)});\n }\n }\n \n\n\n const[count, updateCount] = useState(1);\n\n function counterUpdate(n){\n console.log(count);\n if(count + n >= 1 && count + n <= 5){\n updateCount(count => count + n);\n console.log(count);\n }\n }\n \n\n return (\n <>\n \n \n \n \n \n {mintChip()}} mintStatus={mintStatus} txHash = {txHash} supply = {chipsSupply}/>\n \n \n {/* {mintChip()}} counterUpdate = {(n) => counterUpdate(n)} count ={count}/> */}\n \n \n \n \n \n