Skip to content
BOS Referendum Tally: Aggregates proposals/votes/voter staked weights from `eosio.forum`
Branch: master
Clone or download
Latest commit 372e2a9 May 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Replace contract for eosio.forum May 4, 2019
.env.example update to eosio.forum Apr 29, 2019
.gitignore Download eosio:voters with ES Apr 12, 2019
LICENSE Initial commit Apr 9, 2019
README.md Update README.md May 16, 2019
ecosystem.config.js Add AWS configs Apr 23, 2019
index.ts Make quick tasks 1 minute May 4, 2019
jest.config.js push bos snapshots Apr 10, 2019
package-lock.json update to eosio.forum Apr 29, 2019
package.json

README.md

BOS Referendum Tally

Aggregates proposals/votes/voter staked weights from eosio.forum.

Install

git clone https://github.com/EOS-Nation/bos-referendum-tally.git
cd bos-referendum-tally
npm install

Quick Start

npm start

ENV Variables

# Configuration
CHAIN="bostest"
NODEOS_ENDPOINT="https://bostest.eosn.io"
CONTRACT_FORUM="eosio.forum"
CONTRACT_TOKEN="eosio.token"
TOKEN_SYMBOL="BOS"

# AWS Config
AWS_BUCKET="bostest.referendum"
AWS_ACCESS_KEY_ID="<ACCESS KEY>"
AWS_SECRET_ACCESS_KEY="<SECRET KEY>"
AWS_REGION="us-east-1"

# Debug Config
DELAY_MS=10
DEBUG=false

Using eosc forum

vote

bosc forum vote [voter] [proposal_name] [vote_value]

proposal

bosc forum propose [proposer] [proposal_name] [title] [proposal_expiration_date]

S3 Bucket URL template

referendum (tally)

referendum::tallies (tallies for eosio.forum voters)

referendum::accounts (account details for eosio.forum voters)

referendum::proxies (proxies details for eosio.forum voters)

eosio.forum (eosio.forum)

eosio.forum::vote (all votes)

eosio.forum::proposal (all proposals)

eosio (voting weights)

eosio::voters (complete voters table)

eosio::delband (self delegated bandwidth amount for all eosio.forum voters)

You can’t perform that action at this time.