Skip to content

Commit

Permalink
Merge branch '4.x' into 6220-add-method-decodeabi-to-method-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba authored Apr 7, 2024
2 parents 0b4c2d6 + 5a579fa commit 27da7ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/docs/glossary/json_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,24 +62,24 @@ contract Test {
```json title='Resulting JSON ABI'
[
{
"type": "constructor"
"type": "constructor",
"stateMutability": "nonpayable",
"inputs": [{"internalType":"uint256","name":"testInt","type":"uint256"}],
},
{
"type": "event"
"type": "event",
"name": "Event",
"inputs": [{"indexed":true,"internalType":"uint256","name":"b","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"c","type":"bytes32"}],
"anonymous": false,
},
{
"type": "event"
"type": "event",
"name": "Event2",
"inputs": [{"indexed":true,"internalType":"uint256","name":"b","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"c","type":"bytes32"}],
"anonymous": false,
},
{
"type": "function"
"type": "function",
"name": "foo",
"stateMutability": "nonpayable",
"inputs": [{"internalType":"uint256","name":"b","type":"uint256"},{"internalType":"bytes32","name":"c","type":"bytes32"}],
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/guides/smart_contracts/infer_contract_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ To use this script, just create an `artifacts.json` file at the root of your pro

```json title='artifacts.json'
[
'@openzeppelin/contracts/build/contracts/ERC20.json',
'@openzeppelin/contracts/build/contracts/ERC1155.json',
'./build/contracts/MyContract.json'
"@openzeppelin/contracts/build/contracts/ERC20.json",
"@openzeppelin/contracts/build/contracts/ERC1155.json",
"./build/contracts/MyContract.json"
]
```

Expand Down

0 comments on commit 27da7ac

Please sign in to comment.