Starknet Contracts
The source code for the smart contracts is available here and it can be used as a scarb package.
This page lists the Starknet mainnet deployment. Testnet addresses are on the Starknet Sepolia page.
Upgradeable contracts
Section titled “Upgradeable contracts”The addresses of these contracts do not change. The contracts are updated to new versions in-place. These contracts are owned by the governance contracts.
| Contract | Address |
|---|---|
| Core | 0x00000005dd3D2F4429AF886cD1a3b08289DBcEa99A294197E9eB43b0e0325b4bVoyager Starkscan |
| Positions | 0x02e0af29598b407c8716b17f6d2795eca1b471413fa03fb145a5e33722184067Voyager Starkscan |
| Positions NFT | 0x07b696af58c967c1b14c9dde0ace001720635a660a8e90c565ea459345318b30Voyager Starkscan |
| TWAMM Extension | 0x043e4f09c32d13d43a880e85f69f7de93ceda62d6cf2581a582c6db635548fdcVoyager Starkscan |
| Oracle Extension | 0x005e470ff654d834983a46b8f29dfa99963d5044b993cb7b9c92243a69dab38fVoyager Starkscan |
| Limit Orders Extension | 0x050ed6ab03aef492cd062e25facf40ceef63294c53d12b514226f8fb4753266eVoyager Starkscan |
Immutable contracts
Section titled “Immutable contracts”These are the addresses of the latest versions of the contracts. They may change, but the old versions will remain. We do not upgrade these contracts because it is often the case that old versions still work fine with core. Prefer to use the latest version whenever possible.
| Contract | Address |
|---|---|
| Router V3.0.13 | 0x0199741822c2dc722f6f605204f35e56dbc23bceed54818168c4c49e4fb8737eVoyager Starkscan |
| Router V3.0.3 | 0x04505a9f06f2bd639b6601f37a4dc0908bb70e8e0e0c34b1220827d64f4fc066Voyager Starkscan |
| Router V2.0.1 | 0x03266fe47923e1500aec0fa973df8093b5850bbce8dcd0666d3f47298b4b806eVoyager Starkscan |
| Router V2 | 0x010c7eb57cbfeb18bde525912c1b6e9a7ebb4f692e0576af1ba7be8b3b9a70f6Voyager Starkscan |
| Router | 0x01b6f560def289b32e2a7b0920909615531a4d9d5636ca509045843559dc23d5Voyager Starkscan |
| Token Registry V3 (supports ByteArray) | 0x064bdb4094881140bc39340146c5fcc5a187a98aec5a53f448ac702e5de5067eVoyager Starkscan |
| Token Registry V2 | 0x0013e25867b6eef62703735aa4cfa7754e72f4e94a56c9d3d9ad8ebe86cee4aaVoyager Starkscan |
| Token Registry V1 (Legacy) | 0x006f55e718ae592b22117c3e3b557b6b2b5f827ddcd7e6fdebd1a4ce7462c93eVoyager Starkscan |
| Revenue buybacks (v5.0.3, current) | 0x03d921193ccdc888785892d0677cf0f8eb98f4a87abcb60eee61e2874e687541Voyager Starkscan Sources protocol fees from Positions (fixed 20% of collected position fees) and sells them for EKUBO via TWAMM. |
| Revenue buybacks v1.0.0 (legacy) | 0x00f2e9a400ba65b13255ef2792612b45d5a20a7a7cf211ffb3f485445022ef72Voyager Starkscan |
| Price Fetcher | 0x04946fb4ad5237d97bbb1256eba2080c4fe1de156da6a7f83e3b4823bb6d7da1Voyager Starkscan |