Fix 3:35 tickLower and tickUpper should be in the opposite order 0:00 - modifyPositions 0:28 - checkTicks 2:15 - Load slot0 to memory 2:50 - updatePosition 6:00 - position get 8:13 - position update 11:39 - Fix compilation errors 12:02 - Outro Code github.com/t4sk/clamm Take a course www.smartcontract.engineer/
@0xDarioSanchez8 ай бұрын
Thanks bro, your videos are awesome
@figmadraw205610 ай бұрын
why define checkTick function outside of the contract?
@smartcontractprogrammer10 ай бұрын
why not
@razinebouache246710 ай бұрын
First and foremost, a huge thank you for your videos🙏 @smartcontractprogrammer you are doing an amazing job!!!! If I'm not mistaken, this feature was introduced by Solidity starting from version 0.7.0. It allows for writing a function at the module level. This could be a way to save gas during contract deployment