CRYPTO NEWS

ParserError: Expected ‘(‘ but got identifier—-> how can ı fix this error

pragma solidity 0.8.0; contract CS_Shipmen {

struct Shipmen {     address walletAddress;     string  firstName;     string  lastName;       } Shipmen[] public shipmen; function addShipmen(address walletAddress, string memory firstName, string memory lastName) public{     shipmen.push(Shipmen(         walletAddress,         firstName,         lastName)); } address walletAddress; bool check; modifier onlyShipmen() {     for (uint i = 0; i < shipmen.length; i++) {     if(shipmen[i].walletAddress == walletAddress)     require (checking == 1, "Only Shipmen can do a verification.");     _; } 

bool receipt; string yes="Your parcel has arrived"; string no="Your parcel has not arrived yet"; function verification1(uint _verification) public returns(uint) { if(verification == 1){ return yes; } else if(verification == 0){ return no; }

ParserError: Expected ‘(‘ but got identifier—-> how can ı fix this error

Shopping cart
There are no products in the cart!
Continue shopping
0