diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-05 22:19:23 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-02 04:21:09 +0800 |
commit | c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5 (patch) | |
tree | 293c2b24f7f2f88524b523212937858c8fdfec88 /packages/contracts/src | |
parent | 413e8b606203ece71b732732b160541f78ae0008 (diff) | |
download | dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.gz dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.bz2 dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.lz dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.xz dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.tar.zst dexon-sol-tools-c6358d5f224cb2d381aa0c8af9bcedffa1cf5fe5.zip |
Make setAllowances external
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/current/tutorials/Arbitrage/Arbitrage.sol | 2 |
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); |