Skip to content

feat(liquidity-sdk-viem): add Vault V2 liquidity loader - #930

Draft
Rubilmax wants to merge 21 commits into
hermes/public-allocator-v2-sdkfrom
hermes/vault-v2-liquidity-sdk
Draft

feat(liquidity-sdk-viem): add Vault V2 liquidity loader#930
Rubilmax wants to merge 21 commits into
hermes/public-allocator-v2-sdkfrom
hermes/vault-v2-liquidity-sdk

Conversation

@Rubilmax

Copy link
Copy Markdown
Contributor

Summary

  • add an independent REST-backed VaultV2LiquidityLoader
  • validate API payloads and pin REST/RPC hydration to one indexed block
  • preserve coherent simulation state, document the loader, and update peer floors

Stack

Validation

  • pnpm lint
  • pnpm --filter @morpho-org/liquidity-sdk-viem exec tsc --noEmit
  • pnpm exec vitest run --project liquidity-sdk-viem (32 tests)

Foulks-Plb and others added 21 commits August 6, 2026 13:58
Freezes the design of a Vault V2 mirror of the V1 PublicAllocator
shared-liquidity engine, based on the new BluePublicAllocator periphery
contract in morpho-org/vault-v2.

Additive only: the V1 surface is untouched, the new symbols mirror V1
names with a VaultV2 suffix, and the engine is deliberately not wired
into any transaction flow (deferred to the blue bundles migration).

Records the contract-level finding that VaultV2 rebases allocation[id]
to expectedSupplyAssets rather than incrementing it, so shared allocation
ids do not net to zero across a reallocation and allocation[id] never
bounds the deallocate leg.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Rubilmax
Rubilmax force-pushed the hermes/public-allocator-v2-sdk branch 2 times, most recently from 11e1acc to 15112a8 Compare August 18, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants