Collection Shutdown
A community-driven wind-down path for illiquid collections, liquidating NFTs via a Sudoswap auction.
When a collection has become illiquid — dust-sized token balances spread across many holders — CollectionShutdown lets holders vote to liquidate the remaining NFTs through a Sudoswap auction and claim their pro-rata share of the ETH proceeds. It's the graceful exit for a collection that can no longer sustain a market.
The lifecycle is: start a shutdown → holders vote → once quorum is reached, the owner executes the liquidation → holders claim their share. Signatures and descriptions below come from the ICollectionShutdown interface.
Voting lifecycle
start
Triggers a shutdown. Validates that the collection is eligible, emits an event so the frontend can flag it as liquidating, and casts the caller's first vote. Quorum must be reached within a set duration or the process must restart.
function start(address _collection) external;Access: nonReentrant, whenNotPaused.
_collection
address
The collection to start shutting down
Returns: None.
vote
Adds the caller's vote to an active shutdown, weighted by their token balance.
function vote(address _collection) external;Access: nonReentrant, whenNotPaused. Reverts ShutdownProccessNotStarted if none is active. A holder with zero balance is removed from the vote, which prevents vote-transfer-vote replay.
_collection
address
The collection to vote on
Returns: None.
reclaimVote
Retracts the caller's vote and returns their token, as long as quorum hasn't already been reached.
Access: whenNotPaused. Reverts if quorum has passed or the caller hasn't voted.
_collection
address
The collection to reclaim a vote from
Returns: None.
Execution and claims
execute
Once voting has reached quorum, sends the collection's Locker-held NFTs to a Sudoswap liquidation pool (a declining-price auction) and sunsets the collection.
Access: onlyOwner, whenNotPaused. Reverts if quorum hasn't been reached, no token IDs are supplied, or active listings exist.
_collection
address
The collection address
_tokenIds
uint[]
The token IDs to send to liquidation
Returns: None.
claim
Claims a holder's pro-rata share of the liquidated ETH proceeds, burning their tokens. Requires the liquidation to be complete.
Access: nonReentrant, whenNotPaused. Reverts if the claimant has no claimable votes, the sweeper pool isn't set, or the NFTs haven't all sold.
_collection
address
The collection address
_claimant
address payable
The address claiming their liquidation share
Returns: None.
voteAndClaim
A gas-efficient combined path for holders who missed the voting window — votes and claims in one call.
Access: whenNotPaused. Reverts if the sweeper pool isn't set or the NFTs haven't all sold.
_collection
address
The collection address
Returns: None.
Safeguards and views
cancel
Cancels a shutdown that hasn't executed once the collection's total supply has risen back above the threshold — preventing a collection flagged in its infancy from being executed later, which would rug holders who joined in between.
Access: whenNotPaused. Reverts if quorum has been reached or supply is still at/below MAX_SHUTDOWN_TOKENS.
_collection
address
The collection address
Returns: None.
preventShutdown
Lets an approved Locker Manager flag a collection so it can't be shut down. Can't run while a shutdown is already in progress.
Access: Locker managers only.
_collection
address
The collection being flagged
_prevent
bool
true to prevent shutdown, false to allow it
Returns: None.
collectionLiquidationComplete / pause
collectionLiquidationComplete
_collection (address)
Returns true if every NFT assigned to the shutdown has been sold from the Sudoswap pool
pause
_paused (bool)
onlyOwner — pause (true) or unpause (false) shutdown activity
Last updated
Was this helpful?