Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sirnicolaz committed Aug 29, 2023
1 parent fe47868 commit 3bb82f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion contracts/ShareholderRegistry/ShareholderRegistryBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ contract ShareholderRegistryBase is ERC20Upgradeable {
) internal view virtual returns (bool) {
return
balance > 0 &&
// shareholder < investor < contributor < managing board
// investor < contributor < managing board
// TODO: shareholder is currently equivalent to investor.
// We need to verify with the lawyer whether we can remove it
// completely from the smart contracts.
(status == INVESTOR_STATUS ||
status == SHAREHOLDER_STATUS ||
status == accountStatus ||
Expand Down
2 changes: 1 addition & 1 deletion contracts/Voting/Voting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ contract Voting is VotingSnapshot, Initializable, HasRole {

/**
* @notice Hook called on every governance token transfer.
* @dev Only the governance token can call this method.
* @dev Called by GovernanceToken and ShareholderRegistry.
* @param from The sender's address.
* @param to The receiver's address.
* @param amount The amount transferred.
Expand Down

0 comments on commit 3bb82f0

Please sign in to comment.