master
lza_menace 2 years ago
parent 7c6849268e
commit b961112a37

@ -189,6 +189,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "mayhem",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
@ -280,6 +293,13 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "toggleMayhem",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{

@ -82,6 +82,7 @@ export function Hero(props) {
{...defOpt, functionName: 'unaboomerMaxMintPerWallet'}
],
watch: true,
enabled: isConnected,
cacheTime: 30_000,
onSuccess(data) {
handleStateChange({
@ -106,6 +107,7 @@ export function Hero(props) {
{...defOpt, functionName: 'unaboomerBalance', args: [address]}
],
watch: true,
enabled: isConnected,
cacheTime: 6_000,
onSuccess(data) {
handleStateChange({
@ -246,7 +248,7 @@ export function Hero(props) {
<div id='hero'>
<NotificationContainer />
<h1 id='heroTitle'>the web3 revolution & its consequences have been a disaster for the human race.</h1>
{isConnected && options.unaboomersMinted > 0 && (
{isConnected && options.unaboomersRadicalized > 0 && (
<>
<div className="progress">
<p>{options.unaboomersRadicalized} / {options.unaboomerMaxSupply} minted</p>

@ -16,10 +16,10 @@ import { Hero } from "./components/Hero";
import { Footer } from "./components/Footer";
const { chains, provider, webSocketProvider } = configureChains(
[goerli, mainnet, localhost],
[mainnet],
[
infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' }),
publicProvider()
publicProvider(),
infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' })
]
);
@ -40,7 +40,7 @@ ReactDOM.createRoot(document.getElementById("root")).render(
<RainbowKitProvider chains={chains} initialChain={1}>
<Navbar />
<Hero
contractAddress={''}
contractAddress={'0xfb618d26cb208f1e46c7882f098d725f96976c0b'}
ws={'wss://lzahq.tech/ws'}
/>
<Footer />

Loading…
Cancel
Save