At the moment, in the Uniswap action, we check in termsOk if origin == address(0) and in the actual address if origin == address(this).
Hence I changed it so that devs, if they want to skip the transferFrom, can input origin == address(0) or userProxy. This is done because, if you e.g. use create instead of create2, the proxy address might not be known before the transaction was mined. That way, devs could simply input address(0) to skip the transferFrom if they like
At the moment, in the Uniswap action, we check in termsOk if
origin == address(0)
and in the actual address iforigin == address(this)
.Hence I changed it so that devs, if they want to skip the transferFrom, can input
origin == address(0) or userProxy
. This is done because, if you e.g. usecreate
instead ofcreate2
, the proxy address might not be known before the transaction was mined. That way, devs could simply input address(0) to skip the transferFrom if they like