changed basis to be different than decimals in a couple mock pools
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user