Skip to content

Instantly share code, notes, and snippets.

@area
area / Colony Contributor License Agreement.md
Last active January 23, 2024 10:48 — forked from naynovi/Colony Contributor License Agreement.md
Colony Contributor License Agreement

Colony Contributor License Agreement

Thank you for your interest in contributing to Colony, a project of Metacolony Inc. ("We" or "Us").

The purpose of this contributor license agreement ("Agreement") is to clarify and document the rights granted by individuals to Us.

The Agreement sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have ever submitted, in any form and in any manner, to Colony (collectively “Contributions”). If you have any questions respecting this Agreement, please contact hello@colony.io.

You agree that the following terms apply to all your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all your right, title and interest in and to your Contributions.

@area
area / Token.sol
Created October 30, 2019 09:37
Flattened CLNY token code
pragma solidity ^0.5.8;
/*
This file is part of The Colony Network.
The Colony Network is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The Colony Network is distributed in the hope that it will be useful,
0x0A1d439C7d0b9244035d4F934BBF8A418B35d064
parity --chain ./chain2.json --author 0x0f966e0a25b2f4288a9037584e9fa6f0921461e6 --unlock 0x0f966e0a25b2f4288a9037584e9fa6f0921461e6 --password ./password --reseal-on-txs all --no-import-keys --usd-per-tx 0.000001 -ltxqueue=trace,miner=trace,own_tx=trace --tx-gas-limit 0x47e7c4 --no-network --gas-floor-target 0x47e7c4 --force-sealing
2016-10-12 11:49:07 main INFO parity::run Starting Parity/v1.3.6-beta-8492e3e-20161011/x86_64-macos/rustc1.12.0
2016-10-12 11:49:07 main INFO parity::run Using state DB journalling strategy fast
2016-10-12 11:49:07 main INFO ethcore::service Configured for Morden using BasicAuthority engine
2016-10-12 11:49:38 IO Worker #0 INFO import 0/ 0/25 peers 133 KiB db 8 KiB chain 2 KiB queue 4 KiB sync
2016-10-12 11:50:04 TRACE miner send_transaction: dispatching tx: f8678310005e85174876e8008276c094692a70d2e424a56d2c6c27aa97d1a86395877b3a01801ca0c4c68c671b271b03f6a2844c060ebe46e7be5f59816e27a15fe81847faa33844a06f177b9079d2b32da2b6f9bee23326a5a548688db30abfceb3a
module.exports = {
rpc: {
host: 'localhost',
gasPrice: 20e9,
gas: 0xfffffff
},
mocha: {
reporter: 'spec',
},
networks: {
if (x===y){
ifBranchCovered(1);
doSomething();
}else {
elseBranchCovered(1);
if (x===z){
ifBranchCovered(2);
doSomethingElse();
}else{
elseBranchCovered(2);
if (x===y){
doSomething();
}else if (x===z){
doSomethingElse();
}
var x; (,x) = y==z ? (statementEvent(0),1) : (statementEvent(1),2);
var x = y==z ? statementEvent(0), 1 : statementEvent(1),2;
@area
area / ternaryOperatorUninstrumented.js
Last active May 13, 2022 19:45
Ternary operator uninstrumented
var x = y==z ? 1 : 2;