Skip to content

Error message when trying to compile the script #48

@Benjam6

Description

@Benjam6

Hey guys. So I'm testing out this flashloan script on Remix and I get the following error message, at line 36
"from solidity:
ParserError: Function, variable, struct or modifier declaration expected.
--> scripts/POLYGON FLASHLOAN.sol:36:1:
|
36 | contract Flashloan {
| ^^^^^^^^"

This happens when I'm trying to compile the script. Any ideas what is causing this error and how to fix it? Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions