From 52c923baeef709e70a76079a40e6b7bd7046f6a1 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 20 Oct 2025 12:15:58 -0400 Subject: [PATCH] changed basis to be different than decimals in a couple mock pools --- script/DeployMock.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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