Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 659 Bytes

DOC.md

File metadata and controls

36 lines (27 loc) · 659 Bytes

Contract Brehon { Party partyA Party partyB Brehon primaryBrehon Brehon secondaryBrehon Brehon tertiaryBrehon

states = [ Negotiation, Execution, Disputed, Resolved, Appealed, Completed ]

Constructor(partyA, partyB, primaryBrehon, secondaryBrehon, tertiaryBrehon);

acceptContract()

_partyAcceptance() _brehonAcceptance()

deposit() atStage(Negotiation)

startContract() called by both parties. raiseDispute() called by either parties

getActiveBrehon() arbitrate() by the active Brehon claimFunds() by either parties

raiseAppeal() by either parties raise2ndAppeal() by either parties

}