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.19; | |
contract DiceGame { | |
uint userDice;//user input dice number | |
uint contractBalance = 10000000;// ether which contract has now | |
uint randNounce = 0; | |
uint randomDice; | |
//input dice number by user | |
function InputDiceByuser(uint _input) external { |
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.5.0; | |
contract Ownable { | |
address owner; | |
constructor() public payable { | |
owner = msg.sender; | |
} | |
/* 접근 제어자 선언 */ | |
modifier onlyOwner { |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
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.5.0; | |
import "./SafeMath.sol"; | |
import "./Mortal.sol"; | |
import "./ERC20.sol"; | |
contract A_token is Mortal,ERC20{ | |
string public constant name = "A_token"; | |
string public constant symbol = "A"; | |
uint8 public constant decimals = 18; |
OlderNewer