Skip to content

963X-Protocol/contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

963X Protocol — Smart Contracts

Decentralized perpetual futures exchange on Arbitrum One. Live at https://963x.xyz

This repository contains the production-deployed Solidity contracts powering the 963X Protocol: a non-custodial perpetual DEX supporting up to 125× leverage across crypto perpetuals, FX, and prediction markets, with on-chain settlement, governance, and an insurance backstop.

📜 Canonical Contract Addresses (Arbitrum One — chainId 42161)

Tokens

Token Address Decimals
X963 (governance/utility) 0xe257878652bA7f4E9C57B688370a8d7875484ed7 18
veX963 (vote-escrow) 0x2Ff872e7E3157B2CFDcAbCd9bbb75aF26ABDAa8a 18
USDB (BTC/ETH-backed stable) 0xE9c4F6dC4E86df7825A58a941EdCA4A3d011CD66 18

Core Protocol

Contract Address
PerpDEXVault 0x7C00724033Dfb62A581DB362c124EAcCc565f76B
PerpDEX Diamond 0x9206BfDEe90ce9B1af28CEdDBb088B828bFa2C46
USDBVaultV2 0xDf2A388501E428F0208d039B448bDD237c308b6D
ChainlinkAdapter 0xafaBE3820f542bACe4764033DbD9Ad05C377E228
SimpleSwap 0xF6D28F0D28d958C9FEa33388236ff8dEEe02763B
DeltaNeutralVault 0x0184A423FAda16DC2a17Af80005858eD52d89E75

Governance & Operations

📁 Contracts Index

File Purpose
X963.sol ERC-20 governance/utility token (1B max supply, ERC20Burnable)
USDB.sol BTC/ETH-collateralized stablecoin, mintable only via USDBVaultV2
PerpDEXSettlement.sol On-chain settlement engine for perpetual futures
TreasuryGovernance.sol ve963X-driven on-chain governance & treasury executor
FeeDistributor.sol Distributes 30% of protocol fees to ve963X lockers (real-yield)
BuybackEngine.sol Automated 963X buyback & burn from protocol revenue
FundingRateEngine.sol 8h funding rate computation for perpetual markets
UserVault.sol Non-custodial user margin vault
AIBotVault.sol Vault for AI market-maker / hedging bots
ProtocolAdminController.sol Role-gated admin operations (multisig-only)
FeeCollector.sol Routes trading fees to distributor / treasury / buyback

🔐 Security

  • All production contracts are verified on Arbiscan (links above).
  • OpenZeppelin v5 base contracts (ERC20, AccessControl).
  • Critical roles owned by Gnosis Safe 3-of-5 multisig.
  • Upgrades require multisig + timelock.
  • Bug bounty: contact security@963x.xyz.

🛠️ Build

npm install
npx hardhat compile
npx hardhat test

Requires Node.js ≥18 and Hardhat ≥2.19.

🌐 Resources

⚖️ License

MIT © 2026 963X Protocol

About

963X Protocol smart contracts — production deployed on Arbitrum One (X963, USDB, PerpDEX)

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages