Smart Contracts

Verified. Open source. Onchain.

All Cryptex smart contracts are deployed on Ethereum and Arbitrum with full source code verification. Modular architecture with upgradeable proxies governed by the DAO.

Contract architecture

The protocol uses a modular contract architecture with upgradeable proxies for core functionality and immutable contracts for token standards. Each product module has its own set of contracts that share common infrastructure.

Upgrade process

Contract upgrades are executed through governance proposals with a 2-day timelock. The upgrade process includes a security review, governance vote, timelock period, and finally execution. Emergency upgrades can bypass the timelock through a multisig guardian, but this power is limited in scope.

Verification

All contracts are verified on Etherscan and Arbiscan with full source code available. You can verify the deployed bytecode matches the audited source code in the official GitHub repository.

Ethereum Mainnet

Chain ID: 1

Core contracts

ContractAddress
TCAP Token0x16c52CeeCE2ed57dAd87319D91B5e3637d50aFa4
TCAP Vault Handler (ETH)0x717170B66654292dFBd89c39F5aE6753D2aC1381
TCAP Oracle0xAB594600376Ec9fD91F8e8dC10979D62135799C4

Token contracts

TokenAddress
CTX0x321C2fE4446C7c963dc41Dd58879AF7d468D42B3

Governance contracts

ContractAddress
Governor0x874C5D592AfC6803c3DD60d6442357879F196d5b
Timelock0xa54074b2cc0e96a43048d4a68472F7bA6d4c0aA4

Arbitrum

Chain ID: 42161

Legacy perpetual contracts

Cryptex previously operated decentralized perpetual futures markets on Arbitrum, built on Perennial. These products are no longer active; the addresses are listed for historical reference.

Decentralized Perpetuals π

ContractAddress
MarketFactory0xDaD8A103473dfd47F90168A0E46766ed48e26EC7
VaultFactory0xad3565680aEcEe27A39249D8c2D55dAc79BE5Ad0
OracleFactory0x8CDa59615C993f925915D3eb4394BAdB3feEF413
MultiInvoker0x431603567EcBb4aa1Ce5a4fdBe5554cAEa658832
AsterVault0xF8b6010FD6ba8F3E52c943A1473B1b1459a73094
BegoniaVault0x699e37DfCEe5c6E4c5D0bC1C2FFbC2afEC55f6FB

Decentralized Perpetuals v1 (TCAP Perp)

ContractAddress
TCAP Perp Long0x1cD33f4e6EdeeE8263aa07924c2760CF2EC8aAD0
TCAP Perp Short0x4243b34374cfB0a12f184b92F52035d03d4f7056
TCAP Perp Balanced Vault0x78C8b241005268895F8aB78c0fe8f72867CD63c2
TCAP Oracle0xaAB5bF2353cc58dE50c54BB0d02d8e0A0333f322