A repository to track and open source SharedStake's on-chain contracts and their addresses.
Veth2 is a yield bearing token that represents staked Ether. The contract has a minter address that mints the token whenever an Ether deposited to the minter contract. When 32 eth exceeded, you can call the stake to eth2 function on the minter contract and create a validator. This will lock the Eth deposited into the eth2.
Minter contract is responsible for:
- minting/burning vEth2
- Staking Ether to Eth2
- Collect Admin fee
- Change the minter contract & address in case its needed.
SGT is the Governance Token of the SharedStake platform. SharedStake DAO is a Decentralized Ethereum Staking Service, which provides extra incentive with yield farming, on top of Ethereum2 staking profits. Protocol allows stakers to use their staked Ether as vEth2 while earning ethereum2 staking profits and supports various other DAO such as Uniswap and Snowswap.
Merkle Root Distributor. These Contract deal with verification of Merkle trees (hash trees) for the airdrop distribution. "Distributor" Contract will be implemented with this template, which has non-continutous merkle root distribution for eth2 staking rewards.
You can stake your SGT, SGT-ETH uniswap LP or vEth2 to get SGT Rewards.
Timelock contract that locks up 40% of SGT token supply for 2 years
You can use Remix or any other preffered setup.
- Release vEth2Token.sol with your address for owner and minter
- Release Minter.sol, using the vEth2 token address
- Call set minter on vEth2 to transfer the ownership to Minter address.
- In the case of contract upgrades, Minter has a setMinter to transfer the token supply to the new contract
- Minter will not transfer non-staked Ether to the new contract!