Skip to content

Instantly share code, notes, and snippets.

@mverzilli
Created August 26, 2022 10:36
Show Gist options
  • Save mverzilli/0d03becbe42c9281014c3553afe01c0d to your computer and use it in GitHub Desktop.
Save mverzilli/0d03becbe42c9281014c3553afe01c0d to your computer and use it in GitHub Desktop.
{
"_format": "hh-sol-artifact-1",
"contractName": "WithConst",
"sourceName": "contracts/WithConst.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "initialValue",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "greet",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "value",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5060405161018c38038061018c83398181016040528101906100329190610054565b806000819055505061009e565b60008151905061004e81610087565b92915050565b60006020828403121561006657600080fd5b60006100748482850161003f565b91505092915050565b6000819050919050565b6100908161007d565b811461009b57600080fd5b50565b60e0806100ac6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80633fa4f245146037578063cfae3217146051575b600080fd5b603d606b565b604051604891906087565b60405180910390f35b60576071565b604051606291906087565b60405180910390f35b60005481565b60008054905090565b60818160a0565b82525050565b6000602082019050609a6000830184607a565b92915050565b600081905091905056fea2646970667358221220e653eb26353d1e33b6e4d11c1ac1d467cbff1f240c7ab78f0ff099a6f6711cba64736f6c63430008020033",
"deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c80633fa4f245146037578063cfae3217146051575b600080fd5b603d606b565b604051604891906087565b60405180910390f35b60576071565b604051606291906087565b60405180910390f35b60005481565b60008054905090565b60818160a0565b82525050565b6000602082019050609a6000830184607a565b92915050565b600081905091905056fea2646970667358221220e653eb26353d1e33b6e4d11c1ac1d467cbff1f240c7ab78f0ff099a6f6711cba64736f6c63430008020033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment