mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Changed internal variable to public variable
This commit is contained in:
parent
164d7418bf
commit
ae4da2e50d
|
@ -7,8 +7,8 @@ interface IndexInterface {
|
||||||
|
|
||||||
contract Helpers {
|
contract Helpers {
|
||||||
address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723;
|
address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723;
|
||||||
uint64 internal fee;
|
uint256 public fee;
|
||||||
address internal feeCollector;
|
address public feeCollector;
|
||||||
|
|
||||||
modifier isChief {
|
modifier isChief {
|
||||||
require(IndexInterface(instaIndex).master() == msg.sender, "not-Master");
|
require(IndexInterface(instaIndex).master() == msg.sender, "not-Master");
|
||||||
|
@ -32,12 +32,4 @@ contract InstaPoolFee is Helpers {
|
||||||
fee = 9 * 10 ** 14; // 0.09%
|
fee = 9 * 10 ** 14; // 0.09%
|
||||||
feeCollector = IndexInterface(instaIndex).master();
|
feeCollector = IndexInterface(instaIndex).master();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFee() public view returns (uint256) {
|
|
||||||
return uint256(fee);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getFeeCollector() public view returns (address) {
|
|
||||||
return feeCollector;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user