Closed AOranov closed 1 year ago
To prevent errors arising in the calculations that occurred after the compilation of the contract, separate constants exFeePerTokenDenom, exFeePerTokenNum was replaced by Delta = (exFeePerTokenDenom - exFeePerTokenNum) and exFeePerTokenDenom:
exFeePerTokenDenom
exFeePerTokenNum
Delta = (exFeePerTokenDenom - exFeePerTokenNum)
Changes in the n2t SwapSell contract:
{1} -> MaxExFee[Long] {2} -> ExFeePerTokenDenom[Long]
{1} -> ExFeePerTokenDenom[Long] {2} -> Delta[Long]
All related calculations were updated to new logic.
To prevent errors arising in the calculations that occurred after the compilation of the contract, separate constants
exFeePerTokenDenom
,exFeePerTokenNum
was replaced byDelta = (exFeePerTokenDenom - exFeePerTokenNum)
andexFeePerTokenDenom
:Changes in the n2t SwapSell contract:
{1} -> MaxExFee[Long]{2} -> ExFeePerTokenDenom[Long]{1} -> ExFeePerTokenDenom[Long] {2} -> Delta[Long]
All related calculations were updated to new logic.