Audit Competition for Origami

This repository is for the audit competition for the Origami. To participate, submit your findings only by using the on-chain submission process on https://app.hats.finance/vulnerability .

How to participate

Good luck!

We look forward to seeing your findings.


Origami Monorepo

For documentation on the upcoming Origami v2, please see HERE

Getting Started

Contracts

tl;dr:

cd apps/protocol
git submodule update --init --recursive

# Install foundry if not already installed.
# curl -L https://foundry.paradigm.xyz | bash
# Update foundry version to latest
foundryup

# npm packages used for ext. deps
nvm use
yarn

forge test

See ./apps/protocol/README.md

Dapp

To start a local development instance:

cd apps/dapp
yarn
yarn dev

Automation

This uses the Overlord framework to run daily automations for compounding

To build:

cd apps/automation
yarn
yarn build

Contributing

We welcome all contributors to this project - please see the contribution guide for more information on how to get involved and what to expect.