Coder Social home page Coder Social logo

Comments (11)

danielnovy avatar danielnovy commented on September 17, 2024

Yeah, very good point indeed :)

I can't do it now but later today I will update the README file with some adjustments.

Thanks for bringing this up!

from india-training.

sarangparikh22 avatar sarangparikh22 commented on September 17, 2024

Thanks Daniel for consideration.
I have one more doubt, Can same beneficiary have multiple proposals?
Eg: One address can request say 10 ethers can the same address request 20 ethers more. If yes, should both the request be merged, added as new proposal or the original amount gets replaced with the new amount that is requested.

from india-training.

anishcr avatar anishcr commented on September 17, 2024

If only the owner can call the endContribution period, Daniel will not be able to test contract's deployed by us.

i was thinking the following.

  1. Only the signer's can call the endContribution function.

  2. If any one of the signers call the function, we change the state to Contribution Ended .
    ie, there is no need of a majority vote on this function to end the contribution period.

from india-training.

mishra1010 avatar mishra1010 commented on September 17, 2024

The above endcontribution can be avoided if we set a minimum contribution limit and a signer has to do a minimum contribution to enter the proposal and to have the ability to vote if signer satisfies the minimum contribution criteria.
Also we are not sure how many times a signer can contribute

from india-training.

danielnovy avatar danielnovy commented on September 17, 2024

Mishra, signers do not contribute! They are just signers of the contract.

Anish, I like your suggestion. Only signers can call the “endContribution” function. I will update the readme accordingly.

from india-training.

mishra1010 avatar mishra1010 commented on September 17, 2024

Thanks Daniel, i understand now.
signers cannot contribute. The statement "Anyone can feed the contract with Ethers" in readme created the confusion

from india-training.

anishcr avatar anishcr commented on September 17, 2024

Daniel, Amit,
My understanding is that signer's or for that matter anyone (including users who submit proposal) can contribute to the contract. Let me know if this is not correct.

Only the signers can vote (approve/reject) a submitted proposal. The majority of the signers (only) will decide the fate of a submitted proposal (ie, whether it is accepted or rejected).

from india-training.

moinuddin14 avatar moinuddin14 commented on September 17, 2024

Daniel only mentioned as signers do not contribute but not cannot contribute. So the statement “Anyone can feed the contract with Ethers” still hold true.

from india-training.

sarangparikh22 avatar sarangparikh22 commented on September 17, 2024

Anyone can send ethers to the contract, but only signer has the capability to end the contribution period. The contributors have no say in the signing process and the signing process is done only by the signers.
@moinuddin14

from india-training.

anishcr avatar anishcr commented on September 17, 2024

@moinuddin14 , maybe #44 will help clarify

from india-training.

danielnovy avatar danielnovy commented on September 17, 2024

@mishra1010 I have to apologize. Definitely, signers can contribute, yes. But this doesn't change anything in the dynamics of the contract. Important thing to realize here is that contributing or not does not determine if a given address is a signer or not. The signers are specified in the signers.txt file.

@anishcr Your statement My understanding is that signer's or for that matter anyone (including users who submit proposal) can contribute to the contract. is correct.

from india-training.

Related Issues (10)

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.