git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
contract MappedStructsWithIndex { | |
struct EntityStruct { | |
uint entityData; | |
bool isEntity; | |
} | |
mapping(address => EntityStruct) public entityStructs; | |
address[] public entityList; |
pragma solidity ^0.4.2; | |
contract Bid { | |
// Declaring all variables | |
string businessname ; | |
string businessaddress ; | |
string industrytype; | |
string industrysubtype; | |
string description; |
pragma solidity ^0.4.2; | |
contract AddressArray { | |
address admin; | |
string businessName ; | |
string businessAddress ; | |
string industryType; | |
string industrySubType; | |
address[] intermediaryaddresses; | |
Bid[] public bids; |
contract c { | |
uint a; | |
function charAt(bytes32 b, uint char) returns (bytes1) { | |
return bytes1(uint8(uint(b) / (2**((31 - char) * 8)))); | |
} | |
function parseDecimal(bytes32 byteString) returns (uint r) { | |
uint n = uint(byteString); | |
for (uint b = 0; b < 32; b ++) | |
{ | |
var c = uint8(charAt(byteString, b)); |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream