Vectorized
Vectorized
@codebuster22 Don't worry about it, it's just that the development cadence is quite fast now. I was simply unsure how the code will look like and quickly wrote some stuff...
We might add it, if the compiler is able to zero-cost abstract it. Not sure why you need `10**24` tho.
Added in #63. Thanks for the issue!
Not sure how it will translate to Python syntax. Alternatively: ```python with unsafe_math(): K0 = 10**18 * x[0] * N_COINS / D * x[1] * N_COINS / D * x[2]...
Don't. If you use a nonce, you will never ever need the malleability check. The check is just a protection against incorrect usage of signatures. If you really somehow still...
Ah. sounds so tempting, but the ERC20 contract can't be like an interface anymore. Lemme think more about it. Oh just realized one more obstacle: Etherscan.
I think we can abuse function overrides to allow near zero-cost abstraction. Code will be bloat tho. The PITA is the 2612 function. Another way is to have a ERC20P....
@z0r0z The 2612 logic is quite tightly bounded to the custom storage layout.
Unfortunately, this is not on the roadmap. I'll recommend OpenZeppelin if you need the Beacon proxy. If you really need a max optimized Beacon proxy, let me know.
If you are ok with no Etherscan support (i.e. no read and write to proxy tabs), you can implement it as a ERC1167 minimal proxy -> ERC1967Proxy. More efficient for...