Draft. The Knicks deployment is not yet live, and everything on this page is subject to change before deployment.
The Knicks markets move through a set of states, each started and ended by a call to a market contract. Every call by ECONOMIC_ADMIN or DEFAULT_ADMIN_ROLE is scheduled on the market’s admin execution core and waits the core’s minimum delay (The admin execution core).

States

The functions in each state are explained on these pages:

Order across the two markets

NYK early-access deposits and NYK purchases are in KNX. A buyer holds KNX before buying NYK, either from the KNX curve or from another address.
  • The NYK presale module buys through the NYK curve’s buy, so the NYK buy switch must be open during NYK early access.
  • KNX can be bought on the KNX curve when the KNX buy switch is open and PUBLIC_ROLE holds the KNX curve’s buy.
  • On KNX, endowment setup closes before any trade. Registration of the controller reverts if any KNX supply exists.
  • KNX trading continues while the controller is armed and drawing.

Ending the endowment

Draws stop when the endowment admin calls disarm. Drawn amounts stay recorded as outstanding draws (States). The NYK fee split can be changed, for example to direct the elevation and operations shares toward restoring the KNX reserve. The holder of DEFAULT_ADMIN_ROLE on the NYK fee treasury makes the change with setRecipients and setElevation (NYK fee split). In this version of the contracts:
  • restoreUnbackedReserves accepts at most the caller’s own recorded draw. The controller is the only address with a recorded endowment draw, and EndowmentController_v1 has no function that calls restoreUnbackedReserves (Restoration).
  • EndowmentController_v1 has no function that calls setReferenceSellsClosed. The KNX reference-sell switch stays open (Reference-sell switch).
  • The controller’s configuration fields for a secondary reserve and for returns are not active (_isFullModeEnabled returns false) (Configuration fields not active in this version).
No state after Endowment draws is implemented on chain in this version. Draws stay recorded as outstanding draws on the KNX reserve manager, and the draw bound applies to every later draw and to every sell into the KNX reference segment. Source: house-markets/contracts at 0ebbc89a (branch integration/v12-post-qa); house-markets/config-space at d2d3c7fc (main).