Skip to content

Commit

Permalink
chore: set grateful multisig as owner in deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChin committed Nov 19, 2024
1 parent a56bfc0 commit 4db98b2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions script/Deploy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ contract Deploy is Script {

error UnsupportedChain();

address public constant GRATEFUL_MULTISIG = 0xbC4d66e4FA462d4deeb77495E7Aa51Bb8034710b;

// Public variables to store deployed contracts
Grateful public grateful;
mapping(address => AaveV3Vault) public vaults;
Expand Down Expand Up @@ -132,6 +134,7 @@ contract Deploy is Script {
}
// Deploy Grateful contract
grateful = new Grateful(_params.tokens, _params.aavePool, _params.initialFee, _params.initialPerformanceFee);
grateful.transferOwnership(GRATEFUL_MULTISIG);

// Deploy vaults and add them to Grateful
uint256 vaultsLength = _params.vaults.length;
Expand All @@ -154,12 +157,6 @@ contract Deploy is Script {
vaults[vaultParams.token] = vault;
}

// Deploy TestToken (if needed)
/* TestToken _testToken = new TestToken("Test Token", "TEST", 18); */

// Add TestToken to Grateful (if needed)
/* grateful.addToken(address(_testToken)); */

if (!vm.envBool("TESTING")) {
vm.stopBroadcast();
}
Expand Down

0 comments on commit 4db98b2

Please sign in to comment.