Skip to content

Releases: boscore/referendum

BOSWPS v1.0.3

05 Aug 06:12
9506cad
Compare
Choose a tag to compare

1. Smart Contract - New Features

  • Allow multiple escrows to be created by sender (ff249c8)
  • Allow any sender & approver to initialize an escrow (previously only bet.bos & eosio) (6c4d79a)

Tests - transfer BOS with memo

  • memo must be provided
  • memo must match escrow_name
  • from must match sender of escrow_name
  • escrow must be empty (multiple deposits are not allowed)

Tests - init ACTION

  • allow multiple unfilled/unique escrows to be created by a sender (create two escrows with a unique account)

BOS Testnet

Contract deployed: https://bos-test.bloks.io/account/escrow.bos

2. Frontend Improvement

Smart Contracts

Compiled using eosio-cpp version 1.6.2

  • BOS Escrow - Contract designed for paying worker proposals. (escrow.bos)
    MD5 (escrow.bos.wasm) = 088705200d637e91e83535b72743f484

BOS WPS Release

11 Jun 13:44
4dc3342
Compare
Choose a tag to compare

Change Description
This is an release for v1.0.2. It contains frontend, api(threshold, duration calculation), vote-tally and smart contracts for BOS Referendum contracts

eosio.forum (eosio.forum)

removal of expire_at - PR #58

  • remove expire ACTION
  • remove expires_at parameter on propose ACTION
  • remove clnproposal ACTION

add cancel ACTION - PR #56

  • removes proposal & vote from tables
  • removes votes before removing proposal
  • Enforce max_count to be high enough to prevent vote manipulation using the of cancel action

Set RAM payer as eosio.forum (_self) smart contract to all actions instead of users.

https://bos-test.eosx.io/tx/11881d71b42542738e8345f304683331eb32843e9d8a6c761a2ff45e1dc2fba5?listView=traces

Smart Contracts

Compiled using eosio-cpp version 1.6.1

  • Proposal Submission and Referendum (eosio.forum)
    MD5 (eosio.forum.wasm) = f5786d6bc62db7cb20de1b20159414c9

v1.0.1 BOS WPS Release

23 May 09:23
84e28b1
Compare
Choose a tag to compare

Change Description

This is an release for v1.0.1. It contains frontend, api(threshold, duration calculation), vote-tally and smart contracts for BOS Referendum

Frontend

  • Phone Device adaptation

Smart Contracts

Vote-Tally

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)

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

referendum::voters (voters table for all eosio.forum voters)

referendum::summaries (aggregated statistics useful for UI's)

eosio.forum (eosio.forum)

eosio.forum::vote (all votes)

eosio.forum::proposal (all proposals)

eosio (voting weights)

eosio::voters (entire voters table)

API

Additional Notes

ready for boswps.io deployment

Consensus Changes

Fix

v1.0.0 BOS Referendum for Improvement Proposal

19 May 00:50
f8b7ba5
Compare
Choose a tag to compare

Change Description

This is an release for v1.0. It contains frontend, api and smart contracts for BOS Referendum

Frontend

VueJS project to provide portal for BP, auditor, normal voters

  • Proposer propose proposal

  • Auditor write opinion

  • BP write opinion

  • Referendum: Normal User Vote for Proposal with opinion

  • Auditor Election: Normal User Vote for Auditor with opinion

  • Displays votes information, progress and stakeholders' opinion

Smart Contracts

Compiled using eosio-cpp version 1.6.1

  • Proposal Submission and Referendum (eosio.forum)
    MD5: ec89fc95ad3b1ae8e313a6879e9512ff (forum.wasm)
  • Auditor Nomination and Elections (auditor.bos)
    MD5: 53c25a1a40fb91bae2bd2b9fc4d65cae (auditor.wasm)
  • BET/BPs Review and Approve (escrow.bos)
    MD5: 0ca6fed421fdafa4a062b7777d32b289 (escrow.wasm)

API

  • To calculate whether the votes has exceed the threshold
  • To calculate how many details
  • Log the different states of WPS progress and return to frontend

Additional Notes

Consensus Changes

BOSCore Worker Proposal Consensus Flow

flow

API Changes

/getAllProposals

/getProposal/

/getBPs

Fix

Improvement

Documentation Additions