Co-Founder @credshields | Building https://t.co/CQ9JKbhpmw
Ex Security Analyst @Hacker0x01 | @Derivdotcom | Team Lead @cobalt_io
Reach me out hi@shashank.co
Nov 1, 2022 • 7 tweets • 3 min read
Blockchain & Smart Contract Security #19 1/7 Incorrect Inheritance Order in Smart Contracts and understanding the Diamond Problem.
A thread and a blog by @SolidityScan
#security#SmartContract#blockchain#SOLIDITY2/7 Solidity allows for multiple inheritances, including polymorphism. A function call, whether internal or external, will always execute the function with the same name (and set of parameter types) in the most derived contract in the tree of inheritance.
Oct 17, 2022 • 12 tweets • 5 min read
In past 2 months I wrote a lot about Smart Contract and Blockchain security. Here is the recap of @SolidityScan blogs. RT if you find it valuable :)
A thread 1/12
Blockchain & Smart Contract Security #11 1/9 Secure Account Existence check for Low-level Calls
A thread and a blogpost @SolidityScan Also read about "King of Ethers" contract hack.
#blockchain#security#smartcontracts#SOLIDITY2/9 What are low-level calls?
Low-level calls are methods that work on raw addresses to call other contracts' functions in Solidity. "call", "delegatecall", "callcode", "send", "transfer", etc are some examples of low-level functions