-
Notifications
You must be signed in to change notification settings - Fork 0
/
nre.min.js
1 lines (1 loc) · 1.49 KB
/
nre.min.js
1
var web3=new Web3(new Web3.providers.WebsocketProvider("wss://kovan.infura.io/ws/v3/94ab660e95dc41c7a4da29104c62e8ad")),roz=new web3.eth.Contract([{constant:!0,inputs:[],name:"ry",outputs:[{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[],name:"rz",outputs:[{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"},{name:"",type:"uint256"}],payable:!1,stateMutability:"view",type:"function"}],"0xc3c9e58318461ed77a6cb3e3c5be617471ceb99e");setInterval(function(){roz.methods.rz().call(function(e,t){e?console.error(e):$("#first").html("Ra"+t[0]+"<br>Rb"+t[1]+"<br>Rc"+t[2]+"<br>Rd"+t[3]+"<br>Re"+t[4]+"<br>Rf"+t[5]+"<br>Rg"+t[6]+"<br>Rh"+t[7]+"<br>Ri"+t[8]+"<br>Rj"+t[9]+"<br>Rk"+t[10]+"<br>Rl"+t[11])})},1e3),setInterval(function(){roz.methods.ry().call(function(e,t){e?console.error(e):$("#second").html("Rm"+t[0]+"<br>Rn"+t[1]+"<br>Ro"+t[2]+"<br>Rp"+t[3]+"<br>Rq"+t[4]+"<br>Rr"+t[5]+"<br>Rs"+t[6]+"<br>Rt"+t[7]+"<br>Ru"+t[8]+"<br>Rv"+t[9]+"<br>Rw"+t[10]+"<br>Rx"+t[11])})},1e3);