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

Update ETH Reward Pool #240

Merged
merged 13 commits into from
Nov 8, 2023
Merged

Update ETH Reward Pool #240

merged 13 commits into from
Nov 8, 2023

Conversation

kexleyBeefy
Copy link
Member

@kexleyBeefy kexleyBeefy commented Sep 28, 2023

Fee Batch
Beefy fees are sent to the Fee Batch to be split up between the treasury and the BIFI reward pool. The new Fee Batch uses the new Beefy Swapper contract to convert ETH into any other tokens before distributing and notifying the reward pool.

Reward Pool
The new reward pool can handle multiple rewards and can be notified with new rewards either by the Fee Batch or a manager. Reward tokens are pulled from the notifier, a change from the existing contract.

Oracle
On-chain oracle which uses chainlink feeds or AMM TWAPS. Price calculation logic is delegated to sub oracles, encoded data is stored on the central oracle.

Swapper
Centralised swapper that can handle swapping between any ERC20 tokens. Routing and data is set by the owner and is stored for all future swaps. The oracle is used to calculate minimum amount out from swaps.

@kexleyBeefy kexleyBeefy marked this pull request as ready for review October 11, 2023 20:19
@MirthFutures MirthFutures merged commit f3a8d92 into master Nov 8, 2023
1 check passed
@MirthFutures MirthFutures deleted the fix/eth-gov-pools branch November 8, 2023 13:45
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.

2 participants