EIP Radar
@ 41a838d ·
EIP-7519

Atomic Storage Operations SCREDIT and SDEBIT

Add atomic operations for incrementing and decrementing storage slots

StagnantMerge

Status history

  1. Draft16 Sep 2023
  2. Stagnantdate not observed

Abstract

Two new opcodes that atomically mutate smart contract storage are proposed: SCREDIT, which increments a storage slot by a specified value, and SDEBIT, which decrements a storage slot by a specified value. Overflow and underflow errors are enforced, reverting when an unsigned 256-bit integer would overflow or underflow.

Created
16 Sep 2023
Authors
Danno Ferrin
Upgrades
Not listed in any upgrade
Requires
EIP-2200EIP-2929
Required by
—