Skip to content

Instantly share code, notes, and snippets.

View andrekorol's full-sized avatar
🏄
AndreKorol.eth

Andre Korol andrekorol

🏄
AndreKorol.eth
  • São José dos Campos - São Paulo - Brazil
  • X @andrekorol1
View GitHub Profile
@andrekorol
andrekorol / ensDomainTransfer.js
Last active July 19, 2023 05:35
Flashbots ENS domain transfer
const hre = require('hardhat');
const { map } = require('underscore');
require('dotenv').config();
const {
FlashbotsBundleProvider,
} = require('@flashbots/ethers-provider-bundle');
const ENS = require('./ENSABI.json');
@andrekorol
andrekorol / InterfaceId.sol
Created December 26, 2020 06:29
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.0+commit.c7dfd78e.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
contract InterfaceId {
function getInterface(string[] memory signatures) public pure returns (bytes4 interfaceId) {
for (uint256 i = 0; i < signatures.length; i++) {
interfaceId ^= bytes4(keccak256(bytes(signatures[i])));
}
}
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreigtzsqmrio5ggknoor3v6qljjcjtgpcnewbsuagocpvj3zsixmxa4 ✅
Create your profile today to start building social connection and trust online at https://3Box.io/

Keybase proof

I hereby claim:

  • I am andrekorol on github.
  • I am andrekorol (https://keybase.io/andrekorol) on keybase.
  • I have a public key whose fingerprint is 6576 32E6 F59B A60E 4244 E98B 0ACA 234D E12C DD7D

To claim this, I am signing this object:

<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
body {
background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA