Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Other contracts

CAT

On-chain preference list: up to 5 ERC-20s per account, index 0 most preferred.

setTokens(tokens[])              // caller
setTokensFor(account, tokens[])  // owner or writer
getTokens / tokenAt / tokenCount

Replace-all, not a delta. No zero addresses.

RescueVault

Plain CREATE. Occupies a deployer-nonce address so assets sent to a "future contract" can be swept.

constructor(admin)  // payable, admin ≠ 0
sweepETH / sweepERC20 / sweepERC20s
sweepERC721 / sweepERC721s
sweepERC1155 / sweepERC1155Batch

Admin only. Recipient ≠ 0. Implements ERC-721/1155 receiver hooks. Assets are not enumerable. Pass token addresses / IDs.

Instance: 0x3E5D8d8f63c57EA5DD62cF5aeC7212C50bDA69EF.