Skip to content

Commit

Permalink
Merge branch 'PraneshASP/aerodrome-amo' into PraneshASP/oethbase-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
PraneshASP authored May 22, 2024
2 parents 74a97ad + 4fbad41 commit f91e164
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/tasks/aerodrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ async function aeroPoolTask(taskArguments, hre) {
blockTag,
fromBlockTag,
output,
fixture,
});
}

Expand Down Expand Up @@ -296,7 +295,7 @@ function displayRatio(a, b, aBefore, bBefore, precision = 6) {
function sqrt(value) {
const ONE = ethers.BigNumber.from(1);
const TWO = ethers.BigNumber.from(2);
x = ethers.BigNumber.from(value);
let x = ethers.BigNumber.from(value);
let z = x.add(ONE).div(TWO);
let y = x;
while (z.sub(y).isNegative()) {
Expand Down

0 comments on commit f91e164

Please sign in to comment.