Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmony refactor #1

Merged
merged 3 commits into from
Sep 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
/**/artifacts/*
/**/.deps/*
/**/.deps/*
.idea/

*.pyc

venv/
25 changes: 0 additions & 25 deletions Farm/Operators.sol

This file was deleted.

43 changes: 34 additions & 9 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,18 +1,43 @@
# FarmersOnly.Fi Farming
# FarmersOnly Vaults

https://farmersonly.fi/. Feel free to read the code. More details coming soon.
https://farmersonly.fi. Feel free to read the code. More details coming soon.

## Setup

## Deployed Contracts
Setup a venv and install brownie
```properties
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

Install Zepplin dependencies

```properties
brownie pm install OpenZeppelin/openzeppelin-contracts@3.1.0
```

- Token:
- MasterChef:
- Referral:
- Timelock:
Add the Harmony networks to brownie
```properties
brownie networks add Harmony one-test host=https://api.s0.b.hmny.io chainid=1666700000 explorer=https://explorer.pops.one/
brownie networks add Harmony one-main host=https://api.harmony.one chainid=1666600000 explorer=https://explorer.harmony.one/
```

Run tests with `brownie test`


## Deployed Contracts

- VaultChef:

<br/>
<a href="url"><img src="https://raw.githubusercontent.com/FarmersOnlyFi/farmersonlyfi-contracts/master/farmers-only.png" align="left" height="200" width="200" ></a>

## Contracts

### Testnet

SushiswapRouter = 0x1b02da8cb0d097eb8d57a175b88c7d8b47997506
WONEAddress = 0x7a2afac38517d512e55c0bce3b6805c10a04d60f

## MainNet