UNPKG

tokenboost-solidity-erc20sale

Version:
608 lines 29.9 kB
{ "contractName": "ERC20SaleWidgetRenderer", "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": "_sale", "type": "address" } ], "name": "render", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x608060405260008054600160a060020a03191633179055610783806100256000396000f3006080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663715018a6811461007c5780638da5cb5b14610093578063ca1a70be146100c4578063ed3487fe1461019d578063f2fde38b14610272578063f65a5c1b14610293575b600080fd5b34801561008857600080fd5b5061009161032a565b005b34801561009f57600080fd5b506100a8610396565b60408051600160a060020a039092168252519081900360200190f35b3480156100d057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375094975050509235600160a060020a031693506103a592505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261009194369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506103de9650505050505050565b34801561027e57600080fd5b50610091600160a060020a03600435166104cb565b34801561029f57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506104ee9650505050505050565b600054600160a060020a0316331461034157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031681565b505060408051808201909152600281527f5b5d000000000000000000000000000000000000000000000000000000000000602082015290565b600054600160a060020a031633146103f557600080fd5b806001846040518082805190602001908083835b602083106104285780518252601f199092019160209182019101610409565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842087519094889450925082918401908083835b602083106104845780518252601f199092019160209182019101610465565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516104c595919491909101925090506106bc565b50505050565b600054600160a060020a031633146104e257600080fd5b6104eb8161063f565b50565b60606001836040518082805190602001908083835b602083106105225780518252601f199092019160209182019101610503565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842086519094879450925082918401908083835b6020831061057e5780518252601f19909201916020918201910161055f565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156106325780601f1061060757610100808354040283529160200191610632565b820191906000526020600020905b81548152906001019060200180831161061557829003601f168201915b5050505050905092915050565b600160a060020a038116151561065457600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106fd57805160ff191683800117855561072a565b8280016001018555821561072a579182015b8281111561072a57825182559160200191906001019061070f565b5061073692915061073a565b5090565b61075491905b808211156107365760008155600101610740565b905600a165627a7a72305820fbafdc5adac8bf93c62bb2cf3f9ed2c610d1ef86c77429fd05419dc449f988550029", "deployedBytecode": "0x6080604052600436106100775763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663715018a6811461007c5780638da5cb5b14610093578063ca1a70be146100c4578063ed3487fe1461019d578063f2fde38b14610272578063f65a5c1b14610293575b600080fd5b34801561008857600080fd5b5061009161032a565b005b34801561009f57600080fd5b506100a8610396565b60408051600160a060020a039092168252519081900360200190f35b3480156100d057600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375094975050509235600160a060020a031693506103a592505050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016257818101518382015260200161014a565b50505050905090810190601f16801561018f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a957600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261009194369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506103de9650505050505050565b34801561027e57600080fd5b50610091600160a060020a03600435166104cb565b34801561029f57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261012894369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506104ee9650505050505050565b600054600160a060020a0316331461034157600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b600054600160a060020a031681565b505060408051808201909152600281527f5b5d000000000000000000000000000000000000000000000000000000000000602082015290565b600054600160a060020a031633146103f557600080fd5b806001846040518082805190602001908083835b602083106104285780518252601f199092019160209182019101610409565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842087519094889450925082918401908083835b602083106104845780518252601f199092019160209182019101610465565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810190932084516104c595919491909101925090506106bc565b50505050565b600054600160a060020a031633146104e257600080fd5b6104eb8161063f565b50565b60606001836040518082805190602001908083835b602083106105225780518252601f199092019160209182019101610503565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842086519094879450925082918401908083835b6020831061057e5780518252601f19909201916020918201910161055f565b518151600019602094850361010090810a820192831692199390931691909117909252949092019687526040805197889003820188208054601f60026001831615909802909501169590950492830182900482028801820190528187529294509250508301828280156106325780601f1061060757610100808354040283529160200191610632565b820191906000526020600020905b81548152906001019060200180831161061557829003601f168201915b5050505050905092915050565b600160a060020a038116151561065457600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106106fd57805160ff191683800117855561072a565b8280016001018555821561072a579182015b8281111561072a57825182559160200191906001019061070f565b5061073692915061073a565b5090565b61075491905b808211156107365760008155600101610740565b905600a165627a7a72305820fbafdc5adac8bf93c62bb2cf3f9ed2c610d1ef86c77429fd05419dc449f988550029", "sourceMap": "117:162:4:-;;;567:5:27;:18;;-1:-1:-1;;;;;;567:18:27;575:10;567:18;;;117:162:4;;;;;;", "deployedSourceMap": "117:162:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1001:111:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1001:111:27;;;;;;238:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;238:20:27;;;;;;;;-1:-1:-1;;;;;238:20:27;;;;;;;;;;;;;;171:106:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;171:106:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;171:106:4;;-1:-1:-1;;;171:106:4;;-1:-1:-1;;;;;171:106:4;;-1:-1:-1;171:106:4;;-1:-1:-1;;;171:106:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;171:106:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;186:126:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;186:126:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;186:126:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;186:126:21;;;;-1:-1:-1;186:126:21;-1:-1:-1;186:126:21;;-1:-1:-1;186:126:21;;;;;;;;-1:-1:-1;;186:126:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;186:126:21;;;;-1:-1:-1;186:126:21;-1:-1:-1;186:126:21;;-1:-1:-1;186:126:21;;;;;;;;-1:-1:-1;186:126:21;;-1:-1:-1;186:126:21;;-1:-1:-1;;;;;;;186:126:21;1274:103:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1274:103:27;-1:-1:-1;;;;;1274:103:27;;;;;318:120:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;318:120:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;318:120:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;318:120:21;;;;-1:-1:-1;318:120:21;-1:-1:-1;318:120:21;;-1:-1:-1;318:120:21;;;;;;;;-1:-1:-1;318:120:21;;-1:-1:-1;318:120:21;;-1:-1:-1;;;;;;;318:120:21;1001:111:27;719:5;;-1:-1:-1;;;;;719:5:27;705:10;:19;697:28;;;;;;1077:5;;;1058:25;;-1:-1:-1;;;;;1077:5:27;;;;1058:25;;;1105:1;1089:18;;-1:-1:-1;;1089:18:27;;;1001:111::o;238:20::-;;;-1:-1:-1;;;;;238:20:27;;:::o;171:106:4:-;-1:-1:-1;;259:11:4;;;;;;;;;;;;;;;;;;171:106::o;186:126:21:-;719:5:27;;-1:-1:-1;;;;;719:5:27;705:10;:19;697:28;;;;;;300:5:21;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:21;;;;;-1:-1:-1;275:17:21;;;;;;;;;;:22;;:17;;:22;;-1:-1:-1;275:17:21;-1:-1:-1;275:17:21;;: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:21;;;;;-1:-1:-1;275:22:21;;;;;;;;;;;:30;;;;:22;;:30;;;;;-1:-1:-1;275:30:21;-1:-1:-1;275:30:21;:::i;:::-;;186:126;;;:::o;1274:103:27:-;719:5;;-1:-1:-1;;;;;719:5:27;705:10;:19;697:28;;;;;;1343:29;1362:9;1343:18;:29::i;:::-;1274:103;:::o;318:120:21:-;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:21;;;;;-1:-1:-1;409:17:21;;;;;;;;;;:22;;:17;;:22;;-1:-1:-1;409:17:21;-1:-1:-1;409:17:21;;: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:21;;;;;;;;;;;;;;;;;;402:29;;;;274:1:-1;402:29:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;409:22;;-1:-1:-1;402:29:21;-1:-1:-1;;402:29:21;;409:22;402:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;318:120;;;;:::o;1512:171:27:-;-1:-1:-1;;;;;1582:23:27;;;;1574:32;;;;;;1638:5;;;1617:38;;-1:-1:-1;;;;;1617:38:27;;;;1638:5;;;1617:38;;;1661:5;:17;;-1:-1:-1;;1661:17:27;-1:-1:-1;;;;;1661:17:27;;;;;;;;;;1512:171::o;117:162:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;117:162:4;;;-1:-1:-1;117:162:4;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity ^0.4.24;\n\nimport \"tokenboost-solidity/contracts/widget/Localizable.sol\";\nimport \"../ERC20Sale.sol\";\n\ncontract ERC20SaleWidgetRenderer is Localizable {\n function render(string _locale, ERC20Sale _sale) public view returns (string) {\n return \"[]\";\n }\n}\n", "sourcePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20sale/contracts/sale/erc20/widget/ERC20SaleWidgetRenderer.sol", "ast": { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20sale/contracts/sale/erc20/widget/ERC20SaleWidgetRenderer.sol", "exportedSymbols": { "ERC20SaleWidgetRenderer": [ 1174 ] }, "id": 1175, "nodeType": "SourceUnit", "nodes": [ { "id": 1157, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:4" }, { "absolutePath": "tokenboost-solidity/contracts/widget/Localizable.sol", "file": "tokenboost-solidity/contracts/widget/Localizable.sol", "id": 1158, "nodeType": "ImportDirective", "scope": 1175, "sourceUnit": 4759, "src": "26:62:4", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20sale/contracts/sale/erc20/ERC20Sale.sol", "file": "../ERC20Sale.sol", "id": 1159, "nodeType": "ImportDirective", "scope": 1175, "sourceUnit": 387, "src": "89:26:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 1160, "name": "Localizable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 4758, "src": "153:11:4", "typeDescriptions": { "typeIdentifier": "t_contract$_Localizable_$4758", "typeString": "contract Localizable" } }, "id": 1161, "nodeType": "InheritanceSpecifier", "src": "153:11:4" } ], "contractDependencies": [ 4758, 5355 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 1174, "linearizedBaseContracts": [ 1174, 4758, 5355 ], "name": "ERC20SaleWidgetRenderer", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 1172, "nodeType": "Block", "src": "249:28:4", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "5b5d", "id": 1170, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "266:4:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_518674ab2b227e5f11e9084f615d57663cde47bce1ba168b4c19c7ee22a73d70", "typeString": "literal_string \"[]\"" }, "value": "[]" }, "functionReturnParameters": 1169, "id": 1171, "nodeType": "Return", "src": "259:11:4" } ] }, "documentation": null, "id": 1173, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "render", "nodeType": "FunctionDefinition", "parameters": { "id": 1166, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1163, "name": "_locale", "nodeType": "VariableDeclaration", "scope": 1173, "src": "187:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 1162, "name": "string", "nodeType": "ElementaryTypeName", "src": "187:6:4", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1165, "name": "_sale", "nodeType": "VariableDeclaration", "scope": 1173, "src": "203:15:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Sale_$386", "typeString": "contract ERC20Sale" }, "typeName": { "contractScope": null, "id": 1164, "name": "ERC20Sale", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 386, "src": "203:9:4", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Sale_$386", "typeString": "contract ERC20Sale" } }, "value": null, "visibility": "internal" } ], "src": "186:33:4" }, "payable": false, "returnParameters": { "id": 1169, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1168, "name": "", "nodeType": "VariableDeclaration", "scope": 1173, "src": "241:6:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 1167, "name": "string", "nodeType": "ElementaryTypeName", "src": "241:6:4", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "240:8:4" }, "scope": 1174, "src": "171:106:4", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 1175, "src": "117:162:4" } ], "src": "0:280:4" }, "legacyAST": { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20sale/contracts/sale/erc20/widget/ERC20SaleWidgetRenderer.sol", "exportedSymbols": { "ERC20SaleWidgetRenderer": [ 1174 ] }, "id": 1175, "nodeType": "SourceUnit", "nodes": [ { "id": 1157, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:4" }, { "absolutePath": "tokenboost-solidity/contracts/widget/Localizable.sol", "file": "tokenboost-solidity/contracts/widget/Localizable.sol", "id": 1158, "nodeType": "ImportDirective", "scope": 1175, "sourceUnit": 4759, "src": "26:62:4", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity-erc20sale/contracts/sale/erc20/ERC20Sale.sol", "file": "../ERC20Sale.sol", "id": 1159, "nodeType": "ImportDirective", "scope": 1175, "sourceUnit": 387, "src": "89:26:4", "symbolAliases": [], "unitAlias": "" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 1160, "name": "Localizable", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 4758, "src": "153:11:4", "typeDescriptions": { "typeIdentifier": "t_contract$_Localizable_$4758", "typeString": "contract Localizable" } }, "id": 1161, "nodeType": "InheritanceSpecifier", "src": "153:11:4" } ], "contractDependencies": [ 4758, 5355 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 1174, "linearizedBaseContracts": [ 1174, 4758, 5355 ], "name": "ERC20SaleWidgetRenderer", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 1172, "nodeType": "Block", "src": "249:28:4", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "5b5d", "id": 1170, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "266:4:4", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_518674ab2b227e5f11e9084f615d57663cde47bce1ba168b4c19c7ee22a73d70", "typeString": "literal_string \"[]\"" }, "value": "[]" }, "functionReturnParameters": 1169, "id": 1171, "nodeType": "Return", "src": "259:11:4" } ] }, "documentation": null, "id": 1173, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "render", "nodeType": "FunctionDefinition", "parameters": { "id": 1166, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1163, "name": "_locale", "nodeType": "VariableDeclaration", "scope": 1173, "src": "187:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 1162, "name": "string", "nodeType": "ElementaryTypeName", "src": "187:6:4", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 1165, "name": "_sale", "nodeType": "VariableDeclaration", "scope": 1173, "src": "203:15:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Sale_$386", "typeString": "contract ERC20Sale" }, "typeName": { "contractScope": null, "id": 1164, "name": "ERC20Sale", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 386, "src": "203:9:4", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC20Sale_$386", "typeString": "contract ERC20Sale" } }, "value": null, "visibility": "internal" } ], "src": "186:33:4" }, "payable": false, "returnParameters": { "id": 1169, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1168, "name": "", "nodeType": "VariableDeclaration", "scope": 1173, "src": "241:6:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 1167, "name": "string", "nodeType": "ElementaryTypeName", "src": "241:6:4", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "value": null, "visibility": "internal" } ], "src": "240:8:4" }, "scope": 1174, "src": "171:106:4", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], "scope": 1175, "src": "117:162:4" } ], "src": "0:280:4" }, "compiler": { "name": "solc", "version": "0.4.24+commit.e67f0147.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.1", "updatedAt": "2018-11-01T09:01:02.372Z" }