Skip to content

Commit

Permalink
improve deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Korokhov committed May 20, 2024
1 parent 2452520 commit dc6a6c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specs/Collateral.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,5 +171,7 @@ $ forge script script/deploy/DefaultCollateralFactory.s.sol:DefaultCollateralFac
#### Deploy entity

```shell
// function run(address defaultCollateralFactory, address asset, uint256 initialLimit, address limitIncreaser)

$ forge script script/deploy/DefaultCollateral.s.sol:DefaultCollateralScript 0x0000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000 115792089237316195423570985008687907853269984665640564039457584007913129639935 0x0000000000000000000000000000000000000000 --sig "run(address,address,uint256,address)" --broadcast --rpc-url=$RPC_MAINNET
```
2 changes: 2 additions & 0 deletions specs/Core.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ $ source .env
```

```shell
// function run(address owner)

$ forge script script/deploy/Core.s.sol:CoreScript 0x0000000000000000000000000000000000000000 --sig "run(address)" --broadcast --rpc-url=$RPC_MAINNET
```

0 comments on commit dc6a6c7

Please sign in to comment.