new deployment scripts

This commit is contained in:
JulesCrown 2024-09-17 15:48:59 +02:00
parent 18a57c0ead
commit b4dfb03590
5 changed files with 54 additions and 31 deletions

View file

@ -61,7 +61,7 @@ $ anvil
forge clean
forge cache clean
source .env
forge script script/Deploy.sol:SepoliaScript --slow --broadcast --verify --rpc-url ${SEPOLIA_RPC_URL}
forge script script/Deploy.sol:BaseXDeploy --slow --broadcast --verify --rpc-url ${X_RPC_URL}
```
if verification fails:
@ -112,27 +112,21 @@ address: 0xCc7467616bBDB574D04C7e9d2B0982c59F33D43c
### Harberg
address: 0x00d5690044cf91fb3fc674c780697d511702f729
address: 0x54838DC097E7fC4736B801bF1c1FCf1597348265
### Stake
address: 0x275403401f9c6f4659b6ffb6ab01798e1de9a912
address: 0xd7728173F73C748944d29EA77b56f09b8FEc8F33
### LP
address: 0x0360c20822a7298e9061248b39fe475a78d4de48
address: 0x00E4da809989f40F5D1B31bE6202A5e512db4212
## References
open features:
- reduce snatch collision
- profit for staking position
- tax paid for staking position
- deployment on L2
todos:
- liquidation bot
- write unit test for capital exit function
- put ownerOnly restriction on recenter, remove it later. gives more control to the team initally, but keeps it decentralized