tokenboost-solidity
Version:
Solidity contracts for TokenBoost
655 lines • 20.9 kB
JSON
{
"contractName": "Renderable",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "locale",
"type": "string"
}
],
"name": "adminWidgets",
"outputs": [
{
"name": "json",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "locale",
"type": "string"
}
],
"name": "userWidgets",
"outputs": [
{
"name": "json",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "locale",
"type": "string"
}
],
"name": "inputs",
"outputs": [
{
"name": "json",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.24;\n\ncontract Renderable {\n function adminWidgets(string locale) public view returns (string json);\n\n function userWidgets(string locale) public view returns (string json);\n\n function inputs(string locale) public view returns (string json);\n}\n",
"sourcePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity/contracts/widget/Renderable.sol",
"ast": {
"absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity/contracts/widget/Renderable.sol",
"exportedSymbols": {
"Renderable": [
4650
]
},
"id": 4651,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 4628,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:27"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 4650,
"linearizedBaseContracts": [
4650
],
"name": "Renderable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 4635,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "adminWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4631,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4630,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4635,
"src": "74:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4629,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "74:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "73:15:27"
},
"payable": false,
"returnParameters": {
"id": 4634,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4633,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4635,
"src": "110:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4632,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "110:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "109:13:27"
},
"scope": 4650,
"src": "52:71:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 4642,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "userWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4638,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4637,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4642,
"src": "150:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4636,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "150:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:15:27"
},
"payable": false,
"returnParameters": {
"id": 4641,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4640,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4642,
"src": "186:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4639,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "186:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "185:13:27"
},
"scope": 4650,
"src": "129:70:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 4649,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "inputs",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4645,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4644,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4649,
"src": "221:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4643,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "221:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "220:15:27"
},
"payable": false,
"returnParameters": {
"id": 4648,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4647,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4649,
"src": "257:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4646,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "257:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "256:13:27"
},
"scope": 4650,
"src": "205:65:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 4651,
"src": "26:246:27"
}
],
"src": "0:273:27"
},
"legacyAST": {
"absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity/contracts/widget/Renderable.sol",
"exportedSymbols": {
"Renderable": [
4650
]
},
"id": 4651,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 4628,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:27"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 4650,
"linearizedBaseContracts": [
4650
],
"name": "Renderable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 4635,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "adminWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4631,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4630,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4635,
"src": "74:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4629,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "74:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "73:15:27"
},
"payable": false,
"returnParameters": {
"id": 4634,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4633,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4635,
"src": "110:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4632,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "110:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "109:13:27"
},
"scope": 4650,
"src": "52:71:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 4642,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "userWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4638,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4637,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4642,
"src": "150:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4636,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "150:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:15:27"
},
"payable": false,
"returnParameters": {
"id": 4641,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4640,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4642,
"src": "186:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4639,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "186:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "185:13:27"
},
"scope": 4650,
"src": "129:70:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 4649,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "inputs",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4645,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4644,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 4649,
"src": "221:13:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4643,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "221:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "220:15:27"
},
"payable": false,
"returnParameters": {
"id": 4648,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4647,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 4649,
"src": "257:11:27",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 4646,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "257:6:27",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "256:13:27"
},
"scope": 4650,
"src": "205:65:27",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 4651,
"src": "26:246:27"
}
],
"src": "0:273:27"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-09-18T20:04:45.653Z"
}