You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sentence: If external function types are used outside of the context of Solidity, they are treated as the function type, which encodes the address followed by the function identifier together in a single bytes24 type.
code: event NewRequest(uint);
and emit NewRequest(requests.length - 1)
In Operators Involving LValues - delete subsection
paragraph: There is also a third data location, calldata, which is a non-modifiable, non-persistent area where function arguments are stored. Function parameters (not return parameters) of external functions are forced to calldata and behave mostly like memory.
A: in Array, calldata is ROM
Types
(https://github.com/arrayio/array-io-solidity/blob/master/types.rst#types)
A: we don't support all bellow (1-10)
Fixed Point Numbers (fixed point numbers until 'Address' section)
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#fixed-point-numbers
Members of addresses (first Warning and a second Note in the section)
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#members-of-addresses
Fixed-sized byte arrays
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#fixed-size-byte-arrays
Dynamically-sized byte array
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#dynamically-sized-byte-array
Address literals
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#address-literals
String literals
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#string-literals
Hexadecimal literals
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#hexadecimal-literals
Enums
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#enums
In Function types:
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#function-types
Sentence: If external function types are used outside of the context of Solidity, they are treated as the function type, which encodes the address followed by the function identifier together in a single bytes24 type.
code:
event NewRequest(uint);
and
emit NewRequest(requests.length - 1)
In Operators Involving LValues - delete subsection
Data location
https://github.com/arrayio/array-io-solidity/blob/master/types.rst#data-location
A: in Array,
calldata
is ROMMembers
(https://github.com/arrayio/array-io-solidity/blob/master/types.rst#members)
m_pairsOfFlags;
delete m_aLotOfIntegers;
bytes memory b = new bytes(200);
A: doesn't exist
The text was updated successfully, but these errors were encountered: