Skip to content

Instantly share code, notes, and snippets.

View 0xferit's full-sized avatar

Ferit 0xferit

View GitHub Profile
@0xferit
0xferit / DecentralizedGazette.md
Last active May 12, 2022 16:54 — forked from pierrebeaucamp/LeanCanvas.md
The Lean Canvas of Decentralized Gazette

Decentralized Gazette

Problems

News requires free-speech yet auto-censorship obstacles it

News are public good yet there is lack of incentives for news for public interest

Fake news is a problem but centralized fact-checking is another problem

Intermediaries, such as news agencies, taking lions share from the revenue to the degree that it's barely feasible to a reporter to make a news.
@0xferit
0xferit / jir.md
Last active November 16, 2021 10:11
Juror Incentive Rewards Log

Airdrop Stats

Period Amount # Staked Jurors Avg. Total Staked APY
Mar-21 1MM 586 123,457,776 9.60%
Apr-21 1MM 676 140,746,856 8.52%
May-21 1MM 808 147,463,078 8.04%
Jun-21 1MM 839 161,032,053 7.44%
Jul-21 1MM 865 156,271,986 7.56%
Aug-21 900k 862 151,756,793 7.08%
/**
* @authors: [@mtsalenc]
* @reviewers: [@clesaege]
* @auditors: []
* @bounties: []
* @deployments: []
*/
pragma solidity ^0.4.24;
@0xferit
0xferit / github-labels.sh
Last active March 17, 2021 12:58
Reset labels of a repo
USER=userOrOrganizationName
REPO=reponame
AUTHORIZATION_TOKEN=authorization-token
#List labels
# curl -H "Authorization: token $AUTHORIZATION_TOKEN" "https://api.github.com/repos/$USER/$REPO/labels" | jq -r '.[].name'
# Delete labels
curl -H "Authorization: token $AUTHORIZATION_TOKEN" "https://api.github.com/repos/$USER/$REPO/labels" | jq -r '.[].name' |jq -Rr @uri | while read name ; do
# echo ${name}
  • Don't select non-semantic elements, such as div and span.

  • Avoid conditional styling based of location. If you are changing the look of a module for usage elsewhere on the page or site, sub-class the module instead.

Variable appeal period to avoid unnecessary waiting time on crowdfunding.

Removing ruling options from a dispute, useful for disputes with more than two parties.

Let parties to agree on draw.

Different quorum options for arbitration, instead of only majority.

It's not fair for jurors or crowdfunders when new evidence if submitted to the case. This should be addresses in some way.

Atom Settings
@0xferit
0xferit / ballot.sol
Created May 7, 2019 11:30
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.4.22 <0.6.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {

Keybase proof

I hereby claim:

  • I am ferittuncer on github.
  • I am ferit (https://keybase.io/ferit) on keybase.
  • I have a public key ASC3gRctSVMYQgPPXZpu4i8oKeZndYvKGW-5DAVxtDNcMwo

To claim this, I am signing this object: