aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-05 22:45:10 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-02 04:21:09 +0800
commitd5ca00de9588ee81a1d464a0a8aa5561333c7633 (patch)
treebe927403b901849d642dc6dd6cf03da5ce16b040
parent7be84c6ad324627374adf447e6287deed29a42ed (diff)
downloaddexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar.gz
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar.bz2
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar.lz
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar.xz
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.tar.zst
dexon-0x-contracts-d5ca00de9588ee81a1d464a0a8aa5561333c7633.zip
Improve the comments
-rw-r--r--packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
index 4c55ddc8e..c2dea4e3e 100644
--- a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
+++ b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
@@ -5,6 +5,8 @@ import { EtherDelta } from "../EtherDelta/EtherDelta.sol";
import { Ownable } from "../../utils/Ownable/Ownable.sol";
import { Token } from "../../tokens/Token/Token.sol";
+/// @title Arbitrage - Facilitates atomic arbitrage of ERC20 tokens between EtherDelta and 0x Exchange contract.
+/// @author Leonid Logvinov - <leo@0xProject.com>
contract Arbitrage is Ownable {
Exchange exchange;
@@ -27,7 +29,8 @@ contract Arbitrage is Ownable {
}
/*
- * I 愛 the limitations on Solidity stack size!
+ * Because of the limits on the number of local variables in Solidity we need to compress parameters while loosing
+ * readability. Scheme of the parameter layout:
*
* addresses
* 0..4 orderAddresses