mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed typos
This commit is contained in:
parent
f39cf7be41
commit
58778be567
@ -711,8 +711,8 @@ Function Names
|
|||||||
Functions should use mixedCase. Examples: ``getBalance``, ``transfer``, ``verifyOwner``, ``addMember``, ``changeOwner``.
|
Functions should use mixedCase. Examples: ``getBalance``, ``transfer``, ``verifyOwner``, ``addMember``, ``changeOwner``.
|
||||||
|
|
||||||
|
|
||||||
Function Arguments Names
|
Function Argument Names
|
||||||
========================
|
=======================
|
||||||
|
|
||||||
Function arguments should use mixedCase. Examples: ``initialSupply``, ``account``, ``recipientAddress``, ``senderAddress``, ``newOwner``.
|
Function arguments should use mixedCase. Examples: ``initialSupply``, ``account``, ``recipientAddress``, ``senderAddress``, ``newOwner``.
|
||||||
|
|
||||||
@ -720,8 +720,8 @@ When writing library functions that operate on a custom struct, the struct
|
|||||||
should be the first argument and should always be named ``self``.
|
should be the first argument and should always be named ``self``.
|
||||||
|
|
||||||
|
|
||||||
Local and State Variables Names
|
Local and State Variable Names
|
||||||
===============================
|
==============================
|
||||||
|
|
||||||
Use mixedCase. Examples: ``totalSupply``, ``remainingSupply``, ``balancesOf``, ``creatorAddress``, ``isPreSale``, ``tokenExchangeRate``.
|
Use mixedCase. Examples: ``totalSupply``, ``remainingSupply``, ``balancesOf``, ``creatorAddress``, ``isPreSale``, ``tokenExchangeRate``.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user