Giter Club home page Giter Club logo

abie's People

Contributors

finlouarn avatar iamonuwa avatar julienbrg avatar malodata avatar n1c01a5 avatar tulsene avatar xalava avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

abie's Issues

Add a 'donate' button

Below the contact balance, create:

  • a field that takes an amount in ETH
  • and a 'donate' button

Test delegation behavior

Test the following scenarios:

  • m1 sets m2 as delegate: m3 submit, m1 votes --> must revert
  • then m3 submit, m2 votes --> must see "Yes: 2"
  • then m3 sets m2 as delegate, m4 submit, m2 votes --> must see "Yes: 3"
  • then m3 sets himself as delegate, m4 submit, m2 votes --> must see "Yes: 2"

Enable users to submit proposals and vote

(1) Display on the page the current list of members (first members + recipients of all passing addMember proposals) and statement.

(2) Make sure the following functions are usable:

  • setDelegate()
  • askMembership()
  • addProposal()
  • voteYes()
  • voteNo()

They all trigger Metamask: user is invited to sign the tx.

Display the url of the tx on Etherscan.

Fix glitches

  • Weird behavior when you type a proposal name: the text user is typing replace the DAO name at the top of the page.
  • When user submits a proposal, the name is not correctly encrypted/converted to HEX.
  • Add space/margin between proposals
  • In the proposal data, convert from wei to eth

Create a contract search engine

Context

Proposal.js is part of a react app, it's the file we want to improve.

It is the frontend that allows users to interact with Abie.sol deployed on Ropsten like this one.

To do

It should render:

  • The address of the contract
  • The name of the contract
  • The balance of the contract
  • A input field awaiting for a contract address

Expected behavior

Other features of v0.2 to implement:

[reactjs] Fix critical formats + fix bug counteVote()

Fix critical formats

(1) hexDecode the name and statement of intent of the contract (and not "of the proposal")
(2) hexDecode the name of the proposal

Fix bug counteVote()

(3) It's using countAllVotes() and we want to use countVotes() instead.

countVotes() wants 2 values:

  • proposalID: no specific problem, it's the current proposalID
  • max: give “5" as a static value for every proposal to be submitted

Add loaders

When the contract data are loading, display:

"Loading..."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.