# Core protocol

The Arcadia Protocol consists of a number of contracts

* **The Factory** creates all Arcadia Accounts, for all Account versions.
* **Pricing Modules** ensure the correct pricing of simple and complex assets.
* **Oracle modules** form a standardized manner to request external prices.
* **The Registry** is the overarching contract coordinating all contracts.

## Core

Core protocol contracts share the same address across all chains.

| Contract                                                                                   | Address                                      | Base                                                                         | Optimism                                                                                | Unichain                                                                    |
| ------------------------------------------------------------------------------------------ | -------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [Factory](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/Factory.sol)      | `0xDa14Fdd72345c4d2511357214c5B89A919768e59` | [↗](https://basescan.org/address/0xDa14Fdd72345c4d2511357214c5B89A919768e59) | [↗](https://optimistic.etherscan.io/address/0xDa14Fdd72345c4d2511357214c5B89A919768e59) | [↗](https://uniscan.xyz/address/0xDa14Fdd72345c4d2511357214c5B89A919768e59) |
| [Registry](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/Registry.sol)    | `0xd0690557600eb8Be8391D1d97346e2aab5300d5f` | [↗](https://basescan.org/address/0xd0690557600eb8Be8391D1d97346e2aab5300d5f) | [↗](https://optimistic.etherscan.io/address/0xd0690557600eb8Be8391D1d97346e2aab5300d5f) | [↗](https://uniscan.xyz/address/0xd0690557600eb8Be8391D1d97346e2aab5300d5f) |
| [Liquidator](https://github.com/arcadia-finance/lending-v2/blob/v2.0.0/src/Liquidator.sol) | `0xA4B0b9fD1d91fA2De44F6ABFd59cC14bA1E1a7Af` | [↗](https://basescan.org/address/0xA4B0b9fD1d91fA2De44F6ABFd59cC14bA1E1a7Af) | [↗](https://optimistic.etherscan.io/address/0xA4B0b9fD1d91fA2De44F6ABFd59cC14bA1E1a7Af) | [↗](https://uniscan.xyz/address/0xA4B0b9fD1d91fA2De44F6ABFd59cC14bA1E1a7Af) |

### Account Implementations

| Contract                                                                                                    | Address                                      | Base                                                                         | Optimism                                                                                | Unichain                                                                    |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [AccountV1](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/accounts/AccountV1.sol) (Margin) | `0xbea2B6d45ACaF62385877D835970a0788719cAe1` | [↗](https://basescan.org/address/0xbea2B6d45ACaF62385877D835970a0788719cAe1) | [↗](https://optimistic.etherscan.io/address/0xbea2B6d45ACaF62385877D835970a0788719cAe1) | [↗](https://uniscan.xyz/address/0xbea2B6d45ACaF62385877D835970a0788719cAe1) |
| [AccountV2](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/accounts/AccountSpot.sol) (Spot) | `0xd8AF1F1dEe6EA38f9c08b5cfa31e01ad2Bfbef28` | [↗](https://basescan.org/address/0xd8AF1F1dEe6EA38f9c08b5cfa31e01ad2Bfbef28) | [↗](https://optimistic.etherscan.io/address/0xd8AF1F1dEe6EA38f9c08b5cfa31e01ad2Bfbef28) | [↗](https://uniscan.xyz/address/0xd8AF1F1dEe6EA38f9c08b5cfa31e01ad2Bfbef28) |
| [AccountV3](https://github.com/arcadia-finance/accounts-v2/blob/v2.3.0/src/accounts/AccountV3.sol) (Margin) | `0x78Db6a136EdD0F70bEd7a6eb5ca2fDF6eE16E8D6` | [↗](https://basescan.org/address/0x78Db6a136EdD0F70bEd7a6eb5ca2fDF6eE16E8D6) | [↗](https://optimistic.etherscan.io/address/0x78Db6a136EdD0F70bEd7a6eb5ca2fDF6eE16E8D6) | [↗](https://uniscan.xyz/address/0x78Db6a136EdD0F70bEd7a6eb5ca2fDF6eE16E8D6) |
| [AccountV4](https://github.com/arcadia-finance/accounts-v2/blob/v2.3.0/src/accounts/AccountV4.sol) (Spot)   | `0xe976BFb44f9322164ca6fdA6C5B84fBb6163D442` | [↗](https://basescan.org/address/0xe976BFb44f9322164ca6fdA6C5B84fBb6163D442) | [↗](https://optimistic.etherscan.io/address/0xe976BFb44f9322164ca6fdA6C5B84fBb6163D442) | [↗](https://uniscan.xyz/address/0xe976BFb44f9322164ca6fdA6C5B84fBb6163D442) |

## Position Managers

External protocol position managers have different addresses per chain. Arcadia wrapper contracts share the same address across all chains.

| Name                         | Base                                                                                                                  | Optimism                                                                                                                         | Unichain                                                                                                             |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| UniswapV3                    | [0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1](https://basescan.org/address/0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1) | [0xC36442b4a4522E871399CD717aBDD847Ab11FE88](https://optimistic.etherscan.io/address/0xC36442b4a4522E871399CD717aBDD847Ab11FE88) | [0x943e6e07a7E8E791dAFC44083e54041D743C46E9](https://uniscan.xyz/address/0x943e6e07a7E8E791dAFC44083e54041D743C46E9) |
| UniswapV4                    | [0x7C5f5A4bBd8fD63184577525326123B519429bDc](https://basescan.org/address/0x7C5f5A4bBd8fD63184577525326123B519429bDc) | [0x3C3Ea4B57a46241e54610e5f022E5c45859A1017](https://optimistic.etherscan.io/address/0x3C3Ea4B57a46241e54610e5f022E5c45859A1017) | [0x4529A01c7A0410167c5740C487A8DE60232617bf](https://uniscan.xyz/address/0x4529A01c7A0410167c5740C487A8DE60232617bf) |
| Slipstream                   | [0x827922686190790b37229fd06084350E74485b72](https://basescan.org/address/0x827922686190790b37229fd06084350E74485b72) | [0x416b433906b1B72FA758e166e239c43d68dC6F29](https://optimistic.etherscan.io/address/0x416b433906b1B72FA758e166e239c43d68dC6F29) | [0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702](https://uniscan.xyz/address/0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702) |
| Slipstream V2                | [0xa990C6a764b73BF43cee5Bb40339c3322FB9D55F](https://basescan.org/address/0xa990C6a764b73BF43cee5Bb40339c3322FB9D55F) |                                                                                                                                  |                                                                                                                      |
| Staked Slipstream            | [0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1](https://basescan.org/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) | [0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1](https://optimistic.etherscan.io/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) | [0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1](https://uniscan.xyz/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) |
| Staked Slipstream V2         | [0xBed6C3E35B9B1e044b3Bc71465769EdFDC0FDD4c](https://basescan.org/address/0xBed6C3E35B9B1e044b3Bc71465769EdFDC0FDD4c) |                                                                                                                                  |                                                                                                                      |
| Wrapped Staked Slipstream    | [0xD74339e0F10fcE96894916B93E5Cc7dE89C98272](https://basescan.org/address/0xD74339e0F10fcE96894916B93E5Cc7dE89C98272) | [0xD74339e0F10fcE96894916B93E5Cc7dE89C98272](https://optimistic.etherscan.io/address/0xD74339e0F10fcE96894916B93E5Cc7dE89C98272) | [0xD74339e0F10fcE96894916B93E5Cc7dE89C98272](https://uniscan.xyz/address/0xD74339e0F10fcE96894916B93E5Cc7dE89C98272) |
| Wrapped Staked Slipstream V2 | [0x147a2CcbAF4521ad209A2875AE0B3c496f4B25a4](https://basescan.org/address/0x147a2CcbAF4521ad209A2875AE0B3c496f4B25a4) |                                                                                                                                  |                                                                                                                      |
| Wrapped Aerodrome            | [0x17B5826382e3a5257b829cF0546A08Bd77409270](https://basescan.org/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) | [0x17B5826382e3a5257b829cF0546A08Bd77409270](https://optimistic.etherscan.io/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) | [0x17B5826382e3a5257b829cF0546A08Bd77409270](https://uniscan.xyz/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) |
| Staked Aerodrome             | [0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27](https://basescan.org/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) | [0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27](https://optimistic.etherscan.io/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) | [0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27](https://uniscan.xyz/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) |

## Pricing Modules

Pricing Module (Asset Module) addresses are shared across all chains. Some modules are only active on chains where their underlying protocol exists.

| Contract                                                                                                                                    | Address                                      | Base                                                                         | Optimism                                                                                | Unichain                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [ERC20PrimaryAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/asset-modules/ERC20-Primaries/ERC20PrimaryAM.sol)           | `0xfBecEaFC96ed6fc800753d3eE6782b6F9a60Eed7` | [↗](https://basescan.org/address/0xfBecEaFC96ed6fc800753d3eE6782b6F9a60Eed7) | [↗](https://optimistic.etherscan.io/address/0xfBecEaFC96ed6fc800753d3eE6782b6F9a60Eed7) | [↗](https://uniscan.xyz/address/0xfBecEaFC96ed6fc800753d3eE6782b6F9a60Eed7) |
| [UniswapV3AM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/asset-modules/UniswapV3/UniswapV3AM.sol)                       | `0x21bd524cC54CA78A7c48254d4676184f781667dC` | [↗](https://basescan.org/address/0x21bd524cC54CA78A7c48254d4676184f781667dC) | [↗](https://optimistic.etherscan.io/address/0x21bd524cC54CA78A7c48254d4676184f781667dC) | [↗](https://uniscan.xyz/address/0x21bd524cC54CA78A7c48254d4676184f781667dC) |
| [UniswapV4HooksRegistry](https://github.com/arcadia-finance/accounts-v2/blob/v2.3.0/src/asset-modules/UniswapV4/UniswapV4HooksRegistry.sol) | `0x8B0fd5352caE4E7c86632CA791229d132Fef5D3C` | [↗](https://basescan.org/address/0x8B0fd5352caE4E7c86632CA791229d132Fef5D3C) | [↗](https://optimistic.etherscan.io/address/0x8B0fd5352caE4E7c86632CA791229d132Fef5D3C) | [↗](https://uniscan.xyz/address/0x8B0fd5352caE4E7c86632CA791229d132Fef5D3C) |
| [DefaultUniswapV4AM](https://github.com/arcadia-finance/accounts-v2/blob/v2.3.0/src/asset-modules/UniswapV4/DefaultUniswapV4AM.sol)         | `0xb808971ea73341b0d7286B3D67F08De321f80465` | [↗](https://basescan.org/address/0xb808971ea73341b0d7286B3D67F08De321f80465) | [↗](https://optimistic.etherscan.io/address/0xb808971ea73341b0d7286B3D67F08De321f80465) | [↗](https://uniscan.xyz/address/0xb808971ea73341b0d7286B3D67F08De321f80465) |
| [AerodromePoolAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.1.0/src/asset-modules/Aerodrome-Finance/AerodromePoolAM.sol)       | `0xfe0FA1FD8F8E889062F03e2f126Fc7B9DE6091A5` | [↗](https://basescan.org/address/0xfe0FA1FD8F8E889062F03e2f126Fc7B9DE6091A5) | [↗](https://optimistic.etherscan.io/address/0xfe0FA1FD8F8E889062F03e2f126Fc7B9DE6091A5) | [↗](https://uniscan.xyz/address/0xfe0FA1FD8F8E889062F03e2f126Fc7B9DE6091A5) |
| [WrappedAerodromeAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.1.0/src/asset-modules/Aerodrome-Finance/WrappedAerodromeAM.sol) | `0x17B5826382e3a5257b829cF0546A08Bd77409270` | [↗](https://basescan.org/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) | [↗](https://optimistic.etherscan.io/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) | [↗](https://uniscan.xyz/address/0x17B5826382e3a5257b829cF0546A08Bd77409270) |
| [StakedAerodromeAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.1.0/src/asset-modules/Aerodrome-Finance/StakedAerodromeAM.sol)   | `0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27` | [↗](https://basescan.org/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) | [↗](https://optimistic.etherscan.io/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) | [↗](https://uniscan.xyz/address/0x9f42361B7602Df1A8Ae28Bf63E6cb1883CD44C27) |
| [SlipstreamAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.1.0/src/asset-modules/Slipstream/SlipstreamAM.sol)                    | `0xd3A7055bBcDA4F8F49e5c5dE7E83B09a33633F44` | [↗](https://basescan.org/address/0xd3A7055bBcDA4F8F49e5c5dE7E83B09a33633F44) | [↗](https://optimistic.etherscan.io/address/0xd3A7055bBcDA4F8F49e5c5dE7E83B09a33633F44) | [↗](https://uniscan.xyz/address/0xd3A7055bBcDA4F8F49e5c5dE7E83B09a33633F44) |
| [StakedSlipstreamAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.1.0/src/asset-modules/Slipstream/StakedSlipstreamAM.sol)        | `0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1` | [↗](https://basescan.org/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) | [↗](https://optimistic.etherscan.io/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) | [↗](https://uniscan.xyz/address/0x1Dc7A0f5336F52724B650E39174cfcbbEdD67bF1) |
| SlipstreamV2AM                                                                                                                              | `0x3aDE1F1FdC666B1bFAd376345EA878D1c11EB73B` | [↗](https://basescan.org/address/0x3aDE1F1FdC666B1bFAd376345EA878D1c11EB73B) |                                                                                         |                                                                             |
| StakedSlipstreamV2AM                                                                                                                        | `0xBed6C3E35B9B1e044b3Bc71465769EdFDC0FDD4c` | [↗](https://basescan.org/address/0xBed6C3E35B9B1e044b3Bc71465769EdFDC0FDD4c) |                                                                                         |                                                                             |
| [StargateAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/asset-modules/Stargate-Finance/StargateAM.sol)                  | `0x20f7903290bF98716B62Dc1c9DA634291b8cfeD4` | [↗](https://basescan.org/address/0x20f7903290bF98716B62Dc1c9DA634291b8cfeD4) | [↗](https://optimistic.etherscan.io/address/0x20f7903290bF98716B62Dc1c9DA634291b8cfeD4) |                                                                             |
| [StakedStargateAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/asset-modules/Stargate-Finance/StakedStargateAM.sol)      | `0xae909e19fd13C01c28d5Ee439D403920CF7f9Eea` | [↗](https://basescan.org/address/0xae909e19fd13C01c28d5Ee439D403920CF7f9Eea) | [↗](https://optimistic.etherscan.io/address/0xae909e19fd13C01c28d5Ee439D403920CF7f9Eea) |                                                                             |
| [AlienBaseAM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/asset-modules/UniswapV3/UniswapV3AM.sol)                       | `0x79dD8b8d4abB5dEEA986DB1BF0a02E4CA42ae416` | [↗](https://basescan.org/address/0x79dD8b8d4abB5dEEA986DB1BF0a02E4CA42ae416) |                                                                                         |                                                                             |

## Oracles

| Contract                                                                                                     | Address                                      | Base                                                                         | Optimism                                                                                | Unichain                                                                    |
| ------------------------------------------------------------------------------------------------------------ | -------------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [ChainlinkOM](https://github.com/arcadia-finance/accounts-v2/blob/v2.0.0/src/oracle-modules/ChainlinkOM.sol) | `0x6a5485E3ce6913890ae5e8bDc08a868D432eEB31` | [↗](https://basescan.org/address/0x6a5485E3ce6913890ae5e8bDc08a868D432eEB31) | [↗](https://optimistic.etherscan.io/address/0x6a5485E3ce6913890ae5e8bDc08a868D432eEB31) | [↗](https://uniscan.xyz/address/0x6a5485E3ce6913890ae5e8bDc08a868D432eEB31) |

## Common Tokens

Token addresses vary by chain. WETH uses the standard OP-stack address on all chains.

| Token               | Decimals | Base                                                                                                                  | Optimism                                                                                                                         | Unichain                                                                                                             |
| ------------------- | -------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| WETH                | 18       | [0x4200000000000000000000000000000000000006](https://basescan.org/address/0x4200000000000000000000000000000000000006) | [0x4200000000000000000000000000000000000006](https://optimistic.etherscan.io/address/0x4200000000000000000000000000000000000006) | [0x4200000000000000000000000000000000000006](https://uniscan.xyz/address/0x4200000000000000000000000000000000000006) |
| USDC                | 6        | [0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913](https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) | [0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85](https://optimistic.etherscan.io/address/0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85) | [0x078D782b760474a361dDA0AF3839290b0EF57AD6](https://uniscan.xyz/address/0x078D782b760474a361dDA0AF3839290b0EF57AD6) |
| cbBTC               | 8        | [0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf](https://basescan.org/address/0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf) |                                                                                                                                  |                                                                                                                      |
| AERO / VELO / xVELO | 18       | [0x940181a94A35A4569E4529A3CDfB74e38FD98631](https://basescan.org/address/0x940181a94A35A4569E4529A3CDfB74e38FD98631) | [0x9560e827aF36c94D2Ac33a39bCE1Fe78631088Db](https://optimistic.etherscan.io/address/0x9560e827aF36c94D2Ac33a39bCE1Fe78631088Db) | [0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81](https://uniscan.xyz/address/0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81) |
| AAA                 | 18       | [0xaaa843fb2916c0B57454270418E121C626402AAa](https://basescan.org/address/0xaaa843fb2916c0B57454270418E121C626402AAa) |                                                                                                                                  |                                                                                                                      |
| stAAA               | 18       | [0xDeA1531d8a1505785eb517C7A28526443df223F3](https://basescan.org/address/0xDeA1531d8a1505785eb517C7A28526443df223F3) |                                                                                                                                  |                                                                                                                      |
