Pegasys Contract Deployments
The latest version of @pegasys-fi/v3-core, @pegasys-fi/v3-periphery, @pegasys-fi/swap-router-contracts, and @pegasys-fi/v3-staker are deployed at the addresses listed below. Integrators should no longer assume that they are deployed to the same addresses across chains and be extremely careful to confirm mappings below.
| Contract | Mainnet, Polygon, Optimism, Arbitrum, Testnets Address | Celo Address |
|---|---|---|
| PegasysV3Factory | 0x1F98431c8aD98523631AE4a59f267346ea31F984 | 0xAfE208a311B21f13EF87E33A90049fC17A7acDEc |
| Multicall2 | 0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696 | 0x633987602DE5C4F337e3DbF265303A1080324204 |
| ProxyAdmin | 0xB753548F6E010e7e680BA186F9Ca1BdAB2E90cf2 | 0xc1b262Dd7643D4B7cA9e51631bBd900a564BF49A |
| TickLens | 0xbfd8137f7d1516D3ea5cA83523914859ec47F573 | 0x5f115D9113F88e0a0Db1b5033D90D4a9690AcD3D |
| Quoter | 0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6 | 0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8 |
| SwapRouter | 0xE592427A0AEce92De3Edee1F18E0157C05861564 | 0x5615CDAb10dc425a742d643d949a7F474C01abc4 |
| NFTDescriptor | 0x42B24A95702b9986e82d421cC3568932790A48Ec | 0xa9Fd765d85938D278cb0b108DbE4BF7186831186 |
| NonfungibleTokenPositionDescriptor | 0x91ae842A5Ffd8d12023116943e72A606179294f3 | 0x644023b316bB65175C347DE903B60a756F6dd554 |
| TransparentUpgradeableProxy | 0xEe6A57eC80ea46401049E92587E52f5Ec1c24785 | 0x505B43c452AA4443e0a6B84bb37771494633Fde9 |
| NonfungiblePositionManager | 0xC36442b4a4522E871399CD717aBDD847Ab11FE88 | 0x3d79EdAaBC0EaB6F08ED885C05Fc0B014290D95A |
| V3Migrator | 0xA5644E29708357803b5A882D272c41cC0dF92B34 | 0x3cFd4d48EDfDCC53D3f173F596f621064614C582 |
| QuoterV1 | 0x61fFE014bA17989E743c5F6cB21bF9697530B21e | 0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8 |
| SwapRouter02 | 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 | 0x5615CDAb10dc425a742d643d949a7F474C01abc4 |
| Permit2 | 0x000000000022d473030f116ddee9f6b43ac78ba3 | 0x000000000022d473030f116ddee9f6b43ac78ba3 |
The new UniversalRouter has been deployed to the following addresses on the following chains:
| Contract | Mainnet Address | Optimism Address | Arbitrum Address | Polygon Address | See other chain addresses here |
|---|---|---|---|---|---|
| UniversalRouter | 0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B | 0xb555edF5dcF85f42cEeF1f3630a52A108E55A654 | 0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5 | 0x4C60051384bd2d3C01bfc845Cf5F4b44bcbE9de5 | Other addresses |
These addresses are final and were deployed from these npm package versions:
@pegasys-fi/v3-core@1.0.0@pegasys-fi/v3-periphery@1.0.0@pegasys-fi/swap-router-contracts@1.1.0@pegasys-fi/v3-staker@1.0.2
Pegasys Pool Deployments
Every Pegasys pool is a unique instance of the PegasysV3Pool contract and is deployed at its own unique address. The contract source code of the pool will be auto-verified on etherscan. For example, here is the ETH/USDC 0.3% pool on Ethereum mainnet.
You can look up the address of an existing pool on Pegasys Info or by calling the getPool function on the PegasysV3Factory contract.
getPool("0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", 3000)
Wrapped Native Token Addresses
The Pegasys Protocol supports trading of ERC20 tokens. In order to swap a native asset like ETH (or MATIC on Polygon), the Pegasys protocol wraps these assets in an ERC20 wrapped native token contract. The protocol uses the following WETH9 addresses on Ethereum and WMATIC addresses on Polygon.
| Network | ChainId | Wrapped Native Token | Address |
|---|---|---|---|
| Ethereum | 1 | WETH | 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |
| Ropsten | 3 | WETH | 0xc778417E063141139Fce010982780140Aa0cD5Ab |
| Rinkeby | 4 | WETH | 0xc778417E063141139Fce010982780140Aa0cD5Ab |
| Goerli | 5 | WETH | 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6 |
| Kovan | 42 | WETH | 0xd0A1E359811322d97991E03f863a0C30C2cF029C |
| Optimism | 10 | WETH | 0x4200000000000000000000000000000000000006 |
| Optimistic Kovan | 69 | WETH | 0x4200000000000000000000000000000000000006 |
| Arbitrum One | 42161 | WETH | 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1 |
| Arbitrum Rinkeby | 421611 | WETH | 0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681 |
| Polygon | 137 | WMATIC | 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 |
| Polygon Mumbai | 80001 | WMATIC | 0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889 |