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
contract Greeter | |
{ | |
address creator; | |
string greeting; | |
function Greeter (string _greeting) public { | |
creator = msg.sender; | |
greeting = _greeting; | |
} | |
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
contract BasicIterator | |
{ | |
uint8[10] integers; | |
function BasicIterator() { | |
uint8 x = 0; | |
while(x < integers.length) | |
{ | |
integers[x] = x; | |
x++; |
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
contract creatorBalanceChecker | |
{ | |
function getBalance() constant returns (uint) | |
{ | |
return msg.sender.balance; | |
} | |
} |
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
contract basicInfoGetter | |
{ | |
address creator; | |
function basicInfoGetter() public | |
{ | |
creator = msg.sender; | |
} | |
function getCurrentMinerAddress() constant returns (address) |
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
contract EndowmentRetriever | |
{ | |
address creator; | |
uint contract_creation_value; // original endowment | |
function EndowmentRetriever() public | |
{ | |
creator = msg.sender; | |
contract_creation_value = msg.value; | |
} |
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.9; | |
contract Go { | |
uint8[18][18] public goban; | |
uint8 sizeGoban; | |
bool colorPlay; | |
uint8[] lastCapturePosition; | |
function entry(uint8 x, uint8 y) | |
{ | |
uint _x; |
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
0x91381baaB4279FFF6Ed06cC24A0e0E37191A5d9B |
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
0xca35b7d915458ef540ade6068dfe2f44e8fa733c | |
0x14723a09acff6d2a60dcdf7aa4aff308fddc160c |
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.15; | |
contract UniversalOrder { | |
enum StatusOrder { | |
Paid, | |
Refunded | |
} | |
struct Order { | |
address owner; |
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
Passager: 0xca35b7d915458ef540ade6068dfe2f44e8fa733c | |
Airline: 0x14723a09acff6d2a60dcdf7aa4aff308fddc160c |
OlderNewer