Corrections 3:52 - Tick should be storage 0:00 - Intro 0:20 - State variable ticks 0:50 - Tick Info struct 2:13 - Tick update function 5:22 - Tick flipped 7:06 - Update tick info initialized and liquidity gross 7:56 - Tick info liquidity net 9:55 - Tick clear 10:31 - Fix code errors 10:44 - Call ticks update inside updatePosition 12:24 - Call ticks clear inside updatePosition 13:08 - Outro Code github.com/t4sk/clamm Take a course www.smartcontract.engineer/
@thetechnofeak Жыл бұрын
when do u think i should learn defi , im currently doing solidity and learning security practices
@김민섭-h1s7 ай бұрын
Thank you for your kind video. I have a question with 7:32 code. At the "Info" struct, you declared the variable as "initialized" but you are assigning true at "initialize". It's weird that the compiler isn't emitting error from your video. Although this video is been a while, it would be great help if you let me know the correct answer ☺
@smartcontractprogrammer7 ай бұрын
I don't remember but I might have fixed the typo during recording but didn't include the fix in the video
@wintersn899 Жыл бұрын
Thank you SCE, could you please tell me what app do you use to draw ? I would love to use it for work as well
@smartcontractprogrammer Жыл бұрын
excalidraw.com/
@TadhgRiordan Жыл бұрын
Is there a way to find the optimal tick selection for maximum fees earned through LP?