10

The answer is that uniswap is a set of Smart Contract running on the Ethereum platform and thus requires gas in order to execute any functions. Meaning that when you swap token A for token B or token C it is more or less the same function that is being called in order to perform the necessary logic of matching buyers and sellers. This is only an issue (such ...


10

I believe you're searching for logic in a place where it does not exist. Burning tokens before token "launch" is actually a shitcoin trend which makes zero sense and in general something doesn't have to make sense if everyone does it. Burning tokens which are not backed up by any kind of liquidity is useless. Shitcoins cannot offer much in the way ...


7

It's an effective form of marketing. From a mathematical point of view burning tokens on deployment is the same as never creating those tokens at all, but from a marketing perspective: It creates the headline of "We burned x% of tokens" with the implied, but not actually true implication: smaller supply -> higher price It makes the "...


6

How does uniswap creator take profit? Uniswap itself made $11 million in their Series A funding round. (See here.) I believe they currently use this as their source of funds for operating and development. However, the Uniswap contracts - at least in v2, I'm assuming also for v3 - do have a mechanism to take a fee from each trade. In the Whitepaper, section ...


4

IDEX is not decentralized at all, it's fully centralized. There's no way to use the system without IDEX team allow you to do so. If they don't want to process your transactions, your transactions will not be processed. If their servers goes down, the full system stops. You cannot trade tokens not white-listed by IDEX team. Etc, etc... Exactly the same way ...


3

As you mentioned it seems they have a particular way of doing things, and I am not too familiar with Mdex, but I have worked with Uniswap's sub-graph implementation. This isn't necessarily a solution to your question but may help you get there. After looking into https://info.mdex.com I spotted that they use a similar approach to Uniswap's sub-graph. They ...


3

A DEX essentially allows you to swap tokens and create liquidity pools, which means that you don't create (mint) new tokens in general. Only if the DEX has the possibility of staking, then you may create LP tokens (Liquidity Pool tokens) and send them to the stakers in exchange of their standard tokens. If the contract is verified in etherscan.io, you can ...


3

You'll first need the address of the contract for the pair whose price(s) you want to access. Two ways to do this: Find the addresses of the two tokens separately, and feed them into the UniswapV2Factory contract to get the address of the pair's contract; or... Go to Uniswap, enter the two tokens into the usual interface, then visit the "View Pair ...


3

Whoever provides the liquidity has the option to take his share of the liquidity out of the pool, at any time they want. Liquidity is never "sold off" as such, since Uniswap price is based on a bonding price curve. So the trading price simply changes between trades, reflecting which asset of the pair is bought more and which sold. There is also no &...


3

Let X = ETH Let Y = TokenA price impact for buying Y amount of tokens: price impact on buying = (Yamount*0.97) / current Yamount in pool price impact for selling Y amount of tokens: Let u = Y amount of tokens to be sold Let er = current ETH exchange rate in reference with TokenA er = X - { (XY) / (Y+0.97u) } price impact on selling = 0.97er / current ...


3

LP Token is just one name for the tokens you get, when you provide liquidity to a pool/pair, they may have other names, depending on where you read about them. Uniswap tokens are something different, they allow you to vote on some things related to the future of Uniswap. They are listed at Coinmarketcap (currently #8) and may be traded at some Exchanges. The ...


3

Well, after some research I can answer my question. I was indeed right, treasury fee is 1/6 (16.6%) of the total fee. Precisely, the code for this formula is in the core repository: code unction _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) { address feeTo = IShuttleFactory(factory).feeTo(); feeOn = feeTo != ...


2

The deposit puts the control of tokens to the smart contract so that the smart contract can fill the orders. Smart contract allows tokens to be used only for this purpose - matching and filling orders. For example, the owners of the exchange cannot take control of user funds for their own purposes. Usually these smart contracts have trustless backdoor for ...


2

In theory, yes. But the chances for that to happen are next to nothing. For an exchange to accept your coin they would have to: 1) Trust your blockchain that it's fair, valid and uncompromisable 2) Run their own node in your blockchain (they certainly don't want to trust your or somebody else's nodes even if they trust the blockchain) 3) Evaluate your ...


2

Uniswap protocol is developed in Solidity, and you can find two main building blocks: uniswap-v2-core: Core smart contracts, essentially with the Factory, Pair and ERC20, together with a number of interfaces and libraries. uniswap-v2-periphery: additional smart contracts to interact with the Core ones. They simplify the process of doing swaps or adding/...


2

Uniswap only lists tokens created on Ethereum such as ERC-20 tokens. Polkadot is not an ERC20 token. It runs on its own blockchain. :)


2

Pancake Swap uses the same formula as Uniswap, but they have a 0.2% fee instead of 0.3% fee, which affects the calculation.


2

It is easy to create an NFT that transfers a fixed fee to you at every transfer of this NFT. Just add transfer (of ETH, or an ERC-20/1155) to it. It is nearly impossible to get a transaction percentage every time a token is traded: Suppose somebody buys your token on Uniswap. Then your token receives from a Uniswap a message to be transferred. The token can ...


2

As explained in the r/1inch post here, in my example from Step 5 above, as the staked liquidity approaches $1.5B, the APY would decrease due to the increased supply, assuming the trade volume remains constant. Rewards for Top 10 Liquidity Pools Looking at the current Top 10 liquidity pools (LPs) in terms of liquidity volume, the total liquidity is $2B, with ...


2

I think this question will be closed as off-topic as it's a question about Cardano. (Please ask on a Cardano forum.) Just to clear one thing up: Why doesn't Uniswap (a decentralized exchange) list anything Cardano-related? Uniswap is a smart contract on the Ethereum blockchain. It has no knowledge that Cardano exists. (See the first question in their FAQ: ...


2

There are three fees that apply when you make a trade on Uniswap. I don't know which fee you are referring to so I will break them all down. Gas fee. This is the fee that you pay so that miners will include your transaction in a block. The gas fees have been very high lately simply because a lot of people are using Ethereum blockchain and there is only a ...


2

I've notived at least 2 different ways of doing it. Binance will send and keep a small Eth balance in the deposit address. They will use that Eth to send the tokens from the deposit wallet to the exchange hot wallet. Kraken uses contracts as deposits accounts instead of EOA. There is no Eth balance in those deposit contracts. Edit: The hot wallet calls a ...


2

Prices are set by the market. The best practice is to set the price to its fair value on the market. If there is no market yet, you have to evaluate it. This is basically what investment banks will do before a stock IPO. It's very hard to do and their army of finance professionals often screw up anyways. All in all, it is not an Ethereum question, but an ...


1

Before Uniswap had DAO, it was controlled by the team that built the software. Uniswap existed but the DAO did not exist. Later, the ownership is moved to the DAO, so that the DAO can set the control parameters for Uniswap smart contract. I am not sure if the control change has actually happened yet and all the keys are still controlled by the dev team.


1

First, if you want to exchange crypto for fiat it's not possible to do this in a decentralized way. If your concern is KYC then some options are more private than others. There is always the option of using a major exchange like Binance and Kraken, but there will be quite a bit of verification involved here. Other option is to do this peer-to-peer (P2P) ...


1

You can try localcryptos.com, which is a non-custodial crypto marketplace where people buy and sell crypto on their own terms, using any payment method (so it's a kind of peer-to-peer marketplace).


1

Update: I had an invalid ABI imported. Please make sure that your ABI code is wrapped within [].


1

Transaction fee is composed calculated as follows: gas amount * gas price = fee. The gas price is something you decide when you send the transaction - basically it says how much you are willing to pay to get your transaction processed. The fees are very high currently because many people are willing to pay a big gas price to get their transaction processed (...


1

I dont know about the smart contract itself. ForkDelta is a fork of EtherDelta. The web interface is hosted at: https://forkdelta.github.io/ the Github repo is here: https://github.com/forkdelta although, I think this is just a fork of an interface for the smart contract, not a fork of the smart contract itself but it might give you somewhere to look.


1

A dex protocol is made up of smart contracts. So the 'standard wallet' would need suitable UI to interact with the underlying functionality of the smart contracts for the dex protocol to be integrated into the wallet. There are many examples of dex protocols out there in the wildness, have a look at ether delta: https://github.com/etherdelta/smart_contract/...


Only top voted, non community-wiki answers of a minimum length are eligible