How to mint UNI ?
We go to genesis. Uniswap deployer sent 1 billion UNI to Uniswap UNI token
We go to ETH/DAI pool and we focus on the following transaction.
Please click the “Add ETH and DAI” link which you show above.
Right now. We are in the etherscan world.
There are 3 transfers in this transaction.
Firstly, user sent 1953 DAI to the ETH/DAI pool. Secondly, user sent to 0,99 ETH to the ETH/DAI pool. Lastly, Uniswap sent 32,44 UNI to user.
How does UNISWAP create UNI?
This is ETH/DAI pool page. Max total supply says how much UNI can be created in this pool. This is fixed number. 913.904 !
We know that there are 28.335 ETH and 54.698.779 DAI in this pool.
54.698.779 DAI is equal to( 1 ETH=1930 DAI) 28.341 ETH .
Total ETH amount in this pool nearly 56.676 (28.335+ 28.341).
User added 0,99 ETH and 1953 DAI.
1953 DAI is equal to 1,011 ETH.
Total added ETH is 2,0019 (0,99+1,011).
The formula is (Added ETH / Total ETH) * Max. Total Supply
(2,0019/56.676)*913.904=32,28 UNI
Thanks to Hayden Adams and other team didn’t reply my questions.
Note: Add liquidity function
Dr. Engin YILMAZ
Ankara