Authority of the collection the asset is being added to or removed from (typically the collection's update authority or a delegate).
OptionalcollectionIf there is no collection authority record PDA, pass the Bubblegum program address instead.
Metadata account of the Token Metadata collection NFT.
Mint account of the Token Metadata collection NFT.
OptionalcompressionThe SPL/MPL Account Compression program that owns and manages the Merkle tree.
Master edition account of the Token Metadata collection NFT.
Delegate authority for the leaf; defaults to the leaf owner when no delegate is set.
Owner of the compressed NFT leaf being operated on.
OptionallogThe SPL/MPL Noop program, used to log leaf data so off-chain indexers can reconstruct the tree.
The concurrent Merkle tree account storing the compressed leaves, owned by the account compression program.
Account that pays for the transaction and any account rent.
OptionalsystemThe Solana System program.
OptionaltokenThe Token Metadata program, invoked to read or (un)verify the legacy collection accounts.
The tree's TreeConfig PDA, which stores its configuration and acts
as the tree's authority for CPIs into the compression program.
Checked as a signer here because setAndVerifyCollection actually
changes the leaf's metadata, unlike plain collection verification.
PDA Bubblegum uses to sign the CPI into the Token Metadata program that (un)verifies the collection.