Skip to content
ClearClear
Docs
Protocol/CoopTransferAgent

CoopTransferAgent

Source: contracts/extensions/CoopTransferAgent.sol

1 min readView source

On this page
Network
Chain id
Address
Base Sepolia
84532

Functions that change state

Function
Who can call
Also
complete(uint256 tokenId)
Checked inside the function
nonReentrant
exercise(uint256 tokenId, address designee)
Checked inside the function
onERC721Received(address, address from, uint256 tokenId, bytes data)
Checked inside the function
recover(uint256 tokenId)
Checked inside the function
nonReentrant
waive(uint256 tokenId)
Checked inside the function
withdraw(uint256 tokenId)
Checked inside the function
nonReentrant

Read functions

Anyone can call these; they change nothing.

Function
Returns
beneficialOwnerOf(uint256 tokenId)
address
deedNFT()
address
listingOf(uint256 tokenId)
(address,address,bytes32,uint64,uint64,bool)

Events

Event
Completed(uint256 tokenId indexed, address seller indexed, address buyer indexed, bytes32 termsHash)
Listed(uint256 tokenId indexed, address seller indexed, address buyer indexed, bytes32 termsHash, uint64 rofrEndsAt, uint64 completeBy)
Recovered(uint256 tokenId indexed, address to indexed)
RofrExercised(uint256 tokenId indexed, address sponsor indexed, address designee indexed, uint64 completeBy)
RofrWaived(uint256 tokenId indexed, address sponsor indexed, uint64 completeBy)
Withdrawn(uint256 tokenId indexed, address seller indexed)

Errors

Error
CompletionLapsed()
InvalidBuyer()
NotCoopDeed()
NotDeedNFT()
NotListed()
NotSeller()
NotSponsor()
StillListed()
WindowClosed()
WindowOpen()