Skip to content
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

[question] any example usage of token transfering from owner via operator ? #3

Open
aekiratli opened this issue Mar 10, 2024 · 0 comments

Comments

@aekiratli
Copy link

Hi, when isApprovedForAll is called it returns true . When i try to call function below I recieve not owner of token or not approved. Can you please provide any usage?

    // Transfer ERC721 token from owner to caller
    function transferId(address owner, uint256 id) external {
        // Tried both ways
        //safeTransferFrom(owner, msg.sender, id);
        //_owners[id] = msg.sender;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant