Skip to content
Morge

Menu

Documentation

How Morge works, and what exists today.

Morge is a design and a working foundation for AI-guided portfolio vaults on Elysium. The policies, the checks, the share arithmetic, the receipts and the wallet flow are implemented. The vault contracts are not deployed, so nothing takes deposits.

Overview

A Morge vault holds a small set of assets under a published policy. A depositor chooses a vault, deposits the vault’s reserve asset, and receives shares in proportion to what they added. From then on the vault’s allocation changes only through decisions: a proposer suggests new weights, deterministic checks decide whether the suggestion is allowed, and every decision leaves a receipt.

The AI is a proposer. It is never a custodian: it holds no key, sees no private data, and cannot make a transaction. Its output is treated as untrusted input to the checks.

What exists today: the three policies, the checks, the share arithmetic, the decision pipeline, receipts, wallet connection and the deposit flow, a Preview mode with sample data, and two calculators. What does not: deployed vault contracts, an on-chain price feed on Elysium, and any automated signer. The integration section lists exactly what is missing.

Vault policies

A policy is a set of limits fixed in advance. The profile names describe those settings; they do not describe an outcome and none of them protects principal.

The three vault policies
DefensiveBalancedGrowth
Target (reserve / exposure)70% / 30%50% / 50%25% / 75%
Maximum market exposure40%65%85%
Minimum reserve60%35%15%
Rebalance threshold4 pts5 pts6 pts
Turnover per decision10%15%20%
Largest single trade10%15%20%
Slippage limit0.30%0.50%0.75%
Rebalance cooldown24 h12 h8 h
Price data freshness5 min5 min5 min
Policy versiondefensive-0.1.0balanced-0.1.0growth-0.1.0

Rebalancing is threshold-based. A vault steers toward its target but does not trade until an asset has moved past the threshold, which avoids paying trading costs for every small price move. When it does trade, one decision can move only a limited share of the vault, so a large drift is corrected in steps.

Today the asset universe is USDC (reserve) and WHYPE (market exposure), the two assets verified on Elysium. A policy accepts further assets as they are verified; the checks already work per asset.

Shares and valuation

Vault shares follow the ERC-4626 tokenized-vault standard. A deposit mints assets × (totalSupply + 10⁶) ÷ (totalAssets + 1) shares, rounded down; a redemption pays the inverse, rounded down. Rounding always favours the holders who stay.

The 10⁶ and the 1 are virtual shares and a virtual asset. They make the first-depositor donation attack unprofitable: inflating the share price by sending assets straight to the vault costs the attacker far more than a later depositor can lose to rounding. The unit tests reproduce that attack and measure both sides.

Every amount that can reach a transaction is an integer in the token’s base units. Text typed into a form is parsed digit by digit, and an amount with more decimals than the asset has is rejected instead of rounded. No floating point number takes part in a token amount.

A vault’s value is what it holds, priced in its reserve asset. Pricing WHYPE needs a price source the contract can read on chain, and Elysium does not have one yet. Until it does, valuations in this application come from off-chain observations that are shown with their source and time, and are used only for display and for Preview.

Decision pipeline

  1. 01Market data. The server reads a price from a named public source and records when it was read. Nothing downstream may use a price that did not come from this step.
  2. 02Allocation proposal. A proposer suggests weights and gives a reason. The proposer is an AI model when one is configured, and otherwise a fixed threshold rule that is labelled as not AI.
  3. 03Schema validation. The proposal must have exactly the expected structure and may cite only the data it was given. Anything else is discarded here, before any rule is consulted.
  4. 04Deterministic policy checks. Deterministic code compares the proposal with the vault policy. The outcome does not depend on who wrote the proposal, and one failed check stops it.
  5. 05Execution preparation. For an accepted proposal the trades are sized against the vault value, in integer base units.
  6. 06Authorised execution. An accepted proposal waits for the authorised signer. No signer exists in this build, so nothing goes past this stage.
  7. 07Receipt. A receipt records the decision whether it was accepted or rejected.

What a model may contribute: proposed weights, a reason, a trigger, and the identifiers of the supplied inputs it relied on. What it may not: a price, a balance, a quote, a timestamp, a policy version or an identifier. Those are attached by the server from what it observed itself, and extra fields in a model’s answer are dropped.

Model credentials stay on the server. Without a key, AI proposals are switched off and the interface says so; the rule-based proposer remains available and is never presented as AI. The interface shows a result when the pipeline has finished. It does not play back a simulated analysis.

A second model could review a proposal, but it would be advisory. The deterministic checks are the only gate.

Policy checks

All eleven checks run on every proposal and are reported together, so a rejected proposal shows everything that was wrong with it, each with the value observed and the limit.

The policy checks
CheckRule
Asset allowlistEvery asset with a weight must be on the vault’s allowlist.
Weights add up to 100%Weights are whole basis points between 0 and 10,000 and must total exactly 10,000.
Maximum asset allocationNo asset may exceed its ceiling.
Minimum reserveThe reserve asset may not fall below its floor.
Rebalance thresholdA trade is allowed only once an asset has drifted past the threshold, or when the current allocation is already outside a hard limit.
Turnover limitOne decision may move only a set share of the vault.
Transaction size limitOne trade may move only a set share of the vault.
Slippage limitWhen a cost estimate is attached it must be inside the limit. Without one the check reports “not applicable” rather than passing.
Price data freshnessThe price observation must be newer than the policy’s maximum age, and not dated in the future.
Rebalance cooldownEnough time must have passed since the last executed rebalance.
Vault not pausedA paused vault accepts nothing.

The first four apply to any set of weights and can be tried by hand in the policy explorer. The rest need a move from one allocation to another, and a time.

Decision receipts

A receipt is the public record of one decision. It contains what a depositor needs to judge the decision and nothing internal: no prompt, no key, no model transcript.

  • Receipt ID and proposal ID
  • Vault, and its address when one is deployed
  • Proposed time and data observation time
  • Trigger
  • Allocation before and proposed allocation after
  • Explanation
  • Input source references
  • Trades the change would need
  • Estimated fees, with their basis
  • Every validation check and its result
  • Policy version
  • Status
  • Transaction hash, only if one was actually submitted
  • Confirmation, only if inclusion was actually observed
Receipt statuses
StatusMeaning
ProposedAn allocation change was written down. It has not been checked yet.
Rejected by policyAt least one rule failed, so this change cannot execute.
Awaiting authorizationEvery rule passed. Nothing happens until the authorised signer approves it.
SubmittedA transaction was sent to the network. It is not final yet.
ConfirmedThe transaction was included in a block and succeeded.
FailedThe transaction did not succeed. The allocation did not change.
ExpiredThe change was not executed before its price data went stale.
PreviewBuilt from sample holdings to show how a decision is recorded. Nothing was executed.

A receipt cannot claim more than was observed. It becomes Submitted only with a transaction hash, and Confirmed only with a block number from an observed, successful inclusion. A receipt can be exported as JSON or printed from its page.

Live and Preview

Live shows only what was read from a connected wallet or from the chain. Where there is nothing to read, it shows an empty state that says what is missing. It never contains sample figures.

Preview shows sample holdings so the product can be explored end to end: sample deposits and redemptions, the decision pipeline, receipts, and an illustrative simulation. Every Preview surface is framed and labelled, Preview data is stored only in the browser, and Reset Preview deletes it.

The two are separate in the code as well: live views cannot import sample data and preview views cannot import the wallet, and a test fails the build if either rule is broken. The one real-world fact Preview uses is a price: read live when a source answers, and otherwise a recorded reading that is shown with its date.

Reference vaults

There is one reference vault per policy. Each is a paper vault: it holds no funds and makes no trade. It began on 1 November 2026 with a notional 100,000 USDC split at the policy’s target, and it is valued at real HYPE/USDC prices. Its purpose is to show what a policy and its checks do on a real market, using the same pipeline a live vault would use.

When a database and a schedule are configured, each vault is checked every hour. If it has drifted past its threshold, and once a day for a review, a model is asked for a proposal. The proposal goes through the checks and leaves a receipt, including when it is rejected or changes nothing. If no model is available, the threshold rule handles a drifted vault and the receipt names the rule as its author.

When a decision passes, the paper holdings are adjusted at the observed price less an assumed cost of 0.30% of the traded value. No route is quoted and nothing is executed. Decisions from before the record was first stored were backfilled from past hourly closes by the threshold rule, and each of those receipts says so.

The paper value is not a performance record. Nobody earned or lost it, real execution would differ, and it says nothing about future results. Without a database the record is recomputed from price history by the rule.

Token

$MORGE · CA: SOON. The token has been announced and its contract address has not been published, so any address you are shown today is not it. The vaults do not use it: no policy refers to it, no vault holds it, and nothing in the app needs it. No supply, price or use is stated because none has been published.

Network: Elysium

More than one network is called Elysium. Morge targets Kinetiq’s Elysium: Arbitrum Orbit (Nitro), settles to HyperEVM. It is EVM-compatible, so the integration uses standard EVM tooling (viem, EIP-1193 wallets, EIP-6963 wallet discovery).

Verified network configuration
SettingValue
Chain ID99901 (0x1863d)
Native currencyHYPE, 18 decimals
Execution environmentEVM
Public RPChttps://rpc.elysium.kinetiq.xyz
Explorerhttps://elysium.kinetiq.xyz
Multicall30xcA11bde05977b3631167028862bE2a173976CA11
Last checked2026-11-30

Sources: Kinetiq docs: Connecting to Elysium, Kinetiq docs: Contract addresses. Not to be confused with: Elysium chain 1339 (mainnet) and 1338 (testnet), which use a different gas token and are unrelated to this network. The command pnpm verify:network repeats the checks against the live network.

Supported assets

Verified assets
AssetRoleAddressEvidence
HYPEGasnativeDocumented as the native gas token. The RPC prices gas in it (eth_gasPrice above zero).
USDCReserve, deposits0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65Listed as the canonical USDC in the official address table. Contract answers symbol "USDC" with 6 decimals on chain.
WHYPEMarket exposure0xbA876237B0F021A6c6D852d6c26E107997cC5E81Listed as the canonical WHYPE in the official address table. Contract answers symbol "WHYPE" with 18 decimals on chain.

An asset is listed only when its address appears in the network’s own documentation and the contract answers with the expected symbol and decimals. Third-party token lists are not treated as evidence.

What the network does not provide yet

On-chain price feed. Kinetiq has announced a market-data precompile for Elysium but it is not on the network: the documented precompile addresses hold no code. No push oracle is documented for Elysium either. A vault that values WHYPE on chain therefore needs a price source that does not exist yet. (Checked 2026-11-30.)

Tokenized equities. No tokenized stock is documented on Elysium. Morge does not list, price or simulate any. (Checked 2026-11-30.)

Tokenized US stocks are an optional future asset class, not an assumption. None would be listed without confirming the actual token, its transfer restrictions, its liquidity and its pricing on Elysium.

Integration status

The Status page reads the network and the configuration when it is opened. The table below is the fixed part: what each integration needs.

Integrations and what they need
IntegrationState in this buildNeeds
Network readsWorkingNothing. Optional: ELYSIUM_RPC_URL for your own endpoint.
Wallet connectionWorkingA browser wallet that supports EVM networks.
Price observationsWorkingNothing. MORGE_MARKET_DATA=off turns them off.
AI proposalsBuilt; see StatusANTHROPIC_API_KEY, or the hosting gateway with a database that keeps the daily spending ceiling.
Reference vaultsWorkingA database and an hourly schedule to store decisions. Without them the record is recomputed.
Deposits and withdrawalsBuilt, unavailableA deployed, reviewed vault per strategy, set in NEXT_PUBLIC_MORGE_VAULT_DEFENSIVE, NEXT_PUBLIC_MORGE_VAULT_BALANCED, NEXT_PUBLIC_MORGE_VAULT_GROWTH.
On-chain valuationBlockedA price feed on Elysium that a contract can read.
Automated executionNot builtA scoped executor role on a deployed vault and a reviewed signing service.

A configured vault address is not trusted on sight. Before deposits open, the server confirms that the address holds code, answers as an ERC-4626 vault and uses the canonical USDC. Those checks establish an interface, not safety.

Reference contract

The repository contains a reference vault in contracts/, built on OpenZeppelin’s ERC-4626 implementation. It enforces on chain the same limits the pipeline checks off chain: allowlist, exposure ceiling, reserve floor, minimum received amount, cooldown, trade size, price freshness and pause. Deposits and rebalances stop when paused; in-kind redemption stays open so holders can always leave with their share of the holdings.

It is unaudited and it is not deployed. Its tests pass locally, which shows it does what its tests ask and nothing more. Verified source on an explorer would not make it safe either. Deploying it for real funds needs an independent review, a price source it can trust, and a decision about who holds the guardian and executor roles.

Risks

Market risk. A vault with market exposure loses value when the market asset falls. A policy limit bounds what a vault may do; it cannot bound what a market does.

Smart contract risk. Contracts can contain defects. The reference contract has not been audited.

Price source risk. A vault is only as sound as the price it values itself with. A stale or manipulated price can pass checks that a correct one would fail.

Liquidity risk. A redemption is paid from the reserve when it can be, and in kind when it cannot. Selling what is received may cost more than expected in a thin market.

Model risk. An AI model can propose a poor allocation that is still inside every limit. The limits are the protection; the model’s judgement is not.

Network risk. Elysium is a recently launched Layer 2 run by a third party. Its availability, upgrades and bridge are outside Morge’s control.

Nothing in this application or its documentation is financial advice, and nothing in it promises a profit, a yield or the return of principal.