# LooksRare orders using WETH as currency cannot be paid with WETH

ParaSpace's LooksRare adapter converts WETH order currency to native ETH, so buyWithCredit with WETH credit reverts, blocking WETH-denominated LooksRare purchases.

- Payout: Contest reward
- Severity: medium
- Program: ParaSpace
- Credited: Jeiwan
- Disclosed: 2023-04-27
- Write-up quality: 6/10
- Original: https://github.com/code-423n4/2022-11-paraspace-findings/issues/344
- Library page: https://bugbountylibrary.com/r/c4%3A2022-11-paraspace%3AM-11
- Tags: domain:web3 impact:dos kind:contest platform:code4rena sev:medium tech:evm tech:solidity vuln:business-logic

**Target:** LooksRareAdapter / MarketplaceLogic buyWithCredit
**Root cause:** Adapter rewrites WETH maker-order currency to ItemType.NATIVE/address(0), but isETH is only set when the user's credit token is address(0); a WETH credit token leaves isETH false, failing the ERC20-or-(isETH&&NATIVE) check.
**Steps:**
1. Call `buyWithCredit(marketplaceId, payload, credit, referralCode)` with `credit.token = WETH` for a LooksRare MakerOrder whose `currency = WETH`.
2. Adapter sets consideration itemType=NATIVE, token=address(0).
3. MarketplaceLogic sets `vars.isETH = (credit.token == address(0))` → false.
4. Require `item.itemType == ERC20 || (isETH && item.itemType == NATIVE)` fails with error 93, tx reverts.
**How found:** Code-reading of the adapter's WETH→NATIVE conversion against the credit-token check in MarketplaceLogic; confirmed with a Foundry/Hardhat test expecting revert '93'.
**Insight:** When an adapter normalizes a token to native currency, audit every downstream flag derived from the user-supplied token (here isETH) for consistency with the rewritten consideration type.
