From dd00b6f8aecbf1f90faac3510d877ea859e8d492 Mon Sep 17 00:00:00 2001 From: Sowmay Jain Date: Sat, 22 Aug 2020 16:48:15 +1000 Subject: [PATCH] minor changes --- contracts/tokenPool.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/tokenPool.sol b/contracts/tokenPool.sol index 4728cbc..9efed1c 100644 --- a/contracts/tokenPool.sol +++ b/contracts/tokenPool.sol @@ -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