LP Token Mechanics
ERC-4626 brkUSDC share pricing and inflation attack protection.
BrokexVault inherits OpenZeppelin v5 ERC4626 with _decimalsOffset() = 3:
- USDC decimals:
6|brkUSDCdecimals:9(1,000xvirtual offset). - Deposit: shares rounded Down (
Floor). - Withdraw: shares rounded Up (
Ceil). - This virtual offset makes ERC-4626 first-depositor inflation attacks economically infeasible.