Skip to main content

Deployed Contracts

Complete reference of smart contracts deployed on Mersennet testnet (Chain ID 7919). All addresses are verified for the current testnet deployment.

Foundation​

ContractAddressDescription
Multicall30x973ee1bf0907287d1eb8a144d88b34f515c83f29Batched RPC reads. Used by wagmi, viem, ethers.js for efficient multi-call queries.
WPRIM0x079bf1207b51acda83e2e8178344f62a883f8479ERC-20 wrapped PRIM. Required for DEX pairs and DeFi protocols that need ERC-20 native token representation.

DeFi β€” PrimeSwap V2​

ContractAddressDescription
PrimeSwapFactory0x63f7a64db6d2b965189b8b48b7435668021f6b17Creates and tracks liquidity pairs. Uniswap V2–style AMM factory.
PrimeSwapRouter0x9f337f433e71ce969b991511f1dcd3d0622116bbRouter for adding/removing liquidity and executing swaps. User-facing entry point for PrimeSwap V2.

DeFi β€” PrimeSwap V3​

ContractAddressDescription
UniswapV3FactoryRecently deployedCreates V3 pools with configurable fee tiers (0.05%, 0.3%, 1%).
SwapRouterRecently deployedExecutes swaps across V3 concentrated liquidity pools.
NonfungiblePositionManagerRecently deployedMints, modifies, and burns concentrated liquidity positions as ERC-721 NFTs.
QuoterRecently deployedOff-chain quote simulation for swap amounts.
info

PrimeSwap V3 contracts are live at http://46.225.30.187:4002. Verified addresses will be added here once confirmed on-chain. See PrimeSwap V3 for protocol documentation.

Mock Tokens​

ContractAddressDescription
MockUSDC0xb22f77d89122e9e3784bfd3eee9616273f38238dTest USDC (6 decimals). For DeFi development and testing.
MockUSDT0x877feca38919acd7aaf7cb81f100e0454aa95c17Test USDT (6 decimals). For DeFi development and testing.
MockDAI0xb88d63a65691effbf4b6808325b1588912c15cf4Test DAI (18 decimals). For DeFi development and testing.
Testnet Token Faucet

Mock tokens (MockUSDC, MockUSDT, MockDAI) include a public faucet() function. Anyone can call it to receive test tokensβ€”no approval or whitelist required. Use this for development and testing.

DeFi β€” PrimeOrders CLOB Integration​

ContractAddressDescription
VaultStrategy0x3beef509cb30609ba62c56dae369c545d9b359a8Demonstrates atomic EVM + CLOB interaction via the precompile. Deposits collateral, places orders, and reacts to fills in a single transaction.
SmartContractMM0x9f6d643f12eae11b53509598016be83e9f5bc412On-chain market maker with grid strategy, inventory management, and automatic rebalancing.
AtomicArbitrage0x77c6de42d5629ac7e454910a46d06fab34be8f14Atomic arbitrage across CLOB and AMM pools. Buy on CLOB, sell on AMM (or vice versa) in a single transaction.
tip

These contracts demonstrate Mersennet's unique capability: atomic composability between EVM smart contracts and the native CLOB. This is impossible on other order book chains like Hyperliquid or dYdX where the order book is off-chain.

Quick Reference (Copy-Paste)​

Chain ID: 7919
PrimeOrders CLOB: 0x0000000000000000000000000000000000000100 (precompile)
Multicall3: 0x973ee1bf0907287d1eb8a144d88b34f515c83f29
WPRIM: 0x079bf1207b51acda83e2e8178344f62a883f8479
MockUSDC: 0xb22f77d89122e9e3784bfd3eee9616273f38238d
MockUSDT: 0x877feca38919acd7aaf7cb81f100e0454aa95c17
MockDAI: 0xb88d63a65691effbf4b6808325b1588912c15cf4
PrimeSwapV2Factory: 0x63f7a64db6d2b965189b8b48b7435668021f6b17
PrimeSwapV2Router: 0x9f337f433e71ce969b991511f1dcd3d0622116bb
VaultStrategy: 0x3beef509cb30609ba62c56dae369c545d9b359a8
SmartContractMM: 0x9f6d643f12eae11b53509598016be83e9f5bc412
AtomicArbitrage: 0x77c6de42d5629ac7e454910a46d06fab34be8f14

Contract ABIs can be obtained from:

  • Block Explorer β€” http://46.225.30.187 β€” Search by address and view contract details.
  • Source Code β€” Mersennet contracts repository (see GitHub).
  • Multicall3 β€” Standard Multicall3 ABI; compatible with wagmi/viem defaults.

Usage Examples​

Get Test Tokens (Faucet)​

// MockUSDC, MockUSDT, MockDAI all have:
function faucet() external;
const usdc = new ethers.Contract(
'0xb22f77d89122e9e3784bfd3eee9616273f38238d',
['function faucet() external'],
signer
);
await usdc.faucet();

Wrap PRIM​

// WPRIM
function deposit() external payable;
function withdraw(uint256 wad) external;

PrimeSwap​

See PrimeSwap V2 and PrimeSwap V3 for swap and liquidity examples.

Upcoming Deployments​

ContractStatus
PrimeFi (Lending)Ready for deployment
Primeport (Seaport)Ready for deployment
Liquid StakingContracts ready
PrimeOrders Batch Orders (primeorders_submitBatchOrder)In development
MEV Commit-Reveal ProtectionIn development

Contract addresses for new deployments will be added to this page and the Network Information doc.