diff --git a/contracts/Presales.sol b/contracts/Presales.sol index 8f962da..5162a77 100644 --- a/contracts/Presales.sol +++ b/contracts/Presales.sol @@ -116,6 +116,20 @@ contract Presales is Owned { return true; } + /** + @dev Returns addresses of accounts + */ + function getAccounts() public view returns (address[]) { + return accounts; + } + + /** + @dev Returns number of accounts + */ + function getAccountsSize() public view returns (uint256) { + return accounts.length; + } + /** @dev Sets status to Locked so that no new presales can be added */ diff --git a/contracts/ProcessableAllocations.sol b/contracts/ProcessableAllocations.sol index b9cc298..f0cc83e 100644 --- a/contracts/ProcessableAllocations.sol +++ b/contracts/ProcessableAllocations.sol @@ -116,6 +116,20 @@ contract ProcessableAllocations is Owned { return true; } + /** + @dev Returns addresses of grantees + */ + function getGrantees() public view returns (address[]) { + return grantees; + } + + /** + @dev Returns number of grantees + */ + function getGranteesSize() public view returns (uint256) { + return grantees.length; + } + /** @dev Sets status to Locked so that no new processable allocations can be added */ diff --git a/contracts/grantableAllocations.sol b/contracts/grantableAllocations.sol index 669c829..b4317e8 100644 --- a/contracts/grantableAllocations.sol +++ b/contracts/grantableAllocations.sol @@ -115,6 +115,20 @@ contract GrantableAllocations is Owned { return true; } + /** + @dev Returns addresses of grantees + */ + function getGrantees() public view returns (address[]) { + return grantees; + } + + /** + @dev Returns number of grantees + */ + function getGranteesSize() public view returns (uint256) { + return grantees.length; + } + /** @dev Sets status to Locked so that no new grantable allocations can be added */