UNPKG

tokenboost-solidity

Version:
1,145 lines (1,144 loc) 103 kB
{ "contractName": "UintUtils", "abi": [], "bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a723058204242f5ee6f883200c359161dc31badf2c8237e47a6ed1cbc8aa55c6f39dad2fe0029", "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a723058204242f5ee6f883200c359161dc31badf2c8237e47a6ed1cbc8aa55c6f39dad2fe0029", "sourceMap": "26:509:12:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", "deployedSourceMap": "26:509:12:-;;;;;;;;", "source": "pragma solidity ^0.4.24;\n\nlibrary UintUtils {\n function toString(uint _self) internal pure returns (string memory) {\n if (_self == 0) {\n return \"0\";\n }\n bytes memory _tmp = new bytes(32);\n uint i;\n for (i = 0; _self > 0; i++) {\n _tmp[i] = byte((_self % 10) + 48);\n _self /= 10;\n }\n bytes memory _real = new bytes(i--);\n for (uint j = 0; j < _real.length; j++) {\n _real[j] = _tmp[i--];\n }\n return string(_real);\n }\n}\n", "sourcePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity/contracts/utils/UintUtils.sol", "ast": { "absolutePath": "/Users/yoonjae/SolidityProjects/tokenboost-solidity/contracts/utils/UintUtils.sol", "exportedSymbols": { "UintUtils": [ 2033 ] }, "id": 2034, "nodeType": "SourceUnit", "nodes": [ { "id": 1944, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:12" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "library", "documentation": null, "fullyImplemented": true, "id": 2033, "linearizedBaseContracts": [ 2033 ], "name": "UintUtils", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 2031, "nodeType": "Block", "src": "118:415:12", "statements": [ { "condition": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 1953, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 1951, "name": "_self", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1946, "src": "132:5:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "hexValue": "30", "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "141:1:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "src": "132:10:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, "id": 1957, "nodeType": "IfStatement", "src": "128:51:12", "trueBody": { "id": 1956, "nodeType": "Block", "src": "144:35:12", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "165:3:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, "functionReturnParameters": 1950, "id": 1955, "nodeType": "Return", "src": "158:10:12" } ] } }, { "assignments": [ 1959 ], "declarations": [ { "constant": false, "id": 1959, "name": "_tmp", "nodeType": "VariableDeclaration", "scope": 2032, "src": "188:17:12", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 1958, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "188:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "id": 1964, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3332", "id": 1962, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "218:2:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_32_by_1", "typeString": "int_const 32" }, "value": "32" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_32_by_1", "typeString": "int_const 32" } ], "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "208:9:12", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { "id": 1960, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "212:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, "id": 1963, "isConstant": false, "isLValue": false, "isPure": true, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "208:13:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "188:33:12" }, { "assignments": [], "declarations": [ { "constant": false, "id": 1966, "name": "i", "nodeType": "VariableDeclaration", "scope": 2032, "src": "231:6:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 1965, "name": "uint", "nodeType": "ElementaryTypeName", "src": "231:4:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "id": 1967, "initialValue": null, "nodeType": "VariableDeclarationStatement", "src": "231:6:12" }, { "body": { "id": 1995, "nodeType": "Block", "src": "275:83:12", "statements": [ { "expression": { "argumentTypes": null, "id": 1989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 1978, "name": "_tmp", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1959, "src": "289:4:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 1980, "indexExpression": { "argumentTypes": null, "id": 1979, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1966, "src": "294:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "289:7:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 1987, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "components": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 1982, "name": "_self", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1946, "src": "305:5:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { "argumentTypes": null, "hexValue": "3130", "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "313:2:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, "src": "305:10:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "id": 1985, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", "src": "304:12:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { "argumentTypes": null, "hexValue": "3438", "id": 1986, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "319:2:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" }, "value": "48" }, "src": "304:17:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 1981, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "299:4:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "byte" }, "id": 1988, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "299:23:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "src": "289:33:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "id": 1990, "nodeType": "ExpressionStatement", "src": "289:33:12" }, { "expression": { "argumentTypes": null, "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 1991, "name": "_self", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1946, "src": "336:5:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "/=", "rightHandSide": { "argumentTypes": null, "hexValue": "3130", "id": 1992, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "345:2:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, "src": "336:11:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 1994, "nodeType": "ExpressionStatement", "src": "336:11:12" } ] }, "condition": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 1974, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 1972, "name": "_self", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1946, "src": "259:5:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "argumentTypes": null, "hexValue": "30", "id": 1973, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "267:1:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "src": "259:9:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 1996, "initializationExpression": { "expression": { "argumentTypes": null, "id": 1970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 1968, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1966, "src": "252:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "hexValue": "30", "id": 1969, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "256:1:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "src": "252:5:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 1971, "nodeType": "ExpressionStatement", "src": "252:5:12" }, "loopExpression": { "expression": { "argumentTypes": null, "id": 1976, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "270:3:12", "subExpression": { "argumentTypes": null, "id": 1975, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1966, "src": "270:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 1977, "nodeType": "ExpressionStatement", "src": "270:3:12" }, "nodeType": "ForStatement", "src": "247:111:12" }, { "assignments": [ 1998 ], "declarations": [ { "constant": false, "id": 1998, "name": "_real", "nodeType": "VariableDeclaration", "scope": 2032, "src": "367:18:12", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 1997, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "367:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "id": 2004, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 2002, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "--", "prefix": false, "src": "398:3:12", "subExpression": { "argumentTypes": null, "id": 2001, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1966, "src": "398:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], "id": 2000, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", "src": "388:9:12", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { "id": 1999, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "392:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, "id": 2003, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "388:14:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", "src": "367:35:12" }, { "body": { "id": 2025, "nodeType": "Block", "src": "452:45:12", "statements": [ { "expression": { "argumentTypes": null, "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 2016, "name": "_real", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1998, "src": "466:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 2018, "indexExpression": { "argumentTypes": null, "id": 2017, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2006, "src": "472:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", "src": "466:8:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "id": 2019, "name": "_tmp", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1959, "src": "477:4:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 2022, "indexExpression": { "argumentTypes": null, "id": 2021, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "--", "prefix": false, "src": "482:3:12", "subExpression": { "argumentTypes": null, "id": 2020, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1966, "src": "482:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", "src": "477:9:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "src": "466:20:12", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "id": 2024, "nodeType": "ExpressionStatement", "src": "466:20:12" } ] }, "condition": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 2012, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 2009, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2006, "src": "429:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 2010, "name": "_real", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1998, "src": "433:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 2011, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "433:12:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "src": "429:16:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "id": 2026, "initializationExpression": { "assignments": [ 2006 ], "declarations": [ { "constant": false, "id": 2006, "name": "j", "nodeType": "VariableDeclaration", "scope": 2032, "src": "417:6:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 2005, "name": "uint", "nodeType": "ElementaryTypeName", "src": "417:4:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], "id": 2008, "initialValue": { "argumentTypes": null, "hexValue": "30", "id": 2007, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "426:1:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "nodeType": "VariableDeclarationStatement", "src": "417:10:12" }, "loopExpression": { "expression": { "argumentTypes": null, "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "UnaryOperation", "operator": "++", "prefix": false, "src": "447:3:12", "subExpression": { "argumentTypes": null, "id": 2013, "name": "j", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2006, "src": "447:1:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 2015, "nodeType": "ExpressionStatement", "src": "447:3:12" }, "nodeType": "ForStatement", "src": "412:85:12" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 2028, "name": "_real", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1998, "src": "520:5:12", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "id": 2027, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "513:6:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": "string" }, "id": 2029, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "513:13:12", "typeDescriptions": { "typeIdentifier": "t_string_memory", "typeString": "string memory" } }, "functionReturnParameters": 1950, "id": 2030, "nodeType": "Return", "src": "506:20:12" } ] }, "documentation": null, "id": 2032, "implemented": true, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 1946, "name": "_self", "nodeType": "VariableDeclaration", "scope": 2032, "src": "68:10:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256"