current position:Home>Unable to deploy the factory contract of uniswap

Unable to deploy the factory contract of uniswap

2022-02-03 23:47:36 Q & A of Denglian community

image.png Deploy https://github.com/Uniswap/uniswap-v2-core/tree/master/contracts Of uniswapFactory.sol At the time of the contract ,

Show * [ This contract may be abstract, not implement an abstract parent's methods completely or not invoke an inherited contract's constructor correctly] .




Take the answer 1:

brother , You made a mistake , Don't toss about directly uniswap Source code ;

From you to etherscan.io (https://cn.etherscan.com/address/0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f#code) Copy factory contract ; And it has to be added manually INIT_CODE_PAIR_HASH;

See https://blockchain.news/wiki/how-to-build-an-uniswap-exchange






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032347348881.html

Random recommended