Skip to content

Instantly share code, notes, and snippets.

View lorezi's full-sized avatar
:octocat:
Cloud Native Engineer

Renz0xOna lorezi

:octocat:
Cloud Native Engineer
View GitHub Profile
@lorezi
lorezi / .deps...npm...hardhat...console.sol
Created May 2, 2022 21:50
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.4.19+commit.c4cbbb05.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;
library console {
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
uint256 payloadLength = payload.length;
address consoleAddress = CONSOLE_ADDRESS;
assembly {
@lorezi
lorezi / frontendDevlopmentBookmarks.md
Created April 26, 2018 14:33 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.