Haven't decided if I am going to submit code to it yet
👍 - Unlocked & Done 😊 - Locked & Done 🔒 - Locked & Not Done [] - Not yet Done
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
import "@identity.com/gateway-protocol-eth/contracts/Gated.sol"; | |
import "./MasterNodeFundCertificate.sol"; | |
contract MasterNodeFund is Gated, MasterNodeFundCertificate { |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.9; | |
import {IGatewayTokenVerifier} from "./interfaces/IGatewayTokenVerifier.sol"; | |
contract Gated { | |
address private _gatewayTokenContract; | |
uint256 private _gatekeeperNetwork; | |
/// The gateway token is not valid. |
// set the site we are modifying | |
const site = 'www.example.com'; | |
// do this on a fetch | |
addEventListener('fetch', event => { | |
const request = event.request | |
const url = new URL(request.url) | |
event.respondWith(handleRequest(request)) | |
}); |
// was | |
if (isEmbedsLoading && !isEmbedsLoading) { | |
this.handleResetLocalChanges(); | |
} | |
// probably the intended | |
if (isEmbedsLoading && !prevProps.isEmbedsLoading) { | |
this.handleResetLocalChanges(); | |
} |
function getPageName(url) { | |
var index = url.lastIndexOf("/") + 1; | |
var filenameWithExtension = url.substr(index); | |
var filename = filenameWithExtension.split(".")[0]; | |
return filename; | |
} | |
var url = window.location.href; | |
var fileName = getPageName(url); |
// this is @Lukeed's 'sublet' with some small changes to allow for automatic dependency tracking as well as | |
// explicit registering of change effects | |
// prob should use a weakMap for these | |
const reactionsMap = {}; | |
const contextMap = {}; | |
let ctx; | |
export const setContext = id => { | |
ctx = id; |
[ | |
{ | |
"timestamp": 1556742627000, | |
"dataType": "activity-hack", | |
"dataSource": "git@sage:/Users/fielding/etc", | |
"uuid": "96656ebe-b6d6-531a-9c68-5c92a7ccf50b", | |
"refs": [ | |
"HEAD", | |
"master", | |
"origin/master", |
const Info = ({ title, img, alt, message, details, className, buttonText = 'Done', handleClick = () => {} }) => ( | |
<div className={className !== undefined ? `${styles['acc__info']} ${styles[className]}` : styles['acc__info']}> | |
<h2>{title}</h2> | |
<div className={styles.card}> | |
<div className={styles['acc__info__container']}> | |
<img src={img} alt={alt} /> | |
</div> | |
<h4>{message}</h4> | |
<p>{details}</p> | |
</div> |