Ethereum Smart Contract Programming
Solidity Basic
External visibility level
Through this type of keyword government can capture all record of transaction in any bank contract.
Ethereum Smart Contract Programming
Solidity Basic
Internal visibility
By using this keyword we can intract different functions internally in bank contract .
Ethereum Smart Contract Programming
Solidity Basic
INHERITANCE
Due to inhertance function We can use one contract in many other contract and many time we want in bank contract
Ethereum Smart Contract Programming
Solidity Basic
PAYABLE
This function is use to send any currency, token and token to the Smart contract.
MSG.VALUE
It is use to send real currency, crypto or Ethereum at the time of transaction in bank contract.
Ethereum Smart Contract Programming
Solidity Basic
ASSERT
Assert is use to check internal error of bank contract,like balance of sender before transaction and after transaction
Ethereum Smart Contract Programming
Solidity Basic
Collecting different data type like (strings, uint mapping)in same place with same name is called struct
Ethereum Smart Contract Programming
Solidity Basic
msg.sender use in Solidity as a Address who deploy the function of contract .It give account Address of anyone who deploy.