Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am dallasjohnson on github.
* I am dallasj001 (https://keybase.io/dallasj001) on keybase.
* I have a public key ASA1OP8JxCJgItqRTIZRp7HMBygbTie64YTkCbOJ4NNBsgo
To claim this, I am signing this object:
@dallasjohnson
dallasjohnson / EOSDAC WPS.md
Created November 2, 2020 22:27
Worker Proposal System as a DAC

Community driven WPS DAC

The community WPS system for EOS could be structured as a new DAC launched using the EOSDAC DacFactory. The custodians could be appointed as community technical experts or some other criteria. No code change is needed for this since any new DAC is simply managed based on token weights of a newly created token. (eg. an arbitrary number of tokens could be minted and given to and arbitrary number of "experts" into the community who would then become the voted in custodians to manage the WPS.) EOSDAC is based around token holders of the EOSDAC token which would most likely not be be suitable to manage the WPS. Vigor is also using our system with the VIG token as well as a few other DACs on EOS and WAX. (details to allocate custodians to control this should be discussed separately - but suffice to say it is flexible).

Once there are custodians appointed for the WPS DAC they would administer the funds for the WPS (wherever they are sourced from - details to be discussed separately) al

@dallasjohnson
dallasjohnson / ABI output.json
Created September 18, 2018 16:29
output from `cleos -u "http://dev.cryptolions.io:18888" get abi dacelections`
{
"version": "eosio::abi/1.0",
"types": [],
"structs": [{
"name": "member",
"base": "",
"fields": [{
"name": "sender",
"type": "name"
}, {
@dallasjohnson
dallasjohnson / sampletokenSpec.rb
Last active December 10, 2018 03:39
Unit Test for EOS.IO contracts using rspec
require 'rspec_command'
require "json"
# 1. A recent version of Ruby is required
# 2. Ensure the required gems are installed with `gem install rspec json rspec-command`
# 3. Run this from the command line with rspec sampletokenSpec.rb
# Optionally output the test results with -f [p|d|h] for required views of the test results.
# For debugging I added a clear action to the contract which clears everything in the tables