changed basis to be different than decimals in a couple mock pools

This commit is contained in:
tim
2025-10-20 12:15:58 -04:00
parent b64f5f6648
commit 52c923baee

View File

@@ -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