UNPKG

realitytoken-contracts

Version:
438 lines 16.1 kB
{ "contractName": "ArbitratorList", "abi": [ { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "arbitrators", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "arbitrators_", "type": "address[]" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" } ], "bytecode": "0x6060604052341561000f57600080fd5b6040516101bf3803806101bf833981016040528080519091019050600081805161003d929160200190610044565b50506100d2565b82805482825590600052602060002090810192821561009b579160200282015b8281111561009b5782518254600160a060020a031916600160a060020a039190911617825560209290920191600190910190610064565b506100a79291506100ab565b5090565b6100cf91905b808211156100a7578054600160a060020a03191681556001016100b1565b90565b60df806100e06000396000f300606060405260043610603e5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663a6430cc081146043575b600080fd5b3415604d57600080fd5b6056600435607f565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000805482908110608c57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050815600a165627a7a72305820d705cae3001831268c400741a3620e976c90b37e5fc9cb19e8486bd9d9c232d60029", "deployedBytecode": "0x606060405260043610603e5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663a6430cc081146043575b600080fd5b3415604d57600080fd5b6056600435607f565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000805482908110608c57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050815600a165627a7a72305820d705cae3001831268c400741a3620e976c90b37e5fc9cb19e8486bd9d9c232d60029", "sourceMap": "26:216:1:-;;;143:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;208:11:1;143:97;;208:26;;;;;;;;:::i;:::-;;143:97;26:216;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26:216:1;-1:-1:-1;;;;;26:216:1;;;;;;;;;;;;;-1:-1:-1;26:216:1;;;;;;;-1:-1:-1;26:216:1;;;-1:-1:-1;26:216:1;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;;26:216:1;;;;;;;;;:::o;:::-;;;;;;;", "deployedSourceMap": "26:216:1:-;;;;;;;;;;;;;;;;;;;;;;;55:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55:28:1;:::o", "source": "pragma solidity ^0.4.15;\n\ncontract ArbitratorList{\n\n address[] public arbitrators;\n\n //Constructor sets the arbitrators of the contract\n function ArbitratorList(address[] arbitrators_)\n public {\n arbitrators = arbitrators_;\n }\n}", "sourcePath": "/home/josojo/reality/subjectivocracy/contracts/ArbitratorList.sol", "ast": { "absolutePath": "/home/josojo/reality/subjectivocracy/contracts/ArbitratorList.sol", "exportedSymbols": { "ArbitratorList": [ 226 ] }, "id": 227, "nodeType": "SourceUnit", "nodes": [ { "id": 211, "literals": [ "solidity", "^", "0.4", ".15" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 226, "linearizedBaseContracts": [ 226 ], "name": "ArbitratorList", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 214, "name": "arbitrators", "nodeType": "VariableDeclaration", "scope": 226, "src": "55:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" }, "typeName": { "baseType": { "id": 212, "name": "address", "nodeType": "ElementaryTypeName", "src": "55:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 213, "length": null, "nodeType": "ArrayTypeName", "src": "55:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[] storage pointer" } }, "value": null, "visibility": "public" }, { "body": { "id": 224, "nodeType": "Block", "src": "201:39:1", "statements": [ { "expression": { "argumentTypes": null, "id": 222, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 220, "name": "arbitrators", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 214, "src": "208:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 221, "name": "arbitrators_", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 217, "src": "222:12:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, "src": "208:26:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, "id": 223, "nodeType": "ExpressionStatement", "src": "208:26:1" } ] }, "documentation": null, "id": 225, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [], "name": "ArbitratorList", "nodeType": "FunctionDefinition", "parameters": { "id": 218, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 217, "name": "arbitrators_", "nodeType": "VariableDeclaration", "scope": 225, "src": "167:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" }, "typeName": { "baseType": { "id": 215, "name": "address", "nodeType": "ElementaryTypeName", "src": "167:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 216, "length": null, "nodeType": "ArrayTypeName", "src": "167:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[] storage pointer" } }, "value": null, "visibility": "internal" } ], "src": "166:24:1" }, "payable": false, "returnParameters": { "id": 219, "nodeType": "ParameterList", "parameters": [], "src": "201:0:1" }, "scope": 226, "src": "143:97:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 227, "src": "26:216:1" } ], "src": "0:242:1" }, "legacyAST": { "absolutePath": "/home/josojo/reality/subjectivocracy/contracts/ArbitratorList.sol", "exportedSymbols": { "ArbitratorList": [ 226 ] }, "id": 227, "nodeType": "SourceUnit", "nodes": [ { "id": 211, "literals": [ "solidity", "^", "0.4", ".15" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 226, "linearizedBaseContracts": [ 226 ], "name": "ArbitratorList", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 214, "name": "arbitrators", "nodeType": "VariableDeclaration", "scope": 226, "src": "55:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" }, "typeName": { "baseType": { "id": 212, "name": "address", "nodeType": "ElementaryTypeName", "src": "55:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 213, "length": null, "nodeType": "ArrayTypeName", "src": "55:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[] storage pointer" } }, "value": null, "visibility": "public" }, { "body": { "id": 224, "nodeType": "Block", "src": "201:39:1", "statements": [ { "expression": { "argumentTypes": null, "id": 222, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 220, "name": "arbitrators", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 214, "src": "208:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 221, "name": "arbitrators_", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 217, "src": "222:12:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" } }, "src": "208:26:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, "id": 223, "nodeType": "ExpressionStatement", "src": "208:26:1" } ] }, "documentation": null, "id": 225, "implemented": true, "isConstructor": true, "isDeclaredConst": false, "modifiers": [], "name": "ArbitratorList", "nodeType": "FunctionDefinition", "parameters": { "id": 218, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 217, "name": "arbitrators_", "nodeType": "VariableDeclaration", "scope": 225, "src": "167:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr", "typeString": "address[] memory" }, "typeName": { "baseType": { "id": 215, "name": "address", "nodeType": "ElementaryTypeName", "src": "167:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 216, "length": null, "nodeType": "ArrayTypeName", "src": "167:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[] storage pointer" } }, "value": null, "visibility": "internal" } ], "src": "166:24:1" }, "payable": false, "returnParameters": { "id": 219, "nodeType": "ParameterList", "parameters": [], "src": "201:0:1" }, "scope": 226, "src": "143:97:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], "scope": 227, "src": "26:216:1" } ], "src": "0:242:1" }, "compiler": { "name": "solc", "version": "0.4.21+commit.dfe3193c.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.0", "updatedAt": "2018-05-30T03:23:23.175Z" }