List of questions
Related questions
Question 41 - CBDE discussion
Solidity files:
A.
can't be split across multiple files, everything should be in one single file.
B.
can be split across multiple files, but every contract must be in a file with the same name as the contract itself.
C.
can be spread across multiple files. To import all contract from a file you can use "import 'myfile.sol'. To import Contract MyContract from myfile.sol you use "import {MyContract as SomeContract} from 'myfile.sol';".
Your answer:
0 comments
Sorted by
Leave a comment first