Price, Tick and Tick Spacing | Uniswap V3 Core Contract Explained - Part 1

  Рет қаралды 9,313

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Пікірлер: 14
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Code github.com/t4sk/clamm Take a course www.smartcontract.engineer/
@santoshmore2953
@santoshmore2953 Жыл бұрын
Course is free?
@hanginfty6028
@hanginfty6028 Жыл бұрын
great explanation! Uniswap V3 book also did a good job on explanation & implementation of Uniswap V3
@marcosissler
@marcosissler Жыл бұрын
Very nice and clear explanation
@metamodern7648
@metamodern7648 10 ай бұрын
0:59 dude, flashbang!
@buzzboo6442
@buzzboo6442 Жыл бұрын
Great when the next of the series?
@dtory
@dtory Жыл бұрын
Hey can you create an nft Marketplace with royalties and can trade any collection. Also if you can also make another video about arbitrage, flashloan and flashswap 😊 ❤❤
@cleverblocks6422
@cleverblocks6422 Жыл бұрын
Where did you get the tick "-200697" from ?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Uniswap V3 pool contract on mainnet
@doomtm5500
@doomtm5500 3 ай бұрын
why did u use decimals_0 = 1e18 decimals_1 = 1e6 2:03
@smartcontractprogrammer
@smartcontractprogrammer 3 ай бұрын
it's easier to see how different decimals are handled in the math
@mohammad3703
@mohammad3703 Жыл бұрын
Is this mathematics even on group contracts Pancakeswap
@Perun42
@Perun42 Жыл бұрын
Huge thak you, for your video! But i have a question, may be you can answear: I got a slightly different prices from SqrtPriceX96 and from Tick, for some reason. SqrtPriceX96 and Tick took from 'slot0' of the pool ETH/USDT (fee 500). taking Ratio from SqrtPriceX96 as so: const numerator = slot0[0].toString() ** 2 const denominator = 2 ** 192 let ratio = numerator / denominator And ratio from Tick like this: let ratio = 1.0001 ** Number(slot0[1]) From SqrtPriceX96 i got: 1.9049054350037585e-9 From Tick i got 1.9047861880217006e-9 I did not apply decimal shift to them but any way they should be the same (at least i think so) Can you help please , why it is like that? Or maybe i do something wrong?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
Check ETH is token 0 and USDT is token 1. If not do calculation with 1 / P where P = token 1 / token 0
Max Liquidity Per Tick | Uniswap V3 Core Contract Explained - Part 2
5:45
Smart Contract Programmer
Рет қаралды 7 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Uniswap V3 Explained - Concentrated Liquidity, NFT LP Tokens, Licensing…
11:44
I Was The FIRST To Game On The RTX 5090 - NVIDIA 50 Series Announcement
13:17
Lattice-based cryptography: The tricky math of dots
8:39
Chalk Talk
Рет қаралды 138 М.
Self-Driving Cars Were a Mistake
8:30
Daily Dose Of Internet
Рет қаралды 2 МЛН
What is Uniswap? (Animated) Decentralized Exchange + UNI Token
8:19
Whiteboard Crypto
Рет қаралды 238 М.
Nikki Glaser Opening Monologue | 82nd Annual Golden Globes
10:00
Golden Globes
Рет қаралды 5 МЛН
Goldman Sachs Reveals 2025 Investment Playbook for China, India and Japan
13:32