sharedstake / contracts Goto Github PK
View Code? Open in Web Editor NEWA repository to track and open source SharedStake's on-chain contracts and their addresses.
A repository to track and open source SharedStake's on-chain contracts and their addresses.
We can do it together team work makes it happen???
We want to move from geysers to Sett style vaults for our rewards, based on yearn vaults.
We want this sett vault to be useable for LP providers for SGT ETH.
It should have an accompanying strategy that allows it to auto-compound earnings in SGT by providing them as liquidity to uniswap, and selling any required to create the ETH side.
Should have documentation for functionality and deployment.
Should be tested on a testnet. We can send you SGT to test with on goerli.
Bonus high value requirement:
There are known instances of hackers stealing veth2 funds from user wallet. One of which transferred the stolen funds to this wallet address. It does not seem like the hacker will be able to sell the veth2 due to liquidity problems and might even be safe until withdrawals open.
Could we implement a withdrawal blacklist for hackers/scammers such as this, then perhaps recover the funds to the original owner if the hacker does not sell the veth2?
https://etherscan.io/address/0xb41e08356ceb25cb83bfbba56b6fabd6950f2cd7#tokentxns
Users should be able to use our contract for solo staking.
To start we would require users to have the following:
For this we will need to upgrade the send2eth2 function in the minter to use AccessControl over having a single owner.
For a simplified implementation, the SGT bonded user should be able to call the function directly, resulting in a deposit function call which returns 32 vETH2 to them in exchange for 32.1 ETH.
The solo staker can then use their vETH2 to earn profits at a higher APY in our ecosystem while waiting for ETH2 rewards to be unlocked via a chain merge or other mechanism the EF comes up with.
This way the solo staker holds onto both their private keys for withdrawals and the validator.
The solo staker will be responsible for running their own validator to start with and entering the correct public keys for the call registering the validator.
inspired by this: https://etherscan.io/tx/0xb19d20b422df26b50775358f64234e8d45d6d96befddfa8cd77ceefa568eb9fb
Mushrooms finance did a multisend to a targeted group of power-defi users with a one-off erc20 titled "try mushrooms finance".
This is great directed marketing.
We should give this a shot.
You can most likely get the user data from the linked tx.
Additionally it might be viable to fork, deploy and reuse the multisend contract ethglobal uses to return user funds:
https://etherscan.io/address/0x941f40c2955ee09ba638409f67ef27c531fc055c#code
Requirements:
Create a voter proxy to allow people to vote with locked SGT
References:
There is a WIP AAVE long/short ETH deposit strategy contract here.
This needs some more thought to figure out the best credit delegation strategy. I.e. from contract to user or vice versa? Or both?
Also needs to be fixed up, and tested on kovan where AAVE exists but sharedstake doesn't.
Needs to be able to open a position on AAVE using ETH or stablecoins, on behalf of itself and the user. Needs to be able to credit delegate remaining funds back to the user, or to the contract if the CDP is opened on behalf of the user.
Needs to be able to withdraw ETH or stables from the CDP.
Exchange to ETH using uniswap if borrowing stables.
And finally deposit the ETH to the sharedStake deposit contract and return accumulated vETH2 back to the user.
[Bounty] This is eligible for a bounty payout
Implement the suggestions and changes in the attached pdf, with discretion.
PRE-Shared_Stake_DAO-15_03_2021.pdf
Would be nice to have flexible reward rates based on a timelock duration, e.g. like the code from the cream timelock rewards contracts here:
#14
This would ease sell pressure off SGT while allowing users to gain larger rewards for longer timelocked LP tokens.
Its a LP that's created to support the project before it commences activity or/and trading.
Certain rules are to be applied here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.