common-close-0
BYDFi
Trade wherever you are!
header-more-option
header-global
header-download
header-skin-grey-0

How does external solidity differ from public solidity in the world of digital currencies?

avatarMadhu PujariNov 24, 2021 · 3 years ago1 answers

Can you explain the differences between external solidity and public solidity in the context of digital currencies?

How does external solidity differ from public solidity in the world of digital currencies?

1 answers

  • avatarNov 24, 2021 · 3 years ago
    External solidity and public solidity are two function modifiers in Solidity, the programming language used for creating smart contracts on the Ethereum blockchain. External solidity is used to mark a function that can only be called from outside the contract, while public solidity allows a function to be accessed both from within the contract and from outside. This distinction is crucial in the world of digital currencies as it determines the visibility and accessibility of certain functions. By using external solidity, developers can ensure that sensitive functions are only accessible to authorized entities, providing an additional layer of security to digital currency transactions.