My contract is using a recent solidity release (0.8.x) and I'd like to use inside it PancakeSwap v2 router that uses solidity 0.6.x. What's the correct way to make the 2 different version of solidity work together? Thanks
P.S.: I'd like to be able to compile both contracts for unit testing purposes.

Aug 29, 2021, 8:00 PM
At least Hardhat supports compiling with multiple versions.
Aug 30, 2021, 12:39 AM

© 2024 Draquery.com All rights reserved.