Skip to content

Commit 79ae064

Browse files
committed
chore: addd note on adding whitelists
1 parent 84b39a1 commit 79ae064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/upgrade-tsa.s.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ import {TSAShareHandler} from "../src/tokenizedSubaccounts/TSAShareHandler.sol";
3131
// 2. Choose between Covered Call or PP TSA in the run() function
3232
// 3. Run the script with:
3333
// PRIVATE_KEY=... MARKET_NAME=weETH forge script scripts/upgrade-tsa.s.sol --rpc-url https://rpc-prod-testnet-0eakp60405.t.conduit.xyz --verify --verifier blockscout --verifier-url https://explorer-prod-testnet-0eakp60405.t.conduit.xyz/api --broadcast --sender 0x000000a94c901aa5d4da1157b2dd1c4c6b69815e --priority-gas-price 1
34+
// 4. Whitelist vault subaccount in v2-core Base Asset:
35+
// cast send --private-key <pk> --rpc-url https://rpc-prod-testnet-0eakp60405.t.conduit.xyz <v2-core base asset address> "setSubAccountWL(uint256,bool)" <vault subaccount> true
3436

3537
contract DeployTSA is Utils {
3638
CollateralManagementTSA.CollateralManagementParams

0 commit comments

Comments
 (0)