Skip to content

Instantly share code, notes, and snippets.


William Pourmajidi WilliamPourmajidi

  • WIL Solutions Inc.
  • Toronto, Ontario, Canada
View GitHub Profile
WilliamPourmajidi /
Created Jul 15, 2019 — forked from davfre/
git commandline cheat-sheet
WilliamPourmajidi / superblock.sol
Created Jul 13, 2018
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at
View superblock.sol
pragma solidity ^0.4.0;
contract Superblock {
// The 'dict' of addresses that are approved to submit SBs
mapping (address => bool) approvedSender;
string SB;
// The event to announce a SB on the blockchain
event SuperblockSubmission(address _sender, string _superblock);
// This is a constructor function, so its name has to match the contract
function Superblock() public {
You can’t perform that action at this time.