Solidity

Solidity — Page 8

An object-oriented, high-level language for implementing smart contracts on various blockchain platforms, most notably Ethereum.

Testing Solidity Custom Errors with Precise Revert Assertions

Testing Solidity Custom Errors with Precise Revert Assertions

Preventing Short Address and Zero-Address Bugs in Solidity

Preventing Short Address and Zero-Address Bugs in Solidity

Building a Safe ERC-20 Allowance Wrapper Library in Solidity

Building a Safe ERC-20 Allowance Wrapper Library in Solidity

Testing Solidity Decimal Math with Fixed-Point Assertions

Testing Solidity Decimal Math with Fixed-Point Assertions

Solidity Inline Assembly: Writing Safe, Gas-Efficient Low-Level Code

Solidity Inline Assembly: Writing Safe, Gas-Efficient Low-Level Code

Testing Solidity Reentrancy Defenses with Attack Harnesses

Testing Solidity Reentrancy Defenses with Attack Harnesses

Preventing ERC-20 Allowance Race Conditions in Solidity

Preventing ERC-20 Allowance Race Conditions in Solidity

Building a Fixed-Point Decimal Math Library in Solidity

Building a Fixed-Point Decimal Math Library in Solidity

Testing Solidity Event Emission with Indexed Parameters and Log Assertions

Testing Solidity Event Emission with Indexed Parameters and Log Assertions

Solidity Bitwise Operations: Building Efficient Low-Level Data Structures and Flags

Solidity Bitwise Operations: Building Efficient Low-Level Data Structures and Flags

Testing Solidity Contract Invariants with Assertion-Based Checks

Testing Solidity Contract Invariants with Assertion-Based Checks

Preventing Reentrancy in Solidity with Checks-Effects-Interactions and Reentrancy Guards

Preventing Reentrancy in Solidity with Checks-Effects-Interactions and Reentrancy Guards

Building a Reentrancy Guard Utility in Solidity

Building a Reentrancy Guard Utility in Solidity

Solidity Data Locations in Practice: Choosing Between Storage, Memory, and Calldata

Solidity Data Locations in Practice: Choosing Between Storage, Memory, and Calldata

Solidity Error Handling Patterns for Lower Gas and Better UX

Solidity Error Handling Patterns for Lower Gas and Better UX