Skip to content

Instantly share code, notes, and snippets.

View Juan-cc's full-sized avatar
🌍
Buidling dApps...

Juan C Juan-cc

🌍
Buidling dApps...
View GitHub Profile
version: "3"
services:
node:
container_name: node
image: gcr.io/gochain-core/gochain:${GOCHAIN_IMAGE:-latest}
ports:
# Netstats
- "80:80"
# Proxy
- "8545:8000"
@Juan-cc
Juan-cc / Bryan.sol
Created January 26, 2019 23:56
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.3+commit.10d17f24.js&optimize=false&gist=
pragma solidity ^0.5.2;
contract Bryan{
struct Data { mapping(uint => Fund) list; }
struct Fund {
address[] investorList;
}
@Juan-cc
Juan-cc / Jayper.sol
Created January 22, 2019 04:46
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.2+commit.1df8f40c.js&optimize=false&gist=
pragma solidity ^0.5.2;
contract Jayper{
uint8 variable = 10;
function testFunction() external {
variable = 5;
}
@Juan-cc
Juan-cc / Kreaan.sol
Created January 18, 2019 15:23
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.2+commit.1df8f40c.js&optimize=false&gist=
pragma solidity ^0.5.2;
contract Kreaan{
struct Something {
string greeting;
string name;
}
mapping ( uint8 => Something) internal aMap;
@Juan-cc
Juan-cc / BC.sol
Created January 18, 2019 15:22
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.2+commit.1df8f40c.js&optimize=false&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {
@Juan-cc
Juan-cc / BC.sol
Created December 22, 2018 20:13
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {
@Juan-cc
Juan-cc / BC.sol
Created December 22, 2018 02:15
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {
@Juan-cc
Juan-cc / BC.sol
Created December 22, 2018 01:51
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {
@Juan-cc
Juan-cc / BC.sol
Created December 21, 2018 23:26
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {
@Juan-cc
Juan-cc / BC.sol
Created December 20, 2018 23:34
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=true&gist=
pragma solidity ^0.5.1;
import "./Owned.sol";
import "./KMToken.sol";
import "./TokenFactory.sol";
import "./Storage.sol";
contract BCFactory is Owned, Storage {