abigen: solidity

This commit is contained in:
Nasfame 2024-02-05 15:28:48 +05:30
parent a88fc64d8c
commit 3aaeb4e734
No known key found for this signature in database
GPG key ID: C9FB9DF973DC5C96

View file

@ -17,7 +17,7 @@ Ethereum smart contracts have a schema that defines its functions and return typ
To demonstrate the binding generator a contract is required. The contract `Storage.sol` implements two very simple functions: `store` updates a user-defined `uint256` to the contract's storage, and `retrieve` displays the value stored in the contract to the user. The Solidity code is as follows: To demonstrate the binding generator a contract is required. The contract `Storage.sol` implements two very simple functions: `store` updates a user-defined `uint256` to the contract's storage, and `retrieve` displays the value stored in the contract to the user. The Solidity code is as follows:
```js ```solidity
// SPDX-License-Identifier: GPL-3.0 // SPDX-License-Identifier: GPL-3.0
pragma solidity >0.7.0 < 0.9.0; pragma solidity >0.7.0 < 0.9.0;