Ethereum-based no-loss protocol, leveraging Eth2.0 and Lido's stETH to find exciting new uses for staking rewards.
Raffle Pools - stake your stETH in the raffle pool to have a chance to win a weekly prize jackpot. The higher your contribution to the pool, the greater your chance of winning. All the players staking rewards are pooled together and each week, a raffle automatically calculates a winner and assigns the prize jackpot to the winner's deposit balance. This pool utilises Chainlink VRF to ensure verifiable randomness and a fair raffle process.
Donation Pools - stake your stETH in a donation pool for a no-loss way to support the causes you care about. Would you like to set up a campaign? Use our donation factory to create a new donation pool.
These pools are fully non-custodial. No fees, no time-locks: withdraw your full stETH deposit at any time.
RafflePool: https://goerli.etherscan.io/address/0x82276EA98dF755d4AF1324142A236Fe1732E111d
DonationFactory: https://goerli.etherscan.io/address/0x9eDA587356793083C7b91E622b8e666A654Ca0EE
Deployed at https://stakewell-rosy.vercel.app/
Notes:
- DonationPool interaction is not yet implemented, currently can only create a campaign.
- RafflePool
- DonationFactory.sol
- DonationPool.sol
In contracts/src/ folder.
Deployed at https://goerli.etherscan.io/address/0x82276EA98dF755d4AF1324142A236Fe1732E111d
Deployed at https://goerli.etherscan.io/address/0x9eDA587356793083C7b91E622b8e666A654Ca0EE
[Example Campaign] Deployed at https://goerli.etherscan.io/address/0xf28726b71b0B442858A9DcFbf1F3A71F117bd7E2
- Support our playform development by staking your
stETHin this pool!
Tests and helper scripts written in Solidity using Foundry - https://book.getfoundry.sh/
Test folder: contracts/test/.
unit/RaffleTest.t.sol - main unit and fuzz test file for the RafflePool contract.
unit/RafflePoolInvariantsTest.t.sol - invariants tests for the RafflePool contract.
invariants/RaffleTest.t.sol - handler file for RafflePoolInvariantsTest.t.sol invariants tests of RafflePool contract.
unit/DonationFactoryTest.t.sol - main test file for the DonationFactory and DonationPool contracts.
unit/StEthTest.sol - test file for the mocks/StEthToken.sol contract.
-
DeployRafflePool.s.sol- script to deploy the RafflePool contract. -
HelperConfig.s.sol- helper script to populate constructor values when deployingRafflePoolcontract. -
Interactions.s.sol- helper script to programmatically set up interactions with Chainlink VRF when deployingRafflePoolcontract.
-
DeployDonationFactory.s.sol- script to deploy theDonationFactorycontract. -
HelperConfigDonation.s.sol- helper script to populate constructor values when deployingDonationFactorycontract.
Next.js 13 & Typescript Project. Initialised using Wagmi create-next-app.
Utilises new Next13 app router, within src folder.