This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.22 <0.6.0; | |
contract GuardaLoteria { | |
uint numeroSorteado; | |
function set(uint enviado) public { | |
numeroSorteado = enviado; | |
} | |
function get() public view returns (uint) { |
This file contains 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.0; | |
contract GuardaLoteria { | |
address dono; | |
uint numeroSorteado; | |
uint contadorDeSorteios = 0; | |
uint[] numerosSorteados; | |
constructor(uint numeroInicial) public payable comCustoMinimo(1000) { |
This file contains 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.0; | |
contract ArraySol { | |
address dono; | |
uint numeroSorteado; | |
uint contadorDeSorteios = 0; | |
uint [ ] numerosSorteados; | |
constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
This file contains 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.0; | |
contract ArraySol { | |
address dono; | |
uint numeroSorteado; | |
uint contadorDeSorteios = 0; | |
uint [ ] numerosSorteados; | |
constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
OlderNewer