In Solidity Gas is a fee which is required to conduct a transaction on the Ethereum blockchain. Gas prices are specified in gwei. Gwei…
Pure and View in Solidity smart contracts
Pure, view and payable dictate a Solidity functions behavior. If the behavior of a function is not specified by default…
Function modifiers in Solidity smart contracts
Function modifiers are used to change or restrict the behavior of a function in a smart contract. You can use…
Visibility in Solidity smart contracts
Declare the visibility of functions and state variables in Solidity smart contracts. When writing a smart contract a programmer can…
Functions in Solidity smart contracts
A function is a block of organized and reusable code that performs an action. Functions allow a programmer to manage…
Variables in Solidity smart contracts
Variables in Solidity smart contracts are used to store information. Think of variables as containers that hold information for use…
Constructor in Solidity smart contracts
A constructor in Solidity is a special function that is used to initialize state variables in a contract. The constructor is…
Data Types in Solidity smart contracts
Data types in Solidity represents the type of data the program is to use. The type can be numeric, alphanumeric,…