Skip to main content

Deployments

This page lists every contract of the live Zenex deployment on Stellar mainnet and the values those contracts run with. Check an address here before you approve a transaction that names it. Anyone can deploy a market through the factory, so a contract that carries a familiar name proves nothing on its own. The addresses below are the ones the Zenex app uses.

A script writes this page from the chain. It read every value at ledger 64,737,253 on 2 October 2026, and it checked that the contracts report the same addresses about each other. An owner can change a value at any moment, so the contracts hold the value in force.

Markets​

MarketXLM-USD
StatusActive
Market contractCAOZCITWHWAXH5FRU4EULQ5EN2HMTCHICRNC4R5ZAOVD7XHCCQSJ42IB
VaultCB2MX4WXJHOHCTDTN5DCFC7G3TLFLOYLCRCINPK7G2A3EUVW2AYVA56N
Price streamChainlink Data Streams, 0x000358cb12b1f5bbeca8b5b4666025a40b15520af1f82516ee2fb9a335055e9a
Vault sharesZenex XLM USDC Vault, shown in a wallet as xvXLMUSDC

Every market settles in USDC, the stablecoin Circle issues on Stellar. Its contract is CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75.

Protocol contracts​

ContractAddressWhat it does
FactoryCDFEZPO7ZMXMZUMOIT2CZF5FUEIGD3CC5VOROUKF4KZEQQEDZBGSQYPQDeployed every market and its vault. It answers whether it deployed a given market.
OracleCBQP3O5NW6S4ZRE4SZAUO3VDOR32OMO22FLLMP3DJMO3TXJEPNW65XXUChecks every price report before a market uses it.
TreasuryCDDEOTFOD5O2GOVMANJUIKLLQ5UDJCU3XFBXGTUWQYOUV5HF4OV6AU7UReceives the protocol's share of the fees.
Price report verifierCAKA3NBYPC6OBEUEGNIYGNYG3ES2GPQK736B5SR7ASGUXRDAKXI2JCQIChainlink's contract that checks the signatures on each price report. The oracle is fixed to it.

Each vault belongs to one market, so the vaults appear with their markets above.

App contracts​

The Zenex app sends your transactions through these contracts. They sit outside the core protocol.

ContractAddressWhat it does
Market routerCDOF5KRURJ7RRBPORHYSSKT727X3IBNF3LGOFHZND4HBTS5FRUZRJEZTLets the app create an order and fill it in one transaction, or bundle several calls into one.
Fee forwarderCDOAKNTCQZSBQJY7FFQI7RUURJKY37KYI6GV464H2YHTDJ7DBI27F4J5Takes the network fee in USDC when the app sends a transaction for you.
Wallet factoryCBOKFCC24264FHSAK2PZ5U6VYMDMJWU55FORXE7ZT6EWBOLVK3TBLAOICreates the smart wallet the app sets up for you.
Session policyCDIFOB7JFHWKIWDTMCFWTV2EMYPSLT77KPSXESMZT5W7OSLDAMCAEOTVHolds the limits of one-click trading: the contracts a session key may call and the spending limit you choose.
Passkey verifierCB7HENHJ7NF34I5FFXQK7D5I3WWQRGB5O5XO77D3NXMT7LM7LOKRQ5YRChecks a passkey signature for a smart wallet. It comes with the smart-account kit the wallets are built on.
Ed25519 verifierCBOOZV2BK5OETGL4Q4KGEBESPRLJFN7DOFWDT7OZGLD7EQEZUVOWUEMCChecks a key signature for a smart wallet. It comes with the same kit.

The fee forwarder pays the fees it takes to the account GA3E5GCBNYXFC4PEOVC5KAR5OH43ZRBOZDYFGTCFFEYIL3JONTRFCYNL.

Who controls the contracts​

The account GBDCXZDDDJWW2OOZ7LDS7AECDFJXUAXXW6U3YM2QJPRIAXONV5SOQNDX owns the factory, the oracle, the treasury, and the XLM-USD market. It is one account and not a timelock, so a change it makes applies at once, with no wait.

The vault, the market router, the fee forwarder, the wallet factory, and the session policy have no owner. Governance covers what an owner can change.

XLM-USD parameters​

The owner of the market can change any of these values at any moment, but only inside the protocol limit in the last column. The limits are part of the contract code, so no owner can move them. Market parameters says what each value does to your money.

ParameterValueProtocol limit
Maximum leverage20x, from a 5% initial margin2x to 1000x, from an initial margin of 50% down to 0.1%
Maintenance margin2% of the position sizeAbove the liquidation fee. The initial margin must exceed it by more than the lower trade fee plus 0.1%.
Liquidation fee0.5% of the size that closesUp to 25%, and below the maintenance margin
Position size1 USDC to 500 USDCThe smallest above zero and the largest above the smallest. No ceiling.
Total size per side50,000 USDCAt least the largest position size. No ceiling.
Minimum per order1 USDC of size and 1 USDC of collateralBoth above zero, and the size at most the smallest position size
Trade fee0.06% on the part of a fill that pushes the sides apart and 0.04% on the part that brings them togetherEach up to 1%, and the first never below the second
Impact fee0.005% of the fill at the largest position size of 500 USDC. The rate doubles when the size doubles.Never more than 10% of the fill. A fill of the smallest position size pays at most 0.1%.
Execution fee0.01 USDC per orderAt most the minimum collateral per order
Keeper share10% of the trade fee, the impact fee, the liquidation fee, and the vault feeUp to 50%
Utilization cap80% of half the vault balance for an increase and 90% for a redeemThe increase cap above 0% and up to 1,000%. The redeem cap from the increase cap to 1,000%.
Borrowing curve bend80% utilizationBelow 100%
Borrowing rateOne straight line from nothing on an unused side to about 40% a year at the bend and about 50% a year at full utilizationUp to 1,000% a year at full utilization
Funding capAbout 20% a year in either directionUp to 1,000% a year
Minimum funding chargeAbout 1% a year whenever a side pays at allAt most the funding cap
Funding build-up levelA 4% imbalanceUp to 100%
Funding wind-down levelA 0% imbalanceAt most the build-up level
Funding build-up speedAt full imbalance, from nothing to the cap in about 2 hoursAt most 1,000% a year added each second
Funding wind-down speedFrom the cap to nothing in about 2 days. No imbalance falls under a 0% level, so this speed never applies on this market.At most 1,000% a year removed each second
Auto-deleveragingFlags a side at 55% of half the vault balance and clears the flag at 40%The flag from 45% to below 100%. The clear level from 40% up to the flag.
Profit capStarts at 90% of half the vault balanceFrom the flag level to below 100%
Redeem blockRefuses a redeem while a side's pending profit sits above 15% of half the vault balance the redeem would leaveAbove 0%, and at most the clear level
Vault fee0.1% of the assets a deposit fill moves and 0.25% of the assets a redeem fill movesEach up to 1%
Minimum deposit10 USDCAbove zero, and at most 1/100 of the vault balance cap
Vault balance cap100,000 USDCAbove zero. No ceiling.
Redeem cooldown1 hourUp to 30 days
Lock on new size30 seconds15 seconds to 1 day

Price and treasury settings​

The oracle and the treasury serve every market, so their settings sit apart from each market's own set. The oracle owner and the treasury owner change them. Prices covers the two age limits and the spread narrowing.

SettingValueProtocol limit
Price age for a fill15 seconds3 seconds to 15 seconds
Price age for a liquidation, an auto-deleveraging step, or an accrual1 minuteFrom the limit for a fill to 2 minutes
Spread narrowingEach side of the quote moves half the way to the middle of the spreadFrom none of the way to all of it
Treasury share30% of the trade fee, the impact fee, the liquidation fee, the vault fee, and the borrowing charge0% to 50%

The code at each address​

The core contracts run the release build of the Zenex contracts at commit 644a4c4, deployed on 2026-09-29. The app contracts run zenex-util-contracts v0.0.2, deployed on 2026-10-02. Each hash below is the hash of the code the chain holds at that address, and the script checked it against the build it names.

ContractCode hash
Market (XLM-USD)02aa342f5e6e084c8e5728b74aee77864f77ea720896e61a689da8252f95943c
Vault (XLM-USD)464026c214f8700408715b370fcc26e1eb8b688d3ff468bfc6ade751e0aab20e
Oracle90e0f43192ac14389c7721b67b5f5a3ca92b24f0a5c677241e303084b9c38f55
Treasury555210f70b30010aec58c08382a95ecf2c584db1e793ea2e9f43bf9fc028faa3
Factorycfb3489b1b5f975efd763a75c42656903d0bbaafa548e3d1c603d7e1d2fdc19f
Market router19032576681e48afab44bde4560c156a69fe5c94037f48cc7ceb418f3719b125
Fee forwarderd501d20cfea6676b51ff341b408bbe4e406a17e4a21516064d8ea9663994088e
Wallet factorya7f32705c1ceeda07496520a3b16a1c6a64f1d68e4425752e892633d6009f035
Session policy7c25590eb09bcf93065840df7d59dbeafbfc0648731068d5b0fad3b12603dfad

The factory installs the same market and vault code, and wires the same treasury, into every market it deploys from now on.