Skip to content

Instantly share code, notes, and snippets.

from web3.auto import w3
from eth_account.messages import encode_defunct
import requests
import json
import pprint
from eip712_structs import make_domain
from eip712_structs import Address, Boolean, Bytes, String, Uint
from eip712_structs import EIP712Struct
import time
from hexbytes import HexBytes
### Keybase proof
I hereby claim:
* I am koeppelmann on github.
* I am koeppelmann (https://keybase.io/koeppelmann) on keybase.
* I have a public key ASBMM6EsbvSa-ANGIeEwVeYuzfv1lW5N0f62LQ5Oq48TIAo
To claim this, I am signing this object:
This is Martin Köppelmann
0x7b2e78d4dfaaba045a167a70da285e30e8fca196
@koeppelmann
koeppelmann / dutchX.sol
Created July 3, 2018 21:10
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.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.21;
// File: contracts/Oracle/DSAuth.sol
contract DSAuthority {
function canCall(
address src, address dst, bytes4 sig
) public view returns (bool);
}
0x7b2e78d4dfaaba045a167a70da285e30e8fca196