Skip to content

Instantly share code, notes, and snippets.

@emmaodia
Created December 15, 2024 10:28
Show Gist options
  • Save emmaodia/bdb9b84998b1e4f3f19d0ae27c541e63 to your computer and use it in GitHub Desktop.
Save emmaodia/bdb9b84998b1e4f3f19d0ae27c541e63 to your computer and use it in GitHub Desktop.
[
{
"inputs": [
{
"internalType": "string",
"name": "_initialName",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "oldName",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "newName",
"type": "string"
}
],
"name": "NameChanged",
"type": "event"
},
{
"inputs": [
{
"internalType": "string",
"name": "_newName",
"type": "string"
}
],
"name": "changeName",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "greet",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment