Skip to content

Commit

Permalink
Make view functions external
Browse files Browse the repository at this point in the history
  • Loading branch information
kronosapiens committed Dec 2, 2022
1 parent ee418c1 commit 346021b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions contracts/extensions/ReputationBootstrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -189,31 +189,31 @@ contract ReputationBootstrapper is ColonyExtensionMeta {

// View

function getToken() public view returns (address) {
function getToken() external view returns (address) {
return token;
}

function getDecayPeriod() public view returns (uint256) {
function getDecayPeriod() external view returns (uint256) {
return decayPeriod;
}

function getDecayNumerator() public view returns (uint256) {
function getDecayNumerator() external view returns (uint256) {
return decayNumerator;
}

function getDecayDenominator() public view returns (uint256) {
function getDecayDenominator() external view returns (uint256) {
return decayDenominator;
}

function getTotalPayableGrants() public view returns (uint256) {
function getTotalPayableGrants() external view returns (uint256) {
return totalPayableGrants;
}

function getGrant(bool _paid, bytes32 _hashedSecret) public view returns (Grant memory grant) {
function getGrant(bool _paid, bytes32 _hashedSecret) external view returns (Grant memory grant) {
grant = grants[_paid][_hashedSecret];
}

function getCommittedSecret(bytes32 _addressHash) public view returns (uint256) {
function getCommittedSecret(bytes32 _addressHash) external view returns (uint256) {
return committedSecrets[_addressHash];
}
}

0 comments on commit 346021b

Please sign in to comment.