diff --git a/src/img/bomb.png b/src/img/bomb.png index 14f4447..aa43b22 100644 Binary files a/src/img/bomb.png and b/src/img/bomb.png differ diff --git a/src/img/explosion.png b/src/img/explosion.png index 7ed2502..77eb6d7 100644 Binary files a/src/img/explosion.png and b/src/img/explosion.png differ diff --git a/src/img/unaboomer.png b/src/img/unaboomer.png index 493cdd8..9428cd8 100644 Binary files a/src/img/unaboomer.png and b/src/img/unaboomer.png differ diff --git a/src/index.js b/src/index.js index b9aac04..3417fd3 100644 --- a/src/index.js +++ b/src/index.js @@ -37,20 +37,6 @@ const wagmiClient = createClient({ webSocketProvider }); -let chainId; -let contractAddress; - -if (process.env.CHAIN == 5) { - chainId = 5; - contractAddress = '0x5a61b50dcd3d394e91794847c55b05f92d5a8e7c'; -} else if (process.env.CHAIN == 1) { - chainId = 1; - contractAddress = ''; -} else { - chainId = 1337; - contractAddress = '0x5FbDB2315678afecb367f032d93F642f64180aa3'; -} - ReactDOM.createRoot(document.getElementById("root")).render( @@ -58,7 +44,7 @@ ReactDOM.createRoot(document.getElementById("root")).render(
@@ -66,3 +52,5 @@ ReactDOM.createRoot(document.getElementById("root")).render(
); + +// 0x5FbDB2315678afecb367f032d93F642f64180aa3 - local \ No newline at end of file diff --git a/src/template/Sections.jsx b/src/template/Sections.jsx index 16bbf3c..564bf26 100644 --- a/src/template/Sections.jsx +++ b/src/template/Sections.jsx @@ -362,7 +362,8 @@ function Section3(props) { abi: MainABI, enabled: isConnected && options.bombBalance > 0, functionName: 'sendBombs', - cacheTime: 200, + cacheTime: 0, + staleTime: 400, args: [options.sendBombAmount] }); const sendBombsWrite = useContractWrite({