Solidity – Inheritance
This topic is about Solidity - Inheritance. Inheritance is a way to extend functionality of a contract. Solidity supports both single as well as multiple inheritance. Following are the key…
This topic is about Solidity - Inheritance. Inheritance is a way to extend functionality of a contract. Solidity supports both single as well as multiple inheritance. Following are the key…
The Git index is a staging area between the working directory and repository. It is used to build up a set of changes that you want to commit together. To…
This topic is about Solidity - Contracts. Contract in Solidity is similar to a Class in C++. A Contract have following properties. Constructor − A special function declared with constructor keyword…
This topic is about Solidity - Restricted Access. Restricted Access to a Contract is a common practice. By Default, a contract state is read-only unless it is specified as public.…
This topic is about Solidity - Withdrawal Pattern. Withdrawal pattern ensures that direct transfer call is not made which poses a security threat. Following contract is showing the insecure use…
In Git, the repository is like a data structure used by VCS to store metadata for a set of files and directories. It contains the collection of the files as…
This toppic is about Solidity - Cryptographic Functions. Solidity provides inbuilt cryptographic functions as well. Following are important methods − keccak256(bytes memory) returns (bytes32) − computes the Keccak-256 hash of the…
This topic is about Solidity - Pure Functions. Pure functions ensure that they not read or modify the state. A function can be declared as pure. The following statements if present…
Solidity provides inbuilt mathematical functions as well. Following are heavily used methods − addmod(uint x, uint y, uint k) returns (uint) − computes (x + y) % k where the addition…
In this guide, we will discuss Git Fork. A fork is a rough copy of a repository. Forking a repository allows you to freely test and debug with changes without…