CirclesUBI / circles-contracts-v2

Circles Protocol contracts
https://aboutcircles.com
GNU Affero General Public License v3.0
13 stars 0 forks source link

20240313 erc20 wrappers #119

Closed benjaminbollen closed 7 months ago

benjaminbollen commented 7 months ago

fixes #118

⚠️ the base branch for this PR is assuming path transfer #115 has been merged

benjaminbollen commented 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.

benjaminbollen commented 7 months ago
benjaminbollen commented 7 months ago

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)