Modules
Last updated
Last updated
Here we introduce the system modules of Allstake, by illustrating how Allstake works between NEAR and Solana.
Allstake Hub, living on NEAR Protocol, is built with the modules below:
Strategy Manager: track the deposit and stake states of LST strategies across multiple chains like NEAR and Solana
Delegation Manager: register operator to AVS/App chain; allow delegation from restakers to operators
AVS/App chain Directory: register AVS/App chain by AVS/App chain developers
Slasher: slash operators for under-performance according to network's performance evaluation criteria
Payment Coordinator: distribute rewards to operators and restakers based on operator performance and delegation amount
Client Contracts on Solana, enable native restaking with LSTs on Solana:
Strategy Manager: accept deposit and stake native LSTs (e.g. mSOL) on Solana.
Delegation Manager: allow restaked LSTs to be delegated to operators registered on Allstake Hub;
Operator Manager: manage slashing and reward distribution to delegators on Solana;
Cross-Chain Interoperability, powered by Chain Signature and Light Clients:
The states of Strategy Manager and Delegation Manager on Solana are relayed to Light Clients on NEAR, and are accessible with Connector contracts on NEAR.
Powered by Chain Signature, Allstake Hub can synchronize AVSs/App chains and operators registration states to Solana, and slash and reward restakers on Solana in real time.
AVS/App chain, built with middleware and SDKs provided by Allstake, can register on Allstake Hub. The Stake Registry can read delegation shares from both NEAR and Solana Delegation Managers, and secure AVSs with restaked assets from both NEAR and Solana.