wyvernprotocol / wyvern-v3

Wyvern Protocol v3.1, Ethereum implementation
https://wyvernprotocol.com
MIT License
298 stars 121 forks source link

Optional User's Proxy for the atomicMatch #80

Open ssnar opened 2 years ago

ssnar commented 2 years ago

From what i understood, in order to do any exchange (atomicMatch) the taker & maker (buyer & seller) must have the proxy registered in the ProxyRegistry.

In the case of doing NFT ERC20 trade, we might not require the buyer (the one who will send erc20) to have the proxy & do the approval of ERC20 to the proxy. Instead, we might just use the tokenTransferProxy and then only approve the ERC20 to that tokenTransferProxy (similar like what in wyvern v2 did), so the buyer doesn't require to register the proxy first which causes additional gas fee.

Is there any workaround how to solve this issue?