---
title: "Discussion on \"Solidity Smart Contract Structure\" | Hashnode"
description: "Discussion on \"Solidity Smart Contract Structure\". Solidity contracts are extremely similar to classes in object-oriented programming languages such as Java. State variables, functions, modifiers, events, structs, and enums are all included in contracts.\nStep 1: Pragma statement\nThe pragma statement ..."
url: "https://hashnode.com/posts/solidity-smart-contract-structure/63d1e56a110dbc06f7be8525"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Solidity Smart Contract Structure](https://khadeeejah.hashnode.dev/solidity-smart-contract-structure?utm_source=hashnode&utm_medium=feed)

Solidity contracts are extremely similar to classes in object-oriented programming languages such as Java. State variables, functions, modifiers, events, structs, and enums are all included in contracts. Step 1: Pragma statement The pragma statement ...

Jan 26, 2023 · 4 min read · khadeeejah.hashnode.dev  
Updated Jan 30, 2023  
Read the article

-   [#solidity](https://hashnode.com/tag/solidity)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#blockchain](https://hashnode.com/tag/blockchain)

## Written by

[KHADIJAH](https://hashnode.com/@KHADEEEJAH)

@KHADEEEJAH · Dubai, United Arab Emirates

  
[View profile](https://hashnode.com/@KHADEEEJAH)

Blockchain Baddie

Software | Blockchain | Developer Advocate | Technical Writer | Open source Contributor.

## Responses 1

Markdown supported · ⌘↵ to post

[Joshua Omobola](https://hashnode.com/@koha)

[Jan 28, 2023](https://hashnode.com/posts/solidity-smart-contract-structure/63d1e56a110dbc06f7be8525/comment/63d50d1f538ca42683435060)

Ouuuuu! Nice read. Can't wait for the next one.
