Commit Graph

13 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt 6d9d4f5487 fix claimTokens missing event for address(0) 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt 2d8f9c87cf remove redundant variable 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt ae22357df7 remove _burn impossible overflow 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt eab5b42b17 remove _mint impossible overflow 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt 2831aeae66 remove onTransfer impossible overflow check 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt 178e7f0b7b remove approveAndCall impossible condition 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt ff900fec1d improve updateValueAtNow 2023-09-27 10:57:17 -03:00
Ricardo Guilherme Schmidt 524cb67110 improve getValueAt 2023-09-27 10:57:17 -03:00
r4bbit 2a241edd26 fix(MiniMeBase): make `burn()` and `mint()` virtual
Otherwise they can't be overriden, which is necessary when inheriting
contracts. This commit also renames `burn()` to `_burn()` and `mint()`
to `_mint()`, simply to allow inheriting contracts to make use of those
non-underscored function names instead.
2023-09-26 11:12:13 +02:00
Ricardo Guilherme Schmidt a522ebb09d Make MiniMe implement ERC2612
Fixes vacp2p/minime#5
2023-09-26 11:11:38 +02:00
Ricardo Guilherme Schmidt c64845eddc fix overflow checks 2023-09-25 20:07:27 -03:00
Ricardo Guilherme Schmidt 3f95a3bcf9 make abstract and concrete versions
add gas reports

move event from abstract to concrete

lint
2023-09-25 12:54:24 -03:00
Ricardo Guilherme Schmidt 461d865527 rename minitoken 2023-09-25 12:54:24 -03:00