aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-05 22:19:23 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-02 04:21:09 +0800
commitc6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5 (patch)
tree293c2b24f7f2f88524b523212937858c8fdfec88 /packages
parent413e8b606203ece71b732732b160541f78ae0008 (diff)
downloaddexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.gz
dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.zst
dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.zip
Make setAllowances external
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
index 3ee8b5fba..3ae2e92b8 100644
--- a/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
+++ b/packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol
@@ -19,7 +19,7 @@ contract Arbitrage is Ownable {
proxyAddress = _proxyAddress;
}
- function setAllowances(address tokenAddress) public onlyOwner {
+ function setAllowances(address tokenAddress) external onlyOwner {
Token token = Token(tokenAddress);
token.approve(address(etherDelta), MAX_UINT);
token.approve(proxyAddress, MAX_UINT);