Smart contracts for the PRISM staking protocol. Contracts are UUPS-upgradeable and built with Hardhat.
Token— the PRISM tokenVault— the xPRISM ERC4626 staking vaultRedemptionQueue— T+N unstaking queueExpress— deposit/redeem gateway with KYC and limitsAssetRegistry— supported-asset configuration and price feedsMintRedeemLimiter— per-operation deposit/redeem limits
Deployed contract addresses for all networks (mainnet + testnet) are in deployed-addresses.md.
# install dependencies
npm install
# compile contracts
npm run compile
# run tests
npm run test
# format
npm run formatIndependent security audit reports are in audits/.
This project is released under the MIT License. While the MIT License does not require it, if you use this software in your own product or service, we kindly ask that you include visible attribution to OpenEden (e.g. in your documentation, UI, or credits) and link to openeden.com.