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

WIP: feat/avax-staking-helper Adding a staking helper contract for Avax #44

Open
wants to merge 101 commits into
base: main
Choose a base branch
from

Conversation

fqlx
Copy link

@fqlx fqlx commented Dec 17, 2021

https://www.notion.so/ribbonfinance/AVAX-Incentives-419e9ba679444d7f99bcd82b55d76bfc

We decided to add redeemFor() rather than use Multicall.sol to save users gas.

chudnov and others added 30 commits April 13, 2021 20:00
add multi-vault (rETH-THETA / rWBTC-THETA) staking rewards
kenchangh and others added 20 commits May 19, 2021 14:57
* Updated amounts

* Fixed readme numbers
* Final airdrop changes

* Added owner for airdrop & root

* Use test account

* Add airdrop JSON files into repo

* Add prefix

* Added rUSDCTHETA

* Deploy USDC staking rewards

* Typo
* Update mainnet deploy script

* Fixed airdrop

* Delete airdrop.json

* Github
* Reorg files

* Reformat README

* Update links

* Update block
…#24)

* Update variable parameter for liquidity mining contract depending on network

* Update parameters of reward contract for kovan
* update staking rewards to quick reward update time
* remove rewards when they withdraw before the end of the lm program
Co-authored-by: John Doe <j@j>
* push weeks passed + 1
* add setStartEmission, make periodFinish more precise
* working tests

* Fix MerkleDistributor test

* pain

* Move out airdrop section
* reorganize folders

* Governor contracts

* Fixing compile, revert to older version

* use old version

* Change name

* Fix test

* Running tests

* working GovernorBravo

* Working permit

* fixed tests

* Remove unused imports

* remove unused import

* Add back file

* make non-transferrable toggle for sRBN

* set to bool

* fix fixture

* set transfers allowed in other tests

* Test

* add

* sub _

* un-npxprettierwrite

* change to bool

Co-authored-by: Your Name <[email protected]>
* add whitelist to voting lockup

* update comment

* add pausing for locking functionality

* add SmartWalletWhitelist.ts

* add whitelist testing from incentivized voting lockup

* fix tests

* fix warnings, decouple redeemRBN into two methods for manual / automated

* fix comments

* add shares system

* compress to 256 bit slot

* change to one-liner

* use toInt112

* add shares tests

* safecast

Co-authored-by: Your Name <[email protected]>
@fqlx fqlx force-pushed the feat/avax-staking-helper branch 7 times, most recently from cb814f6 to 665fdd5 Compare December 17, 2021 21:13
@fqlx fqlx force-pushed the feat/avax-staking-helper branch from 665fdd5 to e881435 Compare December 17, 2021 21:17
@chudnov chudnov force-pushed the feat/avax-staking-helper branch from e881435 to 5a70634 Compare September 1, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants