embark/test_apps/contracts_app/build/contracts/SimpleStorage.json

163 lines
9.3 KiB
JSON

{
"contract_name": "SimpleStorage",
"address": "0xf400925155a8ED845a15b3f1c4C4984f31645A07",
"code": "6060604052341561000f57600080fd5b60405160208061042f8339810160405280805160008054600160a060020a033316600160a060020a031990911617905560015550506103dc806100536000396000f3006060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100845780634f829ee8146100a957806360fe47b1146100c25780636d4ce63c146100d85780638da5cb5b146100eb578063e93314ab1461011a578063f2fde38b146101a4575b005b341561008f57600080fd5b6100976101c3565b60405190815260200160405180910390f35b34156100b457600080fd5b6100826004356024356101c9565b34156100cd57600080fd5b6100826004356101ea565b34156100e357600080fd5b61009761024c565b34156100f657600080fd5b6100fe610252565b604051600160a060020a03909116815260200160405180910390f35b341561012557600080fd5b61012d610261565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610169578082015183820152602001610151565b50505050905090810190601f1680156101965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101af57600080fd5b610082600160a060020a03600435166102a2565b60015481565b60005433600160a060020a039081169116146101e457600080fd5b50600155565b600181905560005b6103e881101561020a576001805482018155016101f2565b610248600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f8565b5050565b60015490565b600054600160a060020a031681565b61026961039e565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bd57600080fd5b600160a060020a038116156102f5576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035f578082015183820152602001610347565b50505050905090810190601f16801561038c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a72305820c1392e5be5a697e3c0ef80454e6a446d7538c99f99e839afa0b820ab6bca35d30029",
"runtime_bytecode": "6060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100845780634f829ee8146100a957806360fe47b1146100c25780636d4ce63c146100d85780638da5cb5b146100eb578063e93314ab1461011a578063f2fde38b146101a4575b005b341561008f57600080fd5b6100976101c3565b60405190815260200160405180910390f35b34156100b457600080fd5b6100826004356024356101c9565b34156100cd57600080fd5b6100826004356101ea565b34156100e357600080fd5b61009761024c565b34156100f657600080fd5b6100fe610252565b604051600160a060020a03909116815260200160405180910390f35b341561012557600080fd5b61012d610261565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610169578082015183820152602001610151565b50505050905090810190601f1680156101965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101af57600080fd5b610082600160a060020a03600435166102a2565b60015481565b60005433600160a060020a039081169116146101e457600080fd5b50600155565b600181905560005b6103e881101561020a576001805482018155016101f2565b610248600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f8565b5050565b60015490565b600054600160a060020a031681565b61026961039e565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bd57600080fd5b600160a060020a038116156102f5576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035f578082015183820152602001610347565b50505050905090810190601f16801561038c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a72305820c1392e5be5a697e3c0ef80454e6a446d7538c99f99e839afa0b820ab6bca35d30029",
"real_runtime_bytecode": "6060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100845780634f829ee8146100a957806360fe47b1146100c25780636d4ce63c146100d85780638da5cb5b146100eb578063e93314ab1461011a578063f2fde38b146101a4575b005b341561008f57600080fd5b6100976101c3565b60405190815260200160405180910390f35b34156100b457600080fd5b6100826004356024356101c9565b34156100cd57600080fd5b6100826004356101ea565b34156100e357600080fd5b61009761024c565b34156100f657600080fd5b6100fe610252565b604051600160a060020a03909116815260200160405180910390f35b341561012557600080fd5b61012d610261565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610169578082015183820152602001610151565b50505050905090810190601f1680156101965780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101af57600080fd5b610082600160a060020a03600435166102a2565b60015481565b60005433600160a060020a039081169116146101e457600080fd5b50600155565b600181905560005b6103e881101561020a576001805482018155016101f2565b610248600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f8565b5050565b60015490565b600054600160a060020a031681565b61026961039e565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bd57600080fd5b600160a060020a038116156102f5576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035f578082015183820152602001610347565b50505050905090810190601f16801561038c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a72305820c1392e5be5a697e3c0ef80454e6a446d7538c99f99e839afa0b820ab6bca35d30029",
"swarm_hash": "c1392e5be5a697e3c0ef80454e6a446d7538c99f99e839afa0b820ab6bca35d3",
"gas_estimates": {
"creation": {
"codeDepositCost": "197600",
"executionCost": "40658",
"totalCost": "238258"
},
"external": {
"": "214",
"get()": "439",
"getS()": "infinite",
"owner()": "614",
"set(uint256)": "infinite",
"set2(uint256,uint256)": "20473",
"storedData()": "373",
"transferOwnership(address)": "21043"
}
},
"function_hashes": {
"get()": "6d4ce63c",
"getS()": "e93314ab",
"owner()": "8da5cb5b",
"set(uint256)": "60fe47b1",
"set2(uint256,uint256)": "4f829ee8",
"storedData()": "2a1afcd9",
"transferOwnership(address)": "f2fde38b"
},
"abi": [
{
"constant": true,
"inputs": [],
"name": "storedData",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x2a1afcd9"
},
{
"constant": false,
"inputs": [
{
"name": "x",
"type": "uint256"
},
{
"name": "unusedGiveWarning",
"type": "uint256"
}
],
"name": "set2",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x4f829ee8"
},
{
"constant": false,
"inputs": [
{
"name": "x",
"type": "uint256"
}
],
"name": "set",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x60fe47b1"
},
{
"constant": true,
"inputs": [],
"name": "get",
"outputs": [
{
"name": "retVal",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x6d4ce63c"
},
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"signature": "0x8da5cb5b"
},
{
"constant": true,
"inputs": [],
"name": "getS",
"outputs": [
{
"name": "d",
"type": "string"
}
],
"payable": false,
"stateMutability": "pure",
"type": "function",
"signature": "0xe93314ab"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xf2fde38b"
},
{
"inputs": [
{
"name": "initialValue",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor",
"signature": "constructor"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
}
]
}