Skip to content

Instantly share code, notes, and snippets.

❤️
Spreading the love

Gonçalo Sá GNSPS

❤️
Spreading the love
Block or report user

Report or block GNSPS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am gnsps on github.
  • I am gnsps (https://keybase.io/gnsps) on keybase.
  • I have a public key ASDWTWKdxSyiEOANCbtGq_PvJXxY0CXFMqxQzUj-fWvHEQo

To claim this, I am signing this object:

View onename.md
@GNSPS
GNSPS / rinkeby_faucet.md
Created Apr 30, 2017
Rinkeby Faucet Gist Auth
View rinkeby_faucet.md

0x019EdcB493Bd91e2b25b70f26D5d9041Fd7EF946

@GNSPS
GNSPS / june_19_parity_attack.md
Last active Jul 20, 2017
my compiled findings and conclusions about June 19th Parity wallet attack addresses
View june_19_parity_attack.md
@GNSPS
GNSPS / solc-changer
Last active Dec 7, 2017
Bash script meant to easily change the version of `solc` that comes packaged with Truffle when you install it globally
View solc-changer
#!/bin/bash
# ------------------------------------------------------------------
# [GNSPS] Truffle's solc version changer
#
# Bash script to change the version of the solc the
# Truffle module comes packaged with.
#
#
# Installation: save this file as
#
@GNSPS
GNSPS / ProxyFactory.sol
Last active Nov 19, 2018
Improved `delegatecall` proxy contract factory (Solidity) [v0.0.5]
View ProxyFactory.sol
/***
* Shoutouts:
*
* Bytecode origin https://www.reddit.com/r/ethereum/comments/6ic49q/any_assembly_programmers_willing_to_write_a/dj5ceuw/
* Modified version of Vitalik's https://www.reddit.com/r/ethereum/comments/6c1jui/delegatecall_forwarders_how_to_save_5098_on/
* Credits to Jorge Izquierdo (@izqui) for coming up with this design here: https://gist.github.com/izqui/7f904443e6d19c1ab52ec7f5ad46b3a8
* Credits to Stefan George (@Georgi87) for inspiration for many of the improvements from Gnosis Safe: https://github.com/gnosis/gnosis-safe-contracts
*
* This version has many improvements over the original @izqui's library like using REVERT instead of THROWing on failed calls.
* It also implements the awesome design pattern for initializing code as seen in Gnosis Safe Factory: https://github.com/gnosis/gnosis-safe-contracts/blob/master/contracts/ProxyFactory.sol
View Verifying my Peepeth
Verifying my identity on Peepeth.com 0x54488ad9f88cf00397de235d343c421dcb4d5245
You can’t perform that action at this time.