style(modular): fix mapping style

This commit is contained in:
Nicolás Acosta 2023-02-01 15:53:33 -03:00
parent 5b149adfcd
commit 9b0556caa4

View File

@ -34,7 +34,7 @@ and the sum of all balances is an invariant across the lifetime of the contract.
contract Token { contract Token {
mapping(address => uint256) balances; mapping(address => uint256) balances;
using Balances for *; using Balances for *;
mapping(address => mapping (address => uint256)) allowed; mapping(address => mapping(address => uint256)) allowed;
event Transfer(address from, address to, uint amount); event Transfer(address from, address to, uint amount);
event Approval(address owner, address spender, uint amount); event Approval(address owner, address spender, uint amount);