Skip to content

Instantly share code, notes, and snippets.

View munair's full-sized avatar

munair munair

View GitHub Profile
@benjiqq
benjiqq / pc.md
Last active November 9, 2020 02:08
PC standard

Participation certifcates (IC) standard

Participation certificate standard. tokens that are not transferrable. they represent receivables for future deliverable assets.

PC's get created exactly once (issuance) and destroyed once (redemption). they are not transfer-able. the purpose of the non-transfer is that in early stages of a venture it is not necessarily desirable to have a market created for tokens. To avoid adding a pause function to standard ERC20, the cleaner approach is to split the financing and issuance into 2 stages.

details

name

@holiman
holiman / MultisigWalletAudit.md
Last active February 3, 2021 02:37
This is an audit of the Consensus multisig wallet, by Martin Holst Swende
library(jsonlite)
library(httr)
library(digest)
api.poloniex <- function(key, secret, command, args = list()) {
req <- c(list(
command = command,
nonce = round(as.numeric(Sys.time()) * 1e4, 0)),
args)
@gmazzap
gmazzap / www-post-thumb.php
Last active January 28, 2023 03:57
WordPress plugin that allow to use an external image url as featured image.
<?php namespace GM\WWWPostThumbnail;
/**
* Plugin Name: WWW Post Thumbnail
* Description: Allow to use an external image url as featured image.
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/928bc22e5f49a654cf7c
* Author: Giuseppe Mazzapica
* Author URI: https://github.com/Giuseppe-Mazzapica
* License: MIT
* Version: 0.1.0
*