Open oed opened 3 years ago
Check out the thoughts here, and in the other issues... lots of good debates around UX
Awesome that you are pushing the UX work needed to make CV usable @GriffGreen 🙌
This CIP is mostly aimed at creating a solid data data layer for CV. If we manage to do this there could potentially be multiple different frontends that display the CV data in different ways based on preference / usability considerations.
@oed what do you think about adding a blockNumber
or blockHeight
parameter to the root of the state document? I think it'd be a great way to make all the data in state completely verifiable, since one could then verify all the other data at the prescribed block height.
"blockHeight": {
"type": "number"
}
@topocount Yeah, that's a good addition. You could a rough idea of when the snapshot was made from the subsequent anchor commit, but it wouldn't be precise. Updating the first post!
@oed what do you think about adding a
blockNumber
orblockHeight
parameter to the root of the state document? I think it'd be a great way to make all the data in state completely verifiable, since one could then verify all the other data at the prescribed block height."blockHeight": { "type": "number" }
@oed Could this cause any issues like we've been seeing with the blockNumber in anchor commits, where it could diverge from the on-chain state if there's a block reorg?
@stbrody no this is more about when the conviction computation service sampled the data from the blockchain. Which is mostly independent from anchor commits.
Currently there is a beneficiary
and amount
which indicates there is a transfer function call to a contract from the Oracle.
Why not use an array of actions for all the contract methods to be triggered if the proposal succeeds?
actions: [{
contract: "contract-address",
method: "mint",
args: ["to-address", "amount"]
}, {
contract: "another-address",
method: "transfer",
args: ["to-address", "amount"]
}]
Simple Summary
This CIP describes a template that can be used to create off-chain conviction voting dapps.
Abstract
Abstract goes here.
Motivation
Fix me :)
Specification
Definition content
Deployment: Deploy your own.
Proposal Schema
Deployment:
<proposal-schema-docid>
Convictions Schema
Deployment:
<convictions-schema-docid>
Conviction State Schema
Deployment:
<convictions-state-schema-docid>
Rationale
Fix me :)
Backwards Compatibility
N/A
Implementation
Fix me :)
Security Considerations
Security considerations go here.
Copyright
Copyright and related rights waived via CC0.