Weirhold

Weirhold ($WEIR) Whitepaper

Version 0.1 ยท

Summary

Holding 1,000,000 WEIR opens a private liquidity vault on Montra, the token launchpad on Elysium. The owner deposits HYPE, KNTQ or MONTRA and picks a preset, and an agent places Uniswap v4 liquidity inside limits the vault contract enforces. Funds can only ever leave the vault to the owner's wallet.

ItemWhat it is
Vault key1,000,000 WEIR held in the wallet opens 1 vault, counted in tokens, not dollars
Vault feeNone: no deposit, withdrawal or performance fee
Vault sizeNo limit
Quote assetsHYPE, KNTQ, MONTRA
Where liquidity goesMontra pools on Elysium whose LP fee is active
Who can withdrawThe vault owner, at any time
StatusContracts deployed on Elysium and source-verified; vaults open when $WEIR launches

The problem

Earning fees as a liquidity provider on Montra takes constant attention. Every Montra launch trades in a Uniswap v4 pool of its own, and its liquidity providers start earning a fee only once the price has spent 10 minutes past the pool's LP line (Montra docs).

To earn that fee, a provider has to find the pools that pay, pick a price range, move it as prices move and collect the fees, across many pools, every day. Doing it by hand means watching charts; handing it to someone else usually means handing over the funds as well.

Weirhold splits the two. The agent does the placing and moving. The owner keeps custody, and the contract decides where funds may go.

What Weirhold is

Weirhold is two contracts on Elysium and an agent. A factory opens vaults for WEIR holders; each vault is a separate contract owned by one wallet; the agent sends the transactions that manage liquidity inside it.

  • The key is a balance. Each open vault needs 1,000,000 WEIR in the owner's wallet. Two vaults need 2,000,000, up to 50 vaults per wallet. The WEIR is never staked, locked or moved: the contracts only read the balance.
  • The vault holds the funds. Deposits and the Uniswap v4 positions made from them belong to the vault contract, and only its owner can take them out.
  • The agent works inside limits. It can place, add to, remove and close positions, and only in a vault whose owner has approved it.

The name comes from the weir, a low dam that holds water back and lets it through in a controlled way. Phase 1 has individual vaults only, one owner each.

How a vault works

A vault opens with the WEIR key, runs on the owner's deposits, and closes either by the owner's choice or when the key runs short.

Every way out of a vault ends in the owner's wallet Open, then deposit, then the agent runs the preset. From there a vault closes either because the owner closes it, freeing the WEIR key, or because the WEIR balance runs short and the newest vault closes. Both paths return everything to the owner's wallet, in kind. OpenHold 1,000,000 WEIR inyour wallet, open a vault DepositSend HYPE, KNTQ orMONTRA into the vault Agent runs the presetPlaces, moves and collectsfees inside the rules Owner closesAt any time; the WEIRkey is freed WEIR runs shortBelow 1,000,000 per vault:the newest vault closes Everything goes back to the owner's walletTokens and positions, in kind. Never to any other address.

While a vault runs, the owner can also withdraw funds or single positions, or switch the agent off, at any time. When the key runs short, anyone can trigger the close, but the funds still go only to the owner.

What the contract enforces

The limits below live in the vault contract, so the agent cannot break them even if it wanted to. Each one is a check that makes a transaction fail.

RuleHow the contract holds it
Montra pools onlyA pool must use a hook listed in Montra's registry and exist in Montra's launch records
Only pools whose LP fee is activeThe pool must have reached the stage where liquidity providers earn a fee
HYPE, KNTQ or MONTRA onlyThe allowed quote assets are fixed when the factory is deployed and cannot be changed
At most 40% of a quote asset in one poolCounted by the amount put in, against all of that asset in the vault; the owner can set it anywhere from 0.01% to 100%
Payouts go to the owner onlyFunds leave the vault only as liquidity in an allowed pool or as a payment to the owner's wallet
The agent needs the owner's approvalA vault trusts the agent address it was opened with. If that address ever changes, the new one cannot act until the owner approves it
No service without the keyIf a wallet's WEIR stops covering all its open vaults, every agent action in that wallet's vaults fails
Bounded sizeAt most 50 positions and 64 tracked tokens per vault, so a close always fits in one transaction

What the owner can always do, whether the agent runs or not (withdrawing works even after a vault closes, so nothing can get stuck):

  • Withdraw any token held in the vault.
  • Take a position out as it is (the Uniswap v4 position NFT), which needs nothing from the pool or Montra's hook, or have it unwound into tokens.
  • Switch the agent off, and back on.
  • Change the one-pool limit.
  • Close the vault, which returns everything in it and frees the WEIR key.

What the admin can do. The factory has one admin role. It can set the agent address, set the $WEIR token address once at launch (the factory goes live before the token exists, and no vault can open until then), and hand the role to a new address in two steps. It cannot change the rules above, the quote list or the vault code, and it cannot move funds. Vaults are not upgradeable.

Presets

A preset tells the agent where to place the owner's quote and when to move it; Spread is the default. The owner can change preset, or switch the agent off, at any time, and every preset runs inside the contract rules above.

PresetWhere it placesWhen it movesMost in one pool
Spread (default)Only below the current price, in every Montra pool in scope, using the quote asset aloneStays put; it does not rotate between pools40%
Slow rotationThe 3 pools that paid the most LP fees per unit of liquidity over the last dayChecks once a day; leaves a pool only when it falls out of the top 540%
Single poolOne pool the owner choosesStays in that poolUp to 100%, once the owner raises the limit
Owner's own instructionsWritten by the owner, held to the same contract rulesNot available at launch; comes after the three presets40% unless raised

Liquidity placed only below the price holds the quote asset until the price falls into its range, at which point it buys the launch token on the way down. That is how a Spread vault earns fees, and also how it ends up holding launch tokens after a drop.

The token

$WEIR has one job: it is the key to a vault. The whole supply goes into its Montra pool at launch, and no tokens are set aside for anyone, so every WEIR in circulation comes out of that pool.

ItemValue
Name and tickerWeirhold, $WEIR
ChainElysium (chain ID 99901), the Hyperliquid L2
LaunchpadMontra
Total supply1,000,000,000
At launchAll of it placed in the token's Montra pool as locked seed liquidity
Team, advisor or marketing allocationNone
Presale, private sale or airdropNone
Pool fee2% of each trade
Contract address Posted on weirhold.app and @weirhold at launch

How the key is counted. The factory reads the wallet's WEIR balance when a vault opens and every time the agent acts. Each open vault needs 1,000,000 WEIR. If the balance drops below that, the newest vault closes first and everything in it goes back to the owner; buying WEIR back lets the wallet open a vault again.

Fees

Weirhold takes nothing from vaults: no deposit, withdrawal, management or performance fee, and no cut of the LP fees a vault earns. The vault contract has no fee function at all, which anyone can check in its verified source code.

  • Owner's costs. Elysium gas for the owner's own transactions (opening, depositing, withdrawing, closing). The agent pays the gas for the transactions it sends.
  • The $WEIR pool fee. Every trade in the $WEIR pool pays 2%, under Montra's fee rules (Montra docs).

Security and status

The contracts are deployed on Elysium and their source is verified, but no vault can open until $WEIR launches. They are new code, so deposit only what you can afford to lose.

  • Tested against real Elysium state. The test suite runs on a fork of Elysium with the live Montra and Uniswap v4 contracts. It covers opening, placing and removing liquidity, withdrawals, owner closes, closes forced by a short key (in batches), payouts to a wallet that refuses them, a pool hook that fails, and a change of agent address.
  • Exits do not depend on anyone else. Handing a position to the owner as an NFT needs nothing from the pool or Montra's hook, and a payment that fails stays in the vault for the owner to withdraw later.
  • Addresses. The factory, vault code, agent and admin addresses are posted on weirhold.app and @weirhold at launch. The source code of both contracts is verified on the Elysium explorer, so anyone can read the code behind each address.

The vaults build on these public contracts on Elysium:

ContractAddress
Uniswap v4 PoolManager0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1
Uniswap v4 PositionManager0x73a3098520404f4eA174788Bab5f0E04810e6460
Permit20x000000000022D473030F116dDEE9F6B43aC78BA3
Montra hook registry0xF1E2FA75422F889e565F3142bdbf60B28dce2aa7
Montra launch hook0x6b1216A40B65c83e9c9e18a562C446697B8cf8EC

Risks

A vault can lose money, and Weirhold promises no return. Nothing in this paper is financial advice.

  • Liquidity loss. A position can end up worth less than simply holding the same tokens, and fees may not make up the difference.
  • Launch tokens fall. Montra launches are new and volatile, and many lose most of their value. Liquidity placed below the price buys them as they fall.
  • Montra's LP fee is experimental. Montra marks the LP fee as experimental, with terms not final for future launches (Montra docs). Pools could pay liquidity providers less, or stop paying them.
  • New code. The Weirhold contracts are new, and they depend on Uniswap v4, Montra's hook and Elysium itself. Any of these can have bugs.
  • Agent mistakes. Within the rules, the agent can still place liquidity badly, trade into a moved price or stop running. Positions then sit as they are; the owner can withdraw or switch the agent off at any time.
  • The key closes vaults. Selling or moving WEIR below 1,000,000 per open vault closes the newest vault, and a close may unwind positions at whatever the price is then.
  • $WEIR price. Holding WEIR is required for a vault, and its price can fall like any launch token.

Roadmap

The roadmap is a sequence of product steps with no dates; each step ships when it works.

  1. Launch. $WEIR goes live on Montra, and the token, factory, agent and admin addresses are posted.
  2. Individual vaults. Holders open vaults in the vault app, deposit HYPE, KNTQ or MONTRA and run the three presets.
  3. Owner instructions. Owners can write their own instructions for the agent, held to the same contract rules.
  4. Public vaults (phase 2). Vaults that take deposits from many holders under one strategy. Their rules are published before they open.

Contacts