Solidity – Function Modifiers
This topic is about Solidity - Function Modifiers. Function Modifiers are used to modify the behaviour of a function. For example to add a prerequisite to a function. First we…
This topic is about Solidity - Function Modifiers. Function Modifiers are used to modify the behaviour of a function. For example to add a prerequisite to a function. First we…
This topic is about Solidity - Functions. A function is a group of reusable code which can be called anywhere in your program. This eliminates the need of writing the…
This topic is about Solidity - Style Guide. Style Guide helps to maintain code layout consistent and make code more readable. Following are the best practices following while writing contracts…
This topic is about Solidity - Special Variables. Special variables are globally available variables and provides information about the blockchain. Following is the list of special variables − Sr.No.Special Variable…
This topic is about Solidity - Ether Units. In solidity we can use wei, finney, szabo or ether as a suffix to a literal to be used to convert various…
This topic is about Solidity - Conversions. Solidity allows implicit as well as explicit conversion. Solidity compiler allows implicit conversion between two data types provided no implicit conversion is possible…
This topic is about Solidity - Mapping. Mapping is a reference type as arrays and structs. Following is the syntax to declare a mapping type. mapping(_KeyType => _ValueType) Where _KeyType −…
This topic is about Solidity - Structs. Struct types are used to represent a record. Suppose you want to keep track of your books in a library. You might want…
This topic is about Solidity - Enums. Enums restrict a variable to have one of only a few predefined values. The values in this enumerated list are called enums. With…
This topic is about Solidity - Arrays. Array is a data structure, which stores a fixed-size sequential collection of elements of the same type. An array is used to store…