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

LINK staking #5

Open
freeslugs opened this issue Jul 9, 2024 · 2 comments
Open

LINK staking #5

freeslugs opened this issue Jul 9, 2024 · 2 comments
Assignees

Comments

@freeslugs
Copy link
Contributor

RECAP on updated plan for LINK staking:

  1. Continue building the LINK adapter (based on tenderize)
  2. When staking LINK, adapter should spin up “vault” contracts depending on whether the staker is an operator or not (community)
    1. Adapter controls many vaults; One Vault per users,
    2. User can stake LINK tokens via vault
  3. User can redeem rewards / withdraw all their link

Next steps:

  1. download all the vaults
  2. Implement VCS logic inside of our LINK adapter

Open question :

  1. how does stake.link distinguish between operator or not, and what is the difference in UX
 function deposit(uint256 _amount) external override onlyVaultController {
        trackedTotalDeposits += SafeCast.toUint128(_amount);
        token.safeTransferFrom(msg.sender, address(this), _amount);
        IERC677(address(token)).transferAndCall(address(stakeController), _amount, "");
    }

https://github.com/Cyfrin/2023-12-stake-link/blob/main/contracts/linkStaking/OperatorVault.sol
https://github.com/Cyfrin/2023-12-stake-link/blob/main/contracts/linkStaking/CommunityVault.sol

@freeslugs freeslugs self-assigned this Jul 9, 2024
@freeslugs
Copy link
Contributor Author

  1. Integrate the vault proviioning and staking logic
  2. deploy something to testnet/local
  3. integrate into webapp

Create thoughtful documentation
once it's in the dapp
theres an outlien - for all these differnep protocols -

  • what are the LSTs we can create
  • what apis' we're inteacting wtih
  • links to smart contracts
  • it uses vault + strat manager + keeper
  • how do we rank deposits? (fifo?)
  • is it a stake-based thing?
  • explaion how to use the dapp
  • can we run a keeper AVS on tangle to faciltiate the strategy

for chainlink - is there any incentive for hte protocl - does the protocol take any of hte rewards ?
dapp inteagration + docs ( here's the ssystem and what you get for integrating)

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

No branches or pull requests

1 participant