{"repo":"Sapien-io/sapien-contracts","free":true,"listed":false,"github":"https://github.com/Sapien-io/sapien-contracts","clone":"git clone https://github.com/Sapien-io/sapien-contracts.git","description":"Sapien AI Smart Contracts","language":"Solidity","stars":14,"topics":["ethereum","solidity"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"SapienVault ERC-4626 vault for SAPIEN token staking with typed lock categories. Holds user funds and implements contributor locks, validator capacity and share-burn slashing. Slashing burns shares, redistributing underlying assets to all remaining stakers. Network Sapien Vault Sapien Token USDC --------- -------------- -------------- ------ Base mainnet 0x60Bf63729f688287a450299962b36Cef0aFfaa42 0xC729777d0470F30612B1564Fd96E8Dd26f5814E3 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Base Sepolia 0x58E72Fa7fb92B100f2c652377465EEEe2642544C 0x7F54613f339d15424E9AdE87967BAE40b23Fa7F6 0x4d4394119CF096FbdbbD3Efb00d204c891C6Cd05 Documentation Full vault design, roles, ERC-4626 behavior, locking/slashing, and integration notes: docs/SapienVault.md . Sapien token MiCA whitepaper: docs/Sapien Token White Paper MiCA v1.pdf . Roles & trust assumptions The vault concentrates several privileged actions in two roles. Operators holding either role are explicitly trusted; deploy-time policy SHOULD assign both to a multisig and route admin actions through a timelock. Role Holder Privileged actions ------ --------------------- -------------------- DEFAULT ADMIN ROLE Multisig behind a TimelockController setMinDepositAge , pause / unpause , rescueETH , authorizeUpgrade (UUPS), grantRole / revokeRole ENGINE ROLE Smart Account unlockStake , slashStake (burns user shares — irreversible) Build & test Deploy Base Sepolia Prerequisites - Foundry - Solidity ^0.8.36","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sapien-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sapien-io/sapien-contracts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}