Contracts
Deployed PerpCity contract addresses on Arbitrum One and Arbitrum Sepolia, and the subgraph endpoints.
Each PerpCity market is its own Perp contract, created by the PerpFactory, with its USDC margin held in the market contract and trading on a dedicated Uniswap V4 pool. Positions are ERC-721 tokens minted by the market. Per-market modules (fees, funding, pricing, margin ratios, price impact) are external contracts approved through the ModuleRegistry, and every market reads its index from a beacon oracle in the Strobe BeaconRegistry.
Market addresses are not listed here: discover them from the subgraph below, or from the market page in the app.
Arbitrum One (mainnet, chain id 42161)
Current release: perpcity-contracts v0.2.2-upgradeable. Each market is an ERC-1967 proxy owned by the Strobe Safe.
| Contract | Description | Address |
|---|---|---|
| PerpFactory | Creates markets; each market is its own Perp contract (an ERC-1967 proxy) | 0x90C8cb83C4257156bf3eE0C9bB8f164B20A04da1 |
| Perp implementation | Logic contract every v0.2.2 market proxies to | 0x9b74b1ff217bdE6EB0e221Ca11034D67187EF9d3 |
| ProtocolFeeManager | Protocol fee configuration | 0xC86b07562Bcbb0C0700985170fB5f0Cda2197aFf |
| ModuleRegistry | Approves the module contracts markets may use | 0x03075403C3Fd10EEDeB3eE0F323dE046D2600f99 |
| Fees | Fee module | 0xF8781E6A8AB4D93F60a050eBf4E98ca6088F0244 |
| Funding | Funding-rate module | 0x440B75865F4e03e8fa9a907a73Fad3e6b6f6B951 |
| Pricing | Pricing module | 0xb0061a34425438073ae78C2FC7c94259e5FE6Cbf |
| MarginRatios | Margin ratio module | 0x21Ba854199798F0CBAde0FF60E4e8A92FfBD9230 |
| PriceImpact | Price impact bounds module | 0xBB679a4c15Dd4e8eC8016FA7FE42097017cbA11E |
| PerpGuardHook | Uniswap V4 hook that only lets Perp contracts use the pools | 0x561Ae0C8d4f3AeeaeB92Fa892281A4dA97De0AA0 |
| BeaconRegistry | Registry of beacon oracles | 0xBEF280BefeE2Cb28c20D1E4Cc1da999B4DA0f1fD |
| ECDSAVerifierFactory | Factory for ECDSA beacon verifiers | 0x687EeB3E4989441C91BF0D4F797AF4C400803c95 |
| USDC (collateral) | Native Circle USDC on Arbitrum | 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 |
| Uniswap V4 PoolManager | Pool singleton the markets trade on | 0x360E68faCcca8cA495c1B759Fd9EEe466db9FB32 |
| Strobe Safe | Owner of the markets and protocol contracts | 0x2D0be18386297d833E63d0B1F6bc93F391aF6F93 |
Earlier markets
Markets created before October 2026 come from the previous factory, 0xCE0c5f65A5eDa69A1dFb3f3273749B649abc4eC6 (v0.1.0 ABI). They stay on chain so existing positions can be closed, but are no longer listed. Their liquidateTaker / liquidateMaker take two arguments; v0.2.2 markets take a third (the amount to liquidate), and the TakerClosed / MakerClosed events lost their liqFee / isLiquidation fields in favour of separate TakerLiquidated / MakerLiquidated events.
Arbitrum Sepolia (testnet, chain id 421614)
| Contract | Description | Address |
|---|---|---|
| PerpFactory | Creates markets | 0xa54F81e7BD5C0d52d6fdE2ba40d0B1123d53E7a7 |
| ProtocolFeeManager | Protocol fee configuration | 0x5bA2AbaD153bbCAe38638A51e61ea2D11CAC8D9B |
| ModuleRegistry | Approves the module contracts markets may use | 0xA8559d9Fb429D184CD06EfDF2A0F16C4a19Bb654 |
| Fees | Fee module | 0xa8f7453Fc54E4578dDde12e3DC65b7614938a620 |
| Funding | Funding-rate module | 0x693852A74cF7f5936e1cfD6f3971aE3027b84e7D |
| Pricing | Pricing module | 0xc33205B471a9529fdD0A81fdEA037737Ff5c7A97 |
| MarginRatios | Margin ratio module | 0xB118b54e8b513F6A67fD555348f216d804C0eB89 |
| PriceImpact | Price impact bounds module | 0x0168716E60f5A54e62aec8c20D3caa37e5ce61C2 |
| BeaconRegistry | Registry of beacon oracles | 0xAA0B2AB577D75bC8ED5380752b612a04896d6f10 |
| ECDSAVerifierFactory | Factory for ECDSA beacon verifiers | 0x47978f1AB8911064B2979aB0e9E90152c1d916c0 |
| Testnet USDC | Perp City test collateral (not Circle USDC) | 0xBEF280BefeE2Cb28c20D1E4Cc1da999B4DA0f1fD |
Subgraph
Positions, trades and market state are indexed by a Goldsky subgraph (GraphQL). Both cover current and earlier markets.
| Network | Endpoint |
|---|---|
| Arbitrum One | https://api.goldsky.com/api/public/project_cmbawn40q70fj01ws4jmsfj7f/subgraphs/perp-city-mainnet/2961f841-20261003_171728/gn |
| Arbitrum Sepolia | https://api.goldsky.com/api/public/project_cmbawn40q70fj01ws4jmsfj7f/subgraphs/perp-city/2961f841-20261003_171753/gn |
The full address list, including every beacon component factory, is maintained in perpcity-deployments.
Note: the same address can host different contracts on different chains (the deployer is reused, so addresses collide by nonce). For example, 0xBEF280…f1fD is the BeaconRegistry on Arbitrum One and Testnet USDC on Arbitrum Sepolia. Always check the chain a link points to.