solmate icon indicating copy to clipboard operation
solmate copied to clipboard

EC721: Add isApprovedorOwner() support

Open jaglinux opened this issue 2 years ago • 3 comments

isApprovedorOwner() is useful function which verifies given address is owner or approved for a nft. Any reason why this function is not included ?

jaglinux avatar Jul 14 '22 00:07 jaglinux

If there is interest, I can work on the PR to add the function and test cases.

jaglinux avatar Jul 14 '22 00:07 jaglinux

thanks for opening an issue! i generally am not a fan of helper functions, tho this is one helper function that i think could be genuinely useful

if you'd like to open a PR against v7 that'd be great.

transmissions11 avatar Jul 14 '22 05:07 transmissions11

Sure.

jaglinux avatar Jul 15 '22 01:07 jaglinux