Index

Solidity

  1. types
  2. External
  3. Library
    1. self in Library
    2. using * for
    3. self example
  4. interfaces
  5. import
  6. msg.value
  7. Handling ether
  8. Erc20 token in contract
  9. assembly
  10. Enum
  11. memory, storage, calldata
  12. Array Pushing
  13. length in array
  14. Struct array
  15. mapping
  16. bytes and string
  17. uint to bytes32
  18. returns with name
  19. score voting
  20. Tests
    1. Async Tests
    2. Hooks

Solidity

images/540-1.png

You can have multiple contracts declared in a solidity file. We can call one contract from other contract as in this example.

images/540-2.png

images/540-3.png

You can return more than one variable.

images/540-4.png


State variables can't be external, so gives an error.
images/540-5.png


images/540-6.png


images/540-7.png


images/540-8.png


images/540-9.png


images/540-10.png


Finally, I am able to tame #solidity assembly. Thanks for the one and only awesome video.
https://twitter.com/amiya_rbehera/status/1230366328868835329?s=20