Skip to content

Commit

Permalink
feat: deploy worldchain (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda authored Sep 27, 2024
1 parent 3abde87 commit 995e58f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy-addresses/worldchain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"UniversalRouterV1_2_V2Support": "0x16D4F26C15f3658ec65B1126ff27DD3dF2a2996b",
"UnsupportedProtocol": "0x16D4F26C15f3658ec65B1126ff27DD3dF2a2996b"
}
32 changes: 32 additions & 0 deletions script/deployParameters/DeployWorldchain.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.15;

import {DeployUniversalRouter} from '../DeployUniversalRouter.s.sol';
import {RouterParameters} from 'contracts/base/RouterImmutables.sol';

contract DeployWorldchain is DeployUniversalRouter {
function setUp() public override {
params = RouterParameters({
permit2: 0x000000000022D473030F116dDEE9F6B43aC78BA3,
weth9: 0x4200000000000000000000000000000000000006,
seaportV1_5: UNSUPPORTED_PROTOCOL,
seaportV1_4: UNSUPPORTED_PROTOCOL,
openseaConduit: UNSUPPORTED_PROTOCOL,
nftxZap: UNSUPPORTED_PROTOCOL,
x2y2: UNSUPPORTED_PROTOCOL,
foundation: UNSUPPORTED_PROTOCOL,
sudoswap: UNSUPPORTED_PROTOCOL,
elementMarket: UNSUPPORTED_PROTOCOL,
nft20Zap: UNSUPPORTED_PROTOCOL,
cryptopunks: UNSUPPORTED_PROTOCOL,
looksRareV2: UNSUPPORTED_PROTOCOL,
routerRewardsDistributor: UNSUPPORTED_PROTOCOL,
looksRareRewardsDistributor: UNSUPPORTED_PROTOCOL,
looksRareToken: UNSUPPORTED_PROTOCOL,
v2Factory: 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f,
v3Factory: 0x7a5028BDa40e7B173C278C5342087826455ea25a,
pairInitCodeHash: 0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f,
poolInitCodeHash: 0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54
});
}
}

0 comments on commit 995e58f

Please sign in to comment.