163 lines
9.3 KiB
JSON
163 lines
9.3 KiB
JSON
{
|
|
"contract_name": "SimpleStorage",
|
|
"address": "0xbA43cfc248f026765Ce3076bDa8B932FE7BA9E17",
|
|
"code": "6060604052341561000f57600080fd5b60405160208061042d8339810160405280805160008054600160a060020a033316600160a060020a031990911617905560015550506103da806100536000396000f300606060405236156100805763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100825780634f829ee8146100a757806360fe47b1146100c05780636d4ce63c146100d65780638da5cb5b146100e9578063e93314ab14610118578063f2fde38b146101a2575b005b341561008d57600080fd5b6100956101c1565b60405190815260200160405180910390f35b34156100b257600080fd5b6100806004356024356101c7565b34156100cb57600080fd5b6100806004356101e8565b34156100e157600080fd5b61009561024a565b34156100f457600080fd5b6100fc610250565b604051600160a060020a03909116815260200160405180910390f35b341561012357600080fd5b61012b61025f565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561016757808201518382015260200161014f565b50505050905090810190601f1680156101945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ad57600080fd5b610080600160a060020a03600435166102a0565b60015481565b60005433600160a060020a039081169116146101e257600080fd5b50600155565b600181905560005b6103e8811015610208576001805482018155016101f0565b610246600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f6565b5050565b60015490565b600054600160a060020a031681565b61026761039c565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bb57600080fd5b600160a060020a038116156102f3576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035d578082015183820152602001610345565b50505050905090810190601f16801561038a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a723058206bcde2c3a4cf689ece10c413be63964fef8fc035e4668441e53765fc2b5f61910029",
|
|
"runtime_bytecode": "606060405236156100805763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100825780634f829ee8146100a757806360fe47b1146100c05780636d4ce63c146100d65780638da5cb5b146100e9578063e93314ab14610118578063f2fde38b146101a2575b005b341561008d57600080fd5b6100956101c1565b60405190815260200160405180910390f35b34156100b257600080fd5b6100806004356024356101c7565b34156100cb57600080fd5b6100806004356101e8565b34156100e157600080fd5b61009561024a565b34156100f457600080fd5b6100fc610250565b604051600160a060020a03909116815260200160405180910390f35b341561012357600080fd5b61012b61025f565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561016757808201518382015260200161014f565b50505050905090810190601f1680156101945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ad57600080fd5b610080600160a060020a03600435166102a0565b60015481565b60005433600160a060020a039081169116146101e257600080fd5b50600155565b600181905560005b6103e8811015610208576001805482018155016101f0565b610246600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f6565b5050565b60015490565b600054600160a060020a031681565b61026761039c565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bb57600080fd5b600160a060020a038116156102f3576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035d578082015183820152602001610345565b50505050905090810190601f16801561038a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a723058206bcde2c3a4cf689ece10c413be63964fef8fc035e4668441e53765fc2b5f61910029",
|
|
"real_runtime_bytecode": "606060405236156100805763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632a1afcd981146100825780634f829ee8146100a757806360fe47b1146100c05780636d4ce63c146100d65780638da5cb5b146100e9578063e93314ab14610118578063f2fde38b146101a2575b005b341561008d57600080fd5b6100956101c1565b60405190815260200160405180910390f35b34156100b257600080fd5b6100806004356024356101c7565b34156100cb57600080fd5b6100806004356101e8565b34156100e157600080fd5b61009561024a565b34156100f457600080fd5b6100fc610250565b604051600160a060020a03909116815260200160405180910390f35b341561012357600080fd5b61012b61025f565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561016757808201518382015260200161014f565b50505050905090810190601f1680156101945780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101ad57600080fd5b610080600160a060020a03600435166102a0565b60015481565b60005433600160a060020a039081169116146101e257600080fd5b50600155565b600181905560005b6103e8811015610208576001805482018155016101f0565b610246600160408051908101604052600281527f686900000000000000000000000000000000000000000000000000000000000060208201526102f6565b5050565b60015490565b600054600160a060020a031681565b61026761039c565b60408051908101604052600581527f68656c6c6f0000000000000000000000000000000000000000000000000000006020820152905090565b60005433600160a060020a039081169116146102bb57600080fd5b600160a060020a038116156102f3576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b7fd204e27263771793b3472e4c07118500eb1ab892c2b2f0a4b90b33c33d4df42f8282604051821515815260406020820181815290820183818151815260200191508051906020019080838360005b8381101561035d578082015183820152602001610345565b50505050905090810190601f16801561038a5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b602060405190810160405260008152905600a165627a7a723058206bcde2c3a4cf689ece10c413be63964fef8fc035e4668441e53765fc2b5f61910029",
|
|
"swarm_hash": "6bcde2c3a4cf689ece10c413be63964fef8fc035e4668441e53765fc2b5f6191",
|
|
"gas_estimates": {
|
|
"creation": {
|
|
"codeDepositCost": "197200",
|
|
"executionCost": "40658",
|
|
"totalCost": "237858"
|
|
},
|
|
"external": {
|
|
"": "211",
|
|
"get()": "436",
|
|
"getS()": "infinite",
|
|
"owner()": "611",
|
|
"set(uint256)": "infinite",
|
|
"set2(uint256,uint256)": "20470",
|
|
"storedData()": "370",
|
|
"transferOwnership(address)": "21040"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|