How to calculate price of ETH from sqrtPriceX96 in Uniswap V3 USDC / ETH pool.
0:00 - Intro
1:09 - What is P?
1:39 - Example price of USDC in terms of ETH
4:21 - Example price of ETH in terms of USDC
6:28 - Price of ETH from sqrtPriceX96
7:40 - Example price of ETH from sqrtPriceX96
Uniswap USDC / ETH pool
https://etherscan.io/address/0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8#readContract
Notes
https://github.com/stakewithus/notes
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
#Solidity #SmartContract #Ethereum #スマートコントラクト
...
https://www.youtube.com/watch?v=hKhdQl126Ys
Learn how to use arrays in Solidity.
Code: https://solidity-by-example.org/array/
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=Vx0AoK7Vauw
Example of how dynamic size arrays are stored in EVM storage
0:00 Intro
3:18 Example function
5:33 Execute function
Code
https://solidity-by-example.org/evm/storage/
Take a course
https://www.smartcontract.engineer/
Remix
https://remix.ethereum.org
#Solidity #SmartContract #Ethereum #スマートコントラクト
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=FUhimQzhk3w
How to calculate tick from sqrtPriceX96 in Uniswap V3?
Code
https://github.com/t4sk/clamm
Take a course
https://www.smartcontract.engineer/
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=YNeWPe8HIrQ