{
  "contractName": "DSAuthEvents",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "authority",
          "type": "address"
        }
      ],
      "name": "LogSetAuthority",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "owner",
          "type": "address"
        }
      ],
      "name": "LogSetOwner",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"authority\",\"type\":\"address\"}],\"name\":\"LogSetAuthority\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"LogSetOwner\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol\":\"DSAuthEvents\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol\":{\"keccak256\":\"0x0fc40ead2b50e5af28947e90016c9f44b775908fa0f777a00006cd00b1562bda\",\"urls\":[\"bzzr://ed804ede633264aefcc34d7c3e5671e0d35420462a9e360029e89257cf974d87\"]}},\"version\":1}",
  "bytecode": "0x6080604052348015600f57600080fd5b50603580601d6000396000f3fe6080604052600080fdfea165627a7a72305820ad891f81a3e4213b887aaaf56a07bf0e39965e28cead66a67ff2bab17dde25900029",
  "deployedBytecode": "0x6080604052600080fdfea165627a7a72305820ad891f81a3e4213b887aaaf56a07bf0e39965e28cead66a67ff2bab17dde25900029",
  "sourceMap": "140:125:55:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;140:125:55;;;;;;;",
  "deployedSourceMap": "140:125:55:-;;;;;",
  "source": "pragma solidity ^0.5.2;\n\n\ncontract DSAuthority {\n    function canCall(address src, address dst, bytes4 sig) public view returns (bool);\n}\n\n\ncontract DSAuthEvents {\n    event LogSetAuthority(address indexed authority);\n    event LogSetOwner(address indexed owner);\n}\n\n\ncontract DSAuth is DSAuthEvents {\n    DSAuthority public authority;\n    address public owner;\n\n    constructor() public {\n        owner = msg.sender;\n        emit LogSetOwner(msg.sender);\n    }\n\n    function setOwner(address owner_) public auth {\n        owner = owner_;\n        emit LogSetOwner(owner);\n    }\n\n    function setAuthority(DSAuthority authority_) public auth {\n        authority = authority_;\n        emit LogSetAuthority(address(authority));\n    }\n\n    modifier auth {\n        require(isAuthorized(msg.sender, msg.sig), \"It must be an authorized call\");\n        _;\n    }\n\n    function isAuthorized(address src, bytes4 sig) internal view returns (bool) {\n        if (src == address(this)) {\n            return true;\n        } else if (src == owner) {\n            return true;\n        } else if (authority == DSAuthority(0)) {\n            return false;\n        } else {\n            return authority.canCall(src, address(this), sig);\n        }\n    }\n}\n",
  "sourcePath": "@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol",
  "ast": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol",
    "exportedSymbols": {
      "DSAuth": [
        17552
      ],
      "DSAuthEvents": [
        17438
      ],
      "DSAuthority": [
        17429
      ]
    },
    "id": 17553,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 17417,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:55"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 17429,
        "linearizedBaseContracts": [
          17429
        ],
        "name": "DSAuthority",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "id": 17428,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "canCall",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17424,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17419,
                  "name": "src",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "70:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17418,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "70:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17421,
                  "name": "dst",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "83:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17420,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "83:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17423,
                  "name": "sig",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "96:10:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 17422,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "96:6:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "69:38:55"
            },
            "returnParameters": {
              "id": 17427,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17426,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "129:4:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 17425,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "129:4:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "128:6:55"
            },
            "scope": 17429,
            "src": "53:82:55",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 17553,
        "src": "26:111:55"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 17438,
        "linearizedBaseContracts": [
          17438
        ],
        "name": "DSAuthEvents",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 17433,
            "name": "LogSetAuthority",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 17432,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17431,
                  "indexed": true,
                  "name": "authority",
                  "nodeType": "VariableDeclaration",
                  "scope": 17433,
                  "src": "190:25:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17430,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "190:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "189:27:55"
            },
            "src": "168:49:55"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 17437,
            "name": "LogSetOwner",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 17436,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17435,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 17437,
                  "src": "240:21:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17434,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "240:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "239:23:55"
            },
            "src": "222:41:55"
          }
        ],
        "scope": 17553,
        "src": "140:125:55"
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 17439,
              "name": "DSAuthEvents",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 17438,
              "src": "287:12:55",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DSAuthEvents_$17438",
                "typeString": "contract DSAuthEvents"
              }
            },
            "id": 17440,
            "nodeType": "InheritanceSpecifier",
            "src": "287:12:55"
          }
        ],
        "contractDependencies": [
          17438
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 17552,
        "linearizedBaseContracts": [
          17552,
          17438
        ],
        "name": "DSAuth",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 17442,
            "name": "authority",
            "nodeType": "VariableDeclaration",
            "scope": 17552,
            "src": "306:28:55",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_DSAuthority_$17429",
              "typeString": "contract DSAuthority"
            },
            "typeName": {
              "contractScope": null,
              "id": 17441,
              "name": "DSAuthority",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 17429,
              "src": "306:11:55",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DSAuthority_$17429",
                "typeString": "contract DSAuthority"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 17444,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 17552,
            "src": "340:20:55",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 17443,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "340:7:55",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17457,
              "nodeType": "Block",
              "src": "388:73:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17450,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17447,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17444,
                      "src": "398:5:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 17448,
                        "name": "msg",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23690,
                        "src": "406:3:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_magic_message",
                          "typeString": "msg"
                        }
                      },
                      "id": 17449,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "sender",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "406:10:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "398:18:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 17451,
                  "nodeType": "ExpressionStatement",
                  "src": "398:18:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 17453,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "443:3:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 17454,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "443:10:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "id": 17452,
                      "name": "LogSetOwner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17437,
                      "src": "431:11:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17455,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "431:23:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17456,
                  "nodeType": "EmitStatement",
                  "src": "426:28:55"
                }
              ]
            },
            "documentation": null,
            "id": 17458,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17445,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "378:2:55"
            },
            "returnParameters": {
              "id": 17446,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "388:0:55"
            },
            "scope": 17552,
            "src": "367:94:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17473,
              "nodeType": "Block",
              "src": "513:64:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17467,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17465,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17444,
                      "src": "523:5:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 17466,
                      "name": "owner_",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17460,
                      "src": "531:6:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "523:14:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 17468,
                  "nodeType": "ExpressionStatement",
                  "src": "523:14:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 17470,
                        "name": "owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17444,
                        "src": "564:5:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 17469,
                      "name": "LogSetOwner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17437,
                      "src": "552:11:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17471,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "552:18:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17472,
                  "nodeType": "EmitStatement",
                  "src": "547:23:55"
                }
              ]
            },
            "documentation": null,
            "id": 17474,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 17463,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 17462,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 17506,
                  "src": "508:4:55",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "508:4:55"
              }
            ],
            "name": "setOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17461,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17460,
                  "name": "owner_",
                  "nodeType": "VariableDeclaration",
                  "scope": 17474,
                  "src": "485:14:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17459,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "485:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "484:16:55"
            },
            "returnParameters": {
              "id": 17464,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "513:0:55"
            },
            "scope": 17552,
            "src": "467:110:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17491,
              "nodeType": "Block",
              "src": "641:89:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17483,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17481,
                      "name": "authority",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17442,
                      "src": "651:9:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_DSAuthority_$17429",
                        "typeString": "contract DSAuthority"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 17482,
                      "name": "authority_",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17476,
                      "src": "663:10:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_DSAuthority_$17429",
                        "typeString": "contract DSAuthority"
                      }
                    },
                    "src": "651:22:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_DSAuthority_$17429",
                      "typeString": "contract DSAuthority"
                    }
                  },
                  "id": 17484,
                  "nodeType": "ExpressionStatement",
                  "src": "651:22:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 17487,
                            "name": "authority",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17442,
                            "src": "712:9:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_DSAuthority_$17429",
                              "typeString": "contract DSAuthority"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_DSAuthority_$17429",
                              "typeString": "contract DSAuthority"
                            }
                          ],
                          "id": 17486,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "704:7:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 17488,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "704:18:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 17485,
                      "name": "LogSetAuthority",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17433,
                      "src": "688:15:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17489,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "688:35:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17490,
                  "nodeType": "EmitStatement",
                  "src": "683:40:55"
                }
              ]
            },
            "documentation": null,
            "id": 17492,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 17479,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 17478,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 17506,
                  "src": "636:4:55",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "636:4:55"
              }
            ],
            "name": "setAuthority",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17477,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17476,
                  "name": "authority_",
                  "nodeType": "VariableDeclaration",
                  "scope": 17492,
                  "src": "605:22:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_DSAuthority_$17429",
                    "typeString": "contract DSAuthority"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 17475,
                    "name": "DSAuthority",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 17429,
                    "src": "605:11:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_DSAuthority_$17429",
                      "typeString": "contract DSAuthority"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "604:24:55"
            },
            "returnParameters": {
              "id": 17480,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "641:0:55"
            },
            "scope": 17552,
            "src": "583:147:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17505,
              "nodeType": "Block",
              "src": "750:103:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 17496,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "781:3:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17497,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "781:10:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 17498,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "793:3:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17499,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sig",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "793:7:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            },
                            {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          ],
                          "id": 17495,
                          "name": "isAuthorized",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17551,
                          "src": "768:12:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes4_$returns$_t_bool_$",
                            "typeString": "function (address,bytes4) view returns (bool)"
                          }
                        },
                        "id": 17500,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "768:33:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4974206d75737420626520616e20617574686f72697a65642063616c6c",
                        "id": 17501,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "803:31:55",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_8843194f39187c7178c7c3838b5fd59e1fa2d7c6024e18bd12a8b5d4ed6cfca7",
                          "typeString": "literal_string \"It must be an authorized call\""
                        },
                        "value": "It must be an authorized call"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_8843194f39187c7178c7c3838b5fd59e1fa2d7c6024e18bd12a8b5d4ed6cfca7",
                          "typeString": "literal_string \"It must be an authorized call\""
                        }
                      ],
                      "id": 17494,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "760:7:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 17502,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "760:75:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17503,
                  "nodeType": "ExpressionStatement",
                  "src": "760:75:55"
                },
                {
                  "id": 17504,
                  "nodeType": "PlaceholderStatement",
                  "src": "845:1:55"
                }
              ]
            },
            "documentation": null,
            "id": 17506,
            "name": "auth",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 17493,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "750:0:55"
            },
            "src": "736:117:55",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 17550,
              "nodeType": "Block",
              "src": "935:294:55",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 17519,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 17515,
                      "name": "src",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17508,
                      "src": "949:3:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 17517,
                          "name": "this",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23766,
                          "src": "964:4:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuth_$17552",
                            "typeString": "contract DSAuth"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_DSAuth_$17552",
                            "typeString": "contract DSAuth"
                          }
                        ],
                        "id": 17516,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "956:7:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 17518,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "956:13:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "949:20:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "condition": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "id": 17525,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "id": 17523,
                        "name": "src",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17508,
                        "src": "1017:3:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "argumentTypes": null,
                        "id": 17524,
                        "name": "owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17444,
                        "src": "1024:5:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "src": "1017:12:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseBody": {
                      "condition": {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_DSAuthority_$17429",
                          "typeString": "contract DSAuthority"
                        },
                        "id": 17533,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 17529,
                          "name": "authority",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17442,
                          "src": "1077:9:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuthority_$17429",
                            "typeString": "contract DSAuthority"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 17531,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1102:1:55",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 17530,
                            "name": "DSAuthority",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17429,
                            "src": "1090:11:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_DSAuthority_$17429_$",
                              "typeString": "type(contract DSAuthority)"
                            }
                          },
                          "id": 17532,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1090:14:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuthority_$17429",
                            "typeString": "contract DSAuthority"
                          }
                        },
                        "src": "1077:27:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseBody": {
                        "id": 17546,
                        "nodeType": "Block",
                        "src": "1149:74:55",
                        "statements": [
                          {
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 17539,
                                  "name": "src",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17508,
                                  "src": "1188:3:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 17541,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23766,
                                      "src": "1201:4:55",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_DSAuth_$17552",
                                        "typeString": "contract DSAuth"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_DSAuth_$17552",
                                        "typeString": "contract DSAuth"
                                      }
                                    ],
                                    "id": 17540,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "1193:7:55",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 17542,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "1193:13:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "id": 17543,
                                  "name": "sig",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17510,
                                  "src": "1208:3:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 17537,
                                  "name": "authority",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17442,
                                  "src": "1170:9:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_DSAuthority_$17429",
                                    "typeString": "contract DSAuthority"
                                  }
                                },
                                "id": 17538,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "canCall",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 17428,
                                "src": "1170:17:55",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_bytes4_$returns$_t_bool_$",
                                  "typeString": "function (address,address,bytes4) view external returns (bool)"
                                }
                              },
                              "id": 17544,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "1170:42:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "functionReturnParameters": 17514,
                            "id": 17545,
                            "nodeType": "Return",
                            "src": "1163:49:55"
                          }
                        ]
                      },
                      "id": 17547,
                      "nodeType": "IfStatement",
                      "src": "1073:150:55",
                      "trueBody": {
                        "id": 17536,
                        "nodeType": "Block",
                        "src": "1106:37:55",
                        "statements": [
                          {
                            "expression": {
                              "argumentTypes": null,
                              "hexValue": "66616c7365",
                              "id": 17534,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1127:5:55",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            "functionReturnParameters": 17514,
                            "id": 17535,
                            "nodeType": "Return",
                            "src": "1120:12:55"
                          }
                        ]
                      }
                    },
                    "id": 17548,
                    "nodeType": "IfStatement",
                    "src": "1013:210:55",
                    "trueBody": {
                      "id": 17528,
                      "nodeType": "Block",
                      "src": "1031:36:55",
                      "statements": [
                        {
                          "expression": {
                            "argumentTypes": null,
                            "hexValue": "74727565",
                            "id": 17526,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "bool",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "1052:4:55",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "value": "true"
                          },
                          "functionReturnParameters": 17514,
                          "id": 17527,
                          "nodeType": "Return",
                          "src": "1045:11:55"
                        }
                      ]
                    }
                  },
                  "id": 17549,
                  "nodeType": "IfStatement",
                  "src": "945:278:55",
                  "trueBody": {
                    "id": 17522,
                    "nodeType": "Block",
                    "src": "971:36:55",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "74727565",
                          "id": 17520,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "992:4:55",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "true"
                        },
                        "functionReturnParameters": 17514,
                        "id": 17521,
                        "nodeType": "Return",
                        "src": "985:11:55"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": null,
            "id": 17551,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isAuthorized",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17511,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17508,
                  "name": "src",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "881:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17507,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "881:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17510,
                  "name": "sig",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "894:10:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 17509,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "894:6:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "880:25:55"
            },
            "returnParameters": {
              "id": 17514,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17513,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "929:4:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 17512,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "929:4:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "928:6:55"
            },
            "scope": 17552,
            "src": "859:370:55",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 17553,
        "src": "268:963:55"
      }
    ],
    "src": "0:1232:55"
  },
  "legacyAST": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/Oracle/DSAuth.sol",
    "exportedSymbols": {
      "DSAuth": [
        17552
      ],
      "DSAuthEvents": [
        17438
      ],
      "DSAuthority": [
        17429
      ]
    },
    "id": 17553,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 17417,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:55"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": false,
        "id": 17429,
        "linearizedBaseContracts": [
          17429
        ],
        "name": "DSAuthority",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "id": 17428,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "canCall",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17424,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17419,
                  "name": "src",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "70:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17418,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "70:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17421,
                  "name": "dst",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "83:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17420,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "83:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17423,
                  "name": "sig",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "96:10:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 17422,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "96:6:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "69:38:55"
            },
            "returnParameters": {
              "id": 17427,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17426,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 17428,
                  "src": "129:4:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 17425,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "129:4:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "128:6:55"
            },
            "scope": 17429,
            "src": "53:82:55",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 17553,
        "src": "26:111:55"
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 17438,
        "linearizedBaseContracts": [
          17438
        ],
        "name": "DSAuthEvents",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": null,
            "id": 17433,
            "name": "LogSetAuthority",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 17432,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17431,
                  "indexed": true,
                  "name": "authority",
                  "nodeType": "VariableDeclaration",
                  "scope": 17433,
                  "src": "190:25:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17430,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "190:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "189:27:55"
            },
            "src": "168:49:55"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 17437,
            "name": "LogSetOwner",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 17436,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17435,
                  "indexed": true,
                  "name": "owner",
                  "nodeType": "VariableDeclaration",
                  "scope": 17437,
                  "src": "240:21:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17434,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "240:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "239:23:55"
            },
            "src": "222:41:55"
          }
        ],
        "scope": 17553,
        "src": "140:125:55"
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 17439,
              "name": "DSAuthEvents",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 17438,
              "src": "287:12:55",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DSAuthEvents_$17438",
                "typeString": "contract DSAuthEvents"
              }
            },
            "id": 17440,
            "nodeType": "InheritanceSpecifier",
            "src": "287:12:55"
          }
        ],
        "contractDependencies": [
          17438
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 17552,
        "linearizedBaseContracts": [
          17552,
          17438
        ],
        "name": "DSAuth",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 17442,
            "name": "authority",
            "nodeType": "VariableDeclaration",
            "scope": 17552,
            "src": "306:28:55",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_DSAuthority_$17429",
              "typeString": "contract DSAuthority"
            },
            "typeName": {
              "contractScope": null,
              "id": 17441,
              "name": "DSAuthority",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 17429,
              "src": "306:11:55",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DSAuthority_$17429",
                "typeString": "contract DSAuthority"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 17444,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 17552,
            "src": "340:20:55",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 17443,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "340:7:55",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17457,
              "nodeType": "Block",
              "src": "388:73:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17450,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17447,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17444,
                      "src": "398:5:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 17448,
                        "name": "msg",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23690,
                        "src": "406:3:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_magic_message",
                          "typeString": "msg"
                        }
                      },
                      "id": 17449,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "sender",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "406:10:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "398:18:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 17451,
                  "nodeType": "ExpressionStatement",
                  "src": "398:18:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 17453,
                          "name": "msg",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23690,
                          "src": "443:3:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_magic_message",
                            "typeString": "msg"
                          }
                        },
                        "id": 17454,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "sender",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": null,
                        "src": "443:10:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address_payable",
                          "typeString": "address payable"
                        }
                      ],
                      "id": 17452,
                      "name": "LogSetOwner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17437,
                      "src": "431:11:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17455,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "431:23:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17456,
                  "nodeType": "EmitStatement",
                  "src": "426:28:55"
                }
              ]
            },
            "documentation": null,
            "id": 17458,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17445,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "378:2:55"
            },
            "returnParameters": {
              "id": 17446,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "388:0:55"
            },
            "scope": 17552,
            "src": "367:94:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17473,
              "nodeType": "Block",
              "src": "513:64:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17467,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17465,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17444,
                      "src": "523:5:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 17466,
                      "name": "owner_",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17460,
                      "src": "531:6:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "523:14:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 17468,
                  "nodeType": "ExpressionStatement",
                  "src": "523:14:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 17470,
                        "name": "owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17444,
                        "src": "564:5:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 17469,
                      "name": "LogSetOwner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17437,
                      "src": "552:11:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17471,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "552:18:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17472,
                  "nodeType": "EmitStatement",
                  "src": "547:23:55"
                }
              ]
            },
            "documentation": null,
            "id": 17474,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 17463,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 17462,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 17506,
                  "src": "508:4:55",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "508:4:55"
              }
            ],
            "name": "setOwner",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17461,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17460,
                  "name": "owner_",
                  "nodeType": "VariableDeclaration",
                  "scope": 17474,
                  "src": "485:14:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17459,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "485:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "484:16:55"
            },
            "returnParameters": {
              "id": 17464,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "513:0:55"
            },
            "scope": 17552,
            "src": "467:110:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17491,
              "nodeType": "Block",
              "src": "641:89:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 17483,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 17481,
                      "name": "authority",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17442,
                      "src": "651:9:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_DSAuthority_$17429",
                        "typeString": "contract DSAuthority"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 17482,
                      "name": "authority_",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17476,
                      "src": "663:10:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_DSAuthority_$17429",
                        "typeString": "contract DSAuthority"
                      }
                    },
                    "src": "651:22:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_DSAuthority_$17429",
                      "typeString": "contract DSAuthority"
                    }
                  },
                  "id": 17484,
                  "nodeType": "ExpressionStatement",
                  "src": "651:22:55"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 17487,
                            "name": "authority",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17442,
                            "src": "712:9:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_DSAuthority_$17429",
                              "typeString": "contract DSAuthority"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_DSAuthority_$17429",
                              "typeString": "contract DSAuthority"
                            }
                          ],
                          "id": 17486,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "704:7:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 17488,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "704:18:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 17485,
                      "name": "LogSetAuthority",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17433,
                      "src": "688:15:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 17489,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "688:35:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17490,
                  "nodeType": "EmitStatement",
                  "src": "683:40:55"
                }
              ]
            },
            "documentation": null,
            "id": 17492,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 17479,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 17478,
                  "name": "auth",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 17506,
                  "src": "636:4:55",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "636:4:55"
              }
            ],
            "name": "setAuthority",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17477,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17476,
                  "name": "authority_",
                  "nodeType": "VariableDeclaration",
                  "scope": 17492,
                  "src": "605:22:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_DSAuthority_$17429",
                    "typeString": "contract DSAuthority"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 17475,
                    "name": "DSAuthority",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 17429,
                    "src": "605:11:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_DSAuthority_$17429",
                      "typeString": "contract DSAuthority"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "604:24:55"
            },
            "returnParameters": {
              "id": 17480,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "641:0:55"
            },
            "scope": 17552,
            "src": "583:147:55",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 17505,
              "nodeType": "Block",
              "src": "750:103:55",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 17496,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "781:3:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17497,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sender",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "781:10:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            }
                          },
                          {
                            "argumentTypes": null,
                            "expression": {
                              "argumentTypes": null,
                              "id": 17498,
                              "name": "msg",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 23690,
                              "src": "793:3:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_magic_message",
                                "typeString": "msg"
                              }
                            },
                            "id": 17499,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "lValueRequested": false,
                            "memberName": "sig",
                            "nodeType": "MemberAccess",
                            "referencedDeclaration": null,
                            "src": "793:7:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address_payable",
                              "typeString": "address payable"
                            },
                            {
                              "typeIdentifier": "t_bytes4",
                              "typeString": "bytes4"
                            }
                          ],
                          "id": 17495,
                          "name": "isAuthorized",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17551,
                          "src": "768:12:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes4_$returns$_t_bool_$",
                            "typeString": "function (address,bytes4) view returns (bool)"
                          }
                        },
                        "id": 17500,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "768:33:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4974206d75737420626520616e20617574686f72697a65642063616c6c",
                        "id": 17501,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "803:31:55",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_8843194f39187c7178c7c3838b5fd59e1fa2d7c6024e18bd12a8b5d4ed6cfca7",
                          "typeString": "literal_string \"It must be an authorized call\""
                        },
                        "value": "It must be an authorized call"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_8843194f39187c7178c7c3838b5fd59e1fa2d7c6024e18bd12a8b5d4ed6cfca7",
                          "typeString": "literal_string \"It must be an authorized call\""
                        }
                      ],
                      "id": 17494,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "760:7:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 17502,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "760:75:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 17503,
                  "nodeType": "ExpressionStatement",
                  "src": "760:75:55"
                },
                {
                  "id": 17504,
                  "nodeType": "PlaceholderStatement",
                  "src": "845:1:55"
                }
              ]
            },
            "documentation": null,
            "id": 17506,
            "name": "auth",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 17493,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "750:0:55"
            },
            "src": "736:117:55",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 17550,
              "nodeType": "Block",
              "src": "935:294:55",
              "statements": [
                {
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 17519,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 17515,
                      "name": "src",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 17508,
                      "src": "949:3:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 17517,
                          "name": "this",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 23766,
                          "src": "964:4:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuth_$17552",
                            "typeString": "contract DSAuth"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_contract$_DSAuth_$17552",
                            "typeString": "contract DSAuth"
                          }
                        ],
                        "id": 17516,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "956:7:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 17518,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "956:13:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "949:20:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "condition": {
                      "argumentTypes": null,
                      "commonType": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      },
                      "id": 17525,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "argumentTypes": null,
                        "id": 17523,
                        "name": "src",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17508,
                        "src": "1017:3:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "==",
                      "rightExpression": {
                        "argumentTypes": null,
                        "id": 17524,
                        "name": "owner",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 17444,
                        "src": "1024:5:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "src": "1017:12:55",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "falseBody": {
                      "condition": {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_contract$_DSAuthority_$17429",
                          "typeString": "contract DSAuthority"
                        },
                        "id": 17533,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 17529,
                          "name": "authority",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 17442,
                          "src": "1077:9:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuthority_$17429",
                            "typeString": "contract DSAuthority"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 17531,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1102:1:55",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              }
                            ],
                            "id": 17530,
                            "name": "DSAuthority",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 17429,
                            "src": "1090:11:55",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_contract$_DSAuthority_$17429_$",
                              "typeString": "type(contract DSAuthority)"
                            }
                          },
                          "id": 17532,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1090:14:55",
                          "typeDescriptions": {
                            "typeIdentifier": "t_contract$_DSAuthority_$17429",
                            "typeString": "contract DSAuthority"
                          }
                        },
                        "src": "1077:27:55",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "falseBody": {
                        "id": 17546,
                        "nodeType": "Block",
                        "src": "1149:74:55",
                        "statements": [
                          {
                            "expression": {
                              "argumentTypes": null,
                              "arguments": [
                                {
                                  "argumentTypes": null,
                                  "id": 17539,
                                  "name": "src",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17508,
                                  "src": "1188:3:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "arguments": [
                                    {
                                      "argumentTypes": null,
                                      "id": 17541,
                                      "name": "this",
                                      "nodeType": "Identifier",
                                      "overloadedDeclarations": [],
                                      "referencedDeclaration": 23766,
                                      "src": "1201:4:55",
                                      "typeDescriptions": {
                                        "typeIdentifier": "t_contract$_DSAuth_$17552",
                                        "typeString": "contract DSAuth"
                                      }
                                    }
                                  ],
                                  "expression": {
                                    "argumentTypes": [
                                      {
                                        "typeIdentifier": "t_contract$_DSAuth_$17552",
                                        "typeString": "contract DSAuth"
                                      }
                                    ],
                                    "id": 17540,
                                    "isConstant": false,
                                    "isLValue": false,
                                    "isPure": true,
                                    "lValueRequested": false,
                                    "nodeType": "ElementaryTypeNameExpression",
                                    "src": "1193:7:55",
                                    "typeDescriptions": {
                                      "typeIdentifier": "t_type$_t_address_$",
                                      "typeString": "type(address)"
                                    },
                                    "typeName": "address"
                                  },
                                  "id": 17542,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "kind": "typeConversion",
                                  "lValueRequested": false,
                                  "names": [],
                                  "nodeType": "FunctionCall",
                                  "src": "1193:13:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  }
                                },
                                {
                                  "argumentTypes": null,
                                  "id": 17543,
                                  "name": "sig",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17510,
                                  "src": "1208:3:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  }
                                }
                              ],
                              "expression": {
                                "argumentTypes": [
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_address",
                                    "typeString": "address"
                                  },
                                  {
                                    "typeIdentifier": "t_bytes4",
                                    "typeString": "bytes4"
                                  }
                                ],
                                "expression": {
                                  "argumentTypes": null,
                                  "id": 17537,
                                  "name": "authority",
                                  "nodeType": "Identifier",
                                  "overloadedDeclarations": [],
                                  "referencedDeclaration": 17442,
                                  "src": "1170:9:55",
                                  "typeDescriptions": {
                                    "typeIdentifier": "t_contract$_DSAuthority_$17429",
                                    "typeString": "contract DSAuthority"
                                  }
                                },
                                "id": 17538,
                                "isConstant": false,
                                "isLValue": false,
                                "isPure": false,
                                "lValueRequested": false,
                                "memberName": "canCall",
                                "nodeType": "MemberAccess",
                                "referencedDeclaration": 17428,
                                "src": "1170:17:55",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_bytes4_$returns$_t_bool_$",
                                  "typeString": "function (address,address,bytes4) view external returns (bool)"
                                }
                              },
                              "id": 17544,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "kind": "functionCall",
                              "lValueRequested": false,
                              "names": [],
                              "nodeType": "FunctionCall",
                              "src": "1170:42:55",
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              }
                            },
                            "functionReturnParameters": 17514,
                            "id": 17545,
                            "nodeType": "Return",
                            "src": "1163:49:55"
                          }
                        ]
                      },
                      "id": 17547,
                      "nodeType": "IfStatement",
                      "src": "1073:150:55",
                      "trueBody": {
                        "id": 17536,
                        "nodeType": "Block",
                        "src": "1106:37:55",
                        "statements": [
                          {
                            "expression": {
                              "argumentTypes": null,
                              "hexValue": "66616c7365",
                              "id": 17534,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "bool",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1127:5:55",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_bool",
                                "typeString": "bool"
                              },
                              "value": "false"
                            },
                            "functionReturnParameters": 17514,
                            "id": 17535,
                            "nodeType": "Return",
                            "src": "1120:12:55"
                          }
                        ]
                      }
                    },
                    "id": 17548,
                    "nodeType": "IfStatement",
                    "src": "1013:210:55",
                    "trueBody": {
                      "id": 17528,
                      "nodeType": "Block",
                      "src": "1031:36:55",
                      "statements": [
                        {
                          "expression": {
                            "argumentTypes": null,
                            "hexValue": "74727565",
                            "id": 17526,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "bool",
                            "lValueRequested": false,
                            "nodeType": "Literal",
                            "src": "1052:4:55",
                            "subdenomination": null,
                            "typeDescriptions": {
                              "typeIdentifier": "t_bool",
                              "typeString": "bool"
                            },
                            "value": "true"
                          },
                          "functionReturnParameters": 17514,
                          "id": 17527,
                          "nodeType": "Return",
                          "src": "1045:11:55"
                        }
                      ]
                    }
                  },
                  "id": 17549,
                  "nodeType": "IfStatement",
                  "src": "945:278:55",
                  "trueBody": {
                    "id": 17522,
                    "nodeType": "Block",
                    "src": "971:36:55",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "hexValue": "74727565",
                          "id": 17520,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "bool",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "992:4:55",
                          "subdenomination": null,
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          },
                          "value": "true"
                        },
                        "functionReturnParameters": 17514,
                        "id": 17521,
                        "nodeType": "Return",
                        "src": "985:11:55"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": null,
            "id": 17551,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "isAuthorized",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 17511,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17508,
                  "name": "src",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "881:11:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 17507,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "881:7:55",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 17510,
                  "name": "sig",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "894:10:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 17509,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "894:6:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "880:25:55"
            },
            "returnParameters": {
              "id": 17514,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 17513,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 17551,
                  "src": "929:4:55",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 17512,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "929:4:55",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "928:6:55"
            },
            "scope": 17552,
            "src": "859:370:55",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 17553,
        "src": "268:963:55"
      }
    ],
    "src": "0:1232:55"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.449Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}