Skip to content

Commit

Permalink
Crowdsale: mark isLongSale & getLongSaleTokenAmount as virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlm1996 committed May 24, 2022
1 parent b5d7c9f commit b7bb0e7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions contracts/protocol/note-sale/crowdsale/Crowdsale.sol
Expand Up @@ -101,13 +101,9 @@ contract Crowdsale is UntangledBase {
return totalCap - currencyRaised;
}

function isLongSale() public view virtual returns (bool) {
return false;
}
function isLongSale() public view virtual returns (bool);

function getLongSaleTokenAmount(uint256 currencyAmount) public view virtual returns (uint256) {
return rate;
}
function getLongSaleTokenAmount(uint256 currencyAmount) public view virtual returns (uint256);

function _defaultPreValidatePurchase(
address beneficiary,
Expand Down

0 comments on commit b7bb0e7

Please sign in to comment.