This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.18; | |
| /** | |
| * @title Helps contracts guard agains rentrancy attacks. | |
| * @author Remco Bloemen <remco@2π.com> | |
| * @notice If you mark a function `nonReentrant`, you should also | |
| * mark it `external`. | |
| */ | |
| contract ReentrancyGuard { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.18; | |
| /** | |
| * @title Helps contracts guard agains rentrancy attacks. | |
| * @author Remco Bloemen <remco@2π.com> | |
| * @notice If you mark a function `nonReentrant`, you should also | |
| * mark it `external`. | |
| */ | |
| contract ReentrancyGuard { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.18; | |
| /** | |
| * @title Helps contracts guard agains rentrancy attacks. | |
| * @author Remco Bloemen <remco@2π.com> | |
| * @notice If you mark a function `nonReentrant`, you should also | |
| * mark it `external`. | |
| */ | |
| contract ReentrancyGuard { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.13; | |
| contract ERC20Basic { | |
| uint256 public totalSupply; | |
| function balanceOf(address who) constant returns (uint256); | |
| function transfer(address to, uint256 value) returns (bool); | |
| event Transfer(address indexed from, address indexed to, uint256 value); | |
| } | |
| contract ERC20 is ERC20Basic { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.18; | |
| /** | |
| * @title Helps contracts guard agains rentrancy attacks. | |
| * @author Remco Bloemen <remco@2π.com> | |
| * @notice If you mark a function `nonReentrant`, you should also | |
| * mark it `external`. | |
| */ | |
| contract ReentrancyGuard { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.18; | |
| contract owned { | |
| address public owner; | |
| function owned() public { | |
| owner = msg.sender; | |
| } | |
| modifier onlyOwner { |