Open oroghene opened 2 years ago
so the TransferHelper.sol
in the uniswap perepheries package relies on an import from @openzeppelin
: https://github.com/Uniswap/v3-periphery/blob/22a7ead071fff53f00d9ddc13434f285f4ed5c7d/contracts/libraries/TransferHelper.sol#L4
try adding it as a dependency as well:
dependencies:
- OpenZeppelin/openzeppelin-contracts@4.5.0
compiler:
solc:
remappings:
- "@openzeppelin=OpenZeppelin/openzeppelin-contracts@4.5.0"
@gosuto-inzasheru this way he should also add uniswap v3-core, any way it does not solve the problem. @oroghene did you managed to resolve this? I am facing exactly same issue.
I am having trouble importing from Uniswap into Brownie. Here is my
brownie-config.yaml
file:This is me importing in my solidity file:
I keep getting these errors: