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
| mango@moko:~/Git/truffle$ meta git status | |
| truffle: | |
| On branch develop | |
| Your branch is up to date with 'origin/develop'. | |
| nothing to commit, working tree clean | |
| truffle ✓ | |
| truffle-artifactor: |
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
| { | |
| "contractName": "MetaCoin", | |
| "abi": [ | |
| { | |
| "constant": true, | |
| "inputs": [], | |
| "name": "specialFn", | |
| "outputs": [ | |
| { | |
| "name": "", |
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
| contract Ownable { | |
| address public owner; | |
| function Ownable() { | |
| owner = msg.sender; | |
| } | |
| modifier onlyOwner() { | |
| if (msg.sender != owner) { | |
| throw; |
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
| 0x55a717fe6247A81b9c1C051364564713F48eeFB9 |
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
| /// @title Provides an "owner" concept of the contract creator. | |
| pragma solidity ^0.4.8; | |
| contract Ownable { | |
| address public owner; | |
| function Ownable() { | |
| 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.4.8; | |
| library ArrayUtils { | |
| struct ArrayList { | |
| mapping(address => uint) addressToIndexMapping; | |
| mapping(uint => address) indexToAddressMapping; | |
| uint numberOfValues; | |
| } |
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.10; | |
| contract splitsender{ | |
| address[] public Targets; // will hold array of targets | |
| uint public TargetsLength; // will hold how big the array is | |
| bool SendLock; // Used to prevent SendSplit from calling itself. | |
| function splitsender(){ // constructor. Runs when contract is created | |
| TargetsLength=0; // start the length out at 0 explicitely |
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.10; | |
| contract voterecorder { | |
| event Voted(address voter, uint voteid);// this is the event to hook onto | |
| VOTECOST = 1 finney; // This is the cost of voting | |
| function Vote(uint voteid) external payable{// or string or whatever to identify WHAT they are voting for | |
| if(msg.value < VOTECOST){ | |
| throw; | |
| } | |
| Voted(msg.sender, voteid); | |
| } |
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
| 0x72575B18AF7e47E2264ab55D90B6960a29673968 |