This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
interface IERC20 { | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); | |
function balanceOf(address account) external view returns (uint256); | |
} | |
contract DelayTokenWrapper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import pprint | |
#response = requests.get("https://api.circles.garden/api/users/Martin") | |
#pprint.pprint(response.content) | |
martinsavings = "0x052b4793d50d37FD3BFcBf93AAC9Cda6292F81Fa" | |
martin = "0x42cEDde51198D1773590311E2A340DC06B24cB37" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import requests | |
import pprint | |
#response = requests.get("https://api.circles.garden/api/users/Martin") | |
#pprint.pprint(response.content) | |
martinsavings = "0x052b4793d50d37FD3BFcBf93AAC9Cda6292F81Fa" | |
martin = "0x42cEDde51198D1773590311E2A340DC06B24cB37" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: CC0 | |
pragma solidity ^0.8.0; | |
// author @koeppelmann | |
// Detector Factory allows to deploy new CensorshipDetector | |
// Each CensorshipDetector monitors wether a specific address is being cencored on Ethereum | |
// Each CensorshipDetector must be funded with ETH (anyone can send ETH to the CensorshipDetector) | |
// Once funded anyone can call the "withdrawal" in the "CensorshipDetector" every 1h and it will pay a small bounty to tx.origin (100k * basefee) | |
// During this transaction the "CensorshipDetector" will send 1 wei to the address that is endangered of being cencored. | |
// CensorshipDetector will log the coinbase (validator address) (those are NOT censoring) and the number of blocks that has passed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is Martin Köppelmann | |
0x7b2e78d4dfaaba045a167a70da285e30e8fca196 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.21; | |
// File: contracts/Oracle/DSAuth.sol | |
contract DSAuthority { | |
function canCall( | |
address src, address dst, bytes4 sig | |
) public view returns (bool); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x7b2e78d4dfaaba045a167a70da285e30e8fca196 |