UNPKG

@dnextco/tokenboost-solidity-erc223token

Version:

Solidity contracts for TokenBoost (ERC223Token)

655 lines 20.8 kB
{ "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": "tokenboost-solidity/contracts/widget/Renderable.sol", "ast": { "absolutePath": "tokenboost-solidity/contracts/widget/Renderable.sol", "exportedSymbols": { "Renderable": [ 5905 ] }, "id": 5906, "nodeType": "SourceUnit", "nodes": [ { "id": 5883, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:34" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 5905, "linearizedBaseContracts": [ 5905 ], "name": "Renderable", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 5890, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "adminWidgets", "nodeType": "FunctionDefinition", "parameters": { "id": 5886, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5885, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5890, "src": "74:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5884, "name": "string", "nodeType": "ElementaryTypeName", "src": "74:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "73:15:34" }, "payable": false, "returnParameters": { "id": 5889, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5888, "name": "json", "nodeType": "VariableDeclaration", "scope": 5890, "src": "110:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5887, "name": "string", "nodeType": "ElementaryTypeName", "src": "110:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "109:13:34" }, "scope": 5905, "src": "52:71:34", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 5897, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "userWidgets", "nodeType": "FunctionDefinition", "parameters": { "id": 5893, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5892, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5897, "src": "150:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5891, "name": "string", "nodeType": "ElementaryTypeName", "src": "150:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "149:15:34" }, "payable": false, "returnParameters": { "id": 5896, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5895, "name": "json", "nodeType": "VariableDeclaration", "scope": 5897, "src": "186:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5894, "name": "string", "nodeType": "ElementaryTypeName", "src": "186:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "185:13:34" }, "scope": 5905, "src": "129:70:34", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 5904, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "inputs", "nodeType": "FunctionDefinition", "parameters": { "id": 5900, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5899, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5904, "src": "221:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5898, "name": "string", "nodeType": "ElementaryTypeName", "src": "221:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "220:15:34" }, "payable": false, "returnParameters": { "id": 5903, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5902, "name": "json", "nodeType": "VariableDeclaration", "scope": 5904, "src": "257:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5901, "name": "string", "nodeType": "ElementaryTypeName", "src": "257:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "256:13:34" }, "scope": 5905, "src": "205:65:34", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 5906, "src": "26:246:34" } ], "src": "0:273:34" }, "legacyAST": { "absolutePath": "tokenboost-solidity/contracts/widget/Renderable.sol", "exportedSymbols": { "Renderable": [ 5905 ] }, "id": 5906, "nodeType": "SourceUnit", "nodes": [ { "id": 5883, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:34" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": false, "id": 5905, "linearizedBaseContracts": [ 5905 ], "name": "Renderable", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "id": 5890, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "adminWidgets", "nodeType": "FunctionDefinition", "parameters": { "id": 5886, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5885, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5890, "src": "74:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5884, "name": "string", "nodeType": "ElementaryTypeName", "src": "74:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "73:15:34" }, "payable": false, "returnParameters": { "id": 5889, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5888, "name": "json", "nodeType": "VariableDeclaration", "scope": 5890, "src": "110:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5887, "name": "string", "nodeType": "ElementaryTypeName", "src": "110:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "109:13:34" }, "scope": 5905, "src": "52:71:34", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 5897, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "userWidgets", "nodeType": "FunctionDefinition", "parameters": { "id": 5893, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5892, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5897, "src": "150:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5891, "name": "string", "nodeType": "ElementaryTypeName", "src": "150:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "149:15:34" }, "payable": false, "returnParameters": { "id": 5896, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5895, "name": "json", "nodeType": "VariableDeclaration", "scope": 5897, "src": "186:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5894, "name": "string", "nodeType": "ElementaryTypeName", "src": "186:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "185:13:34" }, "scope": 5905, "src": "129:70:34", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": null, "documentation": null, "id": 5904, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "inputs", "nodeType": "FunctionDefinition", "parameters": { "id": 5900, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5899, "name": "locale", "nodeType": "VariableDeclaration", "scope": 5904, "src": "221:13:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5898, "name": "string", "nodeType": "ElementaryTypeName", "src": "221:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "220:15:34" }, "payable": false, "returnParameters": { "id": 5903, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5902, "name": "json", "nodeType": "VariableDeclaration", "scope": 5904, "src": "257:11:34", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 5901, "name": "string", "nodeType": "ElementaryTypeName", "src": "257:6:34", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "256:13:34" }, "scope": 5905, "src": "205:65:34", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 5906, "src": "26:246:34" } ], "src": "0:273:34" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2018-10-24T12:40:22.245Z" }