Skip to content

Instantly share code, notes, and snippets.

@coburncoburn
coburncoburn / existence_check.sol
Created January 11, 2019 00:09
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.5.2+commit.1df8f40c.js&optimize=false&gist=
contract SupplyPolicyHook {
function verify() public {
}
}
contract SimpleTest {
SupplyPolicyHook public hook;
mapping(bytes4 => bool) public shouldDefend;
@coburncoburn
coburncoburn / existence_check.sol
Created January 10, 2019 23:44
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.5.2+commit.1df8f40c.js&optimize=false&gist=
contract SupplyPolicyHook {
function verify() public {
}
}
contract SimpleTest {
SupplyPolicyHook public hook;
mapping(bytes4 => bool) public shouldDefend;