transmissions11 / solmate

Modern, opinionated, and gas optimized building blocks for smart contract development.
GNU Affero General Public License v3.0
3.93k stars 645 forks source link

♻️ Remove totalSupply & add checked balance increases #401

Closed jtriley-eth closed 11 months ago

jtriley-eth commented 11 months ago

Description

Removes totalSupply per ERC-6909 change (commit: f76969b)

Removes unchecked blocks for balance increases, as balances may overflow without checked arithmetic on totalSupply.

Checklist