Skip to content

Instantly share code, notes, and snippets.

@smartcontracts
smartcontracts / keybase.md
Last active February 18, 2022 02:59
keybase.md

Keybase proof

I hereby claim:

  • I am smartcontracts on github.
  • I am kfichter (https://keybase.io/kfichter) on keybase.
  • I have a public key ASAt7pRxCfZ3opnQlyRG7q868xCSs5n7d6U5zoQnc2SGwQo

To claim this, I am signing this object:

@smartcontracts
smartcontracts / constant-mod-poc.ts
Created July 1, 2020 20:03
PoC for the constant modification idea
import BigNumber = require('bn.js')
import { DEFAULT_UNSAFE_OPCODES, Opcode, EVMOpcode } from "@eth-optimism/rollup-core";
const UNSAFE_OPCODES = Opcode.ALL_OP_CODES.filter((opcode) => {
return (
DEFAULT_UNSAFE_OPCODES.includes(opcode) ||
Opcode.JUMP_OP_CODES.includes(opcode) ||
Opcode.isPUSHOpcode(opcode) ||
opcode === Opcode.CALL
)
@smartcontracts
smartcontracts / keybase.md
Created December 10, 2018 18:44
Keybase verification

Keybase proof

I hereby claim:

  • I am kfichter on github.
  • I am kfichter (https://keybase.io/kfichter) on keybase.
  • I have a public key ASD5EEE6GORc1vrh_kqmPkqcBs3VXMaxpbkNxKC3jKxoWgo

To claim this, I am signing this object:

pragma solidity ^0.4.0;
import "./BrainFuck.sol";
import "./KittyInterface.sol";
contract MindBreed {
KittyInterface kittyContract = KittyInterface(0x06012c8cf97BEaD5deAe237070F9587f8E7A266d);
mapping (address => bytes1[]) programs;
event BountyClaimed(