Changing no-match jumpi to no-match jump in ERC20.huff function dispatcher leaves the shifted function sig on the stack for contracts inheriting it which can use it after the no-match JUMPDEST. This way, importing (wrapping) contracts only have to add:
0x00 calldataload 0xE0 shr
ERC20_MAIN()
to the start of their MAIN() macro then add their specific function below it rather than copying all of ERC20.huff dispatch macro.
Changing
no-match jumpi
tono-match jump
in ERC20.huff function dispatcher leaves the shifted function sig on the stack for contracts inheriting it which can use it after theno-match
JUMPDEST. This way, importing (wrapping) contracts only have to add:to the start of their MAIN() macro then add their specific function below it rather than copying all of ERC20.huff dispatch macro.