Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IhorYermakovSecurrency/6b246d769154b145d730b98b5b61e883 to your computer and use it in GitHub Desktop.
Save IhorYermakovSecurrency/6b246d769154b145d730b98b5b61e883 to your computer and use it in GitHub Desktop.
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "age",
"type": "uint256"
},
{
"indexed": true,
"internalType": "string",
"name": "city",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
}
],
"name": "Citizen",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "age",
"type": "uint256"
},
{
"internalType": "string",
"name": "city",
"type": "string"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "someNote",
"type": "string"
}
],
"name": "addCitizen",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "getNoteByCitizenId",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment