mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Indicate what the abbreviation ABI stands for in the ABI documentation
This commit is contained in:
parent
e289c36158
commit
1e7d44d31c
@ -9,7 +9,7 @@ Application Binary Interface Specification
|
|||||||
Basic Design
|
Basic Design
|
||||||
============
|
============
|
||||||
|
|
||||||
The Application Binary Interface is the standard way to interact with contracts in the Ethereum ecosystem, both
|
The Application Binary Interface (ABI) is the standard way to interact with contracts in the Ethereum ecosystem, both
|
||||||
from outside the blockchain and for contract-to-contract interaction. Data is encoded according to its type,
|
from outside the blockchain and for contract-to-contract interaction. Data is encoded according to its type,
|
||||||
as described in this specification. The encoding is not self describing and thus requires a schema in order to decode.
|
as described in this specification. The encoding is not self describing and thus requires a schema in order to decode.
|
||||||
|
|
||||||
@ -582,4 +582,4 @@ Note that constants will be packed using the minimum number of bytes required to
|
|||||||
This means that, for example, ``abi.encodePacked(0) == abi.encodePacked(uint8(0)) == hex"00"`` and
|
This means that, for example, ``abi.encodePacked(0) == abi.encodePacked(uint8(0)) == hex"00"`` and
|
||||||
``abi.encodePacked(0x12345678) == abi.encodePacked(uint32(0x12345678)) == hex"12345678"``.
|
``abi.encodePacked(0x12345678) == abi.encodePacked(uint32(0x12345678)) == hex"12345678"``.
|
||||||
|
|
||||||
If padding is needed, explicit type conversions can be used: ``abi.encodePacked(uint16(0x12)) == hex"0012"``.
|
If padding is needed, explicit type conversions can be used: ``abi.encodePacked(uint16(0x12)) == hex"0012"``.
|
||||||
|
Loading…
Reference in New Issue
Block a user