Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Rice mrice32

  • UMA
  • Kennesaw, GA
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

View ExpiringMultiParty abi
[
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "expirationTimestamp",
"type": "uint256"
},
@mrice32
mrice32 / flatten.sh
Created Apr 24, 2020
Flatten script
View flatten.sh
#!/usr/bin/env bash
# Must run from protocol/
# Usage: ./flatten.sh ~/SOME_TARGET_DIRECTORY
TARGET_DIR=$1
mkdir -p $TARGET_DIR
find ./core/contracts/ -name '*.sol' -type f -exec cp {} $TARGET_DIR \;
find ./node_modules/\@openzeppelin/contracts/ -name '*.sol' -type f -exec cp {} $TARGET_DIR \;