The SWAP DETAILS page allows a swap and the assets involved to be viewed in more detail. This page is also where users can elect to take a swap.
An OPEN swap viewed via the SWAP DETAILS page.
On the SWAP DETAILS page the asset(s) on the GIVE side are the "price" or the assets required to give in order to take the swap and the asset(s) on the TAKE side are the asset(s) "for sale" capable of being acquired through the swap. Clicking a NFT via this page will take the user to the corresponding NFT DETAILS page to view additional details about the NFT. Clicking an ERC 20 will take the user to the appropriate block explorer to view more information about the ERC 20. The details bar above the GIVE/TAKE table contains the following information:
- 2.Swap ID.
- 3.Swap type (custodial vs. non-custodial).
- 4.Swap status.
- 5.Date and time created (with link to view transaction on the block explorer).
- 6.Date and time updated (with link to view transaction on the block explorer) if the swap has been closed (taken) or dropped (canceled).
- 7.Expiration block and approximate date.
The SWAP DETAILS page grants access to both the swap maker's PROFILE page and the NFT DETAILS page for the NFTs involved in a swap.
Clicking the TAKE SWAP button on the SWAP DETAILS page will precipitate a modal detailing the on-chain transactions required to take the swap and any fees associated with taking the swap. Clicking the TAKE SWAP button will precipitate one or more transaction approval prompts via the connected wallet. Clicking the DON’T TAKE SWAP button will return the user to the SWAP DETAILS screen.
*NOTE: The rest of the UI will be inaccessible while transactions are awaiting confirmation.
Clicking TAKE SWAP will bring forth a modal detailing all on-chain transactions and fees associated with taking the swap and give the user an opportunity to decline the action or proceed with taking the swap.
At this time only native currency values on the TAKE side of a swap can be amended. Amending the ETH or MATIC value on the TAKE side of the swap requires signing an on-chain transaction to adjust the parameters of the on-chain swap.
The 'Edit Swap' button appears next to the 'Cancel Swap' button if the connected wallet is the MAKER.
If the connected wallet made the swap in view a EDIT SWAP button will be visible next to the CANCEL SWAP button. Clicking the EDIT SWAP button will take the user to a specialized iteration of the NEW SWAP page to adjust the ETH or MATIC value.
Users can make ETH and MATIC value adjustments to the TAKE side of the swap as shown here.
After amending the ETH or MATIC value, click the UPDATE SWAP button and a confirmation modal will appear and detail the updates to the swap you are about to make.
Clicking UPDATE SWAP will precipitate a confirmation modal detailing the updates you are about to make.
Upon confirming the updates you are about to make, click FINISH UPDATE and sign the transaction with your connected wallet. You will be returned to the SWAP DETAILS page where both the updated ETH or MATIC value will be visible as will the swap's amendment history.
If a swap has been amended, hovering over the 'History' tooltip will reveal its amendment history.