'How to decode tokens from a liquidity pool pair?

https://etherscan.io/tx/0x81ba1e834346b2f47187827184a87c8b432fc714bb54e7c3abb14fddbff98136

Above is an example transaction. Unoswap is the swap function for 1-inch. One of the paramanters is pools and in the example pools is equal to 0x80000000000000003b6d03402d2104906e109cee827b64238fa5ba604621b5a0. From Etherscan I can see the swap is from WETH to Dog Collar Token. With Web3, how do I get the contract addresses of the tokens from the "pool" parameter?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source