Skip to content

Commit

Permalink
add feeBips comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyolo committed Mar 15, 2021
1 parent 9f4a922 commit 49ae515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/CCapableErc20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ contract CCapableErc20 is CToken, CCapableErc20Interface, CCapableDelegateInterf
uint cashBefore = getCashPrior();
require(cashBefore >= amount, "INSUFFICIENT_LIQUIDITY");

// 1. calculate fee
// 1. calculate fee, 1 bips = 1/10000
uint totalFee = div_(mul_(amount, flashFeeBips), 10000);

// 2. transfer fund to receiver
Expand Down

0 comments on commit 49ae515

Please sign in to comment.