Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am brendanchou on github.
  • I am brendandydx (https://keybase.io/brendandydx) on keybase.
  • I have a public key ASA0f7ckNymVyzWzEUpTTBoBcRnho9nJ8D2ZNf6VIR-kXgo

To claim this, I am signing this object:

@BrendanChou
BrendanChou / ERC20SafeTransfer.sol
Last active June 23, 2022 01:08
Brendan's implementation of ERC20SafeTransfer
// Made as proof-of-concept fix for https://github.com/ethereum/solidity/issues/4116
pragma solidity 0.4.24;
library TokenInteract {
function balanceOf(
address token,
address owner
)