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.0; | |
| contract GuardaLoteria { | |
| address dono; | |
| struct Sorteio { | |
| uint data; | |
| uint numeroSorteado; | |
| address remetente; | |
| } |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |
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.23; | |
| contract Inbox { | |
| string public message; | |
| function Inbox(string initialMessage) public { | |
| message = initialMessage; | |
| } | |
| function setMessage(string newMessage) public { |
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.0; | |
| contract ArraySol { | |
| address dono; | |
| uint numeroSorteado; | |
| uint contadorDeSorteios = 0; | |
| uint [ ] numerosSorteados; | |
| constructor (uint numeroInicial) public payable comCustoMinimo (1000) { |