Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
add some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdong committed Mar 25, 2018
1 parent 0c52009 commit cdaf3e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/TokenTransferDelegate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ contract TokenTransferDelegate is Claimable {
);
}

// Miner pays LRx fee to order owner
uint lrcReward = uint(batch[i + 4]);
if (lrcReward != 0 && minerFeeRecipient != owner) {
require(
Expand All @@ -204,6 +205,7 @@ contract TokenTransferDelegate is Claimable {
);
}

// Split margin-split income between miner and wallet
splitPayFee(
token,
uint(batch[i + 3]),
Expand All @@ -213,6 +215,7 @@ contract TokenTransferDelegate is Claimable {
walletSplitPercentage
);

// Split LRx fee income between miner and wallet
splitPayFee(
lrc,
uint(batch[i + 5]),
Expand Down

0 comments on commit cdaf3e2

Please sign in to comment.