Bitwise Operators | Solidity 0.8

  Рет қаралды 5,221

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Пікірлер: 22
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
0:10 - and 1:30 - or 2:49 - xor 4:27 - not 5:28 - shift left 6:53 - shift right 8:13 - Remix demo 10:05 - Code challenge - get last N bits 13:33 - Get last N bits using mod Code solidity-by-example.org/bitwise/ Take a course www.smartcontract.engineer/
@Ahmad_Faraz_web3Dev
@Ahmad_Faraz_web3Dev Жыл бұрын
Simple ,to the point and amazing content.
@LincolnAbraham-br3gk
@LincolnAbraham-br3gk 6 ай бұрын
It's so clear, thanks!
@amey9719
@amey9719 2 жыл бұрын
Thank you so much for these videos ❤
@meka4996
@meka4996 Жыл бұрын
You are on fire!
@bhok5228
@bhok5228 2 жыл бұрын
Thanks for this top content
@adityabhattad4614
@adityabhattad4614 2 жыл бұрын
Just know that you are awesome!
@Ts2pc
@Ts2pc 2 жыл бұрын
Interesting, It is totally new for me. Thanks a lot!
@pablog80
@pablog80 2 жыл бұрын
Very interesting indeed. Now, a newbie question: I have studied quite a few contracts and I cannot figure where these operations may be needed. Any example, please?
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
github.com/Uniswap/v3-core/blob/main/contracts/libraries/TickBitmap.sol
@aboutikareda1565
@aboutikareda1565 Жыл бұрын
​@@smartcontractprogrammer or to solve Gatekeeper One from Ethernaut 😃Thank you for your videos.
@alex-dk2rj
@alex-dk2rj 2 жыл бұрын
8:32 think you meant to type 11 😬
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
Nice catch
@vishalkulkarni3977
@vishalkulkarni3977 2 жыл бұрын
thank you can you make video on banchor v2 protocol which reduces the impermanent loss
@smartcontractprogrammer
@smartcontractprogrammer 2 жыл бұрын
no, I heard they temporary stopped their impermanent loss protection
@zacharysnyder3905
@zacharysnyder3905 2 жыл бұрын
Can you please give me an update on IERC20 please? I made a code that uses IERC20, but I put everything in correctly. I made the IERC20 code. And I have imported it in, and have used it in my code, but it is underlined red? I just don’t get why that is happening.
@alex-dk2rj
@alex-dk2rj 2 жыл бұрын
What’s the error
@zacharysnyder3905
@zacharysnyder3905 2 жыл бұрын
@@alex-dk2rj It’s just underlining the IERC20 red. But, I don’t get what the error is. So, I am just going to put the things in the code to fix it.
@alex-dk2rj
@alex-dk2rj 2 жыл бұрын
@@zacharysnyder3905 should give you some error if you hover? did you implement all the methods and the function signatures match? Or is the error from sollint?
@zacharysnyder3905
@zacharysnyder3905 2 жыл бұрын
@@alex-dk2rj I don’t think so, but I have just deleted the IERC20 code. Now, I have just turned it into events that have indexed variables in them. Here is a sharing for what I mean: contract ________ { event Deposit (address indexed sender, uint amount); event Submit (address indexed txId); event Approve (address indexed owner, uint indexed txId); event Revoke (address indexed owner, uint indexed txId); event Execute (uint indexed txId); } Do you see where I am going with this? I think it will just be less complicated for me, so I don’t have to do a lot more work.
@alex-dk2rj
@alex-dk2rj 2 жыл бұрын
@@zacharysnyder3905 not exactly sure what you’re trying to do but did you import the IERC20 interface properly?
Most Significant Bit using Binary Search Code | Solidity 0.8
4:32
Smart Contract Programmer
Рет қаралды 3,7 М.
Crowd Fund | Solidity 0.8
20:58
Smart Contract Programmer
Рет қаралды 13 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
CPU Scheduling (II)
9:13
Starlang Yazılım
Рет қаралды 7
Most Significant Bit in Assembly | Solidity 0.8
10:07
Smart Contract Programmer
Рет қаралды 3 М.
JavaScript Bitwise Operators
9:26
Programming with Mosh
Рет қаралды 104 М.
Solidity: Bitwise Operators Explained with Examples
14:38
EatTheBlocks
Рет қаралды 2 М.
Gas Golf | Solidity 0.8
6:26
Smart Contract Programmer
Рет қаралды 10 М.
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 101 М.
Multi Sig Wallet | Solidity 0.8
19:22
Smart Contract Programmer
Рет қаралды 28 М.
Constant Product Automated Market Maker | Solidity 0.8
30:01
Smart Contract Programmer
Рет қаралды 9 М.
Time Lock | Solidity 0.8
21:09
Smart Contract Programmer
Рет қаралды 16 М.