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 TokenStake { | |
using SafeMath for uint256; | |
StandardToken token; | |
mapping (address => uint256) staked; | |
event Staked(address _staker, uint256 _value); | |
event Released(address _staker, uint256 _value); | |
modifier onlyToken { |
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.7; | |
contract usingCallback { | |
function __callback(uint id, string s) {} | |
} | |
contract A { |
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
Verifying my identity on Peepeth.com 0xe6d1f4774a4144b3f08897982cd8df5c05eccef5 |
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.5.0; | |
contract SimpleRiskTransfer { | |
modifier onlyRiskPool(bytes32 _metaDataHash) { | |
require(riskOrders[_metaDataHash].riskPool == msg.sender); | |
_; | |
} | |
modifier onlyCustomer(bytes32 _metaDataHash) { |
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.99 <0.6.0; | |
// import paymentProcessor interface | |
// import oracleTypeRegistry interface | |
// import oracleRegistry interface | |
// import requestRegistry interface | |
contract OracleBrokerFront { | |
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.99 <0.6.0; | |
// import paymentProcessor interface | |
// import oracleTypeRegistry interface | |
// import oracleRegistry interface | |
// import requestRegistry interface | |
contract Owned { | |
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
pragma solidity >0.4.99 <0.6.0; | |
// import paymentProcessor interface | |
// import oracleTypeRegistry interface | |
// import oracleRegistry interface | |
// import requestRegistry interface | |
contract Owned { | |
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
pragma solidity ^0.5.0; | |
contract RiskOrder { | |
event OrderCreated(address _customer, bytes32 _metaDataHash, string _description); | |
event PoolCreated(string _riskPoolName, uint256 _maxVolume); | |
event RiskCapitalProviderCreated(string _providerName, uint256 _maxVolume); | |
event RiskBoundToPool(bytes32 _metaDataHash, string _riskPoolName, string _requestedRisk, uint256 _requestedVolume); | |
event RiskCapitalProviderBoundToPool(string _providerName, string _riskPoolName, string _risk, uint256 _volume); |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreiakmnntq4m7llgknhnvsg54kmvraborwvldn3x44hxltpvurttfuu ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
// ==UserScript== | |
// @name Etherscan Number fix | |
// @namespace http://etherisc.com | |
// @version 0.1 | |
// @description Fix representation of amounts in etherscan | |
// @author Christoph Mussenbrock | |
// @match https://etherscan.io/token/* | |
// @grant none | |
// @license https://unlicense.org/ | |
// ==/UserScript== |