https://github.com/devafortun/solidity-code-contracts
solidity-code-contracts
https://github.com/devafortun/solidity-code-contracts
solidity-contracts
Last synced: 11 months ago
JSON representation
solidity-code-contracts
- Host: GitHub
- URL: https://github.com/devafortun/solidity-code-contracts
- Owner: devafortun
- Created: 2024-12-25T20:34:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-25T20:37:58.000Z (over 1 year ago)
- Last Synced: 2025-04-15T00:12:56.346Z (about 1 year ago)
- Topics: solidity-contracts
- Language: Solidity
- Homepage:
- Size: 56.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
### Solidity Code Contracts
This repo contains the code snippets covering basic concepts of the Solidity smart contract programming language.
  
---
##### Table of Content
- [First Contract](./01_FirstContract.sol)
- [Value Types in Solidity](./02_ValueTypes.sol)
- [Introduction to Function](./03_FunctionsIntro.sol)
- [Variables](./04_Variables.sol)
- [Global Variables](./05_GlobalVariables.sol)
- [State Mutability Functions](./06_StateMutabilityFunctions.sol)
- [Constant and Immutable Variables](./07_ConstantAndImmutableVariables.sol)
- [Conditional Statements](./08_Conditions.sol)
- [Loops](./09_Loops.sol)
- [Error Handling](./10_ErrorHandling.sol)
- [Function Modifiers](./11_FunctionModifiers.sol)
- [Constructor](./12_Constructor.sol)
- [Capture Function Outputs](./13_CaptureFunctionOutputs.sol)
- [Arrays](./14_Arrays.sol)
- [Mapping](./15_Mapping.sol)
- [Iterable Mapping](./16_IterableMapping.sol)
- [Structures](./17_Structures.sol)
- [Enums](./18_Enums.sol)
- [Data Location - storage, memory, calldata](./19_DataLocation.sol)
- [Events](./20_Events.sol)
- [Single Inheritance](./21_SingleInheritance.sol)
- [Multi-Level Inheritance](./22_MultiLevelInheritance.sol)
- [Hierarchical Inheritance](./23_HierarchicalInheritance.sol)
- [Call Parent Constructor](./25_CallParentConstructor.sol)
- [Visibility Specifiers](./26_VisibilitySpecifiers.sol)
- [Call Parent Functions](./27_CallParentFunction.sol)
- [Using this in Solidity](./28_ThisKeyword.sol)
- [Payable](./29_Payable.sol)
- [Special Functions - fallback and receive](./30_SpecialFunctions.sol)
- [Sending Ether](./31_SendEther.sol)
- [Call Functions from Another Contract](./32_CallFunctionFromAnotherContract.sol)
- [Abstract Contract](./33_AbstractContract.sol)
- [Interfaces](./34_Interfaces.sol)
- [DelegateCall](./35_DelegateCall.sol)
- [Create Contracts using new keyword](./36_CreateContracts.sol)
- [Solidity Library](./37_Library.sol)
- [ABI Functions](./38_ABIFunctions.sol)
- [Mathematical and Cryptographical Functions](./39_MathandCryptoFunctions.sol)
- [Self Destruct](./40_SelfDestruct.sol)
---
#### Donations ✅
```txt
BTC: bc1qvl0hfh474kqskjhg9n2junzlsvdlq7mdu53qdx
ETH: 0x67012D3d4352F57B9C4966b104212d81dc590599
SOL: 693pB8EHihjYteuZZ3wogeQ4fgXdwgPudgmjuubQvidc
```