Skip to content

Instantly share code, notes, and snippets.


William Pourmajidi WilliamPourmajidi

  • Toronto, Ontario, Canada
Block or report user

Report or block WilliamPourmajidi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.