На Remix, при реализации контракта.Я получаю сообщение об ошибке "Этот контракт не реализует все функции и поэтому не может быть создан."1003 *
Ценю любую помощь.
pragma solidity ^0.5.0;
// Impoeted all openzeppelin files here
contract xyzCrowdsale is Crowdsale, CappedCrowdsale, Pausable,FinalizableCrowdsale, RefundableCrowdsale, MintedCrowdsale {
mapping(address => uint256) public contributors;
address public teamAddress;
constructor(uint256 rate, address payable wallet, IERC20 tokenAddress, uint256 cap, uint256 goal)
Crowdsale( rate, wallet, tokenAddress)
CappedCrowdsale(cap)
Pausable()
FinalizableCrowdsale()
RefundableCrowdsale(goal)
public{
require(goal <= cap);
}
function getUserContribution(address _beneficiary) public view returns (uint256)
{
return contributors[_beneficiary];
}
function _finalization(address _buyers) internal {
if(goalReached()){
uint256 unlockTokenForBuyers = now + 1 minutes;
if( now >= unlockTokenForBuyers ) {
emit Unpaused(_buyers);
emit Paused(teamAddress);
}
}
}
function unlockTokenForTeam() public {
uint256 unlockTeamToken = now + 2 minutes;
require(now >= unlockTeamToken);
emit Unpaused(teamAddress);
}
}
contract XYZ is ERC20, ERC20Mintable, ERC20Pausable, ERC20Capped, ERC20Detailed {
constructor(uint256 cap, address prefund, uint256 amount) public
ERC20Capped(cap)
ERC20Detailed("XYZ", "XXX", 18) {
mint(prefund, amount);
}
}