The Lockup-Stake-MetaPool
contract allows lockup account owners to stake in Meta Pool obtaining the risk reduction benefit
of automatically distributing the stake into the most performant and stable validators.
Lockup-Stake-MetaPool works as a normal stake pool contract, accepting Lockup-accounts while keeping the added benefit of automatically keeping the stake delegated into performant validators.
The contract is non-custodial, and the owner can unstake the funds with the standard four epochs delay.
lockup.meta-pool.near
- run
bash build.sh
- Compile Meta Pool liquid staking contract, using the branch named:
with-test-functions
- copy the generated
metapool.wasm
into the/res
foldercp target/wasm32-unknown-unknown/release/metapool.wasm ../lockup-stake-metapool/res/
- run
cargo test
lockup.meta-v2.pool.testnet