diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index a932f7d..7a3610b 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -9,8 +9,8 @@ contract Deploy is Script { Deployer public deployer = Deployer(0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed); - // Vault factory address for v3.0.3 - address public factory = 0x5577EdcB8A856582297CdBbB07055E6a6E38eb5f; + // Vault factory address for v3.0.4 + address public factory = 0x770D0d1Fb036483Ed4AbB6d53c1C88fb277D812F; function run() external { vm.startBroadcast(); @@ -21,8 +21,7 @@ contract Deploy is Script { abi.encode(factory) ); - // Pick an unique salt - bytes32 salt = keccak256("v3.0.3"); + bytes32 salt = bytes32(0); address contractAddress = deployer.deployCreate2(salt, bytecode); diff --git a/src/TokenizedStrategy.sol b/src/TokenizedStrategy.sol index 2347e4a..61e5354 100644 --- a/src/TokenizedStrategy.sol +++ b/src/TokenizedStrategy.sol @@ -343,7 +343,7 @@ contract TokenizedStrategy { //////////////////////////////////////////////////////////////*/ /// @notice API version this TokenizedStrategy implements. - string internal constant API_VERSION = "3.0.3"; + string internal constant API_VERSION = "3.0.4"; /// @notice Value to set the `entered` flag to during a call. uint8 internal constant ENTERED = 2; diff --git a/src/test/ERC20Std.t.sol b/src/test/ERC20Std.t.sol index e7c1f01..d8103f8 100644 --- a/src/test/ERC20Std.t.sol +++ b/src/test/ERC20Std.t.sol @@ -23,7 +23,7 @@ contract ERC20BaseTest is Setup { string(abi.encodePacked("ys", asset.symbol())) ); assertEq(strategy.decimals(), 18); - assertEq(strategy.apiVersion(), "3.0.3"); + assertEq(strategy.apiVersion(), "3.0.4"); } function testFuzz_mint(address account_, uint256 amount_) public {