minor changes

This commit is contained in:
Sowmay Jain 2020-08-22 16:48:15 +10:00
parent 5fc9feab5d
commit dd00b6f8ae

View File

@ -67,13 +67,13 @@ contract PoolToken is ERC20, DSMath {
}
uint dsaAmount;
function depositDSA(uint amount) public isChief {
function deploy(uint amount) public isChief {
address _dsa = registry.dsa(address(this));
baseToken.safeTransfer(_dsa, amount);
dsaAmount = add(dsaAmount, amount);
}
function withdrawDSA(uint amount) public isChief {
function claim(uint amount) public isChief {
// address _dsa = registry.dsa(address(this));
baseToken.safeTransferFrom(msg.sender, address(this), amount);
uint totalAmountWithProfit = RateInterface(address(0)).totalBalance(); // TODO - change to => totalBalanceDSA