pragma solidity 0.5.1;
contract WissenschaftlicheArbeit {
string titel;
string autor;
string pfad;
string hashcode;
bool isSignt = false;
address adresseDesPruefers;
constructor(string memory _titel, string memory _autor, string memory _pfad, string memory _hashcode, address _adresseDesPruefers)public{
titel =_titel;
autor = _autor;
pfad = _pfad;
hashcode = _hashcode;
adresseDesPruefers = _adresseDesPruefers;
}
modifier onlyPruefer(){
require(msg.sender == adresseDesPruefers);
_;
}
function arbeitSigen() public onlyPruefer {
isSignt = true;
}
}
When I am deploying this contract its saying this error:
creation of WissenschaftlicheArbeit errored: Error encoding arguments: Error: invalid address (argument="address", value="", code=INVALID_ARGUMENT, version=address/5.4.0) (argument=null, value="", code=INVALID_ARGUMENT, version=abi/5.4.0)
I have absolutly no idea. I just wanna crate a contract who only special person can sign this contract.