Changed internal variable to public variable

This commit is contained in:
Thrilok Kumar 2020-07-17 20:33:57 +05:30
parent 164d7418bf
commit ae4da2e50d

View File

@ -7,8 +7,8 @@ interface IndexInterface {
contract Helpers {
address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723;
uint64 internal fee;
address internal feeCollector;
uint256 public fee;
address public feeCollector;
modifier isChief {
require(IndexInterface(instaIndex).master() == msg.sender, "not-Master");
@ -32,12 +32,4 @@ contract InstaPoolFee is Helpers {
fee = 9 * 10 ** 14; // 0.09%
feeCollector = IndexInterface(instaIndex).master();
}
function getFee() public view returns (uint256) {
return uint256(fee);
}
function getFeeCollector() public view returns (address) {
return feeCollector;
}
}