Comments (11)
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.
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.
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.
-
Only the signer's can call the endContribution function.
-
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.
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.
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.
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.
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.
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.
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.
@moinuddin14 , maybe #44 will help clarify
from india-training.
@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)
- HomeWork 3 HOT 2
- Clarifications required Homework 3 (to be submitted by June 28) HOT 7
- Smart contract clarification HOT 1
- Query in Smart contract requirement HOT 2
- HomeWork 3 - Ether vs Wei HOT 3
- Homework 3 - Signers/Contributors/Submitters HOT 2
- Homework 3 - Value in the submit proposal HOT 1
- Homework 3 - function to return the owner of the contract
- Homework 3 - uniformity in event parameter names HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from india-training.