UNPKG

tokenboost-solidity-erc20token

Version:
608 lines 29.9 kB
{ "contractName": "ERC20TokenWidgetRenderer", "abi": [ { "constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "locale", "type": "string" }, { "name": "key", "type": "string" }, { "name": "value", "type": "string" } ], "name": "setResource", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "locale", "type": "string" }, { "name": "key", "type": "string" } ], "name": "resource", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "previousOwner", "type": "address" } ], "name": "OwnershipRenounced", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "previousOwner", "type": "address" }, { "indexed": true, "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "constant": true, "inputs": [ { "name": "_locale", "type": "string" }, { "name": "_token", "type": "address" } ], "name": "render", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x608060405260008054600160a060020a03191633179055610783806100256000396000f3006080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663715018a6811461007c5780638da5cb5b14610093578063ca1a70be146100c4578063ed3487fe1461019d578063f2fde38b14610272578063f65a5c1b14610293575b600080fd5b34801561008857600080fd5b5061009161032a565b005b34801561009f57600080fd5b506100a8610396565b60408051600160a060020a039092168252519081900360200190f35b3480156100d057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375094975050509235600160a060020a031693506103a592505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261009194369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506103de9650505050505050565b34801561027e57600080fd5b50610091600160a060020a03600435166104cb565b34801561029f57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506104ee9650505050505050565b600054600160a060020a0316331461034157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031681565b505060408051808201909152600281527f5b5d000000000000000000000000000000000000000000000000000000000000602082015290565b600054600160a060020a031633146103f557600080fd5b806001846040518082805190602001908083835b602083106104285780518252601f199092019160209182019101610409565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842087519094889450925082918401908083835b602083106104845780518252601f199092019160209182019101610465565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516104c595919491909101925090506106bc565b50505050565b600054600160a060020a031633146104e257600080fd5b6104eb8161063f565b50565b60606001836040518082805190602001908083835b602083106105225780518252601f199092019160209182019101610503565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842086519094879450925082918401908083835b6020831061057e5780518252601f19909201916020918201910161055f565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156106325780601f1061060757610100808354040283529160200191610632565b820191906000526020600020905b81548152906001019060200180831161061557829003601f168201915b5050505050905092915050565b600160a060020a038116151561065457600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106fd57805160ff191683800117855561072a565b8280016001018555821561072a579182015b8281111561072a57825182559160200191906001019061070f565b5061073692915061073a565b5090565b61075491905b808211156107365760008155600101610740565b905600a165627a7a72305820ac974ef4a63c8ffb207e0f99fb7e23447dd7baf2ef06aa02afd3eae23d0bd5a50029", "deployedBytecode": "0x6080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663715018a6811461007c5780638da5cb5b14610093578063ca1a70be146100c4578063ed3487fe1461019d578063f2fde38b14610272578063f65a5c1b14610293575b600080fd5b34801561008857600080fd5b5061009161032a565b005b34801561009f57600080fd5b506100a8610396565b60408051600160a060020a039092168252519081900360200190f35b3480156100d057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375094975050509235600160a060020a031693506103a592505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261009194369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506103de9650505050505050565b34801561027e57600080fd5b50610091600160a060020a03600435166104cb565b34801561029f57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506104ee9650505050505050565b600054600160a060020a0316331461034157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031681565b505060408051808201909152600281527f5b5d000000000000000000000000000000000000000000000000000000000000602082015290565b600054600160a060020a031633146103f557600080fd5b806001846040518082805190602001908083835b602083106104285780518252601f199092019160209182019101610409565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842087519094889450925082918401908083835b602083106104845780518252601f199092019160209182019101610465565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516104c595919491909101925090506106bc565b50505050565b600054600160a060020a031633146104e257600080fd5b6104eb8161063f565b50565b60606001836040518082805190602001908083835b602083106105225780518252601f199092019160209182019101610503565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842086519094879450925082918401908083835b6020831061057e5780518252601f19909201916020918201910161055f565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156106325780601f1061060757610100808354040283529160200191610632565b820191906000526020600020905b81548152906001019060200180831161061557829003601f168201915b5050505050905092915050565b600160a060020a038116151561065457600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106fd57805160ff191683800117855561072a565b8280016001018555821561072a579182015b8281111561072a57825182559160200191906001019061070f565b5061073692915061073a565b5090565b61075491905b808211156107365760008155600101610740565b905600a165627a7a72305820ac974ef4a63c8ffb207e0f99fb7e23447dd7baf2ef06aa02afd3eae23d0bd5a50029", "sourceMap": "118:165:1:-;;;567:5:21;:18;;-1:-1:-1;;;;;;567:18:21;575:10;567:18;;;118:165:1;;;;;;", "deployedSourceMap": "118:165:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1001:111:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1001:111:21;;;;;;238:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:21;;;;;;;;-1:-1:-1;;;;;238:20:21;;;;;;;;;;;;;;173:108:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;173:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;173:108:1;;-1:-1:-1;;;173:108:1;;-1:-1:-1;;;;;173:108:1;;-1:-1:-1;173:108:1;;-1:-1:-1;;;173:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;173:108:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;186:126:12;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;186:126:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;186:126:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;186:126:12;;;;-1:-1:-1;186:126:12;-1:-1:-1;186:126:12;;-1:-1:-1;186:126:12;;;;;;;;-1:-1:-1;;186:126:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;186:126:12;;;;-1:-1:-1;186:126:12;-1:-1:-1;186:126:12;;-1:-1:-1;186:126:12;;;;;;;;-1:-1:-1;186:126:12;;-1:-1:-1;186:126:12;;-1:-1:-1;;;;;;;186:126:12;1274:103:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1274:103:21;-1:-1:-1;;;;;1274:103:21;;;;;318:120:12;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;318:120:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;318:120:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;318:120:12;;;;-1:-1:-1;318:120:12;-1:-1:-1;318:120:12;;-1:-1:-1;318:120:12;;;;;;;;-1:-1:-1;318:120:12;;-1:-1:-1;318:120:12;;-1:-1:-1;;;;;;;318:120:12;1001:111:21;719:5;;-1:-1:-1;;;;;719:5:21;705:10;:19;697:28;;;;;;1077:5;;;1058:25;;-1:-1:-1;;;;;1077:5:21;;;;1058:25;;;1105:1;1089:18;;-1:-1:-1;;1089:18:21;;;1001:111::o;238:20::-;;;-1:-1:-1;;;;;238:20:21;;:::o;173:108:1:-;-1:-1:-1;;263:11:1;;;;;;;;;;;;;;;;;;173:108::o;186:126:12:-;719:5:21;;-1:-1:-1;;;;;719:5:21;705:10;:19;697:28;;;;;;300:5:12;275:9;285:6;275:17;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;275:17:12;;;;;-1:-1:-1;275:17:12;;;;;;;;;;:22;;:17;;:22;;-1:-1:-1;275:17:12;-1:-1:-1;275:17:12;;:22;;;;:17;:22;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;275:22:12;;;;;-1:-1:-1;275:22:12;;;;;;;;;;;:30;;;;:22;;:30;;;;;-1:-1:-1;275:30:12;-1:-1:-1;275:30:12;:::i;:::-;;186:126;;;:::o;1274:103:21:-;719:5;;-1:-1:-1;;;;;719:5:21;705:10;:19;697:28;;;;;;1343:29;1362:9;1343:18;:29::i;:::-;1274:103;:::o;318:120:12:-;384:6;409:9;419:6;409:17;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;409:17:12;;;;;-1:-1:-1;409:17:12;;;;;;;;;;:22;;:17;;:22;;-1:-1:-1;409:17:12;-1:-1:-1;409:17:12;;:22;;;;:17;:22;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;-1:-1;;263:2;259:12;;;254:3;250:22;;;246:30;;340:21;;;311:9;;295:26;;;;377:20;;;;365:33;;;409:22:12;;;;;;;;;;;;;;;;;;402:29;;;;274:1:-1;402:29:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;409:22;;-1:-1:-1;402:29:12;-1:-1:-1;;402:29:12;;409:22;402:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;318:120;;;;:::o;1512:171:21:-;-1:-1:-1;;;;;1582:23:21;;;;1574:32;;;;;;1638:5;;;1617:38;;-1:-1:-1;;;;;1617:38:21;;;;1638:5;;;1617:38;;;1661:5;:17;;-1:-1:-1;;1661:17:21;-1:-1:-1;;;;;1661:17:21;;;;;;;;;;1512:171::o;118:165:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118:165:1;;;-1:-1:-1;118:165:1;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.24;\n\nimport \"tokenboost-solidity/contracts/widget/Localizable.sol\";\nimport \"../ERC20Token.sol\";\n\ncontract ERC20TokenWidgetRenderer is Localizable {\n function render(string _locale, ERC20Token _token) public view returns (string) {\n return \"[]\";\n }\n}\n", "sourcePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20token/contracts/token/erc20/widget/ERC20TokenWidgetRenderer.sol", "ast": { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20token/contracts/token/erc20/widget/ERC20TokenWidgetRenderer.sol", "exportedSymbols": { "ERC20TokenWidgetRenderer": [ 292 ] }, "id": 293, "nodeType": "SourceUnit", "nodes": [ { "id": 275, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "absolutePath": "tokenboost-solidity/contracts/widget/Localizable.sol", "file": "tokenboost-solidity/contracts/widget/Localizable.sol", "id": 276, "nodeType": "ImportDirective", "scope": 293, "sourceUnit": 3126, "src": "26:62:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20token/contracts/token/erc20/ERC20Token.sol", "file": "../ERC20Token.sol", "id": 277, "nodeType": "ImportDirective", "scope": 293, "sourceUnit": 274, "src": "89:27:1", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 278, "name": "Localizable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 3125, "src": "155:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_Localizable_$3125", "typeString": "contract Localizable" } }, "id": 279, "nodeType": "InheritanceSpecifier", "src": "155:11:1" } ], "contractDependencies": [ 3125, 4122 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 292, "linearizedBaseContracts": [ 292, 3125, 4122 ], "name": "ERC20TokenWidgetRenderer", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 290, "nodeType": "Block", "src": "253:28:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "5b5d", "id": 288, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "270:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_518674ab2b227e5f11e9084f615d57663cde47bce1ba168b4c19c7ee22a73d70", "typeString": "literal_string \"[]\"" }, "value": "[]" }, "functionReturnParameters": 287, "id": 289, "nodeType": "Return", "src": "263:11:1" } ] }, "documentation": null, "id": 291, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "render", "nodeType": "FunctionDefinition", "parameters": { "id": 284, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 281, "name": "_locale", "nodeType": "VariableDeclaration", "scope": 291, "src": "189:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 280, "name": "string", "nodeType": "ElementaryTypeName", "src": "189:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 283, "name": "_token", "nodeType": "VariableDeclaration", "scope": 291, "src": "205:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Token_$273", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, "id": 282, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 273, "src": "205:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Token_$273", "typeString": "contract ERC20Token" } }, "value": null, "visibility": "internal" } ], "src": "188:35:1" }, "payable": false, "returnParameters": { "id": 287, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 286, "name": "", "nodeType": "VariableDeclaration", "scope": 291, "src": "245:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 285, "name": "string", "nodeType": "ElementaryTypeName", "src": "245:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "244:8:1" }, "scope": 292, "src": "173:108:1", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 293, "src": "118:165:1" } ], "src": "0:284:1" }, "legacyAST": { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20token/contracts/token/erc20/widget/ERC20TokenWidgetRenderer.sol", "exportedSymbols": { "ERC20TokenWidgetRenderer": [ 292 ] }, "id": 293, "nodeType": "SourceUnit", "nodes": [ { "id": 275, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:1" }, { "absolutePath": "tokenboost-solidity/contracts/widget/Localizable.sol", "file": "tokenboost-solidity/contracts/widget/Localizable.sol", "id": 276, "nodeType": "ImportDirective", "scope": 293, "sourceUnit": 3126, "src": "26:62:1", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20token/contracts/token/erc20/ERC20Token.sol", "file": "../ERC20Token.sol", "id": 277, "nodeType": "ImportDirective", "scope": 293, "sourceUnit": 274, "src": "89:27:1", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 278, "name": "Localizable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 3125, "src": "155:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_Localizable_$3125", "typeString": "contract Localizable" } }, "id": 279, "nodeType": "InheritanceSpecifier", "src": "155:11:1" } ], "contractDependencies": [ 3125, 4122 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 292, "linearizedBaseContracts": [ 292, 3125, 4122 ], "name": "ERC20TokenWidgetRenderer", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 290, "nodeType": "Block", "src": "253:28:1", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "5b5d", "id": 288, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "270:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_518674ab2b227e5f11e9084f615d57663cde47bce1ba168b4c19c7ee22a73d70", "typeString": "literal_string \"[]\"" }, "value": "[]" }, "functionReturnParameters": 287, "id": 289, "nodeType": "Return", "src": "263:11:1" } ] }, "documentation": null, "id": 291, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "render", "nodeType": "FunctionDefinition", "parameters": { "id": 284, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 281, "name": "_locale", "nodeType": "VariableDeclaration", "scope": 291, "src": "189:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 280, "name": "string", "nodeType": "ElementaryTypeName", "src": "189:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 283, "name": "_token", "nodeType": "VariableDeclaration", "scope": 291, "src": "205:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Token_$273", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, "id": 282, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 273, "src": "205:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Token_$273", "typeString": "contract ERC20Token" } }, "value": null, "visibility": "internal" } ], "src": "188:35:1" }, "payable": false, "returnParameters": { "id": 287, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 286, "name": "", "nodeType": "VariableDeclaration", "scope": 291, "src": "245:6:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 285, "name": "string", "nodeType": "ElementaryTypeName", "src": "245:6:1", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "244:8:1" }, "scope": 292, "src": "173:108:1", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 293, "src": "118:165:1" } ], "src": "0:284:1" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2018-10-16T05:56:33.142Z" }