@@ -212,7 +212,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
212212 * @notice Enqueues a request (if a request isn't already present) for the given `identifier`, `time` pair.
213213 * @dev Time must be in the past and the identifier must be supported.
214214 * @param identifier uniquely identifies the price requested. eg BTC/USD (encoded as bytes32) could be requested.
215- * @param time unix timestamp of for the price request.
215+ * @param time unix timestamp for the price request.
216216 */
217217 // TODO(#969) Remove once prettier-plugin-solidity can handle the "override" keyword
218218 // prettier-ignore
@@ -276,8 +276,8 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
276276 /**
277277 * @notice Gets the status of a list of price requests, identified by their identifier and time.
278278 * @dev If the status for a particular request is NotRequested, the lastVotingRound will always be 0.
279- * @param requests array of time PendingRequest which includes a identifier and timestamp for each request.
280- * @return requestStates A lis , in the same order as the input list, giving the status of each of the specified price requests.
279+ * @param requests array of type PendingRequest which includes an identifier and timestamp for each request.
280+ * @return requestStates A list , in the same order as the input list, giving the status of each of the specified price requests.
281281 */
282282 function getPriceRequestStatuses (PendingRequest[] memory requests )
283283 public
@@ -311,7 +311,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
311311 * @dev `identifier`, `time` must correspond to a price request that's currently in the commit phase.
312312 * Commits can be changed.
313313 * @param identifier uniquely identifies the committed vote. EG BTC/USD price pair.
314- * @param time unix timestamp of the price is being voted on.
314+ * @param time unix timestamp of the price being voted on.
315315 * @param hash keccak256 hash of the price you want to vote for and a `int salt`.
316316 */
317317 // TODO(#969) Remove once prettier-plugin-solidity can handle the "override" keyword
@@ -343,7 +343,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
343343 * @dev The revealed `price` and `salt` must match the latest `hash` that `commitVote()` was called with.
344344 * Only the committer can reveal their vote.
345345 * @param identifier voted on in the commit phase. EG BTC/USD price pair.
346- * @param time specifies the unix timestamp of the price is being voted on.
346+ * @param time specifies the unix timestamp of the price being voted on.
347347 * @param price voted on during the commit phase.
348348 * @param salt value used to hide the commitment price during the commit phase.
349349 */
@@ -393,7 +393,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
393393 /**
394394 * @notice commits a vote and stores an encrypted version which can be later decrypted
395395 * to recover the voter's price & salt.
396- * @dev The encryption mechanism uses encrypt from a signature from a users price key. See `EncryptedSender .sol`
396+ * @dev The encryption mechanism uses encrypt from a signature from a users price key. See `EncryptedStore .sol`
397397 * @param identifier unique price pair identifier. Eg: BTC/USD price pair.
398398 * @param time unix timestamp of for the price request.
399399 * @param hash keccak256 hash of the price you want to vote for and a `int salt`.
@@ -602,7 +602,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
602602 /**
603603 * @notice Resets the inflation rate. Note: this change only applies to rounds that have not yet begun.
604604 * @dev This method is public because calldata structs are not currently supported by solidity.
605- * @param newInflationRate sets the next rounds inflation rate.
605+ * @param newInflationRate sets the next round's inflation rate.
606606 */
607607 function setInflationRate (FixedPoint.Unsigned memory newInflationRate ) public onlyOwner {
608608 inflationRate = newInflationRate;
@@ -611,7 +611,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
611611 /**
612612 * @notice Resets the Gat percentage. Note: this change only applies to rounds that have not yet begun.
613613 * @dev This method is public because calldata structs are not currently supported by solidity.
614- * @param newGatPercentage sets the next rounds Gat percentage.
614+ * @param newGatPercentage sets the next round's Gat percentage.
615615 */
616616 function setGatPercentage (FixedPoint.Unsigned memory newGatPercentage ) public onlyOwner {
617617 require (newGatPercentage.isLessThan (1 ), "GAT percentage must be < 100% " );
@@ -708,7 +708,7 @@ contract Voting is Testable, Ownable, OracleInterface, VotingInterface, Encrypte
708708 return FixedPoint.Unsigned (UINT_MAX);
709709 }
710710
711- // Grab the snaphotted supply from the voting token. It's already scaled by 10**18, so we can directly
711+ // Grab the snapshotted supply from the voting token. It's already scaled by 10**18, so we can directly
712712 // initialize the Unsigned value with the returned uint.
713713 FixedPoint.Unsigned memory snapshottedSupply = FixedPoint.Unsigned (votingToken.totalSupplyAt (snapshotId));
714714
0 commit comments