August 2019
Intermediate to advanced
486 pages
13h 52m
English
The setApprovalForAll() function is used to assign or revoke the full approval rights to the given operator. The caller of the function (msg.sender) is the approver.
The function takes the following arguments:
Let's look at the setApprovalForAll() function code:
function setApprovalForAll(address to, bool approved) public { require(to != msg.sender); _operatorApprovals[msg.sender][to] ...