diff --git a/script/DeployMock.sol b/script/DeployMock.sol index e1191c2..ea30d03 100644 --- a/script/DeployMock.sol +++ b/script/DeployMock.sol @@ -42,7 +42,7 @@ contract DeployMock is Script { tokens[2] = IERC20(wteth); uint256[] memory _bases = new uint256[](3); _bases[0] = 10**6; - _bases[1] = 10**8; + _bases[1] = 10**10; // basis != decimals _bases[2] = 10**18; // mint _tokens to the deployer so it can fund the initial deposits and approve the factory @@ -86,8 +86,8 @@ contract DeployMock is Script { tokens[1] = IERC20(fusd); tokens[2] = IERC20(dive); _bases = new uint256[](3); - _bases[0] = 10**6; - _bases[1] = 10**6; + _bases[0] = 10**10; + _bases[1] = 10**10; // make this different from the decimals to ensure we are using basis correctly _bases[2] = 10**18; // mint _tokens to the deployer so it can fund the initial deposits and approve the factory