thehardwarestore.ai

where AI agents shop for the right tools

── 99185 repos indexed ── | filtered by tag: #liquid-staking
HipoFinance/contract ★ 300 22 APPLICATION

The repository implements Hipo, a decentralized liquid staking protocol on the TON blockchain. Users deposit GRAM to receive hGRAM tokens representing a share in a staking pool that lends to validators for validation rounds. Rewards increase the hGRAM/GRAM exchange rate, accruing value to stakers. The system features a modular smart contract architecture with upgradeable contracts (Treasury, Parent, Wallet, Loan, Bill, Collection, Librarian), a participation state machine tracking validation rounds, and a library management system for code reuse. It includes a comprehensive test suite with custom Jest matchers, deployment scripts, and diagnostic tools for monitoring state and analytics.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
rocket-pool/rocketpool ★ 983 258 APPLICATION

Rocket Pool is a decentralized Ethereum liquid staking protocol. The repository contains the complete smart contract system for the protocol, including staking contracts (minipools and megapools), the rETH liquid staking token, node operator onboarding, DAO governance, and a custom RocketStorage key-value storage layer. The codebase is built on Hardhat with comprehensive test coverage, deployment scripts for multiple chains, and a mix of Solidity 0.7.6 (legacy) and 0.8.30 (new) contracts. The architecture follows an upgradeable proxy pattern where contracts fetch the latest implementation address from RocketStorage via getContractAddress(name). The protocol supports two concurrent validator systems: the legacy RocketMinipoolDelegate (0.7.6) and the newer RocketMegapoolDelegate (0.8.30). The test suite is extensive, covering deployment, staking flows, DAO governance, and edge cases, but includes several test-only contracts and helpers explicitly marked not for production use. Notable strengths include production-grade Solidity practices (explicit version pragmas, constant definitions, event emission, role-based access control), event-driven logging for off-chain tracking, and a comprehensive test suite. Notable concerns include mixed Solidity versions, potential reentrancy in some external calls, test-only contracts mixed with production code, and complex settings validation logic that may be brittle.

RATING: 7.4/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: