LibrariesLibraries In Solidity, a library is a collection of functions that can be reused across multiple contracts. Libraries are similar to contracts, but they are not meant to be deployed on the blockchain and do not have their own storage. Instead, the f...Apr 10, 2023·2 min read
Local Variables in SolidityLocal Variables in Solidity In Solidity, it is common to use the underscore (_) character as a prefix for local variables in function arguments or in modifier definitions. This is a convention used to differentiate between local variables and state...Apr 10, 2023·2 min read
ModifiersModifiers Modifiers in Solidity are a way to add conditions or constraints to functions or to modify their behavior. Modifiers can be used to check for preconditions before a function is executed, to restrict access to certain functions or to modif...Apr 10, 2023·3 min read
Structs In SolidityStruct In Solidity The main purpose of Struct is to group together data types and then represent as a single type called as struct. In Solidity, a struct is a user-defined data type that groups together related data variables under a single name. S...Apr 10, 2023·2 min read
Time & Units In SolidityTime & Units in Solidity Time and time units are used to represent time-based values and intervals within smart contracts. Solidity provides a number of built-in time units that can be used to express time intervals or to specify timeouts or deadli...Apr 10, 2023·2 min read
Math & Arithmetic In SolidityFloating Point Numbers & Fixed Numbers Solidity does not support native floating-point numbers. Instead, Solidity has a fixed-point number type called fixed, which represents a fixed-point decimal number with a specified number of bits allocated for...Apr 10, 2023·1 min read
Delete OperatorDelete Operator In Solidity, the delete operator is used to reset a variable to its default value. The delete operator can be used on any state variable or on an element of an array or a mapping type. When used on a variable, the delete operator re...Apr 5, 2023·2 min read