.sol structure
-
Learn Solidity: Layout of a Solidity Source File & Structure of Smart Contracts
- 19 April, 2017
- Posted by: toshendra
- Category: Blockchain, Development, Ethereum, Solidity
No CommentsIn this post, we will understand the default standard structure of the Solidity-Based Smart Contract file which generally has the .sol extension. As you can see in the above code, It always starts with version pragma followed by optional import section through which you can import any existing.sol files into the current .sol file. Then