This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-09-27T13:24:36.038Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validators.result.map(async item => { | |
const maticValidatorContract = new this.web3.eth.Contract( | |
maticABI, | |
item.contractAddress | |
); | |
const stakeManagerContractAddress = await maticValidatorContract.methods | |
.stakeManager() | |
.call() | |
.then(response => response); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
from: "0x8b1b0f049b9a7c76bd721b14d90359a3dee1f58d", | |
to: "0xF92C1ad75005E6436B4EE84e88cB23Ed8A290988", | |
value: 0, | |
data: "0xfc6f4e160000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000004563918244f400000000000000000000000000000000000000000000000000000e2573b394edf84e000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f92c1ad75005e6436b4ee84e88cb23ed8a290988000000000000000000000000587044b74004e3d5ef2d453b7f8d198d9e4cb5580000000000000000000000000000000000000000000000000000000000000 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Heart Animation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function arrayList(array, rootDom){ | |
var arrDom = []; | |
console.log(array) | |
var frag = document.createDocumentFragment(); | |
for (var i=0; i < array.length; i++){ | |
console.log(array[i]); | |
// arrDom.push('<p>'+array[i]+'</p>'); | |
var p = document.createElement("p"); | |
p.innerHTML = array[i]; | |
frag.appendChild(p); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* NEED TO PERFORMANCE TUNE */ | |
function anag(str){ | |
'use strict'; | |
if(typeof str !== 'string'){ | |
return ; | |
} | |
str = str.replace(/\s+/g, '').toLowerCase(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
GITHUB_EXPLORE_PAGE = 'https://github.com/explore' | |
def get_html_explore(): | |
response = requests.get(GITHUB_EXPLORE_PAGE) | |
return response.content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fg = function(s){ | |
var d = s+1; | |
return d; | |
}; | |
var callFunc = function (f) { | |
var i,arr; | |
arr = []; | |
for(i=0;i<1;i+1){ | |
arr.push(f(i)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var l = +!+[]; | |
for(var i = +[];i <= !+[]+!+[]; i++){ | |
l = l+(+!+[]);console.log(l); | |
} |
NewerOlder