Solidity

Solidity is a language used for smart contracts on several blockchains, including ethereum.

Structure

It is a good guideline to strcutre functions that interact with other contracts in three phases

  1. check conditions
  2. perform actions (possibly changing the conditions)
  3. Interact with the other contracts

Keywords