Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Nov 16, 2020
1 parent 6424cac commit ff7171f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/balancer/OceanPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1250,20 +1250,7 @@ export class OceanPool extends Pool {
tokenOutWeight,
swapfee
)
console.log(
'In:' +
tokenInBalance +
', Out:' +
tokenOutBalance +
'| NEW In:' +
newTokenInBalance +
', Out:' +
newTokenOutBalance
)
console.log('initial Price:' + initialPrice)
console.log('new price:' + newPrice)
const slippage = (parseFloat(newPrice) * 100) / parseFloat(initialPrice) - 100
console.log('Slippage:' + slippage)
return String(slippage)
}

Expand Down Expand Up @@ -1303,7 +1290,6 @@ export class OceanPool extends Pool {
this.web3.utils.fromWei(newDtReserve.toString()),
swapFee
)
console.log('Buy slippage:' + slippage)
return slippage
}

Expand Down Expand Up @@ -1343,7 +1329,6 @@ export class OceanPool extends Pool {
this.web3.utils.fromWei(newOceanReserve.toString()),
swapFee
)
console.log('Sell slippage:' + slippage)
return slippage
}
}

0 comments on commit ff7171f

Please sign in to comment.