From 014662d239e66872896a1d53db5f423585630e66 Mon Sep 17 00:00:00 2001 From: chefburger Date: Mon, 28 Oct 2024 23:16:44 +0800 Subject: [PATCH] docs: update deployment scripts --- script/01_DeployVault.s.sol | 7 +++++-- script/02_DeployCLPoolManager.s.sol | 7 +++++-- script/03_DeployBinPoolManager.s.sol | 7 +++++-- script/config/bsc-testnet.json | 4 ++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/script/01_DeployVault.s.sol b/script/01_DeployVault.s.sol index df9d9f9d..c50a9c21 100644 --- a/script/01_DeployVault.s.sol +++ b/script/01_DeployVault.s.sol @@ -8,11 +8,14 @@ import {Create3Factory} from "pancake-create3-factory/src/Create3Factory.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; /** + * Step1: * forge script script/01_DeployVault.s.sol:DeployVaultScript -vvv \ * --rpc-url $RPC_URL \ * --broadcast \ - * --slow \ - * --verify + * --slow + * + * Step2: + * forge verify-contract
Vault --watch --chain */ contract DeployVaultScript is BaseScript { function getDeploymentSalt() public pure override returns (bytes32) { diff --git a/script/02_DeployCLPoolManager.s.sol b/script/02_DeployCLPoolManager.s.sol index 4a5c6721..49a79ab5 100644 --- a/script/02_DeployCLPoolManager.s.sol +++ b/script/02_DeployCLPoolManager.s.sol @@ -9,11 +9,14 @@ import {Create3Factory} from "pancake-create3-factory/src/Create3Factory.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; /** + * Step1: * forge script script/02_DeployCLPoolManager.s.sol:DeployCLPoolManagerScript -vvv \ * --rpc-url $RPC_URL \ * --broadcast \ - * --slow \ - * --verify + * --slow + * + * Step2: + * forge verify-contract
CLPoolManager --watch --chain */ contract DeployCLPoolManagerScript is BaseScript { function getDeploymentSalt() public pure override returns (bytes32) { diff --git a/script/03_DeployBinPoolManager.s.sol b/script/03_DeployBinPoolManager.s.sol index 5a3fd1b6..fca615bf 100644 --- a/script/03_DeployBinPoolManager.s.sol +++ b/script/03_DeployBinPoolManager.s.sol @@ -9,11 +9,14 @@ import {Create3Factory} from "pancake-create3-factory/src/Create3Factory.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; /** + * Step1: * forge script script/03_DeployBinPoolManager.s.sol:DeployBinPoolManagerScript -vvv \ * --rpc-url $RPC_URL \ * --broadcast \ - * --slow \ - * --verify + * --slow + * + * Step2: + * forge verify-contract
BinPoolManager --watch --chain */ contract DeployBinPoolManagerScript is BaseScript { function getDeploymentSalt() public pure override returns (bytes32) { diff --git a/script/config/bsc-testnet.json b/script/config/bsc-testnet.json index a7e06b9b..b5e5d14a 100644 --- a/script/config/bsc-testnet.json +++ b/script/config/bsc-testnet.json @@ -1,6 +1,6 @@ { - "create3Factory": "0x", - "owner": "0x", + "create3Factory": "0x56Ca545C577a0773ACaB85C921deA698f53A0B7b", + "owner": "0xbF0135be6a39257c659fd1955324dc3CDb342f29", "vault": "0x0a125Bb36e409957Ed951eF1FBe20e81D682EAb6", "clPoolManager": "0x26Ca53c8C5CE90E22aA1FadDA68AB9a08f7BA06f", "binPoolManager": "0x1DF0be383e9d17DA4448E57712849aBE5b3Fa33b"