NewWhitepaper draft v0 Read
Developers

Read the vault from your contract.

Strategy hooks let external contracts read vault state and inventory through a public interface. Every quote input, inventory change, hedge intent and fill is an event.

Strategy hooks

A public read surface.

Build a hedge-aware router, a dashboard or a risk monitor on top of the vault. These are the read functions of the vault as written and tested. Mainnet deployment and the open-source repo are In progress.

IPropiumVault.solTested · not deployed
interface IPropiumVault {
  function inventory() external view returns (int256);
  function netDelta() external view returns (int256);
  function navPerShare() external view returns (uint256);
  function freshMid() external view returns (uint256);
  function slippage(uint256 usd) external view returns (uint256);
  function quote(bool sellHype, uint256 amountIn)
    external view returns (uint256 out, uint256 cost, uint256 slip, int256 skew);
}
Event log

Every step, from block one.

EventCarriesWhen
Quotepool, mid, slippage, skew, fee, core height, data ageevery swap
InventoryUpdatedpool, delta, new inventoryevery swap
HedgeIntentnonce, side, size, price limitthreshold crossing
HedgeFillednonce, filled size, avg pricefill reconciled
Pausedwho, paused or resumedowner (multisig)
PriceUpdatedcore height, timestamp, midnewer signed price

Chain

Elysium mainnet, chain id 99901. 100 ms blocks.

Hedge venue

HyperCore, through the ElysiumCoreWriter predeploy. In progress.

Signed feed

Live at dapp.propium.app/api/feed: HYPE mid and hedge slippage, EIP-712 signed by 0x8c11…5c93.