// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; library ERC20BaseStorage { struct Layout { mapping(address => uint256) balances; mapping(address => mapping(address => uint256)) allowances; uint256 totalSupply; } bytes32 internal constant STORAGE_SLOT = keccak256("v2.flair.contracts.storage.ERC20Base"); function layout() internal pure returns (Layout storage l) { bytes32 slot = STORAGE_SLOT; assembly { l.slot := slot } } }