From 41a0025311f5f18e917d7077b655a5e75a3d87dd Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Wed, 27 Mar 2024 20:05:53 -0500 Subject: [PATCH] Code comments --- ethereum/contracts/Proposal.sol | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ethereum/contracts/Proposal.sol b/ethereum/contracts/Proposal.sol index b48671c..710047f 100644 --- a/ethereum/contracts/Proposal.sol +++ b/ethereum/contracts/Proposal.sol @@ -84,9 +84,12 @@ contract Proposals is DAOContract { attestation.amount = amount; } - // Sequences of validation pool parameters + // --- Sequences of validation pool parameters --- + // Percentage that each referendum is binding uint[3] referendaBindingPercent = [0, 1, 100]; + // Whether to redistribute the binding portion of losing stakes in each referendum bool[3] referendaRedistributeLosingStakes = [false, false, true]; + // For each referendum, a numerator-denominator pair representing its quorum uint[2][3] referendaQuora = [[1, 10], [1, 2], [1, 3]]; /// Internal convenience function to wrap our call to dao.initiateValidationPool