Skip to main content

ITransferManager

LooksRare protocol team (👀,💎)

ITransferManager

Events​

ApprovalsGranted​

event ApprovalsGranted(address user, address[] operators)

It is emitted if operators' approvals to transfer NFTs are granted by a user.

Parameters​

NameTypeDescription
useraddressAddress of the user
operatorsaddress[]Array of operator addresses

ApprovalsRemoved​

event ApprovalsRemoved(address user, address[] operators)

It is emitted if operators' approvals to transfer NFTs are revoked by a user.

Parameters​

NameTypeDescription
useraddressAddress of the user
operatorsaddress[]Array of operator addresses

OperatorAllowed​

event OperatorAllowed(address operator)

It is emitted if a new operator is added to the global allowlist.

Parameters​

NameTypeDescription
operatoraddressOperator address

OperatorRemoved​

event OperatorRemoved(address operator)

It is emitted if an operator is removed from the global allowlist.

Parameters​

NameTypeDescription
operatoraddressOperator address

Errors​

OperatorAlreadyAllowed​

error OperatorAlreadyAllowed()

It is returned if the transfer caller is already allowed by the owner.

This error can only be returned for owner operations.

OperatorAlreadyApprovedByUser​

error OperatorAlreadyApprovedByUser()

It is returned if the operator to approve has already been approved by the user.

OperatorNotAllowed​

error OperatorNotAllowed()

It is returned if the operator to approve is not in the global allowlist defined by the owner.

This error can be returned if the user tries to grant approval to an operator address not in the allowlist or if the owner tries to remove the operator from the global allowlist.

OperatorNotApprovedByUser​

error OperatorNotApprovedByUser()

It is returned if the operator to revoke has not been previously approved by the user.

TransferCallerInvalid​

error TransferCallerInvalid()

It is returned if the transfer caller is invalid. For a transfer called to be valid, the operator must be in the global allowlist and approved by the 'from' user.