Las funciones definen la interfaz ejecutable de un contrato de Solidity. Incluyen parámetros y valores de retorno opcionales, y están anotados con: (1) visibilidad (quién puede llamar), (2) mutabilidad de estado (ver/puro/pagable) y (3) modificadores opcionales y comportamiento de anulación (en herencia). Estas anotaciones influyen tanto en el razonamiento de seguridad como en la codificación/decodificación ABI para llamadas externas.

Visibilidad: pública/privada/interna/externa
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.