Skip to content

Commit

Permalink
Merge pull request #1 from gas-limit/0.8-standalone
Browse files Browse the repository at this point in the history
0.8 standalone
  • Loading branch information
gas-limit authored Nov 21, 2024
2 parents 977afa3 + 958acd2 commit 29cc415
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-foundry-upgrades"]
path = lib/openzeppelin-foundry-upgrades
url = https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades
[submodule "lib/openzeppelin-contracts-upgradeable"]
path = lib/openzeppelin-contracts-upgradeable
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ This repository offers a suite of smart contracts designed to facilitate multi-t

## Contracts Overview

1. **StandaloneRewarder**: Enables direct token staking and rewards without external dependencies.
2. **MasterChefRewarder**: Integrates with MasterChef to provide multi-token rewards for liquidity providers.
3. **ChefIncentivesRewarder**: Extends ChefIncentivesController, rewarding users holding aTokens or LP tokens.
1. **MasterChefRewarder**: Integrates with MasterChef to provide multi-token rewards for liquidity providers.
2. **ChefIncentivesRewarder**: Extends ChefIncentivesController, rewarding users holding aTokens or LP tokens.
3. **StandaloneRewarder**: Enables direct token staking and rewards without external dependencies.
4. **StandaloneRewarderModern**: A modernized version of StandaloneRewarder that uses solidity 0.8 with custom errors, modern libraries like SafeERC20, Ownable2Step, and removal of SafeMath.

Each directory includes a README.md file with detailed information on the contract's purpose, implementation instructions, and usage examples.

Expand Down
1 change: 1 addition & 0 deletions lib/openzeppelin-contracts-upgradeable
1 change: 1 addition & 0 deletions lib/openzeppelin-foundry-upgrades
Loading

0 comments on commit 29cc415

Please sign in to comment.