for dispute resolution as mentioned in the original issue #6
but now we can use the base org, vote modules to configure the dispute resolution mechanism
map DisputeId => LinkedList<(OrgId, Threshold)>;
LinkedList because we need hierarchical appeals
(OrgId, Threshold) should actually be a struct which should be really easy to dispatch votes with...
This defines the order for dispute resolution related votes. The basic idea would be that one party raises the dispute as a claim of due payment from another party with evidence.
In order for this structure to work, every dispute must define the terms for dispute resolution before any other interaction occurs. This allows us to define a permissioned trigger in the calling module which references a specific DisputeId already created.
There should also be an unordered set to track all the agreements for which every dispute pertains so that we effectively register these agreements as being compatible with the given dispute resolution mechanism
for dispute resolution as mentioned in the original issue #6
but now we can use the base
org
,vote
modules to configure the dispute resolution mechanismThis defines the order for dispute resolution related votes. The basic idea would be that one party raises the dispute as a claim of due payment from another party with evidence.
In order for this structure to work, every dispute must define the terms for dispute resolution before any other interaction occurs. This allows us to define a permissioned trigger in the calling module which references a specific
DisputeId
already created.There should also be an unordered set to track all the agreements for which every dispute pertains so that we effectively register these agreements as being compatible with the given dispute resolution mechanism