Skip to main content

Smart Contracts Overview

Crowd.Credit's on-chain infrastructure consists of four core smart contracts deployed on Ethereum and supported L2 networks. All contracts are upgradeable via UUPS proxy pattern and governed by a multi-sig.

Contract Architecture​

                    OracleReader
(Price Feeds)
|
User Wallet ----> DepositVault ----> YieldRouter
| |
v v
CreditEscrow [Aave/Compound/Lido]

Core Contracts​

ContractPurposeKey Functions
DepositVaultHold user deposits as collateraldeposit(), withdraw(), getBalance()
YieldRouterRoute deposits to yield strategiesallocate(), harvest(), rebalance()
CreditEscrowManage credit draws and repaymentsdraw(), repay(), liquidate()
OracleReaderAggregate price feeds for valuationsgetPrice(), getHealthFactor()

Security​

Audits​

All contracts have been audited by independent security firms. Audit reports are available in the public repository.

Access Control​

  • Owner: Multi-sig wallet with timelock for upgrades
  • Operator: Platform backend for automated operations (yield harvesting, liquidations)
  • User: Individual wallet holders for deposits/withdrawals

Emergency Controls​

  • pause() -- Halts all contract operations in case of emergency
  • emergencyWithdraw() -- Allows users to withdraw deposits even when paused

Deployed Addresses​

Contracts are deployed on the following networks:

NetworkStatus
Ethereum MainnetPending
PolygonPending
ArbitrumPending
BasePending
OptimismPending

Contract addresses will be published here after mainnet deployment.

Next Steps​