issues
search
CirclesUBI
/
circles-contracts-v2
Circles Protocol contracts
https://aboutcircles.com
GNU Affero General Public License v3.0
13
stars
0
forks
source link
20240402 test wrap erc20
#127
Closed
benjaminbollen
closed
6 months ago
benjaminbollen
commented
7 months ago
bug fixes
[x] R table is not initialised in ERC20 proxy, so lazily compute for ERC20, and in constructor for Hub.sol
[x] nameRegistry interfaces didnt match; fixed
[x] upon hub.wrap() return ERC20 address where the Circles got wrapped towards
[x] fix: mastercopy must reserve first storage slot for Proxy:mastercopy address; this was being overridden... fixed
[x] correct Setup calldata for ERC20's from ERC20Lift, also in setup of ERC20, actually store nameregistry...
[x] fix name prefix in NameRegistry for name() and symbol()
[x] extend and simplify Mock test deployment
[x] write initial story test for Demurrage wrap ERC20
[x] write test for Demurrage R calculation
bug fixes