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, unless a section says otherwise.

These values were checked on 17 November 2026. The chain reads began at ledger 65,528,169 and can span several ledgers. The generator cross-checks contract addresses and code hashes. Settings can change after this check, so the contracts hold the values in force.

Markets​

MarketXLM-USD
StatusActive
Market contractCCFAGINF6GMNNPIHXDIUM6KOSDMTKIU5J67O5Y75MGOJAYVOVHYUP5ZB
VaultCBUVUGE7HY7AEBCYWG2GV5XCGP7D3THKR7VWCOPQEXYV2N45WWYCHTLD
Price streamChainlink Data Streams, 0x000358cb12b1f5bbeca8b5b4666025a40b15520af1f82516ee2fb9a335055e9a
Vault sharesZenex XLM USDC Vault, shown in a wallet as zXLMUSDC

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

Protocol contracts​

ContractAddressWhat it does
FactoryCAAV74JF5VYH2JIZDUBBSHIEGPOTCCIJSCKDLY6QV5YIA5UHMAOTKBR3Deployed every market and its vault. It answers whether it deployed a given market.
OracleCB5BZHXMRRR3KEYGLI63VNMMUD63XAVOLNAMVR7XKUMG5NZQKRGDCL7UChecks every price report before a market uses it.
TreasuryCDRHGQD77L3BAFI6A7DPSGLDQZ4BAS7A4OXDD6CTJK3HLLNBCRKY3JCYReceives 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 forwarderCDOAKNTCQZSBQJY7FFQI7RUURJKY37KYI6GV464H2YHTDJ7DBI27F4J5Collects the relay fee in USDC before it invokes the requested action.
Wallet factoryCD7CBMLDXJNXOGJPAPSE62WIHMKGNSXPY4CW6Z5UWNDTBUDEYWMWNHHQCreates the smart wallet the app sets up for you.
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. The app has no session policy for this market, so one-click trading is not available on it.

Deployed, not yet used by the app​

These are newer builds of the market router and the fee forwarder. They are deployed, but the Zenex app does not send transactions through them.

ContractAddressWhat it does
Market routerCAD4IGDU5BUR4WES5KCHXHZPCYABRNK55LVFV3TY3B2KDEUPLED6YUJ2Lets the app create an order and fill it in one transaction, or bundle several calls into one.
Fee forwarderCCQCLMQT2YFE4VKCAGNCHCEAKVCEKZNRMF7PC6VGW2X2STSTZPU42UH5Collects the relay fee in USDC before it invokes the requested action.

Previous market​

The app served this market before the one above. It is winding down and takes no new position size. You can still close a position there at app.zenex.trade/old. Market status covers what each stage of a wind-down allows.

Previous marketXLM-USD
StatusDelisted on 16 November 2026 at 16:25 UTC
Market contractCAOZCITWHWAXH5FRU4EULQ5EN2HMTCHICRNC4R5ZAOVD7XHCCQSJ42IB
VaultCB2MX4WXJHOHCTDTN5DCFC7G3TLFLOYLCRCINPK7G2A3EUVW2AYVA56N

The app for the previous market uses the market router and the fee forwarder under App contracts, and these contracts of its own.

ContractAddressWhat it does
Wallet factoryCBOKFCC24264FHSAK2PZ5U6VYMDMJWU55FORXE7ZT6EWBOLVK3TBLAOICreated the smart wallets the app set up before the current wallet factory.
Session policyCDIFOB7JFHWKIWDTMCFWTV2EMYPSLT77KPSXESMZT5W7OSLDAMCAEOTVRestricts a one-click session to configured markets, token transfers into those markets, and relay fees to the pinned recipient. It has no spending cap.

Who controls the contracts​

The account GBDCXZDDDJWW2OOZ7LDS7AECDFJXUAXXW6U3YM2QJPRIAXONV5SOQNDX owns the factory, the oracle, the treasury, the XLM-USD market, and the previous 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, and the wallet factory have no owner. Neither do the contracts the app does not use yet, the previous market's vault, its wallet factory, and its session policy. 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 leverage25x, from a 4% initial margin2x to 1000x, from an initial margin of 50% down to 0.1%
Maintenance margin1% 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 2,000 USDCThe smallest above zero and the largest above the smallest. No ceiling.
Total size per side500,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.02% of the fill at the largest position size of 2,000 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 35% 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 cap500,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 v1.0.0 release builds of zenex-contracts, built from commit 68d2e73 and deployed on 2026-11-16. The app contracts run release builds of zenex-util-contracts: v0.0.2 (deployed on 2026-10-02) and v1.0.0 (deployed on 2026-11-16). Each hash below is the hash of the code the chain holds at that address, and the script checked it against the hash recorded for the build the table names.

ContractBuildCode hash
Market (XLM-USD)zenex-contracts v1.0.02eff6a590f4253b156f452ad6a28d7c7c9ad5cf10463edcf2074625c968640c5
Vault (XLM-USD)zenex-contracts v1.0.0ca34e419a25de410fbba32e9d6f930d9315bd123688efe498d614cfd536c6d84
Oraclezenex-contracts v1.0.0e36b8bd684c78be9c91bfcb022c90efc19633023a1ae65c00db93ac4b52328a0
Treasuryzenex-contracts v1.0.0555707f0c623d8cd3bd2814338f39da5c1bca24656ecebcc169cab1e105a19d1
Factoryzenex-contracts v1.0.083024ed5dc7db8463eb4b3bb4aba1bcdfb11173ba6f9a2748316e142574afbdc
Market routerzenex-util-contracts v0.0.219032576681e48afab44bde4560c156a69fe5c94037f48cc7ceb418f3719b125
Fee forwarderzenex-util-contracts v0.0.2d501d20cfea6676b51ff341b408bbe4e406a17e4a21516064d8ea9663994088e
Wallet factoryzenex-util-contracts v1.0.04db7ee0b0a1d6a2d0de0e51a5a14ce05bbc5d567643ca198a97e5b51aaa8606f
Market router, not yet usedzenex-util-contracts v1.0.0534d67eb873c8f0e971130309240ccb064a0d78b9676a87156abd49d58d39289
Fee forwarder, not yet usedzenex-util-contracts v1.0.0f3444fe6d06a4fc399c1b472f74953d13d3000c8ed8b5832a6562a41ac1fa3aa
Previous market (XLM-USD)Zenex contracts at commit 644a4c402aa342f5e6e084c8e5728b74aee77864f77ea720896e61a689da8252f95943c
Previous vault (XLM-USD)Zenex contracts at commit 644a4c4464026c214f8700408715b370fcc26e1eb8b688d3ff468bfc6ade751e0aab20e
Previous wallet factoryzenex-util-contracts v0.0.2a7f32705c1ceeda07496520a3b16a1c6a64f1d68e4425752e892633d6009f035
Previous session policyzenex-util-contracts v0.0.27c25590eb09bcf93065840df7d59dbeafbfc0648731068d5b0fad3b12603dfad

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