79317027

Date: 2024-12-30 07:29:51
Score: 0.5
Natty:
Report link

The worst place to ask a question related to blockchain. Received so much hate here. Anyway, it looks like you need to define the remappings.

name: TestContract
dependencies:
  - name: OpenZeppelin
    github: OpenZeppelin/openzeppelin-contracts
    version: 4.4.2
  - name: Uniswap
    github: Uniswap/v3-periphery
    ref: 1.2.0

solidity:
  import_remapping:
    - "@uniswap/v3-periphery/contracts=Uniswap-periphery/1.2.0"
    - "@openzeppelin/contracts=OpenZeppelin/4.4.2"

Reference

Also the oz and periphery versions are quiet outdated unless you have specific reason to use those versions always use the latest releases.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saikat Karmakar