Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
2010157
Start of VaultTwo
DanielVF Mar 27, 2023
6b3dd90
No vault Two
DanielVF Mar 30, 2023
ced0ee7
Extract units conversion to method
DanielVF Mar 31, 2023
53f34ab
Exchange rate supporting Vault
DanielVF Mar 31, 2023
f5112d0
Merge remote-tracking branch 'origin/master' into DanielVF/oeth
sparrowDom Apr 4, 2023
931c20d
Remove unneeded memory array
DanielVF Apr 4, 2023
4a459f4
Change to using enums for exchange rate types
DanielVF Apr 4, 2023
98b9076
Merge branch 'DanielVF/oeth' of github.com:OriginProtocol/origin-doll…
DanielVF Apr 4, 2023
7cb179f
Documentation on _toUnits
DanielVF Apr 4, 2023
49c5980
OETH - Allow initialize time control of OUSD resolution (#1273)
DanielVF Apr 4, 2023
02f04ae
Correct mint / redeem with oracle
DanielVF Apr 4, 2023
f42e4ea
merge
DanielVF Apr 4, 2023
a901de0
add the main deploy file for OETH
sparrowDom Apr 4, 2023
ead03b5
make it possible for the 5/8 multisig to be the governor of deployments
sparrowDom Apr 5, 2023
e61294a
prettier
sparrowDom Apr 5, 2023
f6f289a
Gas efficiency
DanielVF Apr 5, 2023
43d6b4d
Merge branch 'DanielVF/oeth' of github.com:OriginProtocol/origin-doll…
DanielVF Apr 5, 2023
dc0b390
add frax eth deployment
sparrowDom Apr 5, 2023
e1335b8
basic sfraxETH strategy implementation
sparrowDom Apr 5, 2023
d0b13ad
add brownie env to git ignore
sparrowDom Apr 5, 2023
534e8a7
prettier
sparrowDom Apr 5, 2023
ce311ae
Remove unused code
DanielVF Apr 5, 2023
d972dc6
add the infrastructure for fork tests
sparrowDom Apr 5, 2023
8355b24
hardcode oracle price
sparrowDom Apr 5, 2023
c62e66e
finish up the fraxETH strategy fork tests and fix a bug
sparrowDom Apr 7, 2023
7d34b28
lint and some minor fixes
sparrowDom Apr 7, 2023
56aed69
deployment file fix
sparrowDom Apr 7, 2023
03612ec
Slither db update for false positives
DanielVF Apr 7, 2023
6c490c6
add a test that checks we can withdraw what the checkBalance returns
sparrowDom Apr 9, 2023
08f4dd7
minor fix
sparrowDom Apr 9, 2023
8f8db30
Merge branch 'master' into DanielVF/oeth
DanielVF Apr 10, 2023
90ea59c
Correct license for new contracts
DanielVF Apr 10, 2023
b3c2d13
Deploy is ready
DanielVF Apr 10, 2023
4d9df7c
Add redeem fee variable
DanielVF Apr 10, 2023
c2ed29c
add slither exceptions
sparrowDom Apr 11, 2023
302f83d
fix tests (#1317)
sparrowDom Apr 12, 2023
5e51b99
OETH - Oracle router changes (#1314)
sparrowDom Apr 12, 2023
ddd33db
fix oracle tests
sparrowDom Apr 12, 2023
e14c126
fix tests
sparrowDom Apr 12, 2023
45fdf7b
more fixes
sparrowDom Apr 12, 2023
aac90cc
fix slither
sparrowDom Apr 12, 2023
4afcafd
ETH / sfrxeth zapper (#1316)
DanielVF Apr 13, 2023
1cde1b6
move decimals cache to asset struct (#1319)
sparrowDom Apr 13, 2023
9b9577a
WOETH deployment (#1320)
sparrowDom Apr 13, 2023
7454bc0
Let’s just call them decimals
DanielVF Apr 13, 2023
0a0d0a2
add decimalsCache to existing Vault
sparrowDom Apr 13, 2023
159bc61
prettier
sparrowDom Apr 13, 2023
80a4d1e
deployment numbering
sparrowDom Apr 13, 2023
1e65b31
fork test fix
sparrowDom Apr 13, 2023
e6ec811
run decimals cache only in forked environment
sparrowDom Apr 13, 2023
9fcb8ba
prettier
sparrowDom Apr 13, 2023
893f4cf
Remove unused buyback trigger
DanielVF Apr 13, 2023
6afa1c3
rETH support
DanielVF Apr 13, 2023
abde155
support oracles reporting feeds with different decimal format (#1321)
sparrowDom Apr 14, 2023
6253520
Add support for stETH
DanielVF Apr 14, 2023
aeba0b5
Use default strat for frxETH
DanielVF Apr 14, 2023
2a33eca
harvester & unit tests (#1331)
sparrowDom Apr 16, 2023
d789eb6
add some addresses
sparrowDom Apr 16, 2023
14a64fc
fix bug
sparrowDom Apr 18, 2023
58b9b84
Deploy 53 OETH and 54 WOETH (#1334)
sparrowDom Apr 20, 2023
0012da4
Merge master
DanielVF Apr 26, 2023
d6a628b
Prettier
DanielVF Apr 26, 2023
dbc6569
Merge cleanup
DanielVF Apr 26, 2023
933998c
Zapper cleanup
DanielVF Apr 26, 2023
8af47e5
remove console.log
DanielVF Apr 26, 2023
3e4b672
Zapper: Better event name
DanielVF Apr 26, 2023
fef7507
Add slither excludes to triage file
DanielVF Apr 26, 2023
96761ed
Remove inline slither comments and add docstrings
DanielVF Apr 26, 2023
629a9aa
cleaner wording
DanielVF Apr 26, 2023
976ee49
Explicity access levels on vars
DanielVF Apr 26, 2023
1856d06
Zapper redeploy
DanielVF Apr 26, 2023
2e3f530
Lint: cleanup extra variable
DanielVF Apr 26, 2023
c396e73
Deploy 56 - OUSD Zapper Redeploy (#1364)
DanielVF Apr 26, 2023
2418f76
Merge branch 'DanielVF/oeth' of github.com:OriginProtocol/origin-doll…
DanielVF Apr 27, 2023
ef7bf5e
Don't show zapper no return checks
DanielVF Apr 27, 2023
86570e4
Direct clone
smitch88 Apr 28, 2023
56fa1a8
Fix package.json
smitch88 Apr 28, 2023
3daf55b
Fix build for oeth
smitch88 Apr 28, 2023
abbc7ad
Add build scripts
shahthepro Apr 28, 2023
9fee0f1
Fix scripts
shahthepro Apr 28, 2023
4b3d8cf
Fix bash script
shahthepro Apr 28, 2023
81a1722
Fix build scripts
shahthepro Apr 28, 2023
3c553ca
Update scripts
shahthepro Apr 28, 2023
dde9e9f
Update scripts
shahthepro Apr 28, 2023
5aadf5b
Try expression again
shahthepro Apr 28, 2023
fd8b67b
Add hashbang
shahthepro Apr 28, 2023
bfbc1cf
Use bash instead
shahthepro Apr 28, 2023
6dd3562
Add ABI
shahthepro Apr 28, 2023
c9e96be
Fix deps
shahthepro Apr 28, 2023
5feb6ef
Fix start script
shahthepro Apr 28, 2023
2a02487
checkpoint
shahthepro Apr 28, 2023
e547375
Update more services
shahthepro Apr 28, 2023
6fbbc72
checkpoint
shahthepro Apr 28, 2023
f347845
checkpoint
shahthepro Apr 28, 2023
a2a8c42
Minting
shahthepro Apr 28, 2023
9c02dfb
Add Zapper
shahthepro Apr 28, 2023
dd8a509
Cleanup balances
shahthepro Apr 29, 2023
e217762
Fix approval bug
shahthepro Apr 29, 2023
fa5e58e
Fix animation balance
shahthepro Apr 29, 2023
6188dc1
Update Zapper address
shahthepro Apr 29, 2023
c2392b3
Update swap estimator
shahthepro Apr 29, 2023
2e0e614
Update gas for redeem
shahthepro Apr 29, 2023
c0927db
Display OETH balance instead of OUSD
shahthepro Apr 29, 2023
2fcf9cc
Add wrap/unwrap
shahthepro Apr 29, 2023
c951bcc
Fix allowances on wrap/unwrap
shahthepro Apr 29, 2023
9878118
UI tweaks
shahthepro Apr 29, 2023
29ebc2a
Fix circle graphics
shahthepro Apr 29, 2023
b42846f
sfrxETH Zapper allowance
shahthepro Apr 29, 2023
8a57f6d
Fix sfrxETH balance
shahthepro Apr 29, 2023
a2ee106
Switch to Analytics API v2
shahthepro May 1, 2023
8c6f30d
Fix keys
shahthepro May 1, 2023
0adfd13
Fix lifetime earnings
shahthepro May 1, 2023
4578157
Add curve
smitch88 May 1, 2023
00468d3
Add curve, merge upstream
smitch88 May 1, 2023
a5f3355
Fix broken code
smitch88 May 1, 2023
7c86700
more precise inputs/outputs
HrikB May 3, 2023
7ee459c
apy and oeth portfolio dapp reskin
HrikB May 3, 2023
6543a43
Cleanup tx history page
shahthepro May 3, 2023
72dbc8a
In progress commit
smitch88 May 3, 2023
5091bb5
merge upstream
smitch88 May 3, 2023
2f0839a
Fix path refs
smitch88 May 3, 2023
ce6b6be
Fix menu
smitch88 May 3, 2023
79cffd1
Fix modal
smitch88 May 3, 2023
cd6cdfd
Fix rendering issue
smitch88 May 3, 2023
e3842af
Adjust
smitch88 May 3, 2023
1f8e0df
Add estimtes
smitch88 May 4, 2023
3e1c91c
Fix estimate view
smitch88 May 4, 2023
33ef76a
Fix balances display
smitch88 May 4, 2023
f90296b
Fix redeem
smitch88 May 4, 2023
42d88e2
Fix effective price
smitch88 May 4, 2023
968c812
Remove welcome
smitch88 May 4, 2023
ec83556
Fix wrap view
smitch88 May 4, 2023
db24812
fix gfnosis safe
smitch88 May 4, 2023
8eb1f46
Update the manifest
smitch88 May 4, 2023
cbbcc88
Fix eth price with fallback, banner, add fonts
smitch88 May 5, 2023
180e738
Fix tx activity
smitch88 May 5, 2023
db699e9
Fix swap routes pill styling
smitch88 May 5, 2023
016c8ff
Remove relative path
smitch88 May 5, 2023
a19c54d
Add activity
smitch88 May 5, 2023
19f43b1
Add activity count
smitch88 May 5, 2023
ed93624
Fix font face inclusion
smitch88 May 5, 2023
459d42d
Fix gas estimate
smitch88 May 5, 2023
82fb170
wrap and history page
HrikB May 5, 2023
dc8bc4f
Fix broken vault est
smitch88 May 5, 2023
7546c06
Try fonts in images dir just for static files check
smitch88 May 5, 2023
d9fb986
header restyle
HrikB May 6, 2023
552ba60
Add swap routes styling
smitch88 May 6, 2023
75edb04
Fix confirmation modal color
smitch88 May 6, 2023
adadfc4
Fix diff percentage visibility
smitch88 May 6, 2023
016625a
Fix arrow aplit
smitch88 May 6, 2023
34aebd0
Fix eth redeem
smitch88 May 6, 2023
aecc59f
Fix redeem
smitch88 May 6, 2023
1dbd7cc
Fix mix on pill
smitch88 May 6, 2023
7ec3d9e
responsive nav and data section
HrikB May 7, 2023
18985a6
Hide history nav item
micahalcorn May 9, 2023
84614b4
Fix IPFS DApp link
shahthepro May 9, 2023
3527da5
Fix IPFS link
shahthepro May 9, 2023
cd47b80
Update meta description
micahalcorn May 9, 2023
5d66e1a
Fix wrap, curve redeem for eth
smitch88 May 10, 2023
e6a854e
Add in wrap/unwrap events
smitch88 May 10, 2023
683af57
Support multiple txs taking place
smitch88 May 10, 2023
1a498ab
Fix defaults, ordering, and mobile
smitch88 May 10, 2023
78e7ab3
Fix effective price
smitch88 May 10, 2023
3cc017e
Cleanup GTM code. (#1428)
jonathansnow May 10, 2023
f3ab294
Fix various p2/p3 issues across the board. Sticky nav, decimals, imag…
smitch88 May 15, 2023
6c50b7b
Fix first tx pending view
smitch88 May 15, 2023
961cfc7
Fix approvals when below max int provided
smitch88 May 15, 2023
31a868b
Fix curve allowance issue
smitch88 May 15, 2023
dbe995b
Fix currency ordering
smitch88 May 15, 2023
b37026f
Update contract name
micahalcorn May 15, 2023
0e32886
Hide irrelevant APY measures, change default to one week
micahalcorn May 16, 2023
a1a54f1
Gtm tracking updates (#1467)
jonathansnow May 16, 2023
d8c7020
Merge branch 'master' into oeth-dapp
shahthepro May 16, 2023
638ad4a
Revert deployment file changes
shahthepro May 16, 2023
177eb2d
Merge branch 'master' into oeth-dapp
shahthepro May 16, 2023
3be84c5
Swap Route (#1449)
HrikB May 16, 2023
a38d4d5
Fix rate display wOETH -> OETH (#1473)
smitch88 May 16, 2023
4ba1077
Fix sfrxeth -> oeth receive amount estimate (#1471)
smitch88 May 16, 2023
bb88e88
Fix address HEX and add in wrap events. (#1478)
jonathansnow May 16, 2023
26afeb4
swap routes section in the swap route (#1489)
HrikB May 18, 2023
a852d94
add ledger live connector (#1454)
rolandpo May 19, 2023
6cf07c6
Oeth dapp UI style fixes (#1511)
smitch88 May 19, 2023
e531420
fix: remove double IPFS and pull the logic to env variables (#1529)
rafaelugolini May 19, 2023
1757f27
oeth dapp merge fix (#1530)
smitch88 May 19, 2023
92e64a8
Fix url reference for learn more
smitch88 May 19, 2023
c70177e
Fix icons and transition speed
smitch88 May 19, 2023
4bbea23
Merge upstream
smitch88 May 23, 2023
85a2b8b
Revert dapp changes
smitch88 May 23, 2023
066e740
OETH Dapp, curve swap support for stETH, WETH, rETH, and frxETH (#1538)
smitch88 May 26, 2023
b12bcb9
fix dapp crash from undefined (#1571)
HrikB Jun 1, 2023
94332e1
Undefined dapp crash (#1573)
HrikB Jun 1, 2023
00ff926
History route (#1567)
HrikB Jun 6, 2023
d2295a8
Merge upstream
smitch88 Jun 6, 2023
b4bb545
Merge upstream
smitch88 Jun 6, 2023
13373fb
Restore history nav link
micahalcorn Jun 6, 2023
79af552
Merge branch 'master' into oeth-dapp
shahthepro Jun 9, 2023
88be282
Add OETH DApp Linter to CI (#1616)
shahthepro Jun 9, 2023
39704e8
Merge upstream
smitch88 Jun 9, 2023
31a3d65
Merge upstream
smitch88 Jun 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .github/workflows/defi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,25 @@ jobs:
- run: yarn prettier:check
working-directory: ./dapp

dapp-oeth-lint:
name: "OETH DApp Linter"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
cache: "yarn"
cache-dependency-path: dapp-oeth/yarn.lock

- run: yarn install --frozen-lockfile
working-directory: ./dapp-oeth

- run: yarn prettier:check
working-directory: ./dapp-oeth

slither:
name: "Slither"
# As long as we need Python 3.6 here in the test, we can only use up to Ubuntu 20.
Expand Down
15 changes: 14 additions & 1 deletion brownie/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,17 @@
OUSD_USDT = '0xcc01d9d54d06b6a0b6d09a9f79c3a6438e505f71'

OUSD_3CRVF_POOL = '0x87650D7bbfC3A9F10587d7778206671719d9910D'
CVX_REWARDS_POOL = '0x7D536a737C13561e0D2Decf1152a653B4e615158'
CVX_REWARDS_POOL = '0x7D536a737C13561e0D2Decf1152a653B4e615158'

#
OETH = "0x856c4efb76c1d1ae02e20ceb03a2a6a08b0b8dc3"
OETH_ZAPPER = "0x9858e47BCbBe6fBAC040519B02d7cd4B2C470C66"

WETH = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
FRXETH = "0x5e8422345238f34275888049021821e8e08caa1f"
SFRXETH = "0xac3e018457b222d93114458476f3e3416abbe38f"
RETH = "0xae78736cd615f374d3085123a210448e74fc6393"
STETH = "0xae7ab96520de3a18e5e111b5eaab095312d7fe84"

OETH_VAULT = "0x39254033945aa2e4809cc2977e7087bee48bd7ab"
FRAX_ETH_STRATEGY = "0x3ff8654d633d4ea0fae24c52aec73b4a20d0d0e5"
18 changes: 18 additions & 0 deletions brownie/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ def load_contract(name, address):
governor_five = load_contract('governor_five', GOVERNOR_FIVE)
rewards_source = load_contract('rewards_source', REWARDS_SOURCE)


oeth = load_contract('ERC20', OETH)
weth = load_contract('ERC20', WETH)
reth = load_contract('ERC20', RETH)
steth = load_contract('ERC20', STETH)
frxeth = load_contract('ERC20', FRXETH)
sfrxeth = load_contract('ERC20', SFRXETH)
oeth_vault_admin = load_contract('vault_admin', OETH_VAULT)
oeth_vault_core = load_contract('vault_core', OETH_VAULT)

CONTRACT_ADDRESSES = {}
CONTRACT_ADDRESSES[VAULT_PROXY_ADDRESS.lower()] = {'name': 'Vault'}
CONTRACT_ADDRESSES[HARVESTER.lower()] = {'name': 'Harvester'}
Expand Down Expand Up @@ -124,6 +134,14 @@ def show_transfers(tx):
def unlock(address):
brownie.network.web3.provider.make_request('hardhat_impersonateAccount', [address])

def fund_eth(address, balance):
brownie.network.web3.provider.make_request('hardhat_setBalance', [address, balance])



def mine_block():
brownie.network.web3.provider.make_request('evm_mine', [])

def leading_whitespace(s, desired = 16):
return ' ' * (desired-len(s)) + s

Expand Down
11 changes: 9 additions & 2 deletions contracts/node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ nodeWaitTimeout=1200
RED='\033[0;31m'
NO_COLOR='\033[0m'


main()
{
NETWORK_FILE="../dapp/network.json"

if [[ $APP_ID == "oeth-dapp" ]]; then
NETWORK_FILE="../dapp-oeth/network.json";
fi

rm -rf deployments/localhost
if [[ $1 == "fork" ]]
then
Expand All @@ -34,7 +41,7 @@ main()

nodeOutput=$(mktemp "${TMPDIR:-/tmp/}$(basename 0).XXX")
# the --no-install is here so npx doesn't download some package on its own if it can not find one in the repo
FORK=true npx --no-install hardhat node --no-reset --export '../dapp/network.json' ${params[@]} > $nodeOutput 2>&1 &
FORK=true npx --no-install hardhat node --no-reset --export ${NETWORK_FILE} ${params[@]} > $nodeOutput 2>&1 &

tail -f $nodeOutput &

Expand Down Expand Up @@ -63,7 +70,7 @@ main()


else
npx --no-install hardhat node --export '../dapp/network.json'
npx --no-install hardhat node --export ${NETWORK_FILE}
fi
}

Expand Down
5 changes: 4 additions & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"scripts": {
"deploy": "(npx hardhat deploy --export '../dapp/network.json') && yarn run copy-interface-artifacts",
"deploy:mainnet": "(npx hardhat deploy --network mainnet --verbose --export '../dapp/network.mainnet.json') && yarn run copy-interface-artifacts",
"deploy:oeth": "(npx hardhat deploy --export '../dapp-oeth/network.json') && yarn run copy-interface-artifacts:oeth",
"deploy:oeth:mainnet": "(npx hardhat deploy --network mainnet --verbose --export '../dapp-oeth/network.mainnet.json') && yarn run copy-interface-artifacts",
"node": "yarn run node:fork",
"node:fork": "./node.sh fork",
"lint": "yarn run lint:js && yarn run lint:sol",
Expand All @@ -19,7 +21,8 @@
"test:fork": "./fork-test.sh",
"test:fork:w_trace": "./fork-test.sh --trace",
"fund": "FORK=true npx hardhat fund --network localhost",
"copy-interface-artifacts": "mkdir -p ../dapp/abis && cp artifacts/contracts/interfaces/IVault.sol/IVault.json ../dapp/abis/IVault.json && cp artifacts/contracts/liquidity/LiquidityReward.sol/LiquidityReward.json ../dapp/abis/LiquidityReward.json && cp artifacts/contracts/interfaces/uniswap/IUniswapV2Pair.sol/IUniswapV2Pair.json ../dapp/abis/IUniswapV2Pair.json && cp artifacts/contracts/staking/SingleAssetStaking.sol/SingleAssetStaking.json ../dapp/abis/SingleAssetStaking.json && cp artifacts/contracts/compensation/CompensationClaims.sol/CompensationClaims.json ../dapp/abis/CompensationClaims.json && cp artifacts/contracts/flipper/Flipper.sol/Flipper.json ../dapp/abis/Flipper.json && cp artifacts/contracts/flipper/Flipper.sol/Flipper.json ../dapp/abis/Flipper.json",
"copy-interface-artifacts": "mkdir -p ../dapp/abis && cp artifacts/contracts/interfaces/IVault.sol/IVault.json ../dapp/abis/IVault.json && cp artifacts/contracts/liquidity/LiquidityReward.sol/LiquidityReward.json ../dapp/abis/LiquidityReward.json && cp artifacts/contracts/interfaces/uniswap/IUniswapV2Pair.sol/IUniswapV2Pair.json ../dapp/abis/IUniswapV2Pair.json && cp artifacts/contracts/staking/SingleAssetStaking.sol/SingleAssetStaking.json ../dapp/abis/SingleAssetStaking.json && cp artifacts/contracts/compensation/CompensationClaims.sol/CompensationClaims.json ../dapp/abis/CompensationClaims.json && cp artifacts/contracts/flipper/Flipper.sol/Flipper.json ../dapp/abis/Flipper.json",
"copy-interface-artifacts:oeth": "mkdir -p ../dapp-oeth/abis && cp artifacts/contracts/interfaces/IVault.sol/IVault.json ../dapp-oeth/abis/IVault.json && cp artifacts/contracts/liquidity/LiquidityReward.sol/LiquidityReward.json ../dapp-oeth/abis/LiquidityReward.json && cp artifacts/contracts/interfaces/uniswap/IUniswapV2Pair.sol/IUniswapV2Pair.json ../dapp-oeth/abis/IUniswapV2Pair.json && cp artifacts/contracts/staking/SingleAssetStaking.sol/SingleAssetStaking.json ../dapp-oeth/abis/SingleAssetStaking.json && cp artifacts/contracts/compensation/CompensationClaims.sol/CompensationClaims.json ../dapp-oeth/abis/CompensationClaims.json && cp artifacts/contracts/vault/OETHZapper.sol/OETHZapper.json ../dapp-oeth/abis/OETHZapper.json",
"echidna": "yarn run clean && echidna-test . --contract PropertiesOUSDTransferable --config contracts/crytic/TestOUSDTransferable.yaml",
"compute-merkle-proofs-local": "HARDHAT_NETWORK=localhost node scripts/staking/airDrop.js reimbursements.csv scripts/staking/merkleProofedAccountsToBeCompensated.json && cp scripts/staking/merkleProofedAccountsToBeCompensated.json ../dapp/src/constants/merkleProofedAccountsToBeCompensated.json",
"compute-merkle-proofs-mainnet": "HARDHAT_NETWORK=mainnet node scripts/staking/airDrop.js reimbursements.csv scripts/staking/merkleProofedAccountsToBeCompensated.json && cp scripts/staking/merkleProofedAccountsToBeCompensated.json ../dapp/src/constants/merkleProofedAccountsToBeCompensated.json",
Expand Down
3 changes: 3 additions & 0 deletions contracts/utils/addresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ addresses.mainnet.OldTimelock = "0x72426BA137DEC62657306b12B1E869d43FeC6eC7";
// OETH
addresses.mainnet.OETHProxy = "0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3";
addresses.mainnet.WOETHProxy = "0xDcEe70654261AF21C44c093C300eD3Bb97b78192";
addresses.mainnet.OETHVaultProxy = "0x39254033945aa2e4809cc2977e7087bee48bd7ab";
addresses.mainnet.OETHZapper = "0x9858e47BCbBe6fBAC040519B02d7cd4B2C470C66"
addresses.mainnet.FraxETHStrategy = "0x3ff8654d633d4ea0fae24c52aec73b4a20d0d0e5"

// Tokens
addresses.mainnet.sfrxETH = "0xac3E018457B222d93114458476f3E3416Abbe38F";
Expand Down
1 change: 1 addition & 0 deletions dapp-oeth/.enum_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
59 changes: 59 additions & 0 deletions dapp-oeth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
local.env
.env.local
.env.development.local
.env.test.local
.env.production.local
prod.env
staging.env
deploy.env

# vercel
.vercel
public/fonts

abis/*
!abis/IERC20.json
!abis/UniswapV3Pool.json
!abis/UniswapV3NonfungiblePositionManager.json
!abis/UniswapV3SwapRouter.json
!abis/UniswapV3Quoter.json
!abis/ChainlinkAggregatorV3Interface.json
!abis/CurveAddressProvider.json
!abis/CurveRegistry.json
!abis/CurveRegistryExchange.json
!abis/UniswapV2Router.json
!abis/UniswapV3Factory.json
!abis/WOUSD.json
!abis/OETHZapper.json

# if you use npm instead of yarn do not commit the lock file to git because it can break the Google App Engine build
package-lock.json

.env
Loading