Update abi-spec.rst

This commit is contained in:
Reham Mohamed 2023-08-27 02:58:27 +03:00 committed by GitHub
parent 37e18612c5
commit b9930b1390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,11 @@
.. index:: abi, application binary interface
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.9.0;
contract HelloWorld {
function helloWorld() external pure returns (string memory) {
return "Hello, World!";
}
}.. index:: abi, application binary interface
.. _ABI: