docs(liquidity-hub): add HubLens, Centrifuge, NAV pause and audits - #415
Draft
Debugger022 wants to merge 3 commits into
Draft
Debugger022 wants to merge 3 commits into
Debugger022 wants to merge 3 commits into
Conversation
The Hub no longer overrides maxDeposit or maxMint, so both return type(uint256).max and are not limits. The real ceiling now comes from HubLens. Nothing on chain points at that contract, so its address has to be documented or integrators cannot find it. Describes the post-upgrade state. HubLens addresses are TBD until the deploy lands.
- Centrifuge yield group from VIP-661: lifecycle, NAV band, adapter, addresses - Hub pause on NAV break via DeviationSentinel, marked not deployed - index the LH and Centrifuge audit reports - FRV APY is net of reserve factor; add adapter resourceName - paused emergencyReallocate settles fail-open, YieldGroupAccrualFailed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
HubLens deposit sizing (venus-liquidity-hub#20)
technical-reference/reference-liquidity-hub/hub.mdSizing a depositsection:Hub.maxDeposit/maxMintare no longer limits, read the real ceiling fromHubLens, plusdepositCapacityBreakdown.maxDeposit/maxMintare now inherited unmodified and returntype(uint256).max; onlymaxWithdraw/maxRedeemstay overridden.HubLensrather than the Hub.max*views return 0.HubCapacityExceededdocumented as carrying(assets, placed).technical-reference/reference-liquidity-hub/README.md:HubLensadded to Contracts.deployed-contracts/liquidity-hub.md:HubLensrows on mainnet and testnet.whats-new/liquidity-hub.md: one clause on the atomic-or-revert bullet noting the revert reports how much would have fit.Other changes from venus-liquidity-hub#20 and #22
adapters.md: FRVspotAPYBpsis net of the vault'sreserveFactor(600 BPS at a 10% reserve factor reports 540).adapters.md,interfaces.md:resourceNameadded toIResourceAdapter.hub.md: a pausedemergencyReallocatesettles resources fail-open, and the newYieldGroupAccrualFailedevent.Centrifuge yield group (VIP-661, live on the USDT Hub)
yield-groups.md:YieldGroupCentrifuge, the async request and claim lifecycle, and the NAV band with the values VIP-661 set.adapters.md:AdapterCentrifuge.whats-new/liquidity-hub.md: Centrifuge as a yield family.deployed-contracts/liquidity-hub.md: source, JTRSY and JAAA vaults, beacon and adapter, mainnet and testnet.Hub pause on a NAV break (venus-periphery#75)
hub.md,yield-groups.md: keeper check inDeviationSentinelthat pauses the whole Hub throughEBrake. Marked not deployed.Audits
security-and-audits.md: Liquidity Hub (HashDit 2026/07/07, Cantina 2026/08/11) and Centrifuge yield group (HashDit 2026/09/04).Open before merge
HubLensdeployed on BNB Chain mainnet, address filled in (currentlyTBD)HubLensdeployed on BSC testnet, address filled in (currentlyTBD)