Comments (3)
SafeSnap Proposal Acceptance Criteria [template]
In order for {organisation}
's SafeSnap module to execute a transaction, a corresponding proposal must have passed, as reported by Reality.eth.
The Reality.eth question should conform to this template (the required template ID is defined by the installed SafeSnap Module):
{"title": "Did the Snapshot proposal with the id {IPFS hash} pass the execution of the array of Module transactions that have the hash {0x prefixed keccak hash} and does the proposal conform to the {organisation}’s Proposal Acceptance Criteria listed at {IPFS hash}?", "lang": "en", "type": "bool"}
Reality.eth should resolve the question to “yes” only for proposals that:
- were initiated as a Snapshot proposal in the
{organisation}
space. - had a minimum quorum of 4% of the circulating supply of
{designated ERC20 token}
having cast votes to approve execution of the transaction. - had a voting period of at least 7 days.
- had no significant service outages or availability issues that could have reasonably restricted
{designated ERC20 token}
holders from casting their votes in the proposal. - have a minimum bond on the Reality question that is equal to or greater than the minimum bond defined in the
{organisation}
’s installed SafeSnap module. - the module transaction hash in the Reality.eth question is the keccak hash of the concatenation of the individual EIP-712 hashes of the module transactions defined in the Snapshot proposal.
the plain description of the transactions, and their intended result, in the proposal is complete and accurate.
do not occur during, in, or as a result of any unauthorized or malicious changes to the{organisation}
Snapshot space. - were not filtered from the default view in the
{organisation}
Snapshot space during the voting period.
Reality.eth should resolve the question to “invalid” if:
- the Reality.eth question meets the above requirements but was created prior to the end of the proposal vote period and/or the snapshot block for the vote.
i.e. the final results of the vote are not yet known.
In all other cases, the Reality.eth question should be resolved to “no”.
from zodiac-module-reality.
Notes:
- The id
{IPFS hash}
and the EIP-712 tx hash{0x prefixed keccak hash}
are on-chain template properties - The Proposal Acceptance Criteria
{IPFS hash}
and{organisation}
will be filled in on template creation (as they do not change with every question)
Is this correct?
TODO for myself: Add details on EIP-712 hashing
from zodiac-module-reality.
Is this correct?
Yes, that sounds correct to me.
from zodiac-module-reality.
Related Issues (20)
- Handle a file for --template, or validate the input HOT 1
- Fix plugin configuration in setup guide
- Audit Reality module updates HOT 1
- Add minimum bond HOT 2
- Setup CLA for external contributions
- Update documentation
- 🍯DAO requirements example on IPFS in setup guide is down
- Add test for factory flow
- Add deployment tasks
- Change executor name to avatar
- Audit Reality Module updates HOT 1
- Update scripts
- Announcement checklist 🎉
- addProposal() should return questionId
- Add docs how to use `showProposal` task to verify proposal
- Incorrect setup could cause addProposal() to revert
- [A3] Audit DeterministicDeploymentHelper.sol
- Emit an event when a proposal has completed its lifecycle
- Emit events in setter functions HOT 1
- Reality.eth Template Builder UI link is broken.
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 zodiac-module-reality.