Skip to content

Instantly share code, notes, and snippets.

@adietrichs
adietrichs / EIP3074Relayer.sol
Last active April 24, 2024 10:33
EIP-3074 Invoker Examples
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
interface WETH9 {
function balanceOf(address) external returns (uint256);
function deposit() external payable;
function withdraw(uint256) external;
@cdetrio
cdetrio / pyeth_trace_howto.md
Created July 8, 2017 21:25
Instructions for generating EVM traces of state tests in pyethereum

Instructions for generating EVM traces of state tests in pyethereum

Step 1. Install pyethereum modules and pytest

I'd suggest using pipenv.

mkdir pyeth
cd pyeth
pipenv --three