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
Barclays Prague Comms: | |
-> Paste address and other things in the comments. |
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
0x374Bd185Ee19fD9f8682Eb875E5D0546A8D58CdD |
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.10; | |
import "./ETHUSDHandler.sol"; | |
contract ETHUSDHandlerFactory { | |
mapping(address => address[]) public userToHandlers; | |
function createNewHandler ( | |
address _beneficiary, | |
uint256 _initialPriceInUSD, |
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.19; | |
import "./utils/strings.sol"; // github.com/Arachnid/solidity-stringutils/strings.sol | |
contract Registry { | |
using strings for *; | |
event LogPublish(address issuer, address subject, bytes32 action, bytes32 contentType, string cid); | |
function publish(address[] _subjects, bytes32[] _actions, bytes32[] _contentTypes, string _cids) public { | |
require(_subjects.length == _actions.length && _actions.length == _contentTypes.length); |
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 ETHUSDHandler { | |
function pay(string _cid, | |
address _oracle, | |
address _buyer, // this is for the case that someone else pays on your behalf | |
address[] _beneficiaries, | |
uint256[] _amounts, | |
address[] _notifiers) public payable { | |
require(_beneficiaries.length == _amounts.length); |
OlderNewer