Skip to content

Instantly share code, notes, and snippets.

@mverzilli
Created August 26, 2022 10:34
Show Gist options
  • Save mverzilli/4ca0380259ee538f7bce7138e256b2d5 to your computer and use it in GitHub Desktop.
Save mverzilli/4ca0380259ee538f7bce7138e256b2d5 to your computer and use it in GitHub Desktop.
{
"_format": "hh-sol-artifact-1",
"contractName": "WithImmAddr",
"sourceName": "contracts/WithImmAddr.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "initialValue",
"type": "uint256"
},
{
"internalType": "address",
"name": "initialDeployer",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "deployer",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"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": "0x60c060405234801561001057600080fd5b5060405161034a38038061034a833981810160405281019061003291906100a2565b81608081815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050610148565b6000815190506100878161011a565b92915050565b60008151905061009c81610131565b92915050565b600080604083850312156100b557600080fd5b60006100c38582860161008d565b92505060206100d485828601610078565b9150509250929050565b60006100e9826100f0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b610123816100de565b811461012e57600080fd5b50565b61013a81610110565b811461014557600080fd5b50565b60805160a05160601c6101d6610174600039600060ee01526000818160a2015260c801526101d66000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80633fa4f24514610046578063cfae321714610064578063d5f3948814610082575b600080fd5b61004e6100a0565b60405161005b9190610149565b60405180910390f35b61006c6100c4565b6040516100799190610149565b60405180910390f35b61008a6100ec565b604051610097919061012e565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b61011981610164565b82525050565b61012881610196565b82525050565b60006020820190506101436000830184610110565b92915050565b600060208201905061015e600083018461011f565b92915050565b600061016f82610176565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600081905091905056fea264697066735822122019e60a01cf6e44aa13e83192d297b8590fa9c9e29c913ce1414b4ded452ec4a064736f6c63430008020033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80633fa4f24514610046578063cfae321714610064578063d5f3948814610082575b600080fd5b61004e6100a0565b60405161005b9190610149565b60405180910390f35b61006c6100c4565b6040516100799190610149565b60405180910390f35b61008a6100ec565b604051610097919061012e565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b61011981610164565b82525050565b61012881610196565b82525050565b60006020820190506101436000830184610110565b92915050565b600060208201905061015e600083018461011f565b92915050565b600061016f82610176565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600081905091905056fea264697066735822122019e60a01cf6e44aa13e83192d297b8590fa9c9e29c913ce1414b4ded452ec4a064736f6c63430008020033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment