Skip to content

Commit

Permalink
docs: update deployment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chefburger committed Oct 28, 2024
1 parent db422c3 commit 014662d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
7 changes: 5 additions & 2 deletions script/01_DeployVault.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 <address> Vault --watch --chain <chain_id>
*/
contract DeployVaultScript is BaseScript {
function getDeploymentSalt() public pure override returns (bytes32) {
Expand Down
7 changes: 5 additions & 2 deletions script/02_DeployCLPoolManager.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 <address> CLPoolManager --watch --chain <chain_id>
*/
contract DeployCLPoolManagerScript is BaseScript {
function getDeploymentSalt() public pure override returns (bytes32) {
Expand Down
7 changes: 5 additions & 2 deletions script/03_DeployBinPoolManager.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 <address> BinPoolManager --watch --chain <chain_id>
*/
contract DeployBinPoolManagerScript is BaseScript {
function getDeploymentSalt() public pure override returns (bytes32) {
Expand Down
4 changes: 2 additions & 2 deletions script/config/bsc-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"create3Factory": "0x",
"owner": "0x",
"create3Factory": "0x56Ca545C577a0773ACaB85C921deA698f53A0B7b",
"owner": "0xbF0135be6a39257c659fd1955324dc3CDb342f29",
"vault": "0x0a125Bb36e409957Ed951eF1FBe20e81D682EAb6",
"clPoolManager": "0x26Ca53c8C5CE90E22aA1FadDA68AB9a08f7BA06f",
"binPoolManager": "0x1DF0be383e9d17DA4448E57712849aBE5b3Fa33b"
Expand Down

0 comments on commit 014662d

Please sign in to comment.