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】
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
The sidebar is recommended
- Remix imports ierc20 of openzeppelin Sol error, unable to import '@ openzeppelin / contracts / token / erc20 / safeerc20 sol': File not found
- Daniel, please stay, go north to Shenzhen blockchain post, wait for vacancy, high salary for talents!!!
- [recruitment] [Beijing] [listed company] blockchain project (three and a half years of commercial exploration, DAPP has been implemented) recruits trust architects
- [recruitment] [Beijing] [listed company] blockchain project (three and a half years of commercial exploration, DAPP has been implemented) recruits solid and go engineers
- About loom side chain
- How does imtoken access the "dydx" page to connect wallet and transfer money? (Note: we hope to have specific steps)
- Why is there so much data in eth logs
- geth benchmark
- Can truffle compile offline?
- Ethereum private chain transfer mining is still unsuccessful, please give advice; After the private chain is started, the IP address is not 127.0.0.1. I'm not sure if this is the reason. If so, how to solve it?
guess what you like
-
What is the difference between swapexacttokens for tokens supportingfeeontransfer tokens and swapexacttokens for tokens in uniswap?
-
eth_ The hash returned by sendrawtransaction is replaced for some reason. How can I determine the new hash of this transaction?
-
Is there any way to get the block height of the first transaction of an address on Ethereum?
-
Install geth and enter sudo add apt Repository - y PPA: Ethereum / Ethereum. The system has not responded
-
How to get the pending transactions in the ETH trading pool?
-
A problem with HD Wallet
-
Can't you call struct in the interface like this
-
Ask you guys how to get started with blockchain development
-
Structure nested query problem
-
How does the blockchain wallet call the freezing function in the token smart contract
Random recommended
- About go and eth
- How the contract defined in the solid contract is defined is a little unclear
- How does compound manage funds?
- Repeated operation of online signature and online transfer
- This eth transaction made 660000 Dai loans, but I can't understand how much money I made. Students who can explain will be rewarded 100 yuan
- lotus wallet new bls
- I want to capture the price of eth on the balancer exchange, but the prompt fails all the time
- lotus wallet new bls
- A batch that can't be transferred usdt?
- I have questions about your miner configuration?
- Solidity has a piece of code that I don't quite understand
- Does the version of solidity affect gas?
- Ethereum private chain transfer error
- I want to check the status of a smart contract on Ethereum at a certain block height. Is there any good way?
- Configuring the golang environment
- Filecoin lotus is connected to the main network. Where and how was the miner ID (- - actor = XXX) created
- How to obtain the transaction volume data of the contract on Ethereum
- Where will this subgraph be used in uniswap?
- About Web3 Event listening in JS version 1.0
- How to judge whether a structure is empty in solidity?
- Bitcoin offline multi sign
- How smart contracts call data from outside the chain
- About capacity expansion
- Smart contract extraction usdt
- Eth offline signature eip712. Sometimes the uplink verification can pass, sometimes the verification fails, and the code remains unchanged
- We want to use our wallet to interact with Ethereum's DAPP for automatic login. There is a JS file that I inject into DAPP, but its parameters are empty
- Mining reward and gas handling fee (how to distinguish)
- When the Tron node calls the contract, it always fails - transaction reverse
- How do contracts (or accounts) distinguish between ether and other contract currencies
- Call contract times error, what is the reason? How to solve it? I transferred eth to the contract and reported an error.
- Can Remix + metamask be used to call the smart contract of huocoin chain heco?
- Call contract function
- Use contract. In Web3 methods. When setinfo (name, age), always say the address is wrong and provide the correct eth address
- Can you help me explain the information after executing the lotus sync wait synchronization command: current epoch: 3713; Todo: what does 420649 mean
- I'm following the DAPP of the course to practice voting. How can I provide a "value" to Rama in line 7?
- How to add icons to erc20 tokens
- I followed the course practice of voting. When I execute the command "NPM run dev", although the voting page can be opened automatically, I can't connect to metamask. Why?
- Excuse me, if I want to use "token" instead of eth in the following course to vote, what specific operation is needed? thank you
- How to build a blockchain environment on win10 from scratch? It's best to use python
- I want to ask you about mask