Skip to content

Commit

Permalink
add soonic
Browse files Browse the repository at this point in the history
  • Loading branch information
ftm1337 committed Dec 20, 2024
1 parent e8b66af commit 9633eb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ window.addEventListener(
async function() {
console.log("waitin for 3 secs..");
$("cw_m").innerHTML = "Connecting.. Please wait."
setTimeout(async () => { await basetrip(); }, 3000);
setTimeout(async () => { await basetrip(); console.log(":i") }, 3000);
},
false
);
Expand Down Expand Up @@ -35,6 +35,7 @@ document.addEventListener('DOMContentLoaded', function() {

async function basetrip()
{
console.log("base trippin'");
if(!(window.ethereum)){$("cw_m").innerHTML = "Wallet wasn't detected!";console.log("Wallet wasn't detected!");notice("<h3>Wallet wasn't detected!</h3>Please make sure that your device and browser have an active Web3 wallet like MetaMask installed and running.<br><br>Visit <a href='https://metamask.io' target='_blank'>metamask.io</a> to install MetaMask wallet.");provider = new ethers.providers.JsonRpcProvider(RPC_URL); await dexstats();return}
else if(!Number(window.ethereum.chainId)==CHAINID){$("cw_m").innerHTML = "Wrong network! Please Switch to "+CHAINID;provider = new ethers.providers.Web3Provider(window.ethereum);await dexstats();notice("<h3>Wrong network!</h3>Please Switch to Chain #"+CHAINID+"<btr"+ CHAIN_NAME+ "</u> Blockchain.");}
else if(//typeOf window.ethereum == Object &&Number(window.ethereum.chainId)
Expand Down
10 changes: 4 additions & 6 deletions docs/sonic-equalizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,11 @@ <h2>Powered by Guru Network</h2>
NATIVE_NAME = "FTM";
NATIVE_LOGO = "https://ftm.guru/icons/sonic.png";
/*
⇢ 0x7F7fC8B1b4C0618a6E6554da6bc461021Afffe99
0xF759AfC07fdEa7eD1ba8A6774068A53314008aEC
⇢ 0x681F98969781Cc6349fe98953D58Bc2b7fCfDC5B
⇢ 0x54080bA6eDf63AEAB03e19Bd84507ECD19215c04
0x13cfB61e3B760B8a76597d167bC6bd73588d0173
⇢ 0x26D70b26Df8619fd3eeeC07e22873b9F617E35DA 0xc6b515328f970ec25228a716bf91774e5bd5abc0
⇢ 0x5a94C997FEB8E7D15506fDdE4959a3A9a01fBE9F
⇢ 0x54080bA6eDf63AEAB03e19Bd84507ECD19215c04 0x9446f59beb3f73e12829ef12271a1e53084cc672
*/
LOCKER_ROOM = "0x7F7fC8B1b4C0618a6E6554da6bc461021Afffe99";
LOCKER_ROOM = "0xc6b515328f970ec25228a716bf91774e5bd5abc0";
FACTORY = "0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC";
AGENT = "0x167d87a906da361a10061fe42bbe89451c2ee584";
PERCENT = 0.01337e18;
Expand Down

0 comments on commit 9633eb2

Please sign in to comment.