Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while compiling #11

Open
ATG2021 opened this issue Aug 27, 2021 · 0 comments
Open

Error while compiling #11

ATG2021 opened this issue Aug 27, 2021 · 0 comments

Comments

@ATG2021
Copy link

ATG2021 commented Aug 27, 2021

Hi,
I changed the parts you highlighted in green, but I still get an error:

22231920211617181415111213891067345
// 0.5.1-c8a2
// Enable optimization
pragma solidity ^0.5.0;

import "./TRC20.sol";
import "./TRC20Detailed.sol";

/**

@title SimpleToken
@dev Very simple TRC20 Token example, where all tokens are pre-assigned to the creator.

Compiled error: [{"component":"general","formattedMessage":"Token.sol:5:1: ParserError: Source "TRC20.sol" not found: File import callback not supported\nimport "./TRC20.sol";\n^-------------------^\n","message":"Source "TRC20.sol" not found: File import callback not supported","severity":"error","sourceLocation":{"end":83,"file":"Token.sol","start":62},"type":"ParserError"},{"component":"general","formattedMessage":"Token.sol:6:1: ParserError: Source "TRC20Detailed.sol" not found: File import callback not supported\nimport "./TRC20Detailed.sol";\n^---------------------------^\n","message":"Source "TRC20Detailed.sol" not found: File import callback not supported","severity":"error","sourceLocation":{"end":113,"file":"Token.sol","start":84},"type":"ParserError"}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant