This commit is contained in:
owen05
2021-12-27 21:40:32 +08:00
parent b1b84f8818
commit 55fea6602f
10 changed files with 32 additions and 21 deletions

View File

@@ -82,8 +82,8 @@ contract CPVesting is CPFunding {
function _claimBaseToken(address to) internal {
uint256 claimableBaseAmount = getClaimableBaseToken(msg.sender);
_transferBaseOut(to, claimableBaseAmount);
_CLAIMED_BASE_TOKEN_[msg.sender] = _CLAIMED_BASE_TOKEN_[msg.sender].add(claimableBaseAmount);
_transferBaseOut(to, claimableBaseAmount);
emit ClaimBaseToken(msg.sender, claimableBaseAmount);
}

View File

@@ -24,9 +24,5 @@ interface ICP {
function emergencySettle() external;
function claimBaseToken() external;
function ClaimQuoteToken(address to,bytes calldata data) external;
function claimLPToken() external;
}