Skip to content

Commit

Permalink
docs: add missing requirements in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpion9979 committed Oct 11, 2023
1 parent dd47666 commit 7d2eb1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/SpreadSheet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ contract SpreadSheet is Ownable, Pausable {
/// @dev Emits a {ClaimSheetsViaTransition} event.
///
/// Requirements:
/// - The contract must not be paused.
/// - All provided inputs must be the same length.
/// - The number of SHEETs to claim must be greater than 0.
/// - Each provided transition Merkle proof must be valid.
Expand Down Expand Up @@ -212,6 +213,7 @@ contract SpreadSheet is Ownable, Pausable {
/// @dev Emits a {ClaimSheetsViaAllocation} event.
///
/// Requirements:
/// - The contract must not be paused.
/// - All provided inputs must be the same length.
/// - The number of SHEETs to claim must be greater than 0.
/// - The provided allocation Merkle proof must be valid.
Expand Down Expand Up @@ -264,6 +266,7 @@ contract SpreadSheet is Ownable, Pausable {
/// @dev Emits a {AdminWithdraw} event.
///
/// Requirements:
/// - The contract must be paused.
/// - The caller must be the owner.
///
/// @param recipient The address to withdraw to.
Expand Down

0 comments on commit 7d2eb1f

Please sign in to comment.