-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EIP: Lockable Extension for ERC-721 #7066
Conversation
File
|
update contributor info
* @dev Lock the tokenId if msg.sender is owner and set locker to _locker | ||
*/ | ||
function lock(uint256 tokenId, address _locker) external; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @sullof , thanks for the suggestion. I have tried to remove redundancies in ERC7066 and I believe EIP6982 is using couple of more functions to achieve the locking functionality. Effectively ERC7066 has lesser code and optimized gas. Let me know your thoughts
eth-bot rerun |
@eth-bot rerun |
* erc721lockable init * update discussion * update license * update readme * add eip header * update title * update readme * update readme * update readme * update readme * update eip number * update eip number * update eip number * update eip number * update eip number * update readme * update readme * update readme * update readme * error codes * added interface to specification * lint fixe * transfer with lock/approve * rename * readme update * optimize lock/unlock * readme with new functions * readme update * error codes * discussion link * tokenId * remove redundancy * updates test * updates doc * review fixes * overrides and interface correction * add locker to transferAndLock * remove locker * license * doc update * doc update * doc update * author updates --------- Co-authored-by: piyush.chittara <[email protected]> Co-authored-by: Piyush <[email protected]> Co-authored-by: Sam Wilson <[email protected]>
* erc721lockable init * update discussion * update license * update readme * add eip header * update title * update readme * update readme * update readme * update readme * update eip number * update eip number * update eip number * update eip number * update eip number * update readme * update readme * update readme * update readme * error codes * added interface to specification * lint fixe * transfer with lock/approve * rename * readme update * optimize lock/unlock * readme with new functions * readme update * error codes * discussion link * tokenId * remove redundancy * updates test * updates doc * review fixes * overrides and interface correction * add locker to transferAndLock * remove locker * license * doc update * doc update * doc update * author updates --------- Co-authored-by: piyush.chittara <[email protected]> Co-authored-by: Piyush <[email protected]> Co-authored-by: Sam Wilson <[email protected]>
* erc721lockable init * update discussion * update license * update readme * add eip header * update title * update readme * update readme * update readme * update readme * update eip number * update eip number * update eip number * update eip number * update eip number * update readme * update readme * update readme * update readme * error codes * added interface to specification * lint fixe * transfer with lock/approve * rename * readme update * optimize lock/unlock * readme with new functions * readme update * error codes * discussion link * tokenId * remove redundancy * updates test * updates doc * review fixes * overrides and interface correction * add locker to transferAndLock * remove locker * license * doc update * doc update * doc update * author updates --------- Co-authored-by: piyush.chittara <[email protected]> Co-authored-by: Piyush <[email protected]> Co-authored-by: Sam Wilson <[email protected]>
When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met: