tokenboost-solidity-erc20token
Version:
Solidity contracts for TokenBoost (ERC20Token)
655 lines • 20.8 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": "tokenboost-solidity/contracts/widget/Renderable.sol",
"ast": {
"absolutePath": "tokenboost-solidity/contracts/widget/Renderable.sol",
"exportedSymbols": {
"Renderable": [
3791
]
},
"id": 3792,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3769,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:19"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 3791,
"linearizedBaseContracts": [
3791
],
"name": "Renderable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 3776,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "adminWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3772,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3771,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3776,
"src": "74:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3770,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "74:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "73:15:19"
},
"payable": false,
"returnParameters": {
"id": 3775,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3774,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3776,
"src": "110:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3773,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "110:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "109:13:19"
},
"scope": 3791,
"src": "52:71:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 3783,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "userWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3779,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3778,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3783,
"src": "150:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3777,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "150:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:15:19"
},
"payable": false,
"returnParameters": {
"id": 3782,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3781,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3783,
"src": "186:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3780,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "186:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "185:13:19"
},
"scope": 3791,
"src": "129:70:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 3790,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "inputs",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3786,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3785,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3790,
"src": "221:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3784,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "221:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "220:15:19"
},
"payable": false,
"returnParameters": {
"id": 3789,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3788,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3790,
"src": "257:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3787,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "257:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "256:13:19"
},
"scope": 3791,
"src": "205:65:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3792,
"src": "26:246:19"
}
],
"src": "0:273:19"
},
"legacyAST": {
"absolutePath": "tokenboost-solidity/contracts/widget/Renderable.sol",
"exportedSymbols": {
"Renderable": [
3791
]
},
"id": 3792,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3769,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:19"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 3791,
"linearizedBaseContracts": [
3791
],
"name": "Renderable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 3776,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "adminWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3772,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3771,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3776,
"src": "74:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3770,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "74:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "73:15:19"
},
"payable": false,
"returnParameters": {
"id": 3775,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3774,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3776,
"src": "110:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3773,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "110:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "109:13:19"
},
"scope": 3791,
"src": "52:71:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 3783,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "userWidgets",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3779,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3778,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3783,
"src": "150:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3777,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "150:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "149:15:19"
},
"payable": false,
"returnParameters": {
"id": 3782,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3781,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3783,
"src": "186:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3780,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "186:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "185:13:19"
},
"scope": 3791,
"src": "129:70:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 3790,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "inputs",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3786,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3785,
"name": "locale",
"nodeType": "VariableDeclaration",
"scope": 3790,
"src": "221:13:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3784,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "221:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "220:15:19"
},
"payable": false,
"returnParameters": {
"id": 3789,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3788,
"name": "json",
"nodeType": "VariableDeclaration",
"scope": 3790,
"src": "257:11:19",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 3787,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "257:6:19",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "256:13:19"
},
"scope": 3791,
"src": "205:65:19",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3792,
"src": "26:246:19"
}
],
"src": "0:273:19"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-10-07T15:52:36.195Z"
}