Solidity Patterns | solidity-patterns
fravoll.github.io · 313 words · saved by 2 readers
A compilation of patterns and best practices for the smart contract programming language Solidity
This document contains a collection of design and programming patterns for the smart contract programming language Solidity in version 0.4.20. Note that newer versions might have changed some of the functionalities. Each pattern consists of a code sample and a detailed explanation, including background, implications and additional information about the patterns. Contents Behavioral Patterns Guard Check: Ensure that the behavior of a smart contract and its input parameters are as expected. State Machine: Enable a contract to go through different stages with different corresponding…
saved by
related reading
- Smart Contract Weakness Classification (SWC)swcregistry.io
- Introduction to Smart Contracts — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- GitHub - compound-finance/compound-protocol: The Compound On-Chain Protocolgithub.com
- GitHub - safe-fndn/safe-smart-account: Safe allows secure management of blockchain assets.github.com
- Solidity by Examplesolidity-by-example.org
- Introduction to Smart Contracts - Solidity 0.8.24 documentationdocs.soliditylang.org
- Ethereum development documentation | ethereum.orgethereum.org
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- The State of Smart Contract Upgrades - OpenZeppelin blogblog.openzeppelin.com
- Contract ABI Specification — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- What Are Smart Contracts and How Do They Work?academy.binance.com
- Anatomy of smart contracts | ethereum.orgethereum.org