Skip to content

Instantly share code, notes, and snippets.

Christoph Mussenbrock christoph2806

Block or report user

Report or block christoph2806

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Converting real currency to altcoins
Normal people still have little confidence in crypto currencies. What is the reason for that? First, the technology is based on complex cryptography that many do not understand, on the other hand, the total volume of the currently circulating Bitcoins and Altcoins is still low and price volatility high. This is an essential brake in particular for the development of many products based on smart Contracts.
Even if "pure" crypto currencies have advantages because they cannot be controlled by a central authority, it would be very helpful for a transitional period, if there were Altcoins, which are bound to classical currencies.
Such Altcoins can be realized with simple token Contracts for example in Ethereum.
For this you simply need people who are willing to literally burn their cash holdings in open fire or put it through a paper shredder.
How does this work?
Suppose, John Doe wants to put some EUR-bound Altcoin - EUR-Coins - into circulation. No problem - he has to collect 10 million Euros in cash and burn
View Atlassian OpenSource Approval
Hi Christoph,
Thank you for contacting us and I'll be glad to help.
Congratulations, your Open Source project has been approved for an Atlassian Cloud Open Source subscription!
Your Cloud evaluation has been upgraded to an Open Source instance effective immediately. Open Source instances can support up to 2000 users and do not expire, so please contact sales@atlassian.com if you wish to cancel your subscription in the future. Your subscription details have been attached to your My Atlassian account (Atlassian ID = blockchain@mussenbrock.de).
If you need technical assistance, you can file a support ticket online.
View Safe Send
contract Safe_Send {
bool reentrant = false;
event Attack();
event LOG_Send(uint amount, address recipient, bool success);
modifier noReentrant {
if (reentrant) {
Attack();
View ControlledToken
//
// ControlledToken,
//
// a simple extension to ERC20 Token, giving token holders full control on
// receiving tokens.
//
// Usage: a token holder creates a "Control" contract implementing at least
// one function,
//
// function allow(from, uint value) returns (bool ok)
View FlightDelay PolicyList
0 : OS/75 17.09.2016 0.97:ACC
1 : AF/5200 19.09.2016 2.42:ACC
2 : OS/75 17.09.2016 0.97:ACC
3 : OS/58 17.09.2016 0.97:DEC
4 : OS/75 17.09.2016 0.97:ACC
5 : OS/75 10.09.2016 0.97:DEC
6 : KL/1033 10.09.2016 0.48:EXP<
7 : OS/75 11.09.2016 0.48:DEC
8 : CA/6228 11.09.2016 0.48:APP
9 : MU/220 11.09.2016 0.48:DEC
View etherisc_dev.json
{
"name": "etherisc_dev",
"engine": {
"authorityRound": {
"params": {
"gasLimitBoundDivisor": "0x400",
"stepDuration": "5",
"authorities" : [
"0x285fac8db312f4db8bf771f9a5553be36d0db196",
"0x7c1e17e237d6ff0064b4a1e9d06d11300b5c3eae",
View truffle console test
$ truffle init
$ truffle compile
Compiling ConvertLib.sol...
Compiling MetaCoin.sol...
Compiling Migrations.sol...
Writing artifacts to .\build\contracts
$ truffle migrate
Running migration: 1_initial_migration.js
View ConvertLib
pragma solidity ^0.4.7;
library convertLib {
function b32toString(bytes32 x) internal returns (string) {
// gas usage: about 1K gas per char.
bytes memory bytesString = new bytes(32);
uint charCount = 0;
View gist:a1009425dd17b474e3c97ecb64125dc2
$ truffle compile
/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:39
throw e;
^
SyntaxError: Expected "contract", "import", "library", "pragma", "using", comment, end of input, end of line or whitespace but "}" found. Line: 24, Column: 1
at peg$buildException (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:487:14)
at Object.peg$parse [as parse] (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:4080:13)
at Object.parse (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:34:23)
at /usr/local/lib/node_modules/truffle/lib/profiler.js:134:36
View TestOraclize
pragma solidity ^0.4.7;
import "./usingOraclize.sol";
contract TestOraclize is
usingOraclize
{
You can’t perform that action at this time.