Skip to content

Standard staking contract, compatible with lockup-accounts, distributed stake but no LST returned to user

Notifications You must be signed in to change notification settings

Meta-Pool/lockup-stake-metapool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stake Lockup Accounts with Meta Pool

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.

Audit

Mainnet contract address

  • lockup-meta-pool.near

Instructions

To Build the wasm

  1. run bash build.sh

Local Integration Test

  1. Compile Meta Pool liquid staking contract, using the branch named: with-test-functions
  2. copy the generated metapool.wasm into the /res folder cp target/wasm32-unknown-unknown/release/metapool.wasm ../lockup-stake-metapool/res/
  3. run cargo test

Testnet contract address

  • lockup.meta-v2.pool.testnet

About

Standard staking contract, compatible with lockup-accounts, distributed stake but no LST returned to user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published