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_ROLEholds the KNX curve’sbuy. - 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 callsdisarm. 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:
restoreUnbackedReservesaccepts at most the caller’s own recorded draw. The controller is the only address with a recorded endowment draw, andEndowmentController_v1has no function that callsrestoreUnbackedReserves(Restoration).EndowmentController_v1has no function that callssetReferenceSellsClosed. 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 (
_isFullModeEnabledreturns false) (Configuration fields not active in this version).
house-markets/contracts at 0ebbc89a (branch integration/v12-post-qa); house-markets/config-space at d2d3c7fc (main).