Skip to content

Commit

Permalink
feat: deploy v0.9 universal router (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefMist authored Nov 21, 2024
1 parent 89abc3f commit ff63044
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy-addresses/bsc-testnet.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"UniversalRouter": "0x19Dbcfc815166633A393953B91115BF6D20E5c5a",
"UniversalRouter": "0x1c3112A0A62563F02D44659E6340409E02B6c02f",
"UnsupportedProtocol": "0xe4da88F38C11C1450c720b8aDeDd94956610a4e5"
}
12 changes: 6 additions & 6 deletions script/deployParameters/testnet/DeployBscTestnet.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {RouterParameters} from "../../../src/base/RouterImmutables.sol";
contract DeployBscTestnet is DeployUniversalRouter {
/// @notice contract address will be based on deployment salt
function getDeploymentSalt() public pure override returns (bytes32) {
return keccak256("PANCAKE-V4-UNIVERSAL-ROUTER/UniversalRouter/0.0001");
return keccak256("PANCAKE-V4-UNIVERSAL-ROUTER/UniversalRouter/0.90");
}

// ref from v3 universal router: https://testnet.bscscan.com/tx/0xdfab014e4f5df56d5a8b16375028ad0340f80070bd848eb57c4e0baf41210487
Expand All @@ -32,12 +32,12 @@ contract DeployBscTestnet is DeployUniversalRouter {
v3InitCodeHash: 0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2,
stableFactory: 0xe6A00f8b819244e8Ab9Ea930e46449C2F20B6609,
stableInfo: 0x0A548d59D04096Bc01206D58C3D63c478e1e06dB,
v4Vault: 0x0a125Bb36e409957Ed951eF1FBe20e81D682EAb6,
v4ClPoolManager: 0x26Ca53c8C5CE90E22aA1FadDA68AB9a08f7BA06f,
v4BinPoolManager: 0x1DF0be383e9d17DA4448E57712849aBE5b3Fa33b,
v4Vault: 0xd557753bde3f0EaF32626F8681Ac6d8c1EBA2BBa,
v4ClPoolManager: 0x70890E308DCE727180ac1B9550928fED342dea52,
v4BinPoolManager: 0x68554d088F3640Bd2A7B38b43AE70FDcc16ef197,
v3NFTPositionManager: 0x427bF5b37357632377eCbEC9de3626C71A5396c1,
v4ClPositionManager: 0x095bd2cf90ef113aa8c53904cE54C17f4583046d,
v4BinPositionManager: 0x26008c91a2D47147d6739db3fFd3598A27da859d
v4ClPositionManager: 0x7E7856fBE18cd868dc9E2C161a7a78c53074D106,
v4BinPositionManager: 0x69317a4bF9Cd6bED6ea9b5C61ebcf78b5994A63E
});

unsupported = 0xe4da88F38C11C1450c720b8aDeDd94956610a4e5;
Expand Down
2 changes: 1 addition & 1 deletion script/deployParameters/testnet/args/bsc_testnet.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(0x31c2F6fcFf4F8759b3Bd5Bf0e1084A055615c768,0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd,0x6725F303b657a9451d8BA641348b6761A6CC7a17,0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865,0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9,0xd0d4c4cd0848c93cb4fd1f498d7013ee6bfb25783ea21593d5834f5d250ece66,0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2,0xe6A00f8b819244e8Ab9Ea930e46449C2F20B6609,0x0A548d59D04096Bc01206D58C3D63c478e1e06dB,0x0a125Bb36e409957Ed951eF1FBe20e81D682EAb6,0x26Ca53c8C5CE90E22aA1FadDA68AB9a08f7BA06f,0x1DF0be383e9d17DA4448E57712849aBE5b3Fa33b,0x427bF5b37357632377eCbEC9de3626C71A5396c1,0x095bd2cf90ef113aa8c53904cE54C17f4583046d,0x26008c91a2D47147d6739db3fFd3598A27da859d)
(0x31c2F6fcFf4F8759b3Bd5Bf0e1084A055615c768,0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd,0x6725F303b657a9451d8BA641348b6761A6CC7a17,0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865,0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9,0xd0d4c4cd0848c93cb4fd1f498d7013ee6bfb25783ea21593d5834f5d250ece66,0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2,0xe6A00f8b819244e8Ab9Ea930e46449C2F20B6609,0x0A548d59D04096Bc01206D58C3D63c478e1e06dB,0xd557753bde3f0EaF32626F8681Ac6d8c1EBA2BBa,0x70890E308DCE727180ac1B9550928fED342dea52,0x68554d088F3640Bd2A7B38b43AE70FDcc16ef197,0x427bF5b37357632377eCbEC9de3626C71A5396c1,0x7E7856fBE18cd868dc9E2C161a7a78c53074D106,0x69317a4bF9Cd6bED6ea9b5C61ebcf78b5994A63E)

0 comments on commit ff63044

Please sign in to comment.