Skip to content

Instantly share code, notes, and snippets.

View wei3erHase's full-sized avatar
🥕

Weißer Hase wei3erHase

🥕
View GitHub Profile
@wei3erHase
wei3erHase / .deps...npm...hardhat...console.sol
Created June 16, 2023 16:37
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.19+commit.7dd6d404.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 {
@wei3erHase
wei3erHase / .prettierrc.json
Created June 13, 2023 08:01
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.19+commit.7dd6d404.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wei3erHase
wei3erHase / keybase.md
Last active September 13, 2022 19:16
keybase.md

Keybase proof

I hereby claim:

  • I am wei3erhase on github.
  • I am wei3erhase (https://keybase.io/wei3erhase) on keybase.
  • I have a public key ASATfjkYN7Tgs9dKn2YkOUmD-pQ65os6Kbwnav8MG3wcggo

To claim this, I am signing this object: