#solidity

9 posts found.

  1. How to Extend Builtin Types in Solidity

    October 31, 2022
    In Solidity, there is a way to extend builtin types with using A for B directive. Please note that the extention is active only within the current scope, meani…
  2. require v.s. assert in Solidity

    October 30, 2022
    There are two usual ways to handle error in Solidity: require and assert. To summarise, the biggest difference between require and assert is that what develope…
  3. Function Modifier in Solidity

    October 28, 2022
    In Solidity, Function Modifiers can be used to inject business logics into other functions in a declarative way. You can think of it like one of the Decorator …
  4. Compare Strings in Solidity

    October 27, 2022
    In most programming languates, it is fairly easy to compare equality of strings. However, Solidity does not come with native functions to compare the strings. …

Relevant tags

1 relevant tags with #solidity: