Socket
Socket
Sign inDemoInstall

@openzeppelin/contracts

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openzeppelin/contracts - npm Package Compare versions

Comparing version 2.4.0-beta.0 to 2.4.0-beta.1

436

build/Address.json

@@ -7,4 +7,4 @@ {

"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a723058201efcbf2ac4b059bf99b5afbbf5cccf66acbe916ed62e14ab0e211d809908cc590029",
"sourceMap": "93:1565:146:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
"deployedSourceMap": "93:1565:146:-;;;;;;;;",
"sourceMap": "93:1565:147:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
"deployedSourceMap": "93:1565:147:-;;;;;;;;",
"source": "pragma solidity ^0.5.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * This test is non-exhaustive, and there may be false-negatives: during the\n * execution of a contract's constructor, its address will be reported as\n * not containing a contract.\n *\n * IMPORTANT: It is unsafe to assume that an address for which this\n * function returns false is an externally-owned account (EOA) and not a\n * contract.\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies in extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n \n // According to EIP-1052, 0x0 is the value returned for not-yet created accounts\n // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned\n // for accounts without code, i.e. `keccak256('')`\n bytes32 codehash;\n bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\n // solhint-disable-next-line no-inline-assembly\n assembly { codehash := extcodehash(account) }\n return (codehash != 0x0 && codehash != accountHash);\n }\n\n /**\n * @dev Converts an `address` into `address payable`. Note that this is\n * simply a type cast: the actual underlying value is not changed.\n */\n function toPayable(address account) internal pure returns (address payable) {\n return address(uint160(account));\n }\n}\n",

@@ -16,10 +16,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/utils/Address.sol",

"Address": [
13239
13333
]
},
"id": 13240,
"id": 13334,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 13199,
"id": 13293,
"literals": [

@@ -32,3 +32,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:146"
"src": "0:23:147"
},

@@ -41,5 +41,5 @@ {

"fullyImplemented": true,
"id": 13239,
"id": 13333,
"linearizedBaseContracts": [
13239
13333
],

@@ -51,9 +51,9 @@ "name": "Address",

"body": {
"id": 13223,
"id": 13317,
"nodeType": "Block",
"src": "623:739:146",
"src": "623:739:147",
"statements": [
{
"assignments": [
13207
13301
],

@@ -63,7 +63,7 @@ "declarations": [

"constant": false,
"id": 13207,
"id": 13301,
"name": "codehash",
"nodeType": "VariableDeclaration",
"scope": 13223,
"src": "1070:16:146",
"scope": 13317,
"src": "1070:16:147",
"stateVariable": false,

@@ -76,6 +76,6 @@ "storageLocation": "default",

"typeName": {
"id": 13206,
"id": 13300,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1070:7:146",
"src": "1070:7:147",
"typeDescriptions": {

@@ -90,10 +90,10 @@ "typeIdentifier": "t_bytes32",

],
"id": 13208,
"id": 13302,
"initialValue": null,
"nodeType": "VariableDeclarationStatement",
"src": "1070:16:146"
"src": "1070:16:147"
},
{
"assignments": [
13210
13304
],

@@ -103,7 +103,7 @@ "declarations": [

"constant": false,
"id": 13210,
"id": 13304,
"name": "accountHash",
"nodeType": "VariableDeclaration",
"scope": 13223,
"src": "1096:19:146",
"scope": 13317,
"src": "1096:19:147",
"stateVariable": false,

@@ -116,6 +116,6 @@ "storageLocation": "default",

"typeName": {
"id": 13209,
"id": 13303,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1096:7:146",
"src": "1096:7:147",
"typeDescriptions": {

@@ -130,7 +130,7 @@ "typeIdentifier": "t_bytes32",

],
"id": 13212,
"id": 13306,
"initialValue": {
"argumentTypes": null,
"hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730",
"id": 13211,
"id": 13305,
"isConstant": false,

@@ -142,3 +142,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1118:66:146",
"src": "1118:66:147",
"subdenomination": null,

@@ -152,3 +152,3 @@ "typeDescriptions": {

"nodeType": "VariableDeclarationStatement",
"src": "1096:88:146"
"src": "1096:88:147"
},

@@ -159,6 +159,6 @@ {

"codehash": {
"declaration": 13207,
"declaration": 13301,
"isOffset": false,
"isSlot": false,
"src": "1261:8:146",
"src": "1261:8:147",
"valueSize": 1

@@ -169,6 +169,6 @@ }

"account": {
"declaration": 13201,
"declaration": 13295,
"isOffset": false,
"isSlot": false,
"src": "1285:7:146",
"src": "1285:7:147",
"valueSize": 1

@@ -178,6 +178,6 @@ }

],
"id": 13213,
"id": 13307,
"nodeType": "InlineAssembly",
"operations": "{\n codehash := extcodehash(account)\n}",
"src": "1250:60:146"
"src": "1250:60:147"
},

@@ -194,3 +194,3 @@ {

},
"id": 13220,
"id": 13314,
"isConstant": false,

@@ -206,3 +206,3 @@ "isLValue": false,

},
"id": 13216,
"id": 13310,
"isConstant": false,

@@ -214,8 +214,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13214,
"id": 13308,
"name": "codehash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13207,
"src": "1312:8:146",
"referencedDeclaration": 13301,
"src": "1312:8:147",
"typeDescriptions": {

@@ -231,3 +231,3 @@ "typeIdentifier": "t_bytes32",

"hexValue": "307830",
"id": 13215,
"id": 13309,
"isConstant": false,

@@ -239,3 +239,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1324:3:146",
"src": "1324:3:147",
"subdenomination": null,

@@ -248,3 +248,3 @@ "typeDescriptions": {

},
"src": "1312:15:146",
"src": "1312:15:147",
"typeDescriptions": {

@@ -263,3 +263,3 @@ "typeIdentifier": "t_bool",

},
"id": 13219,
"id": 13313,
"isConstant": false,

@@ -271,8 +271,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13217,
"id": 13311,
"name": "codehash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13207,
"src": "1331:8:146",
"referencedDeclaration": 13301,
"src": "1331:8:147",
"typeDescriptions": {

@@ -287,8 +287,8 @@ "typeIdentifier": "t_bytes32",

"argumentTypes": null,
"id": 13218,
"id": 13312,
"name": "accountHash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13210,
"src": "1343:11:146",
"referencedDeclaration": 13304,
"src": "1343:11:147",
"typeDescriptions": {

@@ -299,3 +299,3 @@ "typeIdentifier": "t_bytes32",

},
"src": "1331:23:146",
"src": "1331:23:147",
"typeDescriptions": {

@@ -306,3 +306,3 @@ "typeIdentifier": "t_bool",

},
"src": "1312:42:146",
"src": "1312:42:147",
"typeDescriptions": {

@@ -314,3 +314,3 @@ "typeIdentifier": "t_bool",

],
"id": 13221,
"id": 13315,
"isConstant": false,

@@ -322,3 +322,3 @@ "isInlineArray": false,

"nodeType": "TupleExpression",
"src": "1311:44:146",
"src": "1311:44:147",
"typeDescriptions": {

@@ -329,6 +329,6 @@ "typeIdentifier": "t_bool",

},
"functionReturnParameters": 13205,
"id": 13222,
"functionReturnParameters": 13299,
"id": 13316,
"nodeType": "Return",
"src": "1304:51:146"
"src": "1304:51:147"
}

@@ -338,3 +338,3 @@ ]

"documentation": "@dev Returns true if `account` is a contract.\n * This test is non-exhaustive, and there may be false-negatives: during the\nexecution of a contract's constructor, its address will be reported as\nnot containing a contract.\n * IMPORTANT: It is unsafe to assume that an address for which this\nfunction returns false is an externally-owned account (EOA) and not a\ncontract.",
"id": 13224,
"id": 13318,
"implemented": true,

@@ -346,3 +346,3 @@ "kind": "function",

"parameters": {
"id": 13202,
"id": 13296,
"nodeType": "ParameterList",

@@ -352,7 +352,7 @@ "parameters": [

"constant": false,
"id": 13201,
"id": 13295,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 13224,
"src": "577:15:146",
"scope": 13318,
"src": "577:15:147",
"stateVariable": false,

@@ -365,6 +365,6 @@ "storageLocation": "default",

"typeName": {
"id": 13200,
"id": 13294,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "577:7:146",
"src": "577:7:147",
"stateMutability": "nonpayable",

@@ -380,6 +380,6 @@ "typeDescriptions": {

],
"src": "576:17:146"
"src": "576:17:147"
},
"returnParameters": {
"id": 13205,
"id": 13299,
"nodeType": "ParameterList",

@@ -389,7 +389,7 @@ "parameters": [

"constant": false,
"id": 13204,
"id": 13298,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 13224,
"src": "617:4:146",
"scope": 13318,
"src": "617:4:147",
"stateVariable": false,

@@ -402,6 +402,6 @@ "storageLocation": "default",

"typeName": {
"id": 13203,
"id": 13297,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "617:4:146",
"src": "617:4:147",
"typeDescriptions": {

@@ -416,6 +416,6 @@ "typeIdentifier": "t_bool",

],
"src": "616:6:146"
"src": "616:6:147"
},
"scope": 13239,
"src": "557:805:146",
"scope": 13333,
"src": "557:805:147",
"stateMutability": "view",

@@ -427,5 +427,5 @@ "superFunction": null,

"body": {
"id": 13237,
"id": 13331,
"nodeType": "Block",
"src": "1607:49:146",
"src": "1607:49:147",
"statements": [

@@ -441,8 +441,8 @@ {

"argumentTypes": null,
"id": 13233,
"id": 13327,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13226,
"src": "1640:7:146",
"referencedDeclaration": 13320,
"src": "1640:7:147",
"typeDescriptions": {

@@ -461,3 +461,3 @@ "typeIdentifier": "t_address",

],
"id": 13232,
"id": 13326,
"isConstant": false,

@@ -468,3 +468,3 @@ "isLValue": false,

"nodeType": "ElementaryTypeNameExpression",
"src": "1632:7:146",
"src": "1632:7:147",
"typeDescriptions": {

@@ -476,3 +476,3 @@ "typeIdentifier": "t_type$_t_uint160_$",

},
"id": 13234,
"id": 13328,
"isConstant": false,

@@ -485,3 +485,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1632:16:146",
"src": "1632:16:147",
"typeDescriptions": {

@@ -500,3 +500,3 @@ "typeIdentifier": "t_uint160",

],
"id": 13231,
"id": 13325,
"isConstant": false,

@@ -507,3 +507,3 @@ "isLValue": false,

"nodeType": "ElementaryTypeNameExpression",
"src": "1624:7:146",
"src": "1624:7:147",
"typeDescriptions": {

@@ -515,3 +515,3 @@ "typeIdentifier": "t_type$_t_address_$",

},
"id": 13235,
"id": 13329,
"isConstant": false,

@@ -524,3 +524,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1624:25:146",
"src": "1624:25:147",
"typeDescriptions": {

@@ -531,6 +531,6 @@ "typeIdentifier": "t_address_payable",

},
"functionReturnParameters": 13230,
"id": 13236,
"functionReturnParameters": 13324,
"id": 13330,
"nodeType": "Return",
"src": "1617:32:146"
"src": "1617:32:147"
}

@@ -540,3 +540,3 @@ ]

"documentation": "@dev Converts an `address` into `address payable`. Note that this is\nsimply a type cast: the actual underlying value is not changed.",
"id": 13238,
"id": 13332,
"implemented": true,

@@ -548,3 +548,3 @@ "kind": "function",

"parameters": {
"id": 13227,
"id": 13321,
"nodeType": "ParameterList",

@@ -554,7 +554,7 @@ "parameters": [

"constant": false,
"id": 13226,
"id": 13320,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 13238,
"src": "1550:15:146",
"scope": 13332,
"src": "1550:15:147",
"stateVariable": false,

@@ -567,6 +567,6 @@ "storageLocation": "default",

"typeName": {
"id": 13225,
"id": 13319,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1550:7:146",
"src": "1550:7:147",
"stateMutability": "nonpayable",

@@ -582,6 +582,6 @@ "typeDescriptions": {

],
"src": "1549:17:146"
"src": "1549:17:147"
},
"returnParameters": {
"id": 13230,
"id": 13324,
"nodeType": "ParameterList",

@@ -591,7 +591,7 @@ "parameters": [

"constant": false,
"id": 13229,
"id": 13323,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 13238,
"src": "1590:15:146",
"scope": 13332,
"src": "1590:15:147",
"stateVariable": false,

@@ -604,6 +604,6 @@ "storageLocation": "default",

"typeName": {
"id": 13228,
"id": 13322,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1590:15:146",
"src": "1590:15:147",
"stateMutability": "payable",

@@ -619,6 +619,6 @@ "typeDescriptions": {

],
"src": "1589:17:146"
"src": "1589:17:147"
},
"scope": 13239,
"src": "1531:125:146",
"scope": 13333,
"src": "1531:125:147",
"stateMutability": "pure",

@@ -629,7 +629,7 @@ "superFunction": null,

],
"scope": 13240,
"src": "93:1565:146"
"scope": 13334,
"src": "93:1565:147"
}
],
"src": "0:1659:146"
"src": "0:1659:147"
},

@@ -640,10 +640,10 @@ "legacyAST": {

"Address": [
13239
13333
]
},
"id": 13240,
"id": 13334,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 13199,
"id": 13293,
"literals": [

@@ -656,3 +656,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:146"
"src": "0:23:147"
},

@@ -665,5 +665,5 @@ {

"fullyImplemented": true,
"id": 13239,
"id": 13333,
"linearizedBaseContracts": [
13239
13333
],

@@ -675,9 +675,9 @@ "name": "Address",

"body": {
"id": 13223,
"id": 13317,
"nodeType": "Block",
"src": "623:739:146",
"src": "623:739:147",
"statements": [
{
"assignments": [
13207
13301
],

@@ -687,7 +687,7 @@ "declarations": [

"constant": false,
"id": 13207,
"id": 13301,
"name": "codehash",
"nodeType": "VariableDeclaration",
"scope": 13223,
"src": "1070:16:146",
"scope": 13317,
"src": "1070:16:147",
"stateVariable": false,

@@ -700,6 +700,6 @@ "storageLocation": "default",

"typeName": {
"id": 13206,
"id": 13300,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1070:7:146",
"src": "1070:7:147",
"typeDescriptions": {

@@ -714,10 +714,10 @@ "typeIdentifier": "t_bytes32",

],
"id": 13208,
"id": 13302,
"initialValue": null,
"nodeType": "VariableDeclarationStatement",
"src": "1070:16:146"
"src": "1070:16:147"
},
{
"assignments": [
13210
13304
],

@@ -727,7 +727,7 @@ "declarations": [

"constant": false,
"id": 13210,
"id": 13304,
"name": "accountHash",
"nodeType": "VariableDeclaration",
"scope": 13223,
"src": "1096:19:146",
"scope": 13317,
"src": "1096:19:147",
"stateVariable": false,

@@ -740,6 +740,6 @@ "storageLocation": "default",

"typeName": {
"id": 13209,
"id": 13303,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1096:7:146",
"src": "1096:7:147",
"typeDescriptions": {

@@ -754,7 +754,7 @@ "typeIdentifier": "t_bytes32",

],
"id": 13212,
"id": 13306,
"initialValue": {
"argumentTypes": null,
"hexValue": "307863356432343630313836663732333363393237653764623264636337303363306535303062363533636138323237336237626661643830343564383561343730",
"id": 13211,
"id": 13305,
"isConstant": false,

@@ -766,3 +766,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1118:66:146",
"src": "1118:66:147",
"subdenomination": null,

@@ -776,3 +776,3 @@ "typeDescriptions": {

"nodeType": "VariableDeclarationStatement",
"src": "1096:88:146"
"src": "1096:88:147"
},

@@ -783,6 +783,6 @@ {

"codehash": {
"declaration": 13207,
"declaration": 13301,
"isOffset": false,
"isSlot": false,
"src": "1261:8:146",
"src": "1261:8:147",
"valueSize": 1

@@ -793,6 +793,6 @@ }

"account": {
"declaration": 13201,
"declaration": 13295,
"isOffset": false,
"isSlot": false,
"src": "1285:7:146",
"src": "1285:7:147",
"valueSize": 1

@@ -802,6 +802,6 @@ }

],
"id": 13213,
"id": 13307,
"nodeType": "InlineAssembly",
"operations": "{\n codehash := extcodehash(account)\n}",
"src": "1250:60:146"
"src": "1250:60:147"
},

@@ -818,3 +818,3 @@ {

},
"id": 13220,
"id": 13314,
"isConstant": false,

@@ -830,3 +830,3 @@ "isLValue": false,

},
"id": 13216,
"id": 13310,
"isConstant": false,

@@ -838,8 +838,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13214,
"id": 13308,
"name": "codehash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13207,
"src": "1312:8:146",
"referencedDeclaration": 13301,
"src": "1312:8:147",
"typeDescriptions": {

@@ -855,3 +855,3 @@ "typeIdentifier": "t_bytes32",

"hexValue": "307830",
"id": 13215,
"id": 13309,
"isConstant": false,

@@ -863,3 +863,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1324:3:146",
"src": "1324:3:147",
"subdenomination": null,

@@ -872,3 +872,3 @@ "typeDescriptions": {

},
"src": "1312:15:146",
"src": "1312:15:147",
"typeDescriptions": {

@@ -887,3 +887,3 @@ "typeIdentifier": "t_bool",

},
"id": 13219,
"id": 13313,
"isConstant": false,

@@ -895,8 +895,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13217,
"id": 13311,
"name": "codehash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13207,
"src": "1331:8:146",
"referencedDeclaration": 13301,
"src": "1331:8:147",
"typeDescriptions": {

@@ -911,8 +911,8 @@ "typeIdentifier": "t_bytes32",

"argumentTypes": null,
"id": 13218,
"id": 13312,
"name": "accountHash",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13210,
"src": "1343:11:146",
"referencedDeclaration": 13304,
"src": "1343:11:147",
"typeDescriptions": {

@@ -923,3 +923,3 @@ "typeIdentifier": "t_bytes32",

},
"src": "1331:23:146",
"src": "1331:23:147",
"typeDescriptions": {

@@ -930,3 +930,3 @@ "typeIdentifier": "t_bool",

},
"src": "1312:42:146",
"src": "1312:42:147",
"typeDescriptions": {

@@ -938,3 +938,3 @@ "typeIdentifier": "t_bool",

],
"id": 13221,
"id": 13315,
"isConstant": false,

@@ -946,3 +946,3 @@ "isInlineArray": false,

"nodeType": "TupleExpression",
"src": "1311:44:146",
"src": "1311:44:147",
"typeDescriptions": {

@@ -953,6 +953,6 @@ "typeIdentifier": "t_bool",

},
"functionReturnParameters": 13205,
"id": 13222,
"functionReturnParameters": 13299,
"id": 13316,
"nodeType": "Return",
"src": "1304:51:146"
"src": "1304:51:147"
}

@@ -962,3 +962,3 @@ ]

"documentation": "@dev Returns true if `account` is a contract.\n * This test is non-exhaustive, and there may be false-negatives: during the\nexecution of a contract's constructor, its address will be reported as\nnot containing a contract.\n * IMPORTANT: It is unsafe to assume that an address for which this\nfunction returns false is an externally-owned account (EOA) and not a\ncontract.",
"id": 13224,
"id": 13318,
"implemented": true,

@@ -970,3 +970,3 @@ "kind": "function",

"parameters": {
"id": 13202,
"id": 13296,
"nodeType": "ParameterList",

@@ -976,7 +976,7 @@ "parameters": [

"constant": false,
"id": 13201,
"id": 13295,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 13224,
"src": "577:15:146",
"scope": 13318,
"src": "577:15:147",
"stateVariable": false,

@@ -989,6 +989,6 @@ "storageLocation": "default",

"typeName": {
"id": 13200,
"id": 13294,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "577:7:146",
"src": "577:7:147",
"stateMutability": "nonpayable",

@@ -1004,6 +1004,6 @@ "typeDescriptions": {

],
"src": "576:17:146"
"src": "576:17:147"
},
"returnParameters": {
"id": 13205,
"id": 13299,
"nodeType": "ParameterList",

@@ -1013,7 +1013,7 @@ "parameters": [

"constant": false,
"id": 13204,
"id": 13298,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 13224,
"src": "617:4:146",
"scope": 13318,
"src": "617:4:147",
"stateVariable": false,

@@ -1026,6 +1026,6 @@ "storageLocation": "default",

"typeName": {
"id": 13203,
"id": 13297,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "617:4:146",
"src": "617:4:147",
"typeDescriptions": {

@@ -1040,6 +1040,6 @@ "typeIdentifier": "t_bool",

],
"src": "616:6:146"
"src": "616:6:147"
},
"scope": 13239,
"src": "557:805:146",
"scope": 13333,
"src": "557:805:147",
"stateMutability": "view",

@@ -1051,5 +1051,5 @@ "superFunction": null,

"body": {
"id": 13237,
"id": 13331,
"nodeType": "Block",
"src": "1607:49:146",
"src": "1607:49:147",
"statements": [

@@ -1065,8 +1065,8 @@ {

"argumentTypes": null,
"id": 13233,
"id": 13327,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13226,
"src": "1640:7:146",
"referencedDeclaration": 13320,
"src": "1640:7:147",
"typeDescriptions": {

@@ -1085,3 +1085,3 @@ "typeIdentifier": "t_address",

],
"id": 13232,
"id": 13326,
"isConstant": false,

@@ -1092,3 +1092,3 @@ "isLValue": false,

"nodeType": "ElementaryTypeNameExpression",
"src": "1632:7:146",
"src": "1632:7:147",
"typeDescriptions": {

@@ -1100,3 +1100,3 @@ "typeIdentifier": "t_type$_t_uint160_$",

},
"id": 13234,
"id": 13328,
"isConstant": false,

@@ -1109,3 +1109,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1632:16:146",
"src": "1632:16:147",
"typeDescriptions": {

@@ -1124,3 +1124,3 @@ "typeIdentifier": "t_uint160",

],
"id": 13231,
"id": 13325,
"isConstant": false,

@@ -1131,3 +1131,3 @@ "isLValue": false,

"nodeType": "ElementaryTypeNameExpression",
"src": "1624:7:146",
"src": "1624:7:147",
"typeDescriptions": {

@@ -1139,3 +1139,3 @@ "typeIdentifier": "t_type$_t_address_$",

},
"id": 13235,
"id": 13329,
"isConstant": false,

@@ -1148,3 +1148,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1624:25:146",
"src": "1624:25:147",
"typeDescriptions": {

@@ -1155,6 +1155,6 @@ "typeIdentifier": "t_address_payable",

},
"functionReturnParameters": 13230,
"id": 13236,
"functionReturnParameters": 13324,
"id": 13330,
"nodeType": "Return",
"src": "1617:32:146"
"src": "1617:32:147"
}

@@ -1164,3 +1164,3 @@ ]

"documentation": "@dev Converts an `address` into `address payable`. Note that this is\nsimply a type cast: the actual underlying value is not changed.",
"id": 13238,
"id": 13332,
"implemented": true,

@@ -1172,3 +1172,3 @@ "kind": "function",

"parameters": {
"id": 13227,
"id": 13321,
"nodeType": "ParameterList",

@@ -1178,7 +1178,7 @@ "parameters": [

"constant": false,
"id": 13226,
"id": 13320,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 13238,
"src": "1550:15:146",
"scope": 13332,
"src": "1550:15:147",
"stateVariable": false,

@@ -1191,6 +1191,6 @@ "storageLocation": "default",

"typeName": {
"id": 13225,
"id": 13319,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1550:7:146",
"src": "1550:7:147",
"stateMutability": "nonpayable",

@@ -1206,6 +1206,6 @@ "typeDescriptions": {

],
"src": "1549:17:146"
"src": "1549:17:147"
},
"returnParameters": {
"id": 13230,
"id": 13324,
"nodeType": "ParameterList",

@@ -1215,7 +1215,7 @@ "parameters": [

"constant": false,
"id": 13229,
"id": 13323,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 13238,
"src": "1590:15:146",
"scope": 13332,
"src": "1590:15:147",
"stateVariable": false,

@@ -1228,6 +1228,6 @@ "storageLocation": "default",

"typeName": {
"id": 13228,
"id": 13322,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1590:15:146",
"src": "1590:15:147",
"stateMutability": "payable",

@@ -1243,6 +1243,6 @@ "typeDescriptions": {

],
"src": "1589:17:146"
"src": "1589:17:147"
},
"scope": 13239,
"src": "1531:125:146",
"scope": 13333,
"src": "1531:125:147",
"stateMutability": "pure",

@@ -1253,7 +1253,7 @@ "superFunction": null,

],
"scope": 13240,
"src": "93:1565:146"
"scope": 13334,
"src": "93:1565:147"
}
],
"src": "0:1659:146"
"src": "0:1659:147"
},

@@ -1265,4 +1265,4 @@ "compiler": {

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.374Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.862Z",
"devdoc": {

@@ -1269,0 +1269,0 @@ "details": "Collection of functions related to the address type",

@@ -47,3 +47,3 @@ {

"sourceMap": "57:278:49:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57:278:49;;;;;;;",
"deployedSourceMap": "57:278:49:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57:278:49;;;;;;;;;;;;;;;;;;;;;;;;84:117;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;84:117:49;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;207:126;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;207:126:49;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;84:117;144:4;167:27;186:7;167:18;:27::i;:::-;160:34;;84:117;;;:::o;207:126::-;266:15;300:26;318:7;300:17;:26::i;:::-;293:33;;207:126;;;:::o;557:805:146:-;617:4;1070:16;1096:19;1118:66;1096:88;;;;1285:7;1273:20;1261:32;;1324:3;1312:15;;:8;:15;;:42;;;;;1343:11;1331:8;:23;;1312:42;1304:51;;;;557:805;;;:::o;1531:125::-;1590:15;1640:7;1617:32;;1531:125;;;:::o",
"deployedSourceMap": "57:278:49:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57:278:49;;;;;;;;;;;;;;;;;;;;;;;;84:117;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;84:117:49;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;207:126;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;207:126:49;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;84:117;144:4;167:27;186:7;167:18;:27::i;:::-;160:34;;84:117;;;:::o;207:126::-;266:15;300:26;318:7;300:17;:26::i;:::-;293:33;;207:126;;;:::o;557:805:147:-;617:4;1070:16;1096:19;1118:66;1096:88;;;;1285:7;1273:20;1261:32;;1324:3;1312:15;;:8;:15;;:42;;;;;1343:11;1331:8;:23;;1312:42;1304:51;;;;557:805;;;:::o;1531:125::-;1590:15;1640:7;1617:32;;1531:125;;;:::o",
"source": "pragma solidity ^0.5.0;\n\nimport \"../utils/Address.sol\";\n\ncontract AddressImpl {\n function isContract(address account) external view returns (bool) {\n return Address.isContract(account);\n }\n\n function toPayable(address account) external pure returns (address payable) {\n return Address.toPayable(account);\n }\n}\n",

@@ -55,10 +55,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/mocks/AddressImpl.sol",

"AddressImpl": [
5547
5560
]
},
"id": 5548,
"id": 5561,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5519,
"id": 5532,
"literals": [

@@ -76,6 +76,6 @@ "solidity",

"file": "../utils/Address.sol",
"id": 5520,
"id": 5533,
"nodeType": "ImportDirective",
"scope": 5548,
"sourceUnit": 13240,
"scope": 5561,
"sourceUnit": 13334,
"src": "25:30:49",

@@ -91,5 +91,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5547,
"id": 5560,
"linearizedBaseContracts": [
5547
5560
],

@@ -101,3 +101,3 @@ "name": "AddressImpl",

"body": {
"id": 5532,
"id": 5545,
"nodeType": "Block",

@@ -112,7 +112,7 @@ "src": "150:51:49",

"argumentTypes": null,
"id": 5529,
"id": 5542,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5522,
"referencedDeclaration": 5535,
"src": "186:7:49",

@@ -134,14 +134,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5527,
"id": 5540,
"name": "Address",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13239,
"referencedDeclaration": 13333,
"src": "167:7:49",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Address_$13239_$",
"typeIdentifier": "t_type$_t_contract$_Address_$13333_$",
"typeString": "type(library Address)"
}
},
"id": 5528,
"id": 5541,
"isConstant": false,

@@ -153,3 +153,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13224,
"referencedDeclaration": 13318,
"src": "167:18:49",

@@ -161,3 +161,3 @@ "typeDescriptions": {

},
"id": 5530,
"id": 5543,
"isConstant": false,

@@ -176,4 +176,4 @@ "isLValue": false,

},
"functionReturnParameters": 5526,
"id": 5531,
"functionReturnParameters": 5539,
"id": 5544,
"nodeType": "Return",

@@ -185,3 +185,3 @@ "src": "160:34:49"

"documentation": null,
"id": 5533,
"id": 5546,
"implemented": true,

@@ -193,3 +193,3 @@ "kind": "function",

"parameters": {
"id": 5523,
"id": 5536,
"nodeType": "ParameterList",

@@ -199,6 +199,6 @@ "parameters": [

"constant": false,
"id": 5522,
"id": 5535,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 5533,
"scope": 5546,
"src": "104:15:49",

@@ -212,3 +212,3 @@ "stateVariable": false,

"typeName": {
"id": 5521,
"id": 5534,
"name": "address",

@@ -230,3 +230,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5526,
"id": 5539,
"nodeType": "ParameterList",

@@ -236,6 +236,6 @@ "parameters": [

"constant": false,
"id": 5525,
"id": 5538,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5533,
"scope": 5546,
"src": "144:4:49",

@@ -249,3 +249,3 @@ "stateVariable": false,

"typeName": {
"id": 5524,
"id": 5537,
"name": "bool",

@@ -265,3 +265,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5547,
"scope": 5560,
"src": "84:117:49",

@@ -274,3 +274,3 @@ "stateMutability": "view",

"body": {
"id": 5545,
"id": 5558,
"nodeType": "Block",

@@ -285,7 +285,7 @@ "src": "283:50:49",

"argumentTypes": null,
"id": 5542,
"id": 5555,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5535,
"referencedDeclaration": 5548,
"src": "318:7:49",

@@ -307,14 +307,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5540,
"id": 5553,
"name": "Address",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13239,
"referencedDeclaration": 13333,
"src": "300:7:49",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Address_$13239_$",
"typeIdentifier": "t_type$_t_contract$_Address_$13333_$",
"typeString": "type(library Address)"
}
},
"id": 5541,
"id": 5554,
"isConstant": false,

@@ -326,3 +326,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13238,
"referencedDeclaration": 13332,
"src": "300:17:49",

@@ -334,3 +334,3 @@ "typeDescriptions": {

},
"id": 5543,
"id": 5556,
"isConstant": false,

@@ -349,4 +349,4 @@ "isLValue": false,

},
"functionReturnParameters": 5539,
"id": 5544,
"functionReturnParameters": 5552,
"id": 5557,
"nodeType": "Return",

@@ -358,3 +358,3 @@ "src": "293:33:49"

"documentation": null,
"id": 5546,
"id": 5559,
"implemented": true,

@@ -366,3 +366,3 @@ "kind": "function",

"parameters": {
"id": 5536,
"id": 5549,
"nodeType": "ParameterList",

@@ -372,6 +372,6 @@ "parameters": [

"constant": false,
"id": 5535,
"id": 5548,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 5546,
"scope": 5559,
"src": "226:15:49",

@@ -385,3 +385,3 @@ "stateVariable": false,

"typeName": {
"id": 5534,
"id": 5547,
"name": "address",

@@ -403,3 +403,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5539,
"id": 5552,
"nodeType": "ParameterList",

@@ -409,6 +409,6 @@ "parameters": [

"constant": false,
"id": 5538,
"id": 5551,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5546,
"scope": 5559,
"src": "266:15:49",

@@ -422,3 +422,3 @@ "stateVariable": false,

"typeName": {
"id": 5537,
"id": 5550,
"name": "address",

@@ -439,3 +439,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5547,
"scope": 5560,
"src": "207:126:49",

@@ -447,3 +447,3 @@ "stateMutability": "pure",

],
"scope": 5548,
"scope": 5561,
"src": "57:278:49"

@@ -458,10 +458,10 @@ }

"AddressImpl": [
5547
5560
]
},
"id": 5548,
"id": 5561,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5519,
"id": 5532,
"literals": [

@@ -479,6 +479,6 @@ "solidity",

"file": "../utils/Address.sol",
"id": 5520,
"id": 5533,
"nodeType": "ImportDirective",
"scope": 5548,
"sourceUnit": 13240,
"scope": 5561,
"sourceUnit": 13334,
"src": "25:30:49",

@@ -494,5 +494,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5547,
"id": 5560,
"linearizedBaseContracts": [
5547
5560
],

@@ -504,3 +504,3 @@ "name": "AddressImpl",

"body": {
"id": 5532,
"id": 5545,
"nodeType": "Block",

@@ -515,7 +515,7 @@ "src": "150:51:49",

"argumentTypes": null,
"id": 5529,
"id": 5542,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5522,
"referencedDeclaration": 5535,
"src": "186:7:49",

@@ -537,14 +537,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5527,
"id": 5540,
"name": "Address",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13239,
"referencedDeclaration": 13333,
"src": "167:7:49",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Address_$13239_$",
"typeIdentifier": "t_type$_t_contract$_Address_$13333_$",
"typeString": "type(library Address)"
}
},
"id": 5528,
"id": 5541,
"isConstant": false,

@@ -556,3 +556,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13224,
"referencedDeclaration": 13318,
"src": "167:18:49",

@@ -564,3 +564,3 @@ "typeDescriptions": {

},
"id": 5530,
"id": 5543,
"isConstant": false,

@@ -579,4 +579,4 @@ "isLValue": false,

},
"functionReturnParameters": 5526,
"id": 5531,
"functionReturnParameters": 5539,
"id": 5544,
"nodeType": "Return",

@@ -588,3 +588,3 @@ "src": "160:34:49"

"documentation": null,
"id": 5533,
"id": 5546,
"implemented": true,

@@ -596,3 +596,3 @@ "kind": "function",

"parameters": {
"id": 5523,
"id": 5536,
"nodeType": "ParameterList",

@@ -602,6 +602,6 @@ "parameters": [

"constant": false,
"id": 5522,
"id": 5535,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 5533,
"scope": 5546,
"src": "104:15:49",

@@ -615,3 +615,3 @@ "stateVariable": false,

"typeName": {
"id": 5521,
"id": 5534,
"name": "address",

@@ -633,3 +633,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5526,
"id": 5539,
"nodeType": "ParameterList",

@@ -639,6 +639,6 @@ "parameters": [

"constant": false,
"id": 5525,
"id": 5538,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5533,
"scope": 5546,
"src": "144:4:49",

@@ -652,3 +652,3 @@ "stateVariable": false,

"typeName": {
"id": 5524,
"id": 5537,
"name": "bool",

@@ -668,3 +668,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5547,
"scope": 5560,
"src": "84:117:49",

@@ -677,3 +677,3 @@ "stateMutability": "view",

"body": {
"id": 5545,
"id": 5558,
"nodeType": "Block",

@@ -688,7 +688,7 @@ "src": "283:50:49",

"argumentTypes": null,
"id": 5542,
"id": 5555,
"name": "account",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5535,
"referencedDeclaration": 5548,
"src": "318:7:49",

@@ -710,14 +710,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5540,
"id": 5553,
"name": "Address",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13239,
"referencedDeclaration": 13333,
"src": "300:7:49",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Address_$13239_$",
"typeIdentifier": "t_type$_t_contract$_Address_$13333_$",
"typeString": "type(library Address)"
}
},
"id": 5541,
"id": 5554,
"isConstant": false,

@@ -729,3 +729,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13238,
"referencedDeclaration": 13332,
"src": "300:17:49",

@@ -737,3 +737,3 @@ "typeDescriptions": {

},
"id": 5543,
"id": 5556,
"isConstant": false,

@@ -752,4 +752,4 @@ "isLValue": false,

},
"functionReturnParameters": 5539,
"id": 5544,
"functionReturnParameters": 5552,
"id": 5557,
"nodeType": "Return",

@@ -761,3 +761,3 @@ "src": "293:33:49"

"documentation": null,
"id": 5546,
"id": 5559,
"implemented": true,

@@ -769,3 +769,3 @@ "kind": "function",

"parameters": {
"id": 5536,
"id": 5549,
"nodeType": "ParameterList",

@@ -775,6 +775,6 @@ "parameters": [

"constant": false,
"id": 5535,
"id": 5548,
"name": "account",
"nodeType": "VariableDeclaration",
"scope": 5546,
"scope": 5559,
"src": "226:15:49",

@@ -788,3 +788,3 @@ "stateVariable": false,

"typeName": {
"id": 5534,
"id": 5547,
"name": "address",

@@ -806,3 +806,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5539,
"id": 5552,
"nodeType": "ParameterList",

@@ -812,6 +812,6 @@ "parameters": [

"constant": false,
"id": 5538,
"id": 5551,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5546,
"scope": 5559,
"src": "266:15:49",

@@ -825,3 +825,3 @@ "stateVariable": false,

"typeName": {
"id": 5537,
"id": 5550,
"name": "address",

@@ -842,3 +842,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5547,
"scope": 5560,
"src": "207:126:49",

@@ -850,3 +850,3 @@ "stateMutability": "pure",

],
"scope": 5548,
"scope": 5561,
"src": "57:278:49"

@@ -862,4 +862,4 @@ }

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.264Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.721Z",
"devdoc": {

@@ -866,0 +866,0 @@ "methods": {}

@@ -821,3 +821,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.351Z",
"updatedAt": "2019-08-16T19:12:32.722Z",
"devdoc": {

@@ -824,0 +824,0 @@ "methods": {

@@ -39,3 +39,3 @@ {

"sourceMap": "56:301:51:-;;;145:76;8:9:-1;5:2;;;30:1;27;20:12;5:2;145:76:51;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;145:76:51;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;71:11;66:3;62:21;55:28;;123:4;118:3;114:14;159:9;141:16;138:31;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;0:373;;145:76:51;;;;;;208:6;200:5;:14;;;;;;;;;;;;:::i;:::-;;145:76;56:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;",
"deployedSourceMap": "56:301:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56:301:51;;;;;;;;;;;;;;;;;;;227:128;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;227:128:51;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;292:7;318:30;339:8;318:5;:20;;:30;;;;:::i;:::-;311:37;;227:128;;;:::o;549:892:147:-;638:7;677:1;661:5;:12;;;;:17;657:56;;;701:1;694:8;;;;657:56;723:11;737:1;723:15;;748:12;763:5;:12;;;;748:27;;786:414;799:4;793:3;:10;786:414;;;819:11;833:23;846:3;851:4;833:12;:23::i;:::-;819:37;;1086:7;1073:5;1079:3;1073:10;;;;;;;;;;;;;;;;:20;1069:121;;;1120:3;1113:10;;1069:121;;;1174:1;1168:3;:7;1162:13;;1069:121;786:414;;;;1323:1;1317:3;:7;:36;;;;;1346:7;1328:5;1340:1;1334:3;:7;1328:14;;;;;;;;;;;;;;;;:25;1317:36;1313:122;;;1382:1;1376:3;:7;1369:14;;;;;;1313:122;1421:3;1414:10;;;;549:892;;;;;:::o;575:190:47:-;637:7;756:1;751;747;:5;;;;;;743:1;739;:5;;;;;;:13;738:19;;;;;;732:1;728;:5;;;;;;722:1;718;:5;;;;;;717:17;:41;710:48;;575:190;;;;:::o",
"deployedSourceMap": "56:301:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;56:301:51;;;;;;;;;;;;;;;;;;;227:128;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;227:128:51;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;292:7;318:30;339:8;318:5;:20;;:30;;;;:::i;:::-;311:37;;227:128;;;:::o;549:892:148:-;638:7;677:1;661:5;:12;;;;:17;657:56;;;701:1;694:8;;;;657:56;723:11;737:1;723:15;;748:12;763:5;:12;;;;748:27;;786:414;799:4;793:3;:10;786:414;;;819:11;833:23;846:3;851:4;833:12;:23::i;:::-;819:37;;1086:7;1073:5;1079:3;1073:10;;;;;;;;;;;;;;;;:20;1069:121;;;1120:3;1113:10;;1069:121;;;1174:1;1168:3;:7;1162:13;;1069:121;786:414;;;;1323:1;1317:3;:7;:36;;;;;1346:7;1328:5;1340:1;1334:3;:7;1328:14;;;;;;;;;;;;;;;;:25;1317:36;1313:122;;;1382:1;1376:3;:7;1369:14;;;;;;1313:122;1421:3;1414:10;;;;549:892;;;;;:::o;575:190:47:-;637:7;756:1;751;747;:5;;;;;;743:1;739;:5;;;;;;:13;738:19;;;;;;732:1;728;:5;;;;;;722:1;718;:5;;;;;;717:17;:41;710:48;;575:190;;;;:::o",
"source": "pragma solidity ^0.5.0;\n\nimport \"../utils/Arrays.sol\";\n\ncontract ArraysImpl {\n using Arrays for uint256[];\n\n uint256[] private array;\n\n constructor (uint256[] memory _array) public {\n array = _array;\n }\n\n function findUpperBound(uint256 _element) external view returns (uint256) {\n return array.findUpperBound(_element);\n }\n}\n",

@@ -47,10 +47,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/mocks/ArraysImpl.sol",

"ArraysImpl": [
5609
5622
]
},
"id": 5610,
"id": 5623,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5576,
"id": 5589,
"literals": [

@@ -68,6 +68,6 @@ "solidity",

"file": "../utils/Arrays.sol",
"id": 5577,
"id": 5590,
"nodeType": "ImportDirective",
"scope": 5610,
"sourceUnit": 13323,
"scope": 5623,
"sourceUnit": 13417,
"src": "25:29:51",

@@ -83,5 +83,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5609,
"id": 5622,
"linearizedBaseContracts": [
5609
5622
],

@@ -92,12 +92,12 @@ "name": "ArraysImpl",

{
"id": 5581,
"id": 5594,
"libraryName": {
"contractScope": null,
"id": 5578,
"id": 5591,
"name": "Arrays",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 13322,
"referencedDeclaration": 13416,
"src": "88:6:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Arrays_$13322",
"typeIdentifier": "t_contract$_Arrays_$13416",
"typeString": "library Arrays"

@@ -110,3 +110,3 @@ }

"baseType": {
"id": 5579,
"id": 5592,
"name": "uint256",

@@ -120,3 +120,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5580,
"id": 5593,
"length": null,

@@ -133,6 +133,6 @@ "nodeType": "ArrayTypeName",

"constant": false,
"id": 5584,
"id": 5597,
"name": "array",
"nodeType": "VariableDeclaration",
"scope": 5609,
"scope": 5622,
"src": "115:23:51",

@@ -147,3 +147,3 @@ "stateVariable": true,

"baseType": {
"id": 5582,
"id": 5595,
"name": "uint256",

@@ -157,3 +157,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5583,
"id": 5596,
"length": null,

@@ -172,3 +172,3 @@ "nodeType": "ArrayTypeName",

"body": {
"id": 5594,
"id": 5607,
"nodeType": "Block",

@@ -180,3 +180,3 @@ "src": "190:31:51",

"argumentTypes": null,
"id": 5592,
"id": 5605,
"isConstant": false,

@@ -188,7 +188,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 5590,
"id": 5603,
"name": "array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5584,
"referencedDeclaration": 5597,
"src": "200:5:51",

@@ -204,7 +204,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5591,
"id": 5604,
"name": "_array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5587,
"referencedDeclaration": 5600,
"src": "208:6:51",

@@ -222,3 +222,3 @@ "typeDescriptions": {

},
"id": 5593,
"id": 5606,
"nodeType": "ExpressionStatement",

@@ -230,3 +230,3 @@ "src": "200:14:51"

"documentation": null,
"id": 5595,
"id": 5608,
"implemented": true,

@@ -238,3 +238,3 @@ "kind": "constructor",

"parameters": {
"id": 5588,
"id": 5601,
"nodeType": "ParameterList",

@@ -244,6 +244,6 @@ "parameters": [

"constant": false,
"id": 5587,
"id": 5600,
"name": "_array",
"nodeType": "VariableDeclaration",
"scope": 5595,
"scope": 5608,
"src": "158:23:51",

@@ -258,3 +258,3 @@ "stateVariable": false,

"baseType": {
"id": 5585,
"id": 5598,
"name": "uint256",

@@ -268,3 +268,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5586,
"id": 5599,
"length": null,

@@ -285,3 +285,3 @@ "nodeType": "ArrayTypeName",

"returnParameters": {
"id": 5589,
"id": 5602,
"nodeType": "ParameterList",

@@ -291,3 +291,3 @@ "parameters": [],

},
"scope": 5609,
"scope": 5622,
"src": "145:76:51",

@@ -300,3 +300,3 @@ "stateMutability": "nonpayable",

"body": {
"id": 5607,
"id": 5620,
"nodeType": "Block",

@@ -311,7 +311,7 @@ "src": "301:54:51",

"argumentTypes": null,
"id": 5604,
"id": 5617,
"name": "_element",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5597,
"referencedDeclaration": 5610,
"src": "339:8:51",

@@ -333,7 +333,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5602,
"id": 5615,
"name": "array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5584,
"referencedDeclaration": 5597,
"src": "318:5:51",

@@ -345,3 +345,3 @@ "typeDescriptions": {

},
"id": 5603,
"id": 5616,
"isConstant": false,

@@ -353,3 +353,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13321,
"referencedDeclaration": 13415,
"src": "318:20:51",

@@ -361,3 +361,3 @@ "typeDescriptions": {

},
"id": 5605,
"id": 5618,
"isConstant": false,

@@ -376,4 +376,4 @@ "isLValue": false,

},
"functionReturnParameters": 5601,
"id": 5606,
"functionReturnParameters": 5614,
"id": 5619,
"nodeType": "Return",

@@ -385,3 +385,3 @@ "src": "311:37:51"

"documentation": null,
"id": 5608,
"id": 5621,
"implemented": true,

@@ -393,3 +393,3 @@ "kind": "function",

"parameters": {
"id": 5598,
"id": 5611,
"nodeType": "ParameterList",

@@ -399,6 +399,6 @@ "parameters": [

"constant": false,
"id": 5597,
"id": 5610,
"name": "_element",
"nodeType": "VariableDeclaration",
"scope": 5608,
"scope": 5621,
"src": "251:16:51",

@@ -412,3 +412,3 @@ "stateVariable": false,

"typeName": {
"id": 5596,
"id": 5609,
"name": "uint256",

@@ -429,3 +429,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5601,
"id": 5614,
"nodeType": "ParameterList",

@@ -435,6 +435,6 @@ "parameters": [

"constant": false,
"id": 5600,
"id": 5613,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5608,
"scope": 5621,
"src": "292:7:51",

@@ -448,3 +448,3 @@ "stateVariable": false,

"typeName": {
"id": 5599,
"id": 5612,
"name": "uint256",

@@ -464,3 +464,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5609,
"scope": 5622,
"src": "227:128:51",

@@ -472,3 +472,3 @@ "stateMutability": "view",

],
"scope": 5610,
"scope": 5623,
"src": "56:301:51"

@@ -483,10 +483,10 @@ }

"ArraysImpl": [
5609
5622
]
},
"id": 5610,
"id": 5623,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5576,
"id": 5589,
"literals": [

@@ -504,6 +504,6 @@ "solidity",

"file": "../utils/Arrays.sol",
"id": 5577,
"id": 5590,
"nodeType": "ImportDirective",
"scope": 5610,
"sourceUnit": 13323,
"scope": 5623,
"sourceUnit": 13417,
"src": "25:29:51",

@@ -519,5 +519,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5609,
"id": 5622,
"linearizedBaseContracts": [
5609
5622
],

@@ -528,12 +528,12 @@ "name": "ArraysImpl",

{
"id": 5581,
"id": 5594,
"libraryName": {
"contractScope": null,
"id": 5578,
"id": 5591,
"name": "Arrays",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 13322,
"referencedDeclaration": 13416,
"src": "88:6:51",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Arrays_$13322",
"typeIdentifier": "t_contract$_Arrays_$13416",
"typeString": "library Arrays"

@@ -546,3 +546,3 @@ }

"baseType": {
"id": 5579,
"id": 5592,
"name": "uint256",

@@ -556,3 +556,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5580,
"id": 5593,
"length": null,

@@ -569,6 +569,6 @@ "nodeType": "ArrayTypeName",

"constant": false,
"id": 5584,
"id": 5597,
"name": "array",
"nodeType": "VariableDeclaration",
"scope": 5609,
"scope": 5622,
"src": "115:23:51",

@@ -583,3 +583,3 @@ "stateVariable": true,

"baseType": {
"id": 5582,
"id": 5595,
"name": "uint256",

@@ -593,3 +593,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5583,
"id": 5596,
"length": null,

@@ -608,3 +608,3 @@ "nodeType": "ArrayTypeName",

"body": {
"id": 5594,
"id": 5607,
"nodeType": "Block",

@@ -616,3 +616,3 @@ "src": "190:31:51",

"argumentTypes": null,
"id": 5592,
"id": 5605,
"isConstant": false,

@@ -624,7 +624,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 5590,
"id": 5603,
"name": "array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5584,
"referencedDeclaration": 5597,
"src": "200:5:51",

@@ -640,7 +640,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5591,
"id": 5604,
"name": "_array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5587,
"referencedDeclaration": 5600,
"src": "208:6:51",

@@ -658,3 +658,3 @@ "typeDescriptions": {

},
"id": 5593,
"id": 5606,
"nodeType": "ExpressionStatement",

@@ -666,3 +666,3 @@ "src": "200:14:51"

"documentation": null,
"id": 5595,
"id": 5608,
"implemented": true,

@@ -674,3 +674,3 @@ "kind": "constructor",

"parameters": {
"id": 5588,
"id": 5601,
"nodeType": "ParameterList",

@@ -680,6 +680,6 @@ "parameters": [

"constant": false,
"id": 5587,
"id": 5600,
"name": "_array",
"nodeType": "VariableDeclaration",
"scope": 5595,
"scope": 5608,
"src": "158:23:51",

@@ -694,3 +694,3 @@ "stateVariable": false,

"baseType": {
"id": 5585,
"id": 5598,
"name": "uint256",

@@ -704,3 +704,3 @@ "nodeType": "ElementaryTypeName",

},
"id": 5586,
"id": 5599,
"length": null,

@@ -721,3 +721,3 @@ "nodeType": "ArrayTypeName",

"returnParameters": {
"id": 5589,
"id": 5602,
"nodeType": "ParameterList",

@@ -727,3 +727,3 @@ "parameters": [],

},
"scope": 5609,
"scope": 5622,
"src": "145:76:51",

@@ -736,3 +736,3 @@ "stateMutability": "nonpayable",

"body": {
"id": 5607,
"id": 5620,
"nodeType": "Block",

@@ -747,7 +747,7 @@ "src": "301:54:51",

"argumentTypes": null,
"id": 5604,
"id": 5617,
"name": "_element",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5597,
"referencedDeclaration": 5610,
"src": "339:8:51",

@@ -769,7 +769,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 5602,
"id": 5615,
"name": "array",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5584,
"referencedDeclaration": 5597,
"src": "318:5:51",

@@ -781,3 +781,3 @@ "typeDescriptions": {

},
"id": 5603,
"id": 5616,
"isConstant": false,

@@ -789,3 +789,3 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 13321,
"referencedDeclaration": 13415,
"src": "318:20:51",

@@ -797,3 +797,3 @@ "typeDescriptions": {

},
"id": 5605,
"id": 5618,
"isConstant": false,

@@ -812,4 +812,4 @@ "isLValue": false,

},
"functionReturnParameters": 5601,
"id": 5606,
"functionReturnParameters": 5614,
"id": 5619,
"nodeType": "Return",

@@ -821,3 +821,3 @@ "src": "311:37:51"

"documentation": null,
"id": 5608,
"id": 5621,
"implemented": true,

@@ -829,3 +829,3 @@ "kind": "function",

"parameters": {
"id": 5598,
"id": 5611,
"nodeType": "ParameterList",

@@ -835,6 +835,6 @@ "parameters": [

"constant": false,
"id": 5597,
"id": 5610,
"name": "_element",
"nodeType": "VariableDeclaration",
"scope": 5608,
"scope": 5621,
"src": "251:16:51",

@@ -848,3 +848,3 @@ "stateVariable": false,

"typeName": {
"id": 5596,
"id": 5609,
"name": "uint256",

@@ -865,3 +865,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 5601,
"id": 5614,
"nodeType": "ParameterList",

@@ -871,6 +871,6 @@ "parameters": [

"constant": false,
"id": 5600,
"id": 5613,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5608,
"scope": 5621,
"src": "292:7:51",

@@ -884,3 +884,3 @@ "stateVariable": false,

"typeName": {
"id": 5599,
"id": 5612,
"name": "uint256",

@@ -900,3 +900,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5609,
"scope": 5622,
"src": "227:128:51",

@@ -908,3 +908,3 @@ "stateMutability": "view",

],
"scope": 5610,
"scope": 5623,
"src": "56:301:51"

@@ -920,4 +920,4 @@ }

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.265Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.723Z",
"devdoc": {

@@ -924,0 +924,0 @@ "methods": {}

@@ -819,3 +819,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.352Z",
"updatedAt": "2019-08-16T19:12:32.724Z",
"devdoc": {

@@ -822,0 +822,0 @@ "methods": {

@@ -859,3 +859,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.352Z",
"updatedAt": "2019-08-16T19:12:32.724Z",
"devdoc": {

@@ -862,0 +862,0 @@ "methods": {}

@@ -970,3 +970,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.419Z",
"updatedAt": "2019-08-16T19:12:32.805Z",
"devdoc": {

@@ -973,0 +973,0 @@ "details": "Base abstract escrow to only allow withdrawal if a condition is met.Intended usage: See {Escrow}. Same usage guidelines apply here.",

@@ -1014,3 +1014,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.353Z",
"updatedAt": "2019-08-16T19:12:32.725Z",
"devdoc": {

@@ -1017,0 +1017,0 @@ "methods": {

@@ -99,3 +99,3 @@ {

"overloadedDeclarations": [],
"referencedDeclaration": 13320,
"referencedDeclaration": 13463,
"src": "862:3:0",

@@ -194,3 +194,3 @@ "typeDescriptions": {

"overloadedDeclarations": [],
"referencedDeclaration": 13334,
"referencedDeclaration": 13477,
"src": "952:4:0",

@@ -215,3 +215,3 @@ "typeDescriptions": {

"overloadedDeclarations": [],
"referencedDeclaration": 13320,
"referencedDeclaration": 13463,
"src": "1092:3:0",

@@ -384,3 +384,3 @@ "typeDescriptions": {

"overloadedDeclarations": [],
"referencedDeclaration": 13320,
"referencedDeclaration": 13463,
"src": "862:3:0",

@@ -479,3 +479,3 @@ "typeDescriptions": {

"overloadedDeclarations": [],
"referencedDeclaration": 13334,
"referencedDeclaration": 13477,
"src": "952:4:0",

@@ -500,3 +500,3 @@ "typeDescriptions": {

"overloadedDeclarations": [],
"referencedDeclaration": 13320,
"referencedDeclaration": 13463,
"src": "1092:3:0",

@@ -593,4 +593,4 @@ "typeDescriptions": {

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T18:23:06.677Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.638Z",
"devdoc": {

@@ -597,0 +597,0 @@ "methods": {}

@@ -7,4 +7,4 @@ {

"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a7230582003760062608de1213a4010debac5263fa7b5d8c912d3b2842481e2b5ad0859170029",
"sourceMap": "629:759:22:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
"deployedSourceMap": "629:759:22:-;;;;;;;;",
"sourceMap": "629:759:30:-;;132:2:-1;166:7;155:9;146:7;137:37;255:7;249:14;246:1;241:23;235:4;232:33;222:2;;269:9;222:2;293:9;290:1;283:20;323:4;314:7;306:22;347:7;338;331:24",
"deployedSourceMap": "629:759:30:-;;;;;;;;",
"source": "pragma solidity ^0.5.0;\n\nimport \"../math/SafeMath.sol\";\n\n/**\n * @title Counters\n * @author Matt Condon (@shrugs)\n * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number\n * of elements in a mapping, issuing ERC721 ids, or counting request ids.\n *\n * Include with `using Counters for Counters.Counter;`\n * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}\n * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never\n * directly accessed.\n */\nlibrary Counters {\n using SafeMath for uint256;\n\n struct Counter {\n // This variable should never be directly accessed by users of the library: interactions must be restricted to\n // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add\n // this feature: see https://github.com/ethereum/solidity/issues/4637\n uint256 _value; // default: 0\n }\n\n function current(Counter storage counter) internal view returns (uint256) {\n return counter._value;\n }\n\n function increment(Counter storage counter) internal {\n counter._value += 1;\n }\n\n function decrement(Counter storage counter) internal {\n counter._value = counter._value.sub(1);\n }\n}\n",

@@ -16,10 +16,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/drafts/Counters.sol",

"Counters": [
2179
3332
]
},
"id": 2180,
"id": 3333,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2132,
"id": 3285,
"literals": [

@@ -32,3 +32,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:22"
"src": "0:23:30"
},

@@ -38,7 +38,7 @@ {

"file": "../math/SafeMath.sol",
"id": 2133,
"id": 3286,
"nodeType": "ImportDirective",
"scope": 2180,
"sourceUnit": 5518,
"src": "25:30:22",
"scope": 3333,
"sourceUnit": 5531,
"src": "25:30:30",
"symbolAliases": [],

@@ -53,5 +53,5 @@ "unitAlias": ""

"fullyImplemented": true,
"id": 2179,
"id": 3332,
"linearizedBaseContracts": [
2179
3332
],

@@ -62,12 +62,12 @@ "name": "Counters",

{
"id": 2136,
"id": 3289,
"libraryName": {
"contractScope": null,
"id": 2134,
"id": 3287,
"name": "SafeMath",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5517,
"src": "658:8:22",
"referencedDeclaration": 5530,
"src": "658:8:30",
"typeDescriptions": {
"typeIdentifier": "t_contract$_SafeMath_$5517",
"typeIdentifier": "t_contract$_SafeMath_$5530",
"typeString": "library SafeMath"

@@ -77,8 +77,8 @@ }

"nodeType": "UsingForDirective",
"src": "652:27:22",
"src": "652:27:30",
"typeName": {
"id": 2135,
"id": 3288,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "671:7:22",
"src": "671:7:30",
"typeDescriptions": {

@@ -92,11 +92,11 @@ "typeIdentifier": "t_uint256",

"canonicalName": "Counters.Counter",
"id": 2139,
"id": 3292,
"members": [
{
"constant": false,
"id": 2138,
"id": 3291,
"name": "_value",
"nodeType": "VariableDeclaration",
"scope": 2139,
"src": "1024:14:22",
"scope": 3292,
"src": "1024:14:30",
"stateVariable": false,

@@ -109,6 +109,6 @@ "storageLocation": "default",

"typeName": {
"id": 2137,
"id": 3290,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1024:7:22",
"src": "1024:7:30",
"typeDescriptions": {

@@ -125,4 +125,4 @@ "typeIdentifier": "t_uint256",

"nodeType": "StructDefinition",
"scope": 2179,
"src": "685:374:22",
"scope": 3332,
"src": "685:374:30",
"visibility": "public"

@@ -132,5 +132,5 @@ },

"body": {
"id": 2149,
"id": 3302,
"nodeType": "Block",
"src": "1139:38:22",
"src": "1139:38:30",
"statements": [

@@ -142,14 +142,14 @@ {

"argumentTypes": null,
"id": 2146,
"id": 3299,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2141,
"src": "1156:7:22",
"referencedDeclaration": 3294,
"src": "1156:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2147,
"id": 3300,
"isConstant": false,

@@ -161,4 +161,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1156:14:22",
"referencedDeclaration": 3291,
"src": "1156:14:30",
"typeDescriptions": {

@@ -169,6 +169,6 @@ "typeIdentifier": "t_uint256",

},
"functionReturnParameters": 2145,
"id": 2148,
"functionReturnParameters": 3298,
"id": 3301,
"nodeType": "Return",
"src": "1149:21:22"
"src": "1149:21:30"
}

@@ -178,3 +178,3 @@ ]

"documentation": null,
"id": 2150,
"id": 3303,
"implemented": true,

@@ -186,3 +186,3 @@ "kind": "function",

"parameters": {
"id": 2142,
"id": 3295,
"nodeType": "ParameterList",

@@ -192,11 +192,11 @@ "parameters": [

"constant": false,
"id": 2141,
"id": 3294,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2150,
"src": "1082:23:22",
"scope": 3303,
"src": "1082:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -206,9 +206,9 @@ },

"contractScope": null,
"id": 2140,
"id": 3293,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1082:7:22",
"referencedDeclaration": 3292,
"src": "1082:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -221,6 +221,6 @@ }

],
"src": "1081:25:22"
"src": "1081:25:30"
},
"returnParameters": {
"id": 2145,
"id": 3298,
"nodeType": "ParameterList",

@@ -230,7 +230,7 @@ "parameters": [

"constant": false,
"id": 2144,
"id": 3297,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2150,
"src": "1130:7:22",
"scope": 3303,
"src": "1130:7:30",
"stateVariable": false,

@@ -243,6 +243,6 @@ "storageLocation": "default",

"typeName": {
"id": 2143,
"id": 3296,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1130:7:22",
"src": "1130:7:30",
"typeDescriptions": {

@@ -257,6 +257,6 @@ "typeIdentifier": "t_uint256",

],
"src": "1129:9:22"
"src": "1129:9:30"
},
"scope": 2179,
"src": "1065:112:22",
"scope": 3332,
"src": "1065:112:30",
"stateMutability": "view",

@@ -268,5 +268,5 @@ "superFunction": null,

"body": {
"id": 2161,
"id": 3314,
"nodeType": "Block",
"src": "1236:36:22",
"src": "1236:36:30",
"statements": [

@@ -276,3 +276,3 @@ {

"argumentTypes": null,
"id": 2159,
"id": 3312,
"isConstant": false,

@@ -286,14 +286,14 @@ "isLValue": false,

"argumentTypes": null,
"id": 2155,
"id": 3308,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2152,
"src": "1246:7:22",
"referencedDeclaration": 3305,
"src": "1246:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2157,
"id": 3310,
"isConstant": false,

@@ -305,4 +305,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1246:14:22",
"referencedDeclaration": 3291,
"src": "1246:14:30",
"typeDescriptions": {

@@ -318,3 +318,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 2158,
"id": 3311,
"isConstant": false,

@@ -326,3 +326,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1264:1:22",
"src": "1264:1:30",
"subdenomination": null,

@@ -335,3 +335,3 @@ "typeDescriptions": {

},
"src": "1246:19:22",
"src": "1246:19:30",
"typeDescriptions": {

@@ -342,5 +342,5 @@ "typeIdentifier": "t_uint256",

},
"id": 2160,
"id": 3313,
"nodeType": "ExpressionStatement",
"src": "1246:19:22"
"src": "1246:19:30"
}

@@ -350,3 +350,3 @@ ]

"documentation": null,
"id": 2162,
"id": 3315,
"implemented": true,

@@ -358,3 +358,3 @@ "kind": "function",

"parameters": {
"id": 2153,
"id": 3306,
"nodeType": "ParameterList",

@@ -364,11 +364,11 @@ "parameters": [

"constant": false,
"id": 2152,
"id": 3305,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2162,
"src": "1202:23:22",
"scope": 3315,
"src": "1202:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -378,9 +378,9 @@ },

"contractScope": null,
"id": 2151,
"id": 3304,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1202:7:22",
"referencedDeclaration": 3292,
"src": "1202:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -393,12 +393,12 @@ }

],
"src": "1201:25:22"
"src": "1201:25:30"
},
"returnParameters": {
"id": 2154,
"id": 3307,
"nodeType": "ParameterList",
"parameters": [],
"src": "1236:0:22"
"src": "1236:0:30"
},
"scope": 2179,
"src": "1183:89:22",
"scope": 3332,
"src": "1183:89:30",
"stateMutability": "nonpayable",

@@ -410,5 +410,5 @@ "superFunction": null,

"body": {
"id": 2177,
"id": 3330,
"nodeType": "Block",
"src": "1331:55:22",
"src": "1331:55:30",
"statements": [

@@ -418,3 +418,3 @@ {

"argumentTypes": null,
"id": 2175,
"id": 3328,
"isConstant": false,

@@ -428,14 +428,14 @@ "isLValue": false,

"argumentTypes": null,
"id": 2167,
"id": 3320,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2164,
"src": "1341:7:22",
"referencedDeclaration": 3317,
"src": "1341:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2169,
"id": 3322,
"isConstant": false,

@@ -447,4 +447,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1341:14:22",
"referencedDeclaration": 3291,
"src": "1341:14:30",
"typeDescriptions": {

@@ -463,3 +463,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 2173,
"id": 3326,
"isConstant": false,

@@ -471,3 +471,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1377:1:22",
"src": "1377:1:30",
"subdenomination": null,

@@ -492,14 +492,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 2170,
"id": 3323,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2164,
"src": "1358:7:22",
"referencedDeclaration": 3317,
"src": "1358:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2171,
"id": 3324,
"isConstant": false,

@@ -511,4 +511,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1358:14:22",
"referencedDeclaration": 3291,
"src": "1358:14:30",
"typeDescriptions": {

@@ -519,3 +519,3 @@ "typeIdentifier": "t_uint256",

},
"id": 2172,
"id": 3325,
"isConstant": false,

@@ -527,4 +527,4 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 5373,
"src": "1358:18:22",
"referencedDeclaration": 5386,
"src": "1358:18:30",
"typeDescriptions": {

@@ -535,3 +535,3 @@ "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",

},
"id": 2174,
"id": 3327,
"isConstant": false,

@@ -544,3 +544,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1358:21:22",
"src": "1358:21:30",
"typeDescriptions": {

@@ -551,3 +551,3 @@ "typeIdentifier": "t_uint256",

},
"src": "1341:38:22",
"src": "1341:38:30",
"typeDescriptions": {

@@ -558,5 +558,5 @@ "typeIdentifier": "t_uint256",

},
"id": 2176,
"id": 3329,
"nodeType": "ExpressionStatement",
"src": "1341:38:22"
"src": "1341:38:30"
}

@@ -566,3 +566,3 @@ ]

"documentation": null,
"id": 2178,
"id": 3331,
"implemented": true,

@@ -574,3 +574,3 @@ "kind": "function",

"parameters": {
"id": 2165,
"id": 3318,
"nodeType": "ParameterList",

@@ -580,11 +580,11 @@ "parameters": [

"constant": false,
"id": 2164,
"id": 3317,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2178,
"src": "1297:23:22",
"scope": 3331,
"src": "1297:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -594,9 +594,9 @@ },

"contractScope": null,
"id": 2163,
"id": 3316,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1297:7:22",
"referencedDeclaration": 3292,
"src": "1297:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -609,12 +609,12 @@ }

],
"src": "1296:25:22"
"src": "1296:25:30"
},
"returnParameters": {
"id": 2166,
"id": 3319,
"nodeType": "ParameterList",
"parameters": [],
"src": "1331:0:22"
"src": "1331:0:30"
},
"scope": 2179,
"src": "1278:108:22",
"scope": 3332,
"src": "1278:108:30",
"stateMutability": "nonpayable",

@@ -625,7 +625,7 @@ "superFunction": null,

],
"scope": 2180,
"src": "629:759:22"
"scope": 3333,
"src": "629:759:30"
}
],
"src": "0:1389:22"
"src": "0:1389:30"
},

@@ -636,10 +636,10 @@ "legacyAST": {

"Counters": [
2179
3332
]
},
"id": 2180,
"id": 3333,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2132,
"id": 3285,
"literals": [

@@ -652,3 +652,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:22"
"src": "0:23:30"
},

@@ -658,7 +658,7 @@ {

"file": "../math/SafeMath.sol",
"id": 2133,
"id": 3286,
"nodeType": "ImportDirective",
"scope": 2180,
"sourceUnit": 5518,
"src": "25:30:22",
"scope": 3333,
"sourceUnit": 5531,
"src": "25:30:30",
"symbolAliases": [],

@@ -673,5 +673,5 @@ "unitAlias": ""

"fullyImplemented": true,
"id": 2179,
"id": 3332,
"linearizedBaseContracts": [
2179
3332
],

@@ -682,12 +682,12 @@ "name": "Counters",

{
"id": 2136,
"id": 3289,
"libraryName": {
"contractScope": null,
"id": 2134,
"id": 3287,
"name": "SafeMath",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5517,
"src": "658:8:22",
"referencedDeclaration": 5530,
"src": "658:8:30",
"typeDescriptions": {
"typeIdentifier": "t_contract$_SafeMath_$5517",
"typeIdentifier": "t_contract$_SafeMath_$5530",
"typeString": "library SafeMath"

@@ -697,8 +697,8 @@ }

"nodeType": "UsingForDirective",
"src": "652:27:22",
"src": "652:27:30",
"typeName": {
"id": 2135,
"id": 3288,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "671:7:22",
"src": "671:7:30",
"typeDescriptions": {

@@ -712,11 +712,11 @@ "typeIdentifier": "t_uint256",

"canonicalName": "Counters.Counter",
"id": 2139,
"id": 3292,
"members": [
{
"constant": false,
"id": 2138,
"id": 3291,
"name": "_value",
"nodeType": "VariableDeclaration",
"scope": 2139,
"src": "1024:14:22",
"scope": 3292,
"src": "1024:14:30",
"stateVariable": false,

@@ -729,6 +729,6 @@ "storageLocation": "default",

"typeName": {
"id": 2137,
"id": 3290,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1024:7:22",
"src": "1024:7:30",
"typeDescriptions": {

@@ -745,4 +745,4 @@ "typeIdentifier": "t_uint256",

"nodeType": "StructDefinition",
"scope": 2179,
"src": "685:374:22",
"scope": 3332,
"src": "685:374:30",
"visibility": "public"

@@ -752,5 +752,5 @@ },

"body": {
"id": 2149,
"id": 3302,
"nodeType": "Block",
"src": "1139:38:22",
"src": "1139:38:30",
"statements": [

@@ -762,14 +762,14 @@ {

"argumentTypes": null,
"id": 2146,
"id": 3299,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2141,
"src": "1156:7:22",
"referencedDeclaration": 3294,
"src": "1156:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2147,
"id": 3300,
"isConstant": false,

@@ -781,4 +781,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1156:14:22",
"referencedDeclaration": 3291,
"src": "1156:14:30",
"typeDescriptions": {

@@ -789,6 +789,6 @@ "typeIdentifier": "t_uint256",

},
"functionReturnParameters": 2145,
"id": 2148,
"functionReturnParameters": 3298,
"id": 3301,
"nodeType": "Return",
"src": "1149:21:22"
"src": "1149:21:30"
}

@@ -798,3 +798,3 @@ ]

"documentation": null,
"id": 2150,
"id": 3303,
"implemented": true,

@@ -806,3 +806,3 @@ "kind": "function",

"parameters": {
"id": 2142,
"id": 3295,
"nodeType": "ParameterList",

@@ -812,11 +812,11 @@ "parameters": [

"constant": false,
"id": 2141,
"id": 3294,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2150,
"src": "1082:23:22",
"scope": 3303,
"src": "1082:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -826,9 +826,9 @@ },

"contractScope": null,
"id": 2140,
"id": 3293,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1082:7:22",
"referencedDeclaration": 3292,
"src": "1082:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -841,6 +841,6 @@ }

],
"src": "1081:25:22"
"src": "1081:25:30"
},
"returnParameters": {
"id": 2145,
"id": 3298,
"nodeType": "ParameterList",

@@ -850,7 +850,7 @@ "parameters": [

"constant": false,
"id": 2144,
"id": 3297,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2150,
"src": "1130:7:22",
"scope": 3303,
"src": "1130:7:30",
"stateVariable": false,

@@ -863,6 +863,6 @@ "storageLocation": "default",

"typeName": {
"id": 2143,
"id": 3296,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1130:7:22",
"src": "1130:7:30",
"typeDescriptions": {

@@ -877,6 +877,6 @@ "typeIdentifier": "t_uint256",

],
"src": "1129:9:22"
"src": "1129:9:30"
},
"scope": 2179,
"src": "1065:112:22",
"scope": 3332,
"src": "1065:112:30",
"stateMutability": "view",

@@ -888,5 +888,5 @@ "superFunction": null,

"body": {
"id": 2161,
"id": 3314,
"nodeType": "Block",
"src": "1236:36:22",
"src": "1236:36:30",
"statements": [

@@ -896,3 +896,3 @@ {

"argumentTypes": null,
"id": 2159,
"id": 3312,
"isConstant": false,

@@ -906,14 +906,14 @@ "isLValue": false,

"argumentTypes": null,
"id": 2155,
"id": 3308,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2152,
"src": "1246:7:22",
"referencedDeclaration": 3305,
"src": "1246:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2157,
"id": 3310,
"isConstant": false,

@@ -925,4 +925,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1246:14:22",
"referencedDeclaration": 3291,
"src": "1246:14:30",
"typeDescriptions": {

@@ -938,3 +938,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 2158,
"id": 3311,
"isConstant": false,

@@ -946,3 +946,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1264:1:22",
"src": "1264:1:30",
"subdenomination": null,

@@ -955,3 +955,3 @@ "typeDescriptions": {

},
"src": "1246:19:22",
"src": "1246:19:30",
"typeDescriptions": {

@@ -962,5 +962,5 @@ "typeIdentifier": "t_uint256",

},
"id": 2160,
"id": 3313,
"nodeType": "ExpressionStatement",
"src": "1246:19:22"
"src": "1246:19:30"
}

@@ -970,3 +970,3 @@ ]

"documentation": null,
"id": 2162,
"id": 3315,
"implemented": true,

@@ -978,3 +978,3 @@ "kind": "function",

"parameters": {
"id": 2153,
"id": 3306,
"nodeType": "ParameterList",

@@ -984,11 +984,11 @@ "parameters": [

"constant": false,
"id": 2152,
"id": 3305,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2162,
"src": "1202:23:22",
"scope": 3315,
"src": "1202:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -998,9 +998,9 @@ },

"contractScope": null,
"id": 2151,
"id": 3304,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1202:7:22",
"referencedDeclaration": 3292,
"src": "1202:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -1013,12 +1013,12 @@ }

],
"src": "1201:25:22"
"src": "1201:25:30"
},
"returnParameters": {
"id": 2154,
"id": 3307,
"nodeType": "ParameterList",
"parameters": [],
"src": "1236:0:22"
"src": "1236:0:30"
},
"scope": 2179,
"src": "1183:89:22",
"scope": 3332,
"src": "1183:89:30",
"stateMutability": "nonpayable",

@@ -1030,5 +1030,5 @@ "superFunction": null,

"body": {
"id": 2177,
"id": 3330,
"nodeType": "Block",
"src": "1331:55:22",
"src": "1331:55:30",
"statements": [

@@ -1038,3 +1038,3 @@ {

"argumentTypes": null,
"id": 2175,
"id": 3328,
"isConstant": false,

@@ -1048,14 +1048,14 @@ "isLValue": false,

"argumentTypes": null,
"id": 2167,
"id": 3320,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2164,
"src": "1341:7:22",
"referencedDeclaration": 3317,
"src": "1341:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2169,
"id": 3322,
"isConstant": false,

@@ -1067,4 +1067,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1341:14:22",
"referencedDeclaration": 3291,
"src": "1341:14:30",
"typeDescriptions": {

@@ -1083,3 +1083,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 2173,
"id": 3326,
"isConstant": false,

@@ -1091,3 +1091,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1377:1:22",
"src": "1377:1:30",
"subdenomination": null,

@@ -1112,14 +1112,14 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 2170,
"id": 3323,
"name": "counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2164,
"src": "1358:7:22",
"referencedDeclaration": 3317,
"src": "1358:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter storage pointer"
}
},
"id": 2171,
"id": 3324,
"isConstant": false,

@@ -1131,4 +1131,4 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2138,
"src": "1358:14:22",
"referencedDeclaration": 3291,
"src": "1358:14:30",
"typeDescriptions": {

@@ -1139,3 +1139,3 @@ "typeIdentifier": "t_uint256",

},
"id": 2172,
"id": 3325,
"isConstant": false,

@@ -1147,4 +1147,4 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 5373,
"src": "1358:18:22",
"referencedDeclaration": 5386,
"src": "1358:18:30",
"typeDescriptions": {

@@ -1155,3 +1155,3 @@ "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$",

},
"id": 2174,
"id": 3327,
"isConstant": false,

@@ -1164,3 +1164,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1358:21:22",
"src": "1358:21:30",
"typeDescriptions": {

@@ -1171,3 +1171,3 @@ "typeIdentifier": "t_uint256",

},
"src": "1341:38:22",
"src": "1341:38:30",
"typeDescriptions": {

@@ -1178,5 +1178,5 @@ "typeIdentifier": "t_uint256",

},
"id": 2176,
"id": 3329,
"nodeType": "ExpressionStatement",
"src": "1341:38:22"
"src": "1341:38:30"
}

@@ -1186,3 +1186,3 @@ ]

"documentation": null,
"id": 2178,
"id": 3331,
"implemented": true,

@@ -1194,3 +1194,3 @@ "kind": "function",

"parameters": {
"id": 2165,
"id": 3318,
"nodeType": "ParameterList",

@@ -1200,11 +1200,11 @@ "parameters": [

"constant": false,
"id": 2164,
"id": 3317,
"name": "counter",
"nodeType": "VariableDeclaration",
"scope": 2178,
"src": "1297:23:22",
"scope": 3331,
"src": "1297:23:30",
"stateVariable": false,
"storageLocation": "storage",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -1214,9 +1214,9 @@ },

"contractScope": null,
"id": 2163,
"id": 3316,
"name": "Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"src": "1297:7:22",
"referencedDeclaration": 3292,
"src": "1297:7:30",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -1229,12 +1229,12 @@ }

],
"src": "1296:25:22"
"src": "1296:25:30"
},
"returnParameters": {
"id": 2166,
"id": 3319,
"nodeType": "ParameterList",
"parameters": [],
"src": "1331:0:22"
"src": "1331:0:30"
},
"scope": 2179,
"src": "1278:108:22",
"scope": 3332,
"src": "1278:108:30",
"stateMutability": "nonpayable",

@@ -1245,7 +1245,7 @@ "superFunction": null,

],
"scope": 2180,
"src": "629:759:22"
"scope": 3333,
"src": "629:759:30"
}
],
"src": "0:1389:22"
"src": "0:1389:30"
},

@@ -1257,4 +1257,4 @@ "compiler": {

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.189Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.689Z",
"devdoc": {

@@ -1261,0 +1261,0 @@ "author": "Matt Condon (@shrugs)",

@@ -41,3 +41,3 @@ {

"sourceMap": "59:345:56:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59:345:56;;;;;;;",
"deployedSourceMap": "59:345:56:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59:345:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;337:65;;;:::i;:::-;;169:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;266:65;;;:::i;:::-;;337;375:20;:8;:18;:20::i;:::-;337:65::o;169:91::-;209:7;235:18;:8;:16;:18::i;:::-;228:25;;169:91;:::o;266:65::-;304:20;:8;:18;:20::i;:::-;266:65::o;1278:108:22:-;1358:21;1377:1;1358:7;:14;;;:18;;:21;;;;:::i;:::-;1341:7;:14;;:38;;;;1278:108;:::o;1065:112::-;1130:7;1156;:14;;;1149:21;;1065:112;;;:::o;1183:89::-;1264:1;1246:7;:14;;;:19;;;;;;;;;;;1183:89;:::o;1274:134:48:-;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1351:50;;1274:134;;;;:::o;1692:187::-;1778:7;1810:1;1805;:6;;1813:12;1797:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1797:29:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1836:9;1852:1;1848;:5;1836:17;;1871:1;1864:8;;;1692:187;;;;;:::o",
"deployedSourceMap": "59:345:56:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59:345:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;337:65;;;:::i;:::-;;169:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;266:65;;;:::i;:::-;;337;375:20;:8;:18;:20::i;:::-;337:65::o;169:91::-;209:7;235:18;:8;:16;:18::i;:::-;228:25;;169:91;:::o;266:65::-;304:20;:8;:18;:20::i;:::-;266:65::o;1278:108:30:-;1358:21;1377:1;1358:7;:14;;;:18;;:21;;;;:::i;:::-;1341:7;:14;;:38;;;;1278:108;:::o;1065:112::-;1130:7;1156;:14;;;1149:21;;1065:112;;;:::o;1183:89::-;1264:1;1246:7;:14;;;:19;;;;;;;;;;;1183:89;:::o;1274:134:48:-;1332:7;1358:43;1362:1;1365;1358:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1351:50;;1274:134;;;;:::o;1692:187::-;1778:7;1810:1;1805;:6;;1813:12;1797:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1797:29:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1836:9;1852:1;1848;:5;1836:17;;1871:1;1864:8;;;1692:187;;;;;:::o",
"source": "pragma solidity ^0.5.0;\n\nimport \"../drafts/Counters.sol\";\n\ncontract CountersImpl {\n using Counters for Counters.Counter;\n\n Counters.Counter private _counter;\n\n function current() public view returns (uint256) {\n return _counter.current();\n }\n\n function increment() public {\n _counter.increment();\n }\n\n function decrement() public {\n _counter.decrement();\n }\n}\n",

@@ -49,10 +49,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/mocks/CountersImpl.sol",

"CountersImpl": [
5814
5827
]
},
"id": 5815,
"id": 5828,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5779,
"id": 5792,
"literals": [

@@ -70,6 +70,6 @@ "solidity",

"file": "../drafts/Counters.sol",
"id": 5780,
"id": 5793,
"nodeType": "ImportDirective",
"scope": 5815,
"sourceUnit": 2180,
"scope": 5828,
"sourceUnit": 3333,
"src": "25:32:56",

@@ -85,5 +85,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5814,
"id": 5827,
"linearizedBaseContracts": [
5814
5827
],

@@ -94,12 +94,12 @@ "name": "CountersImpl",

{
"id": 5783,
"id": 5796,
"libraryName": {
"contractScope": null,
"id": 5781,
"id": 5794,
"name": "Counters",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2179,
"referencedDeclaration": 3332,
"src": "93:8:56",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Counters_$2179",
"typeIdentifier": "t_contract$_Counters_$3332",
"typeString": "library Counters"

@@ -112,9 +112,9 @@ }

"contractScope": null,
"id": 5782,
"id": 5795,
"name": "Counters.Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"referencedDeclaration": 3292,
"src": "106:16:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -126,6 +126,6 @@ }

"constant": false,
"id": 5785,
"id": 5798,
"name": "_counter",
"nodeType": "VariableDeclaration",
"scope": 5814,
"scope": 5827,
"src": "129:33:56",

@@ -135,3 +135,3 @@ "stateVariable": true,

"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter"

@@ -141,9 +141,9 @@ },

"contractScope": null,
"id": 5784,
"id": 5797,
"name": "Counters.Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"referencedDeclaration": 3292,
"src": "129:16:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -157,3 +157,3 @@ }

"body": {
"id": 5794,
"id": 5807,
"nodeType": "Block",

@@ -170,14 +170,14 @@ "src": "218:42:56",

"argumentTypes": null,
"id": 5790,
"id": 5803,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "235:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5791,
"id": 5804,
"isConstant": false,

@@ -189,10 +189,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2150,
"referencedDeclaration": 3303,
"src": "235:16:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$2139_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$3292_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer) view returns (uint256)"
}
},
"id": 5792,
"id": 5805,
"isConstant": false,

@@ -211,4 +211,4 @@ "isLValue": false,

},
"functionReturnParameters": 5789,
"id": 5793,
"functionReturnParameters": 5802,
"id": 5806,
"nodeType": "Return",

@@ -220,3 +220,3 @@ "src": "228:25:56"

"documentation": null,
"id": 5795,
"id": 5808,
"implemented": true,

@@ -228,3 +228,3 @@ "kind": "function",

"parameters": {
"id": 5786,
"id": 5799,
"nodeType": "ParameterList",

@@ -235,3 +235,3 @@ "parameters": [],

"returnParameters": {
"id": 5789,
"id": 5802,
"nodeType": "ParameterList",

@@ -241,6 +241,6 @@ "parameters": [

"constant": false,
"id": 5788,
"id": 5801,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5795,
"scope": 5808,
"src": "209:7:56",

@@ -254,3 +254,3 @@ "stateVariable": false,

"typeName": {
"id": 5787,
"id": 5800,
"name": "uint256",

@@ -270,3 +270,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5814,
"scope": 5827,
"src": "169:91:56",

@@ -279,3 +279,3 @@ "stateMutability": "view",

"body": {
"id": 5803,
"id": 5816,
"nodeType": "Block",

@@ -292,14 +292,14 @@ "src": "294:37:56",

"argumentTypes": null,
"id": 5798,
"id": 5811,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "304:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5800,
"id": 5813,
"isConstant": false,

@@ -311,10 +311,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2162,
"referencedDeclaration": 3315,
"src": "304:18:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$2139_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$3292_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer)"
}
},
"id": 5801,
"id": 5814,
"isConstant": false,

@@ -333,3 +333,3 @@ "isLValue": false,

},
"id": 5802,
"id": 5815,
"nodeType": "ExpressionStatement",

@@ -341,3 +341,3 @@ "src": "304:20:56"

"documentation": null,
"id": 5804,
"id": 5817,
"implemented": true,

@@ -349,3 +349,3 @@ "kind": "function",

"parameters": {
"id": 5796,
"id": 5809,
"nodeType": "ParameterList",

@@ -356,3 +356,3 @@ "parameters": [],

"returnParameters": {
"id": 5797,
"id": 5810,
"nodeType": "ParameterList",

@@ -362,3 +362,3 @@ "parameters": [],

},
"scope": 5814,
"scope": 5827,
"src": "266:65:56",

@@ -371,3 +371,3 @@ "stateMutability": "nonpayable",

"body": {
"id": 5812,
"id": 5825,
"nodeType": "Block",

@@ -384,14 +384,14 @@ "src": "365:37:56",

"argumentTypes": null,
"id": 5807,
"id": 5820,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "375:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5809,
"id": 5822,
"isConstant": false,

@@ -403,10 +403,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2178,
"referencedDeclaration": 3331,
"src": "375:18:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$2139_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$3292_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer)"
}
},
"id": 5810,
"id": 5823,
"isConstant": false,

@@ -425,3 +425,3 @@ "isLValue": false,

},
"id": 5811,
"id": 5824,
"nodeType": "ExpressionStatement",

@@ -433,3 +433,3 @@ "src": "375:20:56"

"documentation": null,
"id": 5813,
"id": 5826,
"implemented": true,

@@ -441,3 +441,3 @@ "kind": "function",

"parameters": {
"id": 5805,
"id": 5818,
"nodeType": "ParameterList",

@@ -448,3 +448,3 @@ "parameters": [],

"returnParameters": {
"id": 5806,
"id": 5819,
"nodeType": "ParameterList",

@@ -454,3 +454,3 @@ "parameters": [],

},
"scope": 5814,
"scope": 5827,
"src": "337:65:56",

@@ -462,3 +462,3 @@ "stateMutability": "nonpayable",

],
"scope": 5815,
"scope": 5828,
"src": "59:345:56"

@@ -473,10 +473,10 @@ }

"CountersImpl": [
5814
5827
]
},
"id": 5815,
"id": 5828,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5779,
"id": 5792,
"literals": [

@@ -494,6 +494,6 @@ "solidity",

"file": "../drafts/Counters.sol",
"id": 5780,
"id": 5793,
"nodeType": "ImportDirective",
"scope": 5815,
"sourceUnit": 2180,
"scope": 5828,
"sourceUnit": 3333,
"src": "25:32:56",

@@ -509,5 +509,5 @@ "symbolAliases": [],

"fullyImplemented": true,
"id": 5814,
"id": 5827,
"linearizedBaseContracts": [
5814
5827
],

@@ -518,12 +518,12 @@ "name": "CountersImpl",

{
"id": 5783,
"id": 5796,
"libraryName": {
"contractScope": null,
"id": 5781,
"id": 5794,
"name": "Counters",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2179,
"referencedDeclaration": 3332,
"src": "93:8:56",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Counters_$2179",
"typeIdentifier": "t_contract$_Counters_$3332",
"typeString": "library Counters"

@@ -536,9 +536,9 @@ }

"contractScope": null,
"id": 5782,
"id": 5795,
"name": "Counters.Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"referencedDeclaration": 3292,
"src": "106:16:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -550,6 +550,6 @@ }

"constant": false,
"id": 5785,
"id": 5798,
"name": "_counter",
"nodeType": "VariableDeclaration",
"scope": 5814,
"scope": 5827,
"src": "129:33:56",

@@ -559,3 +559,3 @@ "stateVariable": true,

"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter"

@@ -565,9 +565,9 @@ },

"contractScope": null,
"id": 5784,
"id": 5797,
"name": "Counters.Counter",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 2139,
"referencedDeclaration": 3292,
"src": "129:16:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage_ptr",
"typeIdentifier": "t_struct$_Counter_$3292_storage_ptr",
"typeString": "struct Counters.Counter"

@@ -581,3 +581,3 @@ }

"body": {
"id": 5794,
"id": 5807,
"nodeType": "Block",

@@ -594,14 +594,14 @@ "src": "218:42:56",

"argumentTypes": null,
"id": 5790,
"id": 5803,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "235:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5791,
"id": 5804,
"isConstant": false,

@@ -613,10 +613,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2150,
"referencedDeclaration": 3303,
"src": "235:16:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$2139_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_view$_t_struct$_Counter_$3292_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer) view returns (uint256)"
}
},
"id": 5792,
"id": 5805,
"isConstant": false,

@@ -635,4 +635,4 @@ "isLValue": false,

},
"functionReturnParameters": 5789,
"id": 5793,
"functionReturnParameters": 5802,
"id": 5806,
"nodeType": "Return",

@@ -644,3 +644,3 @@ "src": "228:25:56"

"documentation": null,
"id": 5795,
"id": 5808,
"implemented": true,

@@ -652,3 +652,3 @@ "kind": "function",

"parameters": {
"id": 5786,
"id": 5799,
"nodeType": "ParameterList",

@@ -659,3 +659,3 @@ "parameters": [],

"returnParameters": {
"id": 5789,
"id": 5802,
"nodeType": "ParameterList",

@@ -665,6 +665,6 @@ "parameters": [

"constant": false,
"id": 5788,
"id": 5801,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5795,
"scope": 5808,
"src": "209:7:56",

@@ -678,3 +678,3 @@ "stateVariable": false,

"typeName": {
"id": 5787,
"id": 5800,
"name": "uint256",

@@ -694,3 +694,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 5814,
"scope": 5827,
"src": "169:91:56",

@@ -703,3 +703,3 @@ "stateMutability": "view",

"body": {
"id": 5803,
"id": 5816,
"nodeType": "Block",

@@ -716,14 +716,14 @@ "src": "294:37:56",

"argumentTypes": null,
"id": 5798,
"id": 5811,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "304:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5800,
"id": 5813,
"isConstant": false,

@@ -735,10 +735,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2162,
"referencedDeclaration": 3315,
"src": "304:18:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$2139_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$3292_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer)"
}
},
"id": 5801,
"id": 5814,
"isConstant": false,

@@ -757,3 +757,3 @@ "isLValue": false,

},
"id": 5802,
"id": 5815,
"nodeType": "ExpressionStatement",

@@ -765,3 +765,3 @@ "src": "304:20:56"

"documentation": null,
"id": 5804,
"id": 5817,
"implemented": true,

@@ -773,3 +773,3 @@ "kind": "function",

"parameters": {
"id": 5796,
"id": 5809,
"nodeType": "ParameterList",

@@ -780,3 +780,3 @@ "parameters": [],

"returnParameters": {
"id": 5797,
"id": 5810,
"nodeType": "ParameterList",

@@ -786,3 +786,3 @@ "parameters": [],

},
"scope": 5814,
"scope": 5827,
"src": "266:65:56",

@@ -795,3 +795,3 @@ "stateMutability": "nonpayable",

"body": {
"id": 5812,
"id": 5825,
"nodeType": "Block",

@@ -808,14 +808,14 @@ "src": "365:37:56",

"argumentTypes": null,
"id": 5807,
"id": 5820,
"name": "_counter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 5785,
"referencedDeclaration": 5798,
"src": "375:8:56",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Counter_$2139_storage",
"typeIdentifier": "t_struct$_Counter_$3292_storage",
"typeString": "struct Counters.Counter storage ref"
}
},
"id": 5809,
"id": 5822,
"isConstant": false,

@@ -827,10 +827,10 @@ "isLValue": true,

"nodeType": "MemberAccess",
"referencedDeclaration": 2178,
"referencedDeclaration": 3331,
"src": "375:18:56",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$2139_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$2139_storage_ptr_$",
"typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Counter_$3292_storage_ptr_$returns$__$bound_to$_t_struct$_Counter_$3292_storage_ptr_$",
"typeString": "function (struct Counters.Counter storage pointer)"
}
},
"id": 5810,
"id": 5823,
"isConstant": false,

@@ -849,3 +849,3 @@ "isLValue": false,

},
"id": 5811,
"id": 5824,
"nodeType": "ExpressionStatement",

@@ -857,3 +857,3 @@ "src": "375:20:56"

"documentation": null,
"id": 5813,
"id": 5826,
"implemented": true,

@@ -865,3 +865,3 @@ "kind": "function",

"parameters": {
"id": 5805,
"id": 5818,
"nodeType": "ParameterList",

@@ -872,3 +872,3 @@ "parameters": [],

"returnParameters": {
"id": 5806,
"id": 5819,
"nodeType": "ParameterList",

@@ -878,3 +878,3 @@ "parameters": [],

},
"scope": 5814,
"scope": 5827,
"src": "337:65:56",

@@ -886,3 +886,3 @@ "stateMutability": "nonpayable",

],
"scope": 5815,
"scope": 5828,
"src": "59:345:56"

@@ -898,4 +898,4 @@ }

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.268Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.728Z",
"devdoc": {

@@ -902,0 +902,0 @@ "methods": {}

@@ -643,3 +643,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.354Z",
"updatedAt": "2019-08-16T19:12:32.728Z",
"devdoc": {

@@ -646,0 +646,0 @@ "methods": {

@@ -760,3 +760,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.354Z",
"updatedAt": "2019-08-16T19:12:32.729Z",
"devdoc": {

@@ -763,0 +763,0 @@ "methods": {

@@ -858,3 +858,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.355Z",
"updatedAt": "2019-08-16T19:12:32.730Z",
"devdoc": {

@@ -861,0 +861,0 @@ "methods": {

@@ -908,3 +908,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.356Z",
"updatedAt": "2019-08-16T19:12:32.731Z",
"devdoc": {

@@ -911,0 +911,0 @@ "methods": {

@@ -573,3 +573,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.357Z",
"updatedAt": "2019-08-16T19:12:32.732Z",
"devdoc": {

@@ -576,0 +576,0 @@ "methods": {

@@ -1351,3 +1351,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.456Z",
"updatedAt": "2019-08-16T19:12:32.845Z",
"devdoc": {

@@ -1354,0 +1354,0 @@ "details": "ERC721 minting logic with metadata.",

@@ -979,3 +979,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.375Z",
"updatedAt": "2019-08-16T19:12:32.752Z",
"devdoc": {

@@ -982,0 +982,0 @@ "methods": {

@@ -767,3 +767,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-12T22:16:08.866Z",
"updatedAt": "2019-08-16T19:12:32.754Z",
"devdoc": {

@@ -770,0 +770,0 @@ "methods": {

@@ -1313,3 +1313,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-12T22:16:08.750Z",
"updatedAt": "2019-08-16T19:12:32.641Z",
"devdoc": {

@@ -1316,0 +1316,0 @@ "methods": {

@@ -130,10 +130,10 @@ {

"IRelayRecipient": [
533
554
]
},
"id": 534,
"id": 555,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 484,
"id": 505,
"literals": [

@@ -154,5 +154,5 @@ "solidity",

"fullyImplemented": false,
"id": 533,
"id": 554,
"linearizedBaseContracts": [
533
554
],

@@ -165,3 +165,3 @@ "name": "IRelayRecipient",

"documentation": "@dev Returns the address of the RelayHub instance this recipient interacts with.",
"id": 489,
"id": 510,
"implemented": false,

@@ -173,3 +173,3 @@ "kind": "function",

"parameters": {
"id": 485,
"id": 506,
"nodeType": "ParameterList",

@@ -180,3 +180,3 @@ "parameters": [],

"returnParameters": {
"id": 488,
"id": 509,
"nodeType": "ParameterList",

@@ -186,6 +186,6 @@ "parameters": [

"constant": false,
"id": 487,
"id": 508,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 489,
"scope": 510,
"src": "290:7:4",

@@ -199,3 +199,3 @@ "stateVariable": false,

"typeName": {
"id": 486,
"id": 507,
"name": "address",

@@ -216,3 +216,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "247:52:4",

@@ -226,3 +226,3 @@ "stateMutability": "view",

"documentation": null,
"id": 514,
"id": 535,
"implemented": false,

@@ -234,3 +234,3 @@ "kind": "function",

"parameters": {
"id": 508,
"id": 529,
"nodeType": "ParameterList",

@@ -240,6 +240,6 @@ "parameters": [

"constant": false,
"id": 491,
"id": 512,
"name": "relay",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "341:13:4",

@@ -253,3 +253,3 @@ "stateVariable": false,

"typeName": {
"id": 490,
"id": 511,
"name": "address",

@@ -269,6 +269,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 493,
"id": 514,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "364:12:4",

@@ -282,3 +282,3 @@ "stateVariable": false,

"typeName": {
"id": 492,
"id": 513,
"name": "address",

@@ -298,6 +298,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 495,
"id": 516,
"name": "encodedFunction",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "386:30:4",

@@ -311,3 +311,3 @@ "stateVariable": false,

"typeName": {
"id": 494,
"id": 515,
"name": "bytes",

@@ -326,6 +326,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 497,
"id": 518,
"name": "transactionFee",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "426:22:4",

@@ -339,3 +339,3 @@ "stateVariable": false,

"typeName": {
"id": 496,
"id": 517,
"name": "uint256",

@@ -354,6 +354,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 499,
"id": 520,
"name": "gasPrice",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "458:16:4",

@@ -367,3 +367,3 @@ "stateVariable": false,

"typeName": {
"id": 498,
"id": 519,
"name": "uint256",

@@ -382,6 +382,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 501,
"id": 522,
"name": "gasLimit",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "484:16:4",

@@ -395,3 +395,3 @@ "stateVariable": false,

"typeName": {
"id": 500,
"id": 521,
"name": "uint256",

@@ -410,6 +410,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 503,
"id": 524,
"name": "nonce",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "510:13:4",

@@ -423,3 +423,3 @@ "stateVariable": false,

"typeName": {
"id": 502,
"id": 523,
"name": "uint256",

@@ -438,6 +438,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 505,
"id": 526,
"name": "approvalData",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "533:27:4",

@@ -451,3 +451,3 @@ "stateVariable": false,

"typeName": {
"id": 504,
"id": 525,
"name": "bytes",

@@ -466,6 +466,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 507,
"id": 528,
"name": "maxPossibleCharge",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "570:25:4",

@@ -479,3 +479,3 @@ "stateVariable": false,

"typeName": {
"id": 506,
"id": 527,
"name": "uint256",

@@ -496,3 +496,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 513,
"id": 534,
"nodeType": "ParameterList",

@@ -502,6 +502,6 @@ "parameters": [

"constant": false,
"id": 510,
"id": 531,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "649:7:4",

@@ -515,3 +515,3 @@ "stateVariable": false,

"typeName": {
"id": 509,
"id": 530,
"name": "uint256",

@@ -530,6 +530,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 512,
"id": 533,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "658:12:4",

@@ -543,3 +543,3 @@ "stateVariable": false,

"typeName": {
"id": 511,
"id": 532,
"name": "bytes",

@@ -559,3 +559,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "305:367:4",

@@ -569,3 +569,3 @@ "stateMutability": "view",

"documentation": null,
"id": 521,
"id": 542,
"implemented": false,

@@ -577,3 +577,3 @@ "kind": "function",

"parameters": {
"id": 517,
"id": 538,
"nodeType": "ParameterList",

@@ -583,6 +583,6 @@ "parameters": [

"constant": false,
"id": 516,
"id": 537,
"name": "context",
"nodeType": "VariableDeclaration",
"scope": 521,
"scope": 542,
"src": "702:22:4",

@@ -596,3 +596,3 @@ "stateVariable": false,

"typeName": {
"id": 515,
"id": 536,
"name": "bytes",

@@ -613,3 +613,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 520,
"id": 541,
"nodeType": "ParameterList",

@@ -619,6 +619,6 @@ "parameters": [

"constant": false,
"id": 519,
"id": 540,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 521,
"scope": 542,
"src": "744:7:4",

@@ -632,3 +632,3 @@ "stateVariable": false,

"typeName": {
"id": 518,
"id": 539,
"name": "bytes32",

@@ -648,3 +648,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "678:75:4",

@@ -658,3 +658,3 @@ "stateMutability": "nonpayable",

"documentation": null,
"id": 532,
"id": 553,
"implemented": false,

@@ -666,3 +666,3 @@ "kind": "function",

"parameters": {
"id": 530,
"id": 551,
"nodeType": "ParameterList",

@@ -672,6 +672,6 @@ "parameters": [

"constant": false,
"id": 523,
"id": 544,
"name": "context",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "784:22:4",

@@ -685,3 +685,3 @@ "stateVariable": false,

"typeName": {
"id": 522,
"id": 543,
"name": "bytes",

@@ -700,6 +700,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 525,
"id": 546,
"name": "success",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "808:12:4",

@@ -713,3 +713,3 @@ "stateVariable": false,

"typeName": {
"id": 524,
"id": 545,
"name": "bool",

@@ -728,6 +728,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 527,
"id": 548,
"name": "actualCharge",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "822:17:4",

@@ -741,3 +741,3 @@ "stateVariable": false,

"typeName": {
"id": 526,
"id": 547,
"name": "uint",

@@ -756,6 +756,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 529,
"id": 550,
"name": "preRetVal",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "841:17:4",

@@ -769,3 +769,3 @@ "stateVariable": false,

"typeName": {
"id": 528,
"id": 549,
"name": "bytes32",

@@ -786,3 +786,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 531,
"id": 552,
"nodeType": "ParameterList",

@@ -792,3 +792,3 @@ "parameters": [],

},
"scope": 533,
"scope": 554,
"src": "759:110:4",

@@ -800,3 +800,3 @@ "stateMutability": "nonpayable",

],
"scope": 534,
"scope": 555,
"src": "112:759:4"

@@ -811,10 +811,10 @@ }

"IRelayRecipient": [
533
554
]
},
"id": 534,
"id": 555,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 484,
"id": 505,
"literals": [

@@ -835,5 +835,5 @@ "solidity",

"fullyImplemented": false,
"id": 533,
"id": 554,
"linearizedBaseContracts": [
533
554
],

@@ -846,3 +846,3 @@ "name": "IRelayRecipient",

"documentation": "@dev Returns the address of the RelayHub instance this recipient interacts with.",
"id": 489,
"id": 510,
"implemented": false,

@@ -854,3 +854,3 @@ "kind": "function",

"parameters": {
"id": 485,
"id": 506,
"nodeType": "ParameterList",

@@ -861,3 +861,3 @@ "parameters": [],

"returnParameters": {
"id": 488,
"id": 509,
"nodeType": "ParameterList",

@@ -867,6 +867,6 @@ "parameters": [

"constant": false,
"id": 487,
"id": 508,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 489,
"scope": 510,
"src": "290:7:4",

@@ -880,3 +880,3 @@ "stateVariable": false,

"typeName": {
"id": 486,
"id": 507,
"name": "address",

@@ -897,3 +897,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "247:52:4",

@@ -907,3 +907,3 @@ "stateMutability": "view",

"documentation": null,
"id": 514,
"id": 535,
"implemented": false,

@@ -915,3 +915,3 @@ "kind": "function",

"parameters": {
"id": 508,
"id": 529,
"nodeType": "ParameterList",

@@ -921,6 +921,6 @@ "parameters": [

"constant": false,
"id": 491,
"id": 512,
"name": "relay",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "341:13:4",

@@ -934,3 +934,3 @@ "stateVariable": false,

"typeName": {
"id": 490,
"id": 511,
"name": "address",

@@ -950,6 +950,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 493,
"id": 514,
"name": "from",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "364:12:4",

@@ -963,3 +963,3 @@ "stateVariable": false,

"typeName": {
"id": 492,
"id": 513,
"name": "address",

@@ -979,6 +979,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 495,
"id": 516,
"name": "encodedFunction",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "386:30:4",

@@ -992,3 +992,3 @@ "stateVariable": false,

"typeName": {
"id": 494,
"id": 515,
"name": "bytes",

@@ -1007,6 +1007,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 497,
"id": 518,
"name": "transactionFee",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "426:22:4",

@@ -1020,3 +1020,3 @@ "stateVariable": false,

"typeName": {
"id": 496,
"id": 517,
"name": "uint256",

@@ -1035,6 +1035,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 499,
"id": 520,
"name": "gasPrice",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "458:16:4",

@@ -1048,3 +1048,3 @@ "stateVariable": false,

"typeName": {
"id": 498,
"id": 519,
"name": "uint256",

@@ -1063,6 +1063,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 501,
"id": 522,
"name": "gasLimit",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "484:16:4",

@@ -1076,3 +1076,3 @@ "stateVariable": false,

"typeName": {
"id": 500,
"id": 521,
"name": "uint256",

@@ -1091,6 +1091,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 503,
"id": 524,
"name": "nonce",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "510:13:4",

@@ -1104,3 +1104,3 @@ "stateVariable": false,

"typeName": {
"id": 502,
"id": 523,
"name": "uint256",

@@ -1119,6 +1119,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 505,
"id": 526,
"name": "approvalData",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "533:27:4",

@@ -1132,3 +1132,3 @@ "stateVariable": false,

"typeName": {
"id": 504,
"id": 525,
"name": "bytes",

@@ -1147,6 +1147,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 507,
"id": 528,
"name": "maxPossibleCharge",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "570:25:4",

@@ -1160,3 +1160,3 @@ "stateVariable": false,

"typeName": {
"id": 506,
"id": 527,
"name": "uint256",

@@ -1177,3 +1177,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 513,
"id": 534,
"nodeType": "ParameterList",

@@ -1183,6 +1183,6 @@ "parameters": [

"constant": false,
"id": 510,
"id": 531,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "649:7:4",

@@ -1196,3 +1196,3 @@ "stateVariable": false,

"typeName": {
"id": 509,
"id": 530,
"name": "uint256",

@@ -1211,6 +1211,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 512,
"id": 533,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 514,
"scope": 535,
"src": "658:12:4",

@@ -1224,3 +1224,3 @@ "stateVariable": false,

"typeName": {
"id": 511,
"id": 532,
"name": "bytes",

@@ -1240,3 +1240,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "305:367:4",

@@ -1250,3 +1250,3 @@ "stateMutability": "view",

"documentation": null,
"id": 521,
"id": 542,
"implemented": false,

@@ -1258,3 +1258,3 @@ "kind": "function",

"parameters": {
"id": 517,
"id": 538,
"nodeType": "ParameterList",

@@ -1264,6 +1264,6 @@ "parameters": [

"constant": false,
"id": 516,
"id": 537,
"name": "context",
"nodeType": "VariableDeclaration",
"scope": 521,
"scope": 542,
"src": "702:22:4",

@@ -1277,3 +1277,3 @@ "stateVariable": false,

"typeName": {
"id": 515,
"id": 536,
"name": "bytes",

@@ -1294,3 +1294,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 520,
"id": 541,
"nodeType": "ParameterList",

@@ -1300,6 +1300,6 @@ "parameters": [

"constant": false,
"id": 519,
"id": 540,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 521,
"scope": 542,
"src": "744:7:4",

@@ -1313,3 +1313,3 @@ "stateVariable": false,

"typeName": {
"id": 518,
"id": 539,
"name": "bytes32",

@@ -1329,3 +1329,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 533,
"scope": 554,
"src": "678:75:4",

@@ -1339,3 +1339,3 @@ "stateMutability": "nonpayable",

"documentation": null,
"id": 532,
"id": 553,
"implemented": false,

@@ -1347,3 +1347,3 @@ "kind": "function",

"parameters": {
"id": 530,
"id": 551,
"nodeType": "ParameterList",

@@ -1353,6 +1353,6 @@ "parameters": [

"constant": false,
"id": 523,
"id": 544,
"name": "context",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "784:22:4",

@@ -1366,3 +1366,3 @@ "stateVariable": false,

"typeName": {
"id": 522,
"id": 543,
"name": "bytes",

@@ -1381,6 +1381,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 525,
"id": 546,
"name": "success",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "808:12:4",

@@ -1394,3 +1394,3 @@ "stateVariable": false,

"typeName": {
"id": 524,
"id": 545,
"name": "bool",

@@ -1409,6 +1409,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 527,
"id": 548,
"name": "actualCharge",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "822:17:4",

@@ -1422,3 +1422,3 @@ "stateVariable": false,

"typeName": {
"id": 526,
"id": 547,
"name": "uint",

@@ -1437,6 +1437,6 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 529,
"id": 550,
"name": "preRetVal",
"nodeType": "VariableDeclaration",
"scope": 532,
"scope": 553,
"src": "841:17:4",

@@ -1450,3 +1450,3 @@ "stateVariable": false,

"typeName": {
"id": 528,
"id": 549,
"name": "bytes32",

@@ -1467,3 +1467,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 531,
"id": 552,
"nodeType": "ParameterList",

@@ -1473,3 +1473,3 @@ "parameters": [],

},
"scope": 533,
"scope": 554,
"src": "759:110:4",

@@ -1481,3 +1481,3 @@ "stateMutability": "nonpayable",

],
"scope": 534,
"scope": 555,
"src": "112:759:4"

@@ -1493,4 +1493,4 @@ }

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T18:23:06.794Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.644Z",
"devdoc": {

@@ -1497,0 +1497,0 @@ "methods": {

@@ -950,3 +950,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.320Z",
"updatedAt": "2019-08-16T19:12:32.680Z",
"devdoc": {

@@ -953,0 +953,0 @@ "details": "Extension of Crowdsale contract whose tokens are minted in each purchase. Token ownership should be transferred to MintedCrowdsale for minting.",

@@ -669,3 +669,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.379Z",
"updatedAt": "2019-08-16T19:12:32.759Z",
"devdoc": {

@@ -672,0 +672,0 @@ "methods": {

@@ -859,3 +859,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.380Z",
"updatedAt": "2019-08-16T19:12:32.760Z",
"devdoc": {

@@ -862,0 +862,0 @@ "methods": {}

@@ -820,3 +820,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.380Z",
"updatedAt": "2019-08-16T19:12:32.761Z",
"devdoc": {

@@ -823,0 +823,0 @@ "details": "See the EIP165 specification for more information: https://eips.ethereum.org/EIPS/eip-165#specification",

@@ -236,3 +236,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.381Z",
"updatedAt": "2019-08-16T19:12:32.762Z",
"devdoc": {

@@ -239,0 +239,0 @@ "methods": {

@@ -854,3 +854,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.325Z",
"updatedAt": "2019-08-16T19:12:32.686Z",
"devdoc": {

@@ -857,0 +857,0 @@ "details": "Extension of Crowdsale contract where purchases can be paused and unpaused by the pauser role.",

@@ -799,3 +799,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.382Z",
"updatedAt": "2019-08-16T19:12:32.762Z",
"devdoc": {

@@ -802,0 +802,0 @@ "methods": {

@@ -1189,3 +1189,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.382Z",
"updatedAt": "2019-08-16T19:12:32.763Z",
"devdoc": {

@@ -1192,0 +1192,0 @@ "methods": {

@@ -859,3 +859,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.383Z",
"updatedAt": "2019-08-16T19:12:32.765Z",
"devdoc": {

@@ -862,0 +862,0 @@ "methods": {}

@@ -1437,3 +1437,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.418Z",
"updatedAt": "2019-08-16T19:12:32.804Z",
"devdoc": {

@@ -1440,0 +1440,0 @@ "details": "Base contract supporting async send for pull payments. Inherit from this contract and use {_asyncTransfer} instead of send or transfer.",

@@ -603,3 +603,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.385Z",
"updatedAt": "2019-08-16T19:12:32.767Z",
"devdoc": {

@@ -606,0 +606,0 @@ "methods": {

@@ -802,3 +802,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.385Z",
"updatedAt": "2019-08-16T19:12:32.767Z",
"devdoc": {

@@ -805,0 +805,0 @@ "methods": {}

@@ -22,10 +22,10 @@ {

"ReentrancyGuard": [
13354
13448
]
},
"id": 13355,
"id": 13449,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 13324,
"id": 13418,
"literals": [

@@ -38,3 +38,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:148"
"src": "0:23:149"
},

@@ -47,5 +47,5 @@ {

"fullyImplemented": true,
"id": 13354,
"id": 13448,
"linearizedBaseContracts": [
13354
13448
],

@@ -57,7 +57,7 @@ "name": "ReentrancyGuard",

"constant": false,
"id": 13326,
"id": 13420,
"name": "_guardCounter",
"nodeType": "VariableDeclaration",
"scope": 13354,
"src": "654:29:148",
"scope": 13448,
"src": "654:29:149",
"stateVariable": true,

@@ -70,6 +70,6 @@ "storageLocation": "default",

"typeName": {
"id": 13325,
"id": 13419,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "654:7:148",
"src": "654:7:149",
"typeDescriptions": {

@@ -85,5 +85,5 @@ "typeIdentifier": "t_uint256",

"body": {
"id": 13333,
"id": 13427,
"nodeType": "Block",
"src": "714:173:148",
"src": "714:173:149",
"statements": [

@@ -93,3 +93,3 @@ {

"argumentTypes": null,
"id": 13331,
"id": 13425,
"isConstant": false,

@@ -101,8 +101,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13329,
"id": 13423,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "863:13:148",
"referencedDeclaration": 13420,
"src": "863:13:149",
"typeDescriptions": {

@@ -118,3 +118,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 13330,
"id": 13424,
"isConstant": false,

@@ -126,3 +126,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "879:1:148",
"src": "879:1:149",
"subdenomination": null,

@@ -135,3 +135,3 @@ "typeDescriptions": {

},
"src": "863:17:148",
"src": "863:17:149",
"typeDescriptions": {

@@ -142,5 +142,5 @@ "typeIdentifier": "t_uint256",

},
"id": 13332,
"id": 13426,
"nodeType": "ExpressionStatement",
"src": "863:17:148"
"src": "863:17:149"
}

@@ -150,3 +150,3 @@ ]

"documentation": null,
"id": 13334,
"id": 13428,
"implemented": true,

@@ -158,15 +158,15 @@ "kind": "constructor",

"parameters": {
"id": 13327,
"id": 13421,
"nodeType": "ParameterList",
"parameters": [],
"src": "702:2:148"
"src": "702:2:149"
},
"returnParameters": {
"id": 13328,
"id": 13422,
"nodeType": "ParameterList",
"parameters": [],
"src": "714:0:148"
"src": "714:0:149"
},
"scope": 13354,
"src": "690:197:148",
"scope": 13448,
"src": "690:197:149",
"stateMutability": "nonpayable",

@@ -178,5 +178,5 @@ "superFunction": null,

"body": {
"id": 13352,
"id": 13446,
"nodeType": "Block",
"src": "1286:175:148",
"src": "1286:175:149",
"statements": [

@@ -186,3 +186,3 @@ {

"argumentTypes": null,
"id": 13338,
"id": 13432,
"isConstant": false,

@@ -194,8 +194,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13336,
"id": 13430,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1296:13:148",
"referencedDeclaration": 13420,
"src": "1296:13:149",
"typeDescriptions": {

@@ -211,3 +211,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 13337,
"id": 13431,
"isConstant": false,

@@ -219,3 +219,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1313:1:148",
"src": "1313:1:149",
"subdenomination": null,

@@ -228,3 +228,3 @@ "typeDescriptions": {

},
"src": "1296:18:148",
"src": "1296:18:149",
"typeDescriptions": {

@@ -235,9 +235,9 @@ "typeIdentifier": "t_uint256",

},
"id": 13339,
"id": 13433,
"nodeType": "ExpressionStatement",
"src": "1296:18:148"
"src": "1296:18:149"
},
{
"assignments": [
13341
13435
],

@@ -247,7 +247,7 @@ "declarations": [

"constant": false,
"id": 13341,
"id": 13435,
"name": "localCounter",
"nodeType": "VariableDeclaration",
"scope": 13352,
"src": "1324:20:148",
"scope": 13446,
"src": "1324:20:149",
"stateVariable": false,

@@ -260,6 +260,6 @@ "storageLocation": "default",

"typeName": {
"id": 13340,
"id": 13434,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1324:7:148",
"src": "1324:7:149",
"typeDescriptions": {

@@ -274,11 +274,11 @@ "typeIdentifier": "t_uint256",

],
"id": 13343,
"id": 13437,
"initialValue": {
"argumentTypes": null,
"id": 13342,
"id": 13436,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1347:13:148",
"referencedDeclaration": 13420,
"src": "1347:13:149",
"typeDescriptions": {

@@ -290,8 +290,8 @@ "typeIdentifier": "t_uint256",

"nodeType": "VariableDeclarationStatement",
"src": "1324:36:148"
"src": "1324:36:149"
},
{
"id": 13344,
"id": 13438,
"nodeType": "PlaceholderStatement",
"src": "1370:1:148"
"src": "1370:1:149"
},

@@ -308,3 +308,3 @@ {

},
"id": 13348,
"id": 13442,
"isConstant": false,

@@ -316,8 +316,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13346,
"id": 13440,
"name": "localCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13341,
"src": "1389:12:148",
"referencedDeclaration": 13435,
"src": "1389:12:149",
"typeDescriptions": {

@@ -332,8 +332,8 @@ "typeIdentifier": "t_uint256",

"argumentTypes": null,
"id": 13347,
"id": 13441,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1405:13:148",
"referencedDeclaration": 13420,
"src": "1405:13:149",
"typeDescriptions": {

@@ -344,3 +344,3 @@ "typeIdentifier": "t_uint256",

},
"src": "1389:29:148",
"src": "1389:29:149",
"typeDescriptions": {

@@ -354,3 +354,3 @@ "typeIdentifier": "t_bool",

"hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c",
"id": 13349,
"id": 13443,
"isConstant": false,

@@ -362,3 +362,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1420:33:148",
"src": "1420:33:149",
"subdenomination": null,

@@ -383,11 +383,11 @@ "typeDescriptions": {

],
"id": 13345,
"id": 13439,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
13372,
13373
13466,
13467
],
"referencedDeclaration": 13373,
"src": "1381:7:148",
"referencedDeclaration": 13467,
"src": "1381:7:149",
"typeDescriptions": {

@@ -398,3 +398,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",

},
"id": 13350,
"id": 13444,
"isConstant": false,

@@ -407,3 +407,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1381:73:148",
"src": "1381:73:149",
"typeDescriptions": {

@@ -414,5 +414,5 @@ "typeIdentifier": "t_tuple$__$",

},
"id": 13351,
"id": 13445,
"nodeType": "ExpressionStatement",
"src": "1381:73:148"
"src": "1381:73:149"
}

@@ -422,20 +422,20 @@ ]

"documentation": "@dev Prevents a contract from calling itself, directly or indirectly.\nCalling a `nonReentrant` function from another `nonReentrant`\nfunction is not supported. It is possible to prevent this from happening\nby making the `nonReentrant` function external, and make it call a\n`private` function that does the actual work.",
"id": 13353,
"id": 13447,
"name": "nonReentrant",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 13335,
"id": 13429,
"nodeType": "ParameterList",
"parameters": [],
"src": "1283:2:148"
"src": "1283:2:149"
},
"src": "1262:199:148",
"src": "1262:199:149",
"visibility": "internal"
}
],
"scope": 13355,
"src": "557:906:148"
"scope": 13449,
"src": "557:906:149"
}
],
"src": "0:1464:148"
"src": "0:1464:149"
},

@@ -446,10 +446,10 @@ "legacyAST": {

"ReentrancyGuard": [
13354
13448
]
},
"id": 13355,
"id": 13449,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 13324,
"id": 13418,
"literals": [

@@ -462,3 +462,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:148"
"src": "0:23:149"
},

@@ -471,5 +471,5 @@ {

"fullyImplemented": true,
"id": 13354,
"id": 13448,
"linearizedBaseContracts": [
13354
13448
],

@@ -481,7 +481,7 @@ "name": "ReentrancyGuard",

"constant": false,
"id": 13326,
"id": 13420,
"name": "_guardCounter",
"nodeType": "VariableDeclaration",
"scope": 13354,
"src": "654:29:148",
"scope": 13448,
"src": "654:29:149",
"stateVariable": true,

@@ -494,6 +494,6 @@ "storageLocation": "default",

"typeName": {
"id": 13325,
"id": 13419,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "654:7:148",
"src": "654:7:149",
"typeDescriptions": {

@@ -509,5 +509,5 @@ "typeIdentifier": "t_uint256",

"body": {
"id": 13333,
"id": 13427,
"nodeType": "Block",
"src": "714:173:148",
"src": "714:173:149",
"statements": [

@@ -517,3 +517,3 @@ {

"argumentTypes": null,
"id": 13331,
"id": 13425,
"isConstant": false,

@@ -525,8 +525,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13329,
"id": 13423,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "863:13:148",
"referencedDeclaration": 13420,
"src": "863:13:149",
"typeDescriptions": {

@@ -542,3 +542,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 13330,
"id": 13424,
"isConstant": false,

@@ -550,3 +550,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "879:1:148",
"src": "879:1:149",
"subdenomination": null,

@@ -559,3 +559,3 @@ "typeDescriptions": {

},
"src": "863:17:148",
"src": "863:17:149",
"typeDescriptions": {

@@ -566,5 +566,5 @@ "typeIdentifier": "t_uint256",

},
"id": 13332,
"id": 13426,
"nodeType": "ExpressionStatement",
"src": "863:17:148"
"src": "863:17:149"
}

@@ -574,3 +574,3 @@ ]

"documentation": null,
"id": 13334,
"id": 13428,
"implemented": true,

@@ -582,15 +582,15 @@ "kind": "constructor",

"parameters": {
"id": 13327,
"id": 13421,
"nodeType": "ParameterList",
"parameters": [],
"src": "702:2:148"
"src": "702:2:149"
},
"returnParameters": {
"id": 13328,
"id": 13422,
"nodeType": "ParameterList",
"parameters": [],
"src": "714:0:148"
"src": "714:0:149"
},
"scope": 13354,
"src": "690:197:148",
"scope": 13448,
"src": "690:197:149",
"stateMutability": "nonpayable",

@@ -602,5 +602,5 @@ "superFunction": null,

"body": {
"id": 13352,
"id": 13446,
"nodeType": "Block",
"src": "1286:175:148",
"src": "1286:175:149",
"statements": [

@@ -610,3 +610,3 @@ {

"argumentTypes": null,
"id": 13338,
"id": 13432,
"isConstant": false,

@@ -618,8 +618,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13336,
"id": 13430,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1296:13:148",
"referencedDeclaration": 13420,
"src": "1296:13:149",
"typeDescriptions": {

@@ -635,3 +635,3 @@ "typeIdentifier": "t_uint256",

"hexValue": "31",
"id": 13337,
"id": 13431,
"isConstant": false,

@@ -643,3 +643,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1313:1:148",
"src": "1313:1:149",
"subdenomination": null,

@@ -652,3 +652,3 @@ "typeDescriptions": {

},
"src": "1296:18:148",
"src": "1296:18:149",
"typeDescriptions": {

@@ -659,9 +659,9 @@ "typeIdentifier": "t_uint256",

},
"id": 13339,
"id": 13433,
"nodeType": "ExpressionStatement",
"src": "1296:18:148"
"src": "1296:18:149"
},
{
"assignments": [
13341
13435
],

@@ -671,7 +671,7 @@ "declarations": [

"constant": false,
"id": 13341,
"id": 13435,
"name": "localCounter",
"nodeType": "VariableDeclaration",
"scope": 13352,
"src": "1324:20:148",
"scope": 13446,
"src": "1324:20:149",
"stateVariable": false,

@@ -684,6 +684,6 @@ "storageLocation": "default",

"typeName": {
"id": 13340,
"id": 13434,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1324:7:148",
"src": "1324:7:149",
"typeDescriptions": {

@@ -698,11 +698,11 @@ "typeIdentifier": "t_uint256",

],
"id": 13343,
"id": 13437,
"initialValue": {
"argumentTypes": null,
"id": 13342,
"id": 13436,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1347:13:148",
"referencedDeclaration": 13420,
"src": "1347:13:149",
"typeDescriptions": {

@@ -714,8 +714,8 @@ "typeIdentifier": "t_uint256",

"nodeType": "VariableDeclarationStatement",
"src": "1324:36:148"
"src": "1324:36:149"
},
{
"id": 13344,
"id": 13438,
"nodeType": "PlaceholderStatement",
"src": "1370:1:148"
"src": "1370:1:149"
},

@@ -732,3 +732,3 @@ {

},
"id": 13348,
"id": 13442,
"isConstant": false,

@@ -740,8 +740,8 @@ "isLValue": false,

"argumentTypes": null,
"id": 13346,
"id": 13440,
"name": "localCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13341,
"src": "1389:12:148",
"referencedDeclaration": 13435,
"src": "1389:12:149",
"typeDescriptions": {

@@ -756,8 +756,8 @@ "typeIdentifier": "t_uint256",

"argumentTypes": null,
"id": 13347,
"id": 13441,
"name": "_guardCounter",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 13326,
"src": "1405:13:148",
"referencedDeclaration": 13420,
"src": "1405:13:149",
"typeDescriptions": {

@@ -768,3 +768,3 @@ "typeIdentifier": "t_uint256",

},
"src": "1389:29:148",
"src": "1389:29:149",
"typeDescriptions": {

@@ -778,3 +778,3 @@ "typeIdentifier": "t_bool",

"hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c",
"id": 13349,
"id": 13443,
"isConstant": false,

@@ -786,3 +786,3 @@ "isLValue": false,

"nodeType": "Literal",
"src": "1420:33:148",
"src": "1420:33:149",
"subdenomination": null,

@@ -807,11 +807,11 @@ "typeDescriptions": {

],
"id": 13345,
"id": 13439,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
13372,
13373
13466,
13467
],
"referencedDeclaration": 13373,
"src": "1381:7:148",
"referencedDeclaration": 13467,
"src": "1381:7:149",
"typeDescriptions": {

@@ -822,3 +822,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",

},
"id": 13350,
"id": 13444,
"isConstant": false,

@@ -831,3 +831,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "1381:73:148",
"src": "1381:73:149",
"typeDescriptions": {

@@ -838,5 +838,5 @@ "typeIdentifier": "t_tuple$__$",

},
"id": 13351,
"id": 13445,
"nodeType": "ExpressionStatement",
"src": "1381:73:148"
"src": "1381:73:149"
}

@@ -846,20 +846,20 @@ ]

"documentation": "@dev Prevents a contract from calling itself, directly or indirectly.\nCalling a `nonReentrant` function from another `nonReentrant`\nfunction is not supported. It is possible to prevent this from happening\nby making the `nonReentrant` function external, and make it call a\n`private` function that does the actual work.",
"id": 13353,
"id": 13447,
"name": "nonReentrant",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 13335,
"id": 13429,
"nodeType": "ParameterList",
"parameters": [],
"src": "1283:2:148"
"src": "1283:2:149"
},
"src": "1262:199:148",
"src": "1262:199:149",
"visibility": "internal"
}
],
"scope": 13355,
"src": "557:906:148"
"scope": 13449,
"src": "557:906:149"
}
],
"src": "0:1464:148"
"src": "0:1464:149"
},

@@ -871,4 +871,4 @@ "compiler": {

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.375Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.864Z",
"devdoc": {

@@ -875,0 +875,0 @@ "details": "Contract module that helps prevent reentrant calls to a function. * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. * Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them.",

@@ -1173,3 +1173,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.318Z",
"updatedAt": "2019-08-16T19:12:32.678Z",
"devdoc": {

@@ -1176,0 +1176,0 @@ "details": "Extension of RefundableCrowdsale contract that only delivers the tokens once the crowdsale has closed and the goal met, preventing refunds to be issued to token holders.",

@@ -323,3 +323,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.406Z",
"updatedAt": "2019-08-16T19:12:32.790Z",
"devdoc": {

@@ -326,0 +326,0 @@ "methods": {

@@ -859,3 +859,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.408Z",
"updatedAt": "2019-08-16T19:12:32.793Z",
"devdoc": {

@@ -862,0 +862,0 @@ "methods": {}

@@ -27,4 +27,4 @@ {

"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a2bd364414610030575b600080fd5b61005c6004803603602081101561004657600080fd5b81019080803590602001909291905050506100d7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561009c578082015181840152602081019050610081565b50505050905090810190601f1680156100c95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606100e2826100e9565b9050919050565b60606000821415610131576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050610214565b600082905060005b6000821461015b578080600101915050600a828161015357fe5b049150610139565b6060816040519080825280601f01601f1916602001820160405280156101905781602001600182028038833980820191505090505b50905060006001830390508593505b6000841461020c57600a84816101b157fe5b0660300160f81b828280600190039350815181106101cb57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161020457fe5b04935061019f565b819450505050505b91905056fea165627a7a723058203012ff1a31af5f640e025e01a61b0f5aba62c2212dea7f3c990a3007d7a91f4f0029",
"sourceMap": "58:151:107:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:151:107;;;;;;;",
"deployedSourceMap": "58:151:107:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:151:107;;;;;;;;;;;;;;;;;;;85:122;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;85:122:107;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;85:122:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142:13;174:26;194:5;174:19;:26::i;:::-;167:33;;85:122;;;:::o;318:538:28:-;377:13;415:1;406:5;:10;402:51;;;432:10;;;;;;;;;;;;;;;;;;;;;402:51;462:12;477:5;462:20;;492:14;516:75;531:1;523:4;:9;516:75;;548:8;;;;;;;578:2;570:10;;;;;;;;;516:75;;;600:19;632:6;622:17;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;622:17:28;;;;600:39;;649:13;674:1;665:6;:10;649:26;;692:5;685:12;;707:112;722:1;714:4;:9;707:112;;780:2;773:4;:9;;;;;;768:2;:14;757:27;;739:6;746:7;;;;;;;739:15;;;;;;;;;;;:45;;;;;;;;;;;806:2;798:10;;;;;;;;;707:112;;;842:6;828:21;;;;;;318:538;;;;:::o",
"sourceMap": "58:151:108:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:151:108;;;;;;;",
"deployedSourceMap": "58:151:108:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:151:108;;;;;;;;;;;;;;;;;;;85:122;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;85:122:108;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;85:122:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142:13;174:26;194:5;174:19;:26::i;:::-;167:33;;85:122;;;:::o;318:538:36:-;377:13;415:1;406:5;:10;402:51;;;432:10;;;;;;;;;;;;;;;;;;;;;402:51;462:12;477:5;462:20;;492:14;516:75;531:1;523:4;:9;516:75;;548:8;;;;;;;578:2;570:10;;;;;;;;;516:75;;;600:19;632:6;622:17;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;622:17:36;;;;600:39;;649:13;674:1;665:6;:10;649:26;;692:5;685:12;;707:112;722:1;714:4;:9;707:112;;780:2;773:4;:9;;;;;;768:2;:14;757:27;;739:6;746:7;;;;;;;739:15;;;;;;;;;;;:45;;;;;;;;;;;806:2;798:10;;;;;;;;;707:112;;;842:6;828:21;;;;;;318:538;;;;:::o",
"source": "pragma solidity ^0.5.0;\n\nimport \"../drafts/Strings.sol\";\n\ncontract StringsMock {\n function fromUint256(uint256 value) public pure returns (string memory) {\n return Strings.fromUint256(value);\n }\n}\n",

@@ -36,10 +36,10 @@ "sourcePath": "/home/frangio/oz/contracts/contracts/mocks/StringsMock.sol",

"StringsMock": [
8520
8584
]
},
"id": 8521,
"id": 8585,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 8505,
"id": 8569,
"literals": [

@@ -52,3 +52,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:107"
"src": "0:23:108"
},

@@ -58,7 +58,7 @@ {

"file": "../drafts/Strings.sol",
"id": 8506,
"id": 8570,
"nodeType": "ImportDirective",
"scope": 8521,
"sourceUnit": 3196,
"src": "25:31:107",
"scope": 8585,
"sourceUnit": 4358,
"src": "25:31:108",
"symbolAliases": [],

@@ -73,5 +73,5 @@ "unitAlias": ""

"fullyImplemented": true,
"id": 8520,
"id": 8584,
"linearizedBaseContracts": [
8520
8584
],

@@ -83,5 +83,5 @@ "name": "StringsMock",

"body": {
"id": 8518,
"id": 8582,
"nodeType": "Block",
"src": "157:50:107",
"src": "157:50:108",
"statements": [

@@ -94,8 +94,8 @@ {

"argumentTypes": null,
"id": 8515,
"id": 8579,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 8508,
"src": "194:5:107",
"referencedDeclaration": 8572,
"src": "194:5:108",
"typeDescriptions": {

@@ -116,14 +116,14 @@ "typeIdentifier": "t_uint256",

"argumentTypes": null,
"id": 8513,
"id": 8577,
"name": "Strings",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 3195,
"src": "174:7:107",
"referencedDeclaration": 4357,
"src": "174:7:108",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Strings_$3195_$",
"typeIdentifier": "t_type$_t_contract$_Strings_$4357_$",
"typeString": "type(library Strings)"
}
},
"id": 8514,
"id": 8578,
"isConstant": false,

@@ -135,4 +135,4 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 3194,
"src": "174:19:107",
"referencedDeclaration": 4356,
"src": "174:19:108",
"typeDescriptions": {

@@ -143,3 +143,3 @@ "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$",

},
"id": 8516,
"id": 8580,
"isConstant": false,

@@ -152,3 +152,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "174:26:107",
"src": "174:26:108",
"typeDescriptions": {

@@ -159,6 +159,6 @@ "typeIdentifier": "t_string_memory_ptr",

},
"functionReturnParameters": 8512,
"id": 8517,
"functionReturnParameters": 8576,
"id": 8581,
"nodeType": "Return",
"src": "167:33:107"
"src": "167:33:108"
}

@@ -168,3 +168,3 @@ ]

"documentation": null,
"id": 8519,
"id": 8583,
"implemented": true,

@@ -176,3 +176,3 @@ "kind": "function",

"parameters": {
"id": 8509,
"id": 8573,
"nodeType": "ParameterList",

@@ -182,7 +182,7 @@ "parameters": [

"constant": false,
"id": 8508,
"id": 8572,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 8519,
"src": "106:13:107",
"scope": 8583,
"src": "106:13:108",
"stateVariable": false,

@@ -195,6 +195,6 @@ "storageLocation": "default",

"typeName": {
"id": 8507,
"id": 8571,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "106:7:107",
"src": "106:7:108",
"typeDescriptions": {

@@ -209,6 +209,6 @@ "typeIdentifier": "t_uint256",

],
"src": "105:15:107"
"src": "105:15:108"
},
"returnParameters": {
"id": 8512,
"id": 8576,
"nodeType": "ParameterList",

@@ -218,7 +218,7 @@ "parameters": [

"constant": false,
"id": 8511,
"id": 8575,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 8519,
"src": "142:13:107",
"scope": 8583,
"src": "142:13:108",
"stateVariable": false,

@@ -231,6 +231,6 @@ "storageLocation": "memory",

"typeName": {
"id": 8510,
"id": 8574,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "142:6:107",
"src": "142:6:108",
"typeDescriptions": {

@@ -245,6 +245,6 @@ "typeIdentifier": "t_string_storage_ptr",

],
"src": "141:15:107"
"src": "141:15:108"
},
"scope": 8520,
"src": "85:122:107",
"scope": 8584,
"src": "85:122:108",
"stateMutability": "pure",

@@ -255,7 +255,7 @@ "superFunction": null,

],
"scope": 8521,
"src": "58:151:107"
"scope": 8585,
"src": "58:151:108"
}
],
"src": "0:210:107"
"src": "0:210:108"
},

@@ -266,10 +266,10 @@ "legacyAST": {

"StringsMock": [
8520
8584
]
},
"id": 8521,
"id": 8585,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 8505,
"id": 8569,
"literals": [

@@ -282,3 +282,3 @@ "solidity",

"nodeType": "PragmaDirective",
"src": "0:23:107"
"src": "0:23:108"
},

@@ -288,7 +288,7 @@ {

"file": "../drafts/Strings.sol",
"id": 8506,
"id": 8570,
"nodeType": "ImportDirective",
"scope": 8521,
"sourceUnit": 3196,
"src": "25:31:107",
"scope": 8585,
"sourceUnit": 4358,
"src": "25:31:108",
"symbolAliases": [],

@@ -303,5 +303,5 @@ "unitAlias": ""

"fullyImplemented": true,
"id": 8520,
"id": 8584,
"linearizedBaseContracts": [
8520
8584
],

@@ -313,5 +313,5 @@ "name": "StringsMock",

"body": {
"id": 8518,
"id": 8582,
"nodeType": "Block",
"src": "157:50:107",
"src": "157:50:108",
"statements": [

@@ -324,8 +324,8 @@ {

"argumentTypes": null,
"id": 8515,
"id": 8579,
"name": "value",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 8508,
"src": "194:5:107",
"referencedDeclaration": 8572,
"src": "194:5:108",
"typeDescriptions": {

@@ -346,14 +346,14 @@ "typeIdentifier": "t_uint256",

"argumentTypes": null,
"id": 8513,
"id": 8577,
"name": "Strings",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 3195,
"src": "174:7:107",
"referencedDeclaration": 4357,
"src": "174:7:108",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_Strings_$3195_$",
"typeIdentifier": "t_type$_t_contract$_Strings_$4357_$",
"typeString": "type(library Strings)"
}
},
"id": 8514,
"id": 8578,
"isConstant": false,

@@ -365,4 +365,4 @@ "isLValue": false,

"nodeType": "MemberAccess",
"referencedDeclaration": 3194,
"src": "174:19:107",
"referencedDeclaration": 4356,
"src": "174:19:108",
"typeDescriptions": {

@@ -373,3 +373,3 @@ "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$",

},
"id": 8516,
"id": 8580,
"isConstant": false,

@@ -382,3 +382,3 @@ "isLValue": false,

"nodeType": "FunctionCall",
"src": "174:26:107",
"src": "174:26:108",
"typeDescriptions": {

@@ -389,6 +389,6 @@ "typeIdentifier": "t_string_memory_ptr",

},
"functionReturnParameters": 8512,
"id": 8517,
"functionReturnParameters": 8576,
"id": 8581,
"nodeType": "Return",
"src": "167:33:107"
"src": "167:33:108"
}

@@ -398,3 +398,3 @@ ]

"documentation": null,
"id": 8519,
"id": 8583,
"implemented": true,

@@ -406,3 +406,3 @@ "kind": "function",

"parameters": {
"id": 8509,
"id": 8573,
"nodeType": "ParameterList",

@@ -412,7 +412,7 @@ "parameters": [

"constant": false,
"id": 8508,
"id": 8572,
"name": "value",
"nodeType": "VariableDeclaration",
"scope": 8519,
"src": "106:13:107",
"scope": 8583,
"src": "106:13:108",
"stateVariable": false,

@@ -425,6 +425,6 @@ "storageLocation": "default",

"typeName": {
"id": 8507,
"id": 8571,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "106:7:107",
"src": "106:7:108",
"typeDescriptions": {

@@ -439,6 +439,6 @@ "typeIdentifier": "t_uint256",

],
"src": "105:15:107"
"src": "105:15:108"
},
"returnParameters": {
"id": 8512,
"id": 8576,
"nodeType": "ParameterList",

@@ -448,7 +448,7 @@ "parameters": [

"constant": false,
"id": 8511,
"id": 8575,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 8519,
"src": "142:13:107",
"scope": 8583,
"src": "142:13:108",
"stateVariable": false,

@@ -461,6 +461,6 @@ "storageLocation": "memory",

"typeName": {
"id": 8510,
"id": 8574,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "142:6:107",
"src": "142:6:108",
"typeDescriptions": {

@@ -475,6 +475,6 @@ "typeIdentifier": "t_string_storage_ptr",

],
"src": "141:15:107"
"src": "141:15:108"
},
"scope": 8520,
"src": "85:122:107",
"scope": 8584,
"src": "85:122:108",
"stateMutability": "pure",

@@ -485,7 +485,7 @@ "superFunction": null,

],
"scope": 8521,
"src": "58:151:107"
"scope": 8585,
"src": "58:151:108"
}
],
"src": "0:210:107"
"src": "0:210:108"
},

@@ -497,4 +497,4 @@ "compiler": {

"networks": {},
"schemaVersion": "3.0.9",
"updatedAt": "2019-08-12T10:54:01.319Z",
"schemaVersion": "3.0.11",
"updatedAt": "2019-08-16T19:12:32.794Z",
"devdoc": {

@@ -501,0 +501,0 @@ "methods": {}

@@ -859,3 +859,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.410Z",
"updatedAt": "2019-08-16T19:12:32.795Z",
"devdoc": {

@@ -862,0 +862,0 @@ "methods": {}

@@ -1066,3 +1066,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.329Z",
"updatedAt": "2019-08-16T19:12:32.689Z",
"devdoc": {

@@ -1069,0 +1069,0 @@ "details": "Crowdsale in which only whitelisted users can contribute.",

@@ -433,3 +433,3 @@ {

"schemaVersion": "3.0.11",
"updatedAt": "2019-08-15T16:51:56.411Z",
"updatedAt": "2019-08-16T19:12:32.797Z",
"devdoc": {

@@ -436,0 +436,0 @@ "methods": {}

{
"name": "@openzeppelin/contracts",
"version": "2.4.0-beta.0",
"version": "2.4.0-beta.1",
"description": "Secure Smart Contract library for Solidity",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc