{
  "contractName": "Address",
  "abi": [],
  "metadata": "{\"compiler\":{\"version\":\"0.5.17+commit.d19bba13\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type,\",\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"openzeppelin-solidity/contracts/utils/Address.sol\":\"Address\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0xf3358e5819ca73357abd6c90bdfffd0474af54364897f6b3e3234c4b71fbe9a1\",\"urls\":[\"bzz-raw://75ae8d04454d1511a2ed986cc8585736f05c5c25280683b3d24712a9f414a4bf\",\"dweb:/ipfs/Qmb3kNCoBUZdah1AgBBD4zMk898j5Qw8ahT1w5cCMYp5Y3\"]}},\"version\":1}",
  "bytecode": "0x60556023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820fe1352e507a6393fbf06c4f3b47c4aef1bb287aae3b017f685a00f4e7f393ead64736f6c63430005110032",
  "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea265627a7a72315820fe1352e507a6393fbf06c4f3b47c4aef1bb287aae3b017f685a00f4e7f393ead64736f6c63430005110032",
  "sourceMap": "94:863:70:-;;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": "94:863:70:-;;;;;;;;",
  "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     * > It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a 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        uint256 size;\n        // solhint-disable-next-line no-inline-assembly\n        assembly { size := extcodesize(account) }\n        return size > 0;\n    }\n}\n",
  "sourcePath": "openzeppelin-solidity/contracts/utils/Address.sol",
  "ast": {
    "absolutePath": "openzeppelin-solidity/contracts/utils/Address.sol",
    "exportedSymbols": {
      "Address": [
        18345
      ]
    },
    "id": 18346,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 18328,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:70"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "library",
        "documentation": "@dev Collection of functions related to the address type,",
        "fullyImplemented": true,
        "id": 18345,
        "linearizedBaseContracts": [
          18345
        ],
        "name": "Address",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 18343,
              "nodeType": "Block",
              "src": "608:347:70",
              "statements": [
                {
                  "assignments": [
                    18336
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 18336,
                      "name": "size",
                      "nodeType": "VariableDeclaration",
                      "scope": 18343,
                      "src": "805:12:70",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      },
                      "typeName": {
                        "id": 18335,
                        "name": "uint256",
                        "nodeType": "ElementaryTypeName",
                        "src": "805:7:70",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 18337,
                  "initialValue": null,
                  "nodeType": "VariableDeclarationStatement",
                  "src": "805:12:70"
                },
                {
                  "externalReferences": [
                    {
                      "size": {
                        "declaration": 18336,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "894:4:70",
                        "valueSize": 1
                      }
                    },
                    {
                      "account": {
                        "declaration": 18330,
                        "isOffset": false,
                        "isSlot": false,
                        "src": "914:7:70",
                        "valueSize": 1
                      }
                    }
                  ],
                  "id": 18338,
                  "nodeType": "InlineAssembly",
                  "operations": "{ size := extcodesize(account) }",
                  "src": "883:41:70"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 18341,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 18339,
                      "name": "size",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 18336,
                      "src": "940:4:70",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": ">",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 18340,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "947:1:70",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "940:8:70",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 18334,
                  "id": 18342,
                  "nodeType": "Return",
                  "src": "933:15:70"
                }
              ]
            },
            "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     * > It is unsafe to assume that an address for which this function returns\nfalse is an externally-owned account (EOA) and not a contract.",
            "id": 18344,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isContract",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 18331,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18330,
                  "name": "account",
                  "nodeType": "VariableDeclaration",
                  "scope": 18344,
                  "src": "562:15:70",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 18329,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "562:7:70",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "561:17:70"
            },
            "returnParameters": {
              "id": 18334,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 18333,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 18344,
                  "src": "602:4:70",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 18332,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "602:4:70",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "601:6:70"
            },
            "scope": 18345,
            "src": "542:413:70",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 18346,
        "src": "94:863:70"
      }
    ],
    "src": "0:958:70"
  },
  "legacyAST": {
    "attributes": {
      "absolutePath": "openzeppelin-solidity/contracts/utils/Address.sol",
      "exportedSymbols": {
        "Address": [
          18345
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.5",
            ".0"
          ]
        },
        "id": 18328,
        "name": "PragmaDirective",
        "src": "0:23:70"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "library",
          "documentation": "@dev Collection of functions related to the address type,",
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            18345
          ],
          "name": "Address",
          "scope": 18346
        },
        "children": [
          {
            "attributes": {
              "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     * > It is unsafe to assume that an address for which this function returns\nfalse is an externally-owned account (EOA) and not a contract.",
              "implemented": true,
              "isConstructor": false,
              "kind": "function",
              "modifiers": [
                null
              ],
              "name": "isContract",
              "scope": 18345,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "internal"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "account",
                      "scope": 18344,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "stateMutability": "nonpayable",
                          "type": "address"
                        },
                        "id": 18329,
                        "name": "ElementaryTypeName",
                        "src": "562:7:70"
                      }
                    ],
                    "id": 18330,
                    "name": "VariableDeclaration",
                    "src": "562:15:70"
                  }
                ],
                "id": 18331,
                "name": "ParameterList",
                "src": "561:17:70"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 18344,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 18332,
                        "name": "ElementaryTypeName",
                        "src": "602:4:70"
                      }
                    ],
                    "id": 18333,
                    "name": "VariableDeclaration",
                    "src": "602:4:70"
                  }
                ],
                "id": 18334,
                "name": "ParameterList",
                "src": "601:6:70"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "assignments": [
                        18336
                      ],
                      "initialValue": null
                    },
                    "children": [
                      {
                        "attributes": {
                          "constant": false,
                          "name": "size",
                          "scope": 18343,
                          "stateVariable": false,
                          "storageLocation": "default",
                          "type": "uint256",
                          "value": null,
                          "visibility": "internal"
                        },
                        "children": [
                          {
                            "attributes": {
                              "name": "uint256",
                              "type": "uint256"
                            },
                            "id": 18335,
                            "name": "ElementaryTypeName",
                            "src": "805:7:70"
                          }
                        ],
                        "id": 18336,
                        "name": "VariableDeclaration",
                        "src": "805:12:70"
                      }
                    ],
                    "id": 18337,
                    "name": "VariableDeclarationStatement",
                    "src": "805:12:70"
                  },
                  {
                    "attributes": {
                      "externalReferences": [
                        {
                          "size": {
                            "declaration": 18336,
                            "isOffset": false,
                            "isSlot": false,
                            "src": "894:4:70",
                            "valueSize": 1
                          }
                        },
                        {
                          "account": {
                            "declaration": 18330,
                            "isOffset": false,
                            "isSlot": false,
                            "src": "914:7:70",
                            "valueSize": 1
                          }
                        }
                      ],
                      "operations": "{ size := extcodesize(account) }"
                    },
                    "children": [],
                    "id": 18338,
                    "name": "InlineAssembly",
                    "src": "883:41:70"
                  },
                  {
                    "attributes": {
                      "functionReturnParameters": 18334
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "commonType": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": ">",
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 18336,
                              "type": "uint256",
                              "value": "size"
                            },
                            "id": 18339,
                            "name": "Identifier",
                            "src": "940:4:70"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "hexvalue": "30",
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "subdenomination": null,
                              "token": "number",
                              "type": "int_const 0",
                              "value": "0"
                            },
                            "id": 18340,
                            "name": "Literal",
                            "src": "947:1:70"
                          }
                        ],
                        "id": 18341,
                        "name": "BinaryOperation",
                        "src": "940:8:70"
                      }
                    ],
                    "id": 18342,
                    "name": "Return",
                    "src": "933:15:70"
                  }
                ],
                "id": 18343,
                "name": "Block",
                "src": "608:347:70"
              }
            ],
            "id": 18344,
            "name": "FunctionDefinition",
            "src": "542:413:70"
          }
        ],
        "id": 18345,
        "name": "ContractDefinition",
        "src": "94:863:70"
      }
    ],
    "id": 18346,
    "name": "SourceUnit",
    "src": "0:958:70"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.17+commit.d19bba13.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.3.4",
  "updatedAt": "2021-11-23T11:52:09.496Z",
  "devdoc": {
    "details": "Collection of functions related to the address type,",
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}