Skip to content

Cyfrin/2024-09-stakelink

Repository files navigation

stake.link

Prize Pool

  • Total Pool - $50,000

  • H/M - $42,000

  • Low - $4,250

  • Community Judging -$3,750

  • Starts: September 30, 2024 Noon UTC

  • Ends: October 17, 2024 Noon UTC

  • nSLOC: 2530

About the Project

stake.link is a first-of-its-kind liquid delegated staking platform delivering DeFi composability for Chainlink Staking. Built by premier Chainlink ecosystem developer LinkPool, powered by Chainlink node operators, and governed by the stake.link DAO, stake.link's extensible architecture is purpose-built to support Chainlink Staking and to extend participation in the Chainlink Network.

Protocol Diagram

Actors

  • Staker: Stakers hold stLINK which is the liquid staking token minted by the StakingPool when LINK is deposited.

  • Queued Staker: Queued stakers have deposited LINK into the Priority Pool that is queued to be staked into the Staking Pool once space becomes available.

  • Queued Withdrawer: Queued withdrawers have deposited stLINK into the Withdrawal Pool that is queued for withdrawal once LINK becomes available.

  • Operator: An operator has authorization to raise an alert in the Chainlink staking contract through their respective Operator Vault.

  • Operator Rewards Receiver: The rewards receiver in an Operator Vault has authorization to withdraw operator rewards for that vault as well as transfer the role to another address.

  • Owner: The owner is a 5/7 multisig controlled by the stake.link council and has authorization to upgrade contracts and manage parameters that affect how the protocol functions.

Scope (contracts)

The following contracts are in scope:

contracts/
└── core/
|   ├── lstRewardsSplitter/
|      ├── LSTRewardsSplitter.sol
|      └── LSTRewardsSplitterController.sol
|   ├── priorityPool/
|      ├── PriorityPool.sol
|      └── WithdrawalPool.sol
|   ├── StakingPool.sol
└── linkStaking/
    ├── base/
       ├── Vault.sol
       └── VaultControllerStrategy.sol
    ├── CommunityVault.sol
    ├── CommunityVCS.sol
    ├── FundFlowController.sol
    ├── OperatorStakingPool.sol
    ├── OperatorVault.sol
    └── OperatorVCS.sol

Compatibilities

Blockchains:

  • Ethereum

Tokens:

Setup

Build:

yarn install

yarn compile

Tests:

yarn test

Known Issues

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published