
jayesh
@jayeshy14
Blockchain Developer & Crypto Enthusiast Passionate about decentralization & financial freedom. Let's build the future together! 🚀 #Blockchain #Crypto #Bitcoin
ID: 1277666878006034432
https://linktr.ee/jayeshy14 29-06-2020 18:15:35
382 Tweet
314 Followers
1,1K Following

57/150 Ethereum Dev Interview Qs by RareSkills Q: What is a sandwich attack? A type of front-running attack in decentralized finance (DeFi), targeting Automated Market Makers (AMMs) like Uniswap. The attacker manipulates token prices by placing transactions before and

58/150 Ethereum Dev Interview Qs by RareSkills Q: If a delegatecall is made to a function that reverts, what does the delegatecall do? A delegatecall in Solidity executes a function in the target contract’s code but in the caller’s storage context (using the caller’s

60/150 Ethereum Dev Interview Qs by RareSkills Q: How large a uint can be packed with an address in one slot? -> Each storage slot in the Ethereum Virtual Machine (EVM) is 32 bytes (256 bits). -> Solidity allows packing multiple variables into a single slot if their

61/150 Ethereum Dev Interview Qs by RareSkills Q: Which operations give a partial refund of gas? In Ethereum, certain operations trigger gas refunds to incentivize reducing blockchain state size. Refunds are applied post-transaction and capped at 50% of the gas used

62/150 Ethereum Dev Interview Qs by RareSkills Q: What is ERC165 used for? ERC165 (EIP-165): A standard in Ethereum for interface detection, allowing contracts to query whether another contract supports a specific interface (e.g., ERC20, ERC721, ERC1155) before interacting

63/150 Ethereum Dev Interview Qs by RareSkills Q: If a proxy makes a delegatecall to A, and A does address(this).balance, whose balance is returned, the proxy’s or A? -> When a proxy contract makes a delegatecall to an implementation contract (A), the code in A executes in

64/150 Ethereum Dev Interview Qs by RareSkills Q: What is a slippage parameter useful for? Slippage Parameter: A setting in decentralized finance (DeFi) trading, particularly for Automated Market Makers (AMMs) like Uniswap, that specifies the maximum acceptable price
