transmissions11/solmate

add Clone/Init variants for Tokens

z0r0z opened this issue · 2 comments

z0r0z commented

currently, when I want to create cheap factories to spin up solmate assets, I have to redo the contracts, which isn't super comfy

this should prolly also pair with an example factory implementation based on https://github.com/wighawag/clones-with-immutable-args

not ready to support clones yet, but long term may reopen

z0r0z commented

sounds good. Here's a good example of a clone solmate erc20 https://github.com/ZeframLou/vested-erc20/blob/main/src/lib/ERC20.sol