Skip to content

Instantly share code, notes, and snippets.

Liam Horne snario

Block or report user

Report or block snario

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wtf.js
const ethers = require("ethers");
const getAddress = ethers.utils.getAddress;
const solidityKeccak256 = ethers.utils.solidityKeccak256;
const keccak256 = ethers.utils.keccak256;
const solidityPack = ethers.utils.solidityPack;
const Interface = ethers.utils.Interface;
const defaultAbiCoder = ethers.utils.defaultAbiCoder;
const hexDataSlice = ethers.utils.hexDataSlice;
View ModdedNitroAdjudicator.sol
pragma solidity ^0.5.2;
pragma experimental ABIEncoderV2;
import "fmg-core/contracts/Commitment.sol";
import "fmg-core/contracts/Rules.sol";
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
* Liam's comments:
View TicTacToe.sol
pragma solidity 0.5.9;
pragma experimental ABIEncoderV2;
library TicTacToe {
enum OutcomeType {
View package-lock.json
This file has been truncated, but you can view the full file.
"name": "@counterfactual/tic-tac-toe-bot",
"version": "0.0.15",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.0.0",
"resolved": "",
View Proxy.sol
pragma solidity 0.5;
/// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
/// @author Stefan George - <>
contract Proxy {
// masterCopy always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
address masterCopy;
View gist:6e6c288b897e9cd52ff5fb5757ad8787
0000000000000000000000000000000000000000000000000000000000000001 op
000000000000000000000000aef082d339d227646db914f0ca9ff02c8544f30b to
000000000000000000000000000000000000000000000000000000000001869f val
0000000000000000000000000000000000000000000000000000000000000080 ???
0000000000000000000000000000000000000000000000000000000000000204 dataLength

Keybase proof

I hereby claim:

  • I am snario on github.
  • I am liamhorne ( on keybase.
  • I have a public key whose fingerprint is 30FC 640B C0A3 51B2 FCB9 693F 7335 D28F BBFB 7CE7

To claim this, I am signing this object:

You can’t perform that action at this time.