Hooks
Custom pre/post-swap callbacks let Olympus enforce bonding pricing, capture protocol fees, and run treasury operations atomically with every trade.
Olympus OHM is the original decentralized reserve asset. With the migration to Uniswap V4, bonding, treasury operations and protocol-owned liquidity are now executed inside a singleton pool secured by custom hooks — no forks, no wrappers, no off-chain dependencies.
OHM is collateralized by a diverse, on-chain treasury of risk-adjusted assets. Its value floor is enforced through bonding and treasury arbitrage — not algorithmic peg defense.
The protocol is governed by gOHM holders and operates as a fully on-chain monetary authority: every parameter, mint, and redemption flows through transparent, audited contracts.
Custom pre/post-swap callbacks let Olympus enforce bonding pricing, capture protocol fees, and run treasury operations atomically with every trade.
One contract holds all V4 pools. OHM bonds settle without spinning up bespoke pool contracts — gas costs collapse, and treasury accounting unifies.
EIP-1153 lets hooks share data within a single transaction at near-zero cost — used by the bonding calculator to price discount tiers in real time.
V4 supports raw ETH pools. OHM/ETH bonds skip wrapper hops, reducing surface area and trimming a full external call from every settlement path.
// contracts/UniswapV4BondingCalculator.sol function beforeSwap( address sender, PoolKey calldata key, IPoolManager.SwapParams calldata params, bytes calldata ) external override returns (bytes4, BeforeSwapDelta, uint24) { uint256 discount = _computeDiscount(key, params); treasury.deposit(sender, params.amountSpecified, discount); return (BaseHook.beforeSwap.selector, ZERO_DELTA, 0); }
Set per-block by the hook based on treasury runway and market premium.
Linear release tracked on-chain via ERC-6909 receipt tokens.
Per-epoch caps prevent oversupply; unused capacity rolls forward.
Reserves enter the treasury and OHM mints in the same swap call.
StateView reads V4 pool TWAP; no external oracle required.
Hook captures swap fees and routes them directly to POL accounting.
Audited. Verified. Reproducible. Read the source, run the tests, ship against the hooks.