Is it possible to use Solidity assembly to create a fallback function that makes a
DELEGATECALL to another contract, and then uses assembly to correctly store the return value of the
DELEGATECALL in the appropriate registers, so that the fallback function effectively returns this value?
This is useful so that I can make a contract that behaves exactly like another contract, while maintaining the clones interoperability with solidity features.
-- EDIT --
Ok I've done some more research, and it seems like it should be possible to use assembly to push to the
returndata of the EVM stack, but I can't find any particularly good documentation for the Ethereum VM that has the info I need. Where is the
returndata in memory? What is the best way to write to it? Etc.