Skip to content

Instantly share code, notes, and snippets.

View rob-Hitchens's full-sized avatar

Rob Hitchens rob-Hitchens

View GitHub Profile
@rob-Hitchens
rob-Hitchens / Campaign.sol
Last active February 5, 2018 11:58
MODULE 5 - START, Hub Contracts and UI
//////////////////////////////////////////////////////////
// For training purposes.
// Solidity Contract Factory
// Module 5 - START
// Copyright (c) 2017, Rob Hitchens, all rights reserved.
// Not suitable for actual use
//////////////////////////////////////////////////////////
pragma solidity ^0.4.6;
@rob-Hitchens
rob-Hitchens / Campaign.sol
Created April 2, 2017 07:38
MODULE 2 - INITIAL STATE
///////////////////////////////////////////////////////////
// For training purposes.
// Solidity Contract Factory
// Initial Completed State
// Copyright (c) 2017, Rob Hitchens, all rights reserved.
// Not suitable for actual use
//////////////////////////////////////////////////////////
pragma solidity ^0.4.6;
@rob-Hitchens
rob-Hitchens / Campaign.sol
Last active December 18, 2017 18:18
MODULE 4 COMPLETE
//////////////////////////////////////////////////////////
// For training purposes.
// Solidity Contract Factory
// Module 4
// Copyright (c) 2017, Rob Hitchens, all rights reserved.
// Not suitable for actual use
//////////////////////////////////////////////////////////
pragma solidity ^0.4.6;
@rob-Hitchens
rob-Hitchens / Campaign.sol
Last active September 6, 2017 06:54
MODULE 2 - COMPLETE
///////////////////////////////////////////////////////////
// For training purposes.
// Solidity Contract Factory
// MODULE 2 COMPLETED
// Copyright (c) 2017, Rob Hitchens, all rights reserved.
// Not suitable for actual use
//////////////////////////////////////////////////////////
pragma solidity ^0.4.6;
@rob-Hitchens
rob-Hitchens / Re-entrance.sol
Last active April 2, 2017 07:34
MODULE 2 - Simple Re-entrance
pragma solidity ^0.4.8;
contract Victim {
uint public owedToAttacker;
function Victim() {
owedToAttacker =11;
}