Deck Overview
Each Deck corresponds to the token address of either an ERC721 collection or ERC1155 collection. All tokens of the same token address belong to the same Deck.
Create / Join a Deck
When a token of a token address is wrapped as a Deck Item for the first time, that token address's Deck is created.
After that, all tokens of that same token address are wrapped as the same Deck Item, and are part of the same Deck.
The following token types can be wrapped as Deck Items:
ERC721s
ERC1155s with 0 decimals
ERC1155s with 18 decimals, such as Items
For each token you wrap, you obtain 1 Deck Item with 18 decimals (i.e. 1e18).
Example 1
Kad -> wraps a Bored Ape (id 112233) as a Deck Item for the first time, creating the Bored Ape Deck. He obtains 1 (in 18 decimals) Bored Ape Deck Item.
The total supply of the Bored Ape Deck Item is now 1 (in 18 decimals).
Pink -> wraps her Bored Ape (id 223344). She obtains 1 (in 18 decimals) Bored Ape Deck Item.
The total supply of the Bored Ape Deck Item is now 2 (in 18 decimals).
Example 2
Iso -> wraps his Mutant Ape Yacht Club (id 01234), creating the Mutant Ape Yacht Club Deck. He obtains 1 (in 18 decimals) Ape Yacht Club Deck Item.
The total supply of the Mutant Ape Yacht Club Deck Item is now 1 (in 18 decimals).
Circle -> wraps his Mutant Ape Yacht Club (id 45678). He obtains 1 (in 18 decimals) Mutant Ape Yacht Club Deck Item.
The total supply of the Mutant Ape Yacht Club Deck Item is now 2 (in 18 decimals).
In the case of an ERC1155 with quantity, for each quantity you wrap, you obtain 1 Deck Item with 18 decimals (so 1e18). So for example, wrapping 3 Zerion (id 10), you obtain 3 (in 18 decimals) Zerion Deck Items; wrapping 2 Zerion (id 10), you obtain 2 (in 18 decimals) Zerion Deck Items; and so on.
Reservations
A token can be wrapped as a Deck Item as either reserved or unreserved.
Reserved -> for 10 days only the address that wrapped the token can retrieve it (by unwrapping a Deck Item from the Deck). After 10 days, the reservation ends, and the Deck Item becomes unreserved.
Unreserved -> any holder of the Deck Item can unwrap it for any token from the Deck.
Unwrap a Deck Item to Retrieve a Token
Unwrapping (burning) a Deck Item allows you to retrieve a wrapped ERC721 or ERC1155 token.
For each ERC721 or ERC1155 token to retrieve, you must burn 1 (in 18 decimals) of the corresponding Deck Item; to retrieve 2, you must burn 2 (in 18 decimals) etc.
A holder of a Deck Item can unwrap it for any unreserved token from the Deck.
Example:
Caesar -> wraps his Bored Ape (id 112233) as unreserved, creating the Bored Ape Deck and obtaining 1 (in 18 decimals) Bored Ape Deck Item.
Luke -> wraps his Bored Ape (id 223344) as unreserved, obtaining 1 (in 18 decimals) Bored Ape Deck Item.
Konzu -> wraps his Bored Ape (id 334455) as reserved, obtaining 1 (in 18 decimals) Bored Ape Deck Item.
Abdullah and Luke can each burn 1 (in 18 decimals) Bored Ape Deck Item to retrieve either Bored Ape id 12345 or id 23456. Konzu can burn 1 (in 18 decimals) to obtain Bored Ape id 12345, id 23456 or id 34567 (as he has reserved it).
10 days after Konzu wrapped his Bored Ape, it becomes unreserved, and anyone can retrieve any of the three Bored Apes.
Last updated