#web3

10 posts found. Go back to All tags.

  1. How to Extend Builtin Types in Solidity

    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

    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

    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

    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. …