Closed benjaminbollen closed 7 months ago
this has been a big PR. Im going to mark it here for review, and work on the new (required, deterministic) deployment script instead.
Most new functions here are missing the documentation comment, but deliberately leaving them off for now, because I moved around a few things, so I want to come back to review with fresh eyes the code in its current state. With some functions missing the docs it's easier to see where to pay extra attention.
name()
for ERC20 to connect it to NameRegistry
directlysafeInflationaryTransfer
don't fit in Hub.sol, so I will put them in erc20Lift.sol
(and come up with a different name for the contract?)moving this back to review; but there's a bunch of commented out code that moved around for juggling the size reduction. I ll take that out once the deployment script and test deployment is done.
Also I ll need to come back to add the missing docs for the new functions
also the safeInflationaryTransfer
still needs be put back in a helper contract (no space in Hub.sol)
fixes #118
⚠️ the base branch for this PR is assuming path transfer #115 has been merged
create2do this later)