@realitio/realitio-contracts
Version:
Collection of smart contracts for the Realitio fact verification platform
354 lines • 10.4 kB
JSON
{
"contractName": "IOwned",
"abi": [
{
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.25;\n\ninterface IOwned {\n function owner ( ) external view returns ( address );\n function transferOwnership ( address newOwner ) external;\n}\n",
"sourcePath": "/home/ed/working/realitio-contracts/truffle/contracts/IOwned.sol",
"ast": {
"absolutePath": "/home/ed/working/realitio-contracts/truffle/contracts/IOwned.sol",
"exportedSymbols": {
"IOwned": [
1365
]
},
"id": 1366,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1354,
"literals": [
"solidity",
"^",
"0.4",
".25"
],
"nodeType": "PragmaDirective",
"src": "0:24:9"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 1365,
"linearizedBaseContracts": [
1365
],
"name": "IOwned",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1359,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "owner",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1355,
"nodeType": "ParameterList",
"parameters": [],
"src": "62:4:9"
},
"payable": false,
"returnParameters": {
"id": 1358,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1357,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1359,
"src": "91:7:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1356,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "91:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "89:11:9"
},
"scope": 1365,
"src": "47:54:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1364,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferOwnership",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1362,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1361,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1364,
"src": "133:16:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1360,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "133:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "131:20:9"
},
"payable": false,
"returnParameters": {
"id": 1363,
"nodeType": "ParameterList",
"parameters": [],
"src": "160:0:9"
},
"scope": 1365,
"src": "104:57:9",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
}
],
"scope": 1366,
"src": "26:137:9"
}
],
"src": "0:164:9"
},
"legacyAST": {
"absolutePath": "/home/ed/working/realitio-contracts/truffle/contracts/IOwned.sol",
"exportedSymbols": {
"IOwned": [
1365
]
},
"id": 1366,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1354,
"literals": [
"solidity",
"^",
"0.4",
".25"
],
"nodeType": "PragmaDirective",
"src": "0:24:9"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 1365,
"linearizedBaseContracts": [
1365
],
"name": "IOwned",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 1359,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "owner",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1355,
"nodeType": "ParameterList",
"parameters": [],
"src": "62:4:9"
},
"payable": false,
"returnParameters": {
"id": 1358,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1357,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 1359,
"src": "91:7:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1356,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "91:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "89:11:9"
},
"scope": 1365,
"src": "47:54:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 1364,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferOwnership",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1362,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1361,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1364,
"src": "133:16:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 1360,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "133:7:9",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "131:20:9"
},
"payable": false,
"returnParameters": {
"id": 1363,
"nodeType": "ParameterList",
"parameters": [],
"src": "160:0:9"
},
"scope": 1365,
"src": "104:57:9",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "external"
}
],
"scope": 1366,
"src": "26:137:9"
}
],
"src": "0:164:9"
},
"compiler": {
"name": "solc",
"version": "0.4.25+commit.59dbf8f1.Emscripten.clang",
"optimizer": false,
"runs": 200
},
"networks": {},
"schemaVersion": "2.3.3",
"updatedAt": "2021-01-13T02:23:04.457Z"
}