{
  "contractName": "DxUpgrade",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "masterCopyCountdown",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "int256"
        }
      ],
      "name": "atleastZero",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "safeToAdd",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "auctioneer",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "newMasterCopy",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "add",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_auctioneer",
          "type": "address"
        }
      ],
      "name": "updateAuctioneer",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "min",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "masterCopy",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "sub",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "mul",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "safeToMul",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "a",
          "type": "uint256"
        },
        {
          "name": "b",
          "type": "uint256"
        }
      ],
      "name": "safeToSub",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "newMasterCopy",
          "type": "address"
        }
      ],
      "name": "NewMasterCopyProposal",
      "type": "event"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_masterCopy",
          "type": "address"
        }
      ],
      "name": "startMasterCopyCountdown",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "updateMasterCopy",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"masterCopyCountdown\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"updateMasterCopy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"int256\"}],\"name\":\"atleastZero\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"safeToAdd\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"auctioneer\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"newMasterCopy\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"add\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_auctioneer\",\"type\":\"address\"}],\"name\":\"updateAuctioneer\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"min\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"masterCopy\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"sub\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"mul\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"safeToMul\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"a\",\"type\":\"uint256\"},{\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"safeToSub\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_masterCopy\",\"type\":\"address\"}],\"name\":\"startMasterCopyCountdown\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"newMasterCopy\",\"type\":\"address\"}],\"name\":\"NewMasterCopyProposal\",\"type\":\"event\"}],\"devdoc\":{\"methods\":{\"add(uint256,uint256)\":{\"details\":\"Returns sum if no overflow occurred\",\"params\":{\"a\":\"First addend\",\"b\":\"Second addend\"},\"return\":\"Sum\"},\"mul(uint256,uint256)\":{\"details\":\"Returns product if no overflow occurred\",\"params\":{\"a\":\"First factor\",\"b\":\"Second factor\"},\"return\":\"Product\"},\"safeToAdd(uint256,uint256)\":{\"details\":\"Returns whether an add operation causes an overflow\",\"params\":{\"a\":\"First addend\",\"b\":\"Second addend\"},\"return\":\"Did no overflow occur?\"},\"safeToMul(uint256,uint256)\":{\"details\":\"Returns whether a multiply operation causes an overflow\",\"params\":{\"a\":\"First factor\",\"b\":\"Second factor\"},\"return\":\"Did no overflow occur?\"},\"safeToSub(uint256,uint256)\":{\"details\":\"Returns whether a subtraction operation causes an underflow\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"return\":\"Did no underflow occur?\"},\"sub(uint256,uint256)\":{\"details\":\"Returns difference if no overflow occurred\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"return\":\"Difference\"}}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@gnosis.pm/dx-contracts/contracts/base/DxUpgrade.sol\":\"DxUpgrade\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@gnosis.pm/dx-contracts/contracts/base/AuctioneerManaged.sol\":{\"keccak256\":\"0x26052b9cdb93c742160f9a9dd637fe25bc1aa15dc1ae6569f225cda5212d53ab\",\"urls\":[\"bzzr://a6eddffb3026dec9e1ed3ee4af4ff848834ef50b930eda15c9101af3aad8f156\"]},\"@gnosis.pm/dx-contracts/contracts/base/DxMath.sol\":{\"keccak256\":\"0x640cfd4af8a2612af7f8301cbee271d1392f144aa43474ecce7bc69c2916251e\",\"urls\":[\"bzzr://36bf29f9d5ffa0259135dd4736987ad063efb3d25bbfff819fb0660f4913ff29\"]},\"@gnosis.pm/dx-contracts/contracts/base/DxUpgrade.sol\":{\"keccak256\":\"0x6a1af80dbed4194904b0d8ccf45d3fbea3774c3e279187af5755d61a8b394240\",\"urls\":[\"bzzr://4348a001eaba72c089c7327536c724d51c4c4ab7757507cdc71600918d5111ee\"]},\"@gnosis.pm/util-contracts/contracts/Proxy.sol\":{\"keccak256\":\"0x2ff8795110cceafcab1010f157a4dd33e46378bb88fbdc3c313a6f0d62e3444f\",\"urls\":[\"bzzr://66d77feaf648ca17dd620f3e27463b4b6e6031fec7ccd64dfffc4c30bd57b467\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b50610745806100206000396000f3fe608060405234801561001057600080fd5b5060043610610112576000357c010000000000000000000000000000000000000000000000000000000090048063796a8076116100b4578063c8a4ac9c11610083578063c8a4ac9c14610252578063cb10fa7614610275578063e31c71c414610298578063f625ee28146102bb57610112565b8063796a8076146101de5780637ae2b5c714610204578063a619486e14610227578063b67d77c51461022f57610112565b80634e30a66c116100f05780634e30a66c146101585780635ec2c7bf1461018f5780636ea68360146101b3578063771602f7146101bb57610112565b80630e7c0f80146101175780632cef4dac14610131578063306904681461013b575b600080fd5b61011f6102e1565b60408051918252519081900360200190f35b6101396102e7565b005b61011f6004803603602081101561015157600080fd5b50356103ab565b61017b6004803603604081101561016e57600080fd5b50803590602001356103c5565b604080519115158252519081900360200190f35b6101976103d2565b60408051600160a060020a039092168252519081900360200190f35b6101976103e1565b61011f600480360360408110156101d157600080fd5b50803590602001356103f0565b610139600480360360208110156101f457600080fd5b5035600160a060020a031661040c565b61011f6004803603604081101561021a57600080fd5b50803590602001356104d1565b6101976104e9565b61011f6004803603604081101561024557600080fd5b50803590602001356104f8565b61011f6004803603604081101561026857600080fd5b5080359060200135610515565b61017b6004803603604081101561028b57600080fd5b5080359060200135610531565b61017b600480360360408110156102ae57600080fd5b5080359060200135610553565b610139600480360360208110156102d157600080fd5b5035600160a060020a0316610558565b60035481565b600254600160a060020a031615156103335760405160e560020a62461bcd02815260040180806020018281038252602b8152602001806106ef602b913960400191505060405180910390fd5b6003544210156103775760405160e560020a62461bcd02815260040180806020018281038252603981526020018061068c6039913960400191505060405180910390fd5b600280546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b6000808212156103bd575060006103c0565b50805b919050565b8082018211155b92915050565b600154600160a060020a031681565b600254600160a060020a031681565b60006103fc83836103c5565b151561040757600080fd5b500190565b600154600160a060020a031633146104585760405160e560020a62461bcd02815260040180806020018281038252602a8152602001806106c5602a913960400191505060405180910390fd5b600160a060020a03811615156104a25760405160e560020a62461bcd0281526004018080602001828103825260268152602001806106666026913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000818310156104e25750816103cc565b50806103cc565b600054600160a060020a031681565b60006105048383610553565b151561050f57600080fd5b50900390565b60006105218383610531565b151561052c57600080fd5b500290565b600081158061054c5750828283850281151561054957fe5b04145b9392505050565b111590565b600154600160a060020a031633146105a45760405160e560020a62461bcd02815260040180806020018281038252602a8152602001806106c5602a913960400191505060405180910390fd5b600160a060020a03811615156105ee5760405160e560020a62461bcd02815260040180806020018281038252602b8152602001806106ef602b913960400191505060405180910390fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790556106234262278d006103f0565b60035560408051600160a060020a038316815290517f36dceb79f427eda3edba9ac3c1d4db7a6e4d0b8637d97320847d93fa8e2f7a049181900360200190a15056fe5468652061756374696f6e656572206d75737420626520612076616c69642061646472657373546865206d617374657220636f6e74726163742063616e6e6f74206265207570646174656420696e20612077616974696e6720706572696f644f6e6c79207468652061756374696f6e6565722063616e206e6f6d696e6174652061206e6577206f6e65546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373a165627a7a72305820797a47f130933d1b7335ef932a68aa834798e804918bb0cae1ce78ffb2ff38b60029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b5060043610610112576000357c010000000000000000000000000000000000000000000000000000000090048063796a8076116100b4578063c8a4ac9c11610083578063c8a4ac9c14610252578063cb10fa7614610275578063e31c71c414610298578063f625ee28146102bb57610112565b8063796a8076146101de5780637ae2b5c714610204578063a619486e14610227578063b67d77c51461022f57610112565b80634e30a66c116100f05780634e30a66c146101585780635ec2c7bf1461018f5780636ea68360146101b3578063771602f7146101bb57610112565b80630e7c0f80146101175780632cef4dac14610131578063306904681461013b575b600080fd5b61011f6102e1565b60408051918252519081900360200190f35b6101396102e7565b005b61011f6004803603602081101561015157600080fd5b50356103ab565b61017b6004803603604081101561016e57600080fd5b50803590602001356103c5565b604080519115158252519081900360200190f35b6101976103d2565b60408051600160a060020a039092168252519081900360200190f35b6101976103e1565b61011f600480360360408110156101d157600080fd5b50803590602001356103f0565b610139600480360360208110156101f457600080fd5b5035600160a060020a031661040c565b61011f6004803603604081101561021a57600080fd5b50803590602001356104d1565b6101976104e9565b61011f6004803603604081101561024557600080fd5b50803590602001356104f8565b61011f6004803603604081101561026857600080fd5b5080359060200135610515565b61017b6004803603604081101561028b57600080fd5b5080359060200135610531565b61017b600480360360408110156102ae57600080fd5b5080359060200135610553565b610139600480360360208110156102d157600080fd5b5035600160a060020a0316610558565b60035481565b600254600160a060020a031615156103335760405160e560020a62461bcd02815260040180806020018281038252602b8152602001806106ef602b913960400191505060405180910390fd5b6003544210156103775760405160e560020a62461bcd02815260040180806020018281038252603981526020018061068c6039913960400191505060405180910390fd5b600280546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b6000808212156103bd575060006103c0565b50805b919050565b8082018211155b92915050565b600154600160a060020a031681565b600254600160a060020a031681565b60006103fc83836103c5565b151561040757600080fd5b500190565b600154600160a060020a031633146104585760405160e560020a62461bcd02815260040180806020018281038252602a8152602001806106c5602a913960400191505060405180910390fd5b600160a060020a03811615156104a25760405160e560020a62461bcd0281526004018080602001828103825260268152602001806106666026913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000818310156104e25750816103cc565b50806103cc565b600054600160a060020a031681565b60006105048383610553565b151561050f57600080fd5b50900390565b60006105218383610531565b151561052c57600080fd5b500290565b600081158061054c5750828283850281151561054957fe5b04145b9392505050565b111590565b600154600160a060020a031633146105a45760405160e560020a62461bcd02815260040180806020018281038252602a8152602001806106c5602a913960400191505060405180910390fd5b600160a060020a03811615156105ee5760405160e560020a62461bcd02815260040180806020018281038252602b8152602001806106ef602b913960400191505060405180910390fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790556106234262278d006103f0565b60035560408051600160a060020a038316815290517f36dceb79f427eda3edba9ac3c1d4db7a6e4d0b8637d97320847d93fa8e2f7a049181900360200190a15056fe5468652061756374696f6e656572206d75737420626520612076616c69642061646472657373546865206d617374657220636f6e74726163742063616e6e6f74206265207570646174656420696e20612077616974696e6720706572696f644f6e6c79207468652061756374696f6e6565722063616e206e6f6d696e6174652061206e6577206f6e65546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373a165627a7a72305820797a47f130933d1b7335ef932a68aa834798e804918bb0cae1ce78ffb2ff38b60029",
  "sourceMap": "140:1051:67:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;140:1051:67;;;;;;;",
  "deployedSourceMap": "140:1051:67:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;140:1051:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;346:31;;;:::i;:::-;;;;;;;;;;;;;;;;833:355;;;:::i;:::-;;227:160:66;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;227:160:66;;:::i;562:96::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;562:96:66;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;116:25:65;;;:::i;:::-;;;;-1:-1:-1;;;;;116:25:65;;;;;;;;;;;;;;266:28:67;;;:::i;1343:119:66:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1343:119:66;;;;;;;:::i;148:196:65:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;148:196:65;-1:-1:-1;;;;;148:196:65;;:::i;66:155:66:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;66:155:66;;;;;;;:::i;196:25:81:-;;;:::i;1604:119:66:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1604:119:66;;;;;;;:::i;1867:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1867:119:66;;;;;;;:::i;1097:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1097:110:66;;;;;;;:::i;830:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;830:92:66;;;;;;;:::i;441:386:67:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;441:386:67;-1:-1:-1;;;;;441:386:67;;:::i;346:31::-;;;;:::o;833:355::-;886:13;;-1:-1:-1;;;;;886:13:67;:27;;878:83;;;;-1:-1:-1;;;;;878:83:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;998:19;;979:15;:38;;971:108;;;;-1:-1:-1;;;;;971:108:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1132:13;;;;1119:26;;-1:-1:-1;;1119:26:67;;;-1:-1:-1;;;;;1132:13:67;;1119:26;;;;1155;;;833:355::o;227:160:66:-;276:4;300:1;296;:5;292:89;;;-1:-1:-1;324:1:66;317:8;;292:89;-1:-1:-1;368:1:66;292:89;227:160;;;:::o;562:96::-;641:5;;;:10;-1:-1:-1;641:10:66;562:96;;;;;:::o;116:25:65:-;;;-1:-1:-1;;;;;116:25:65;;:::o;266:28:67:-;;;-1:-1:-1;;;;;266:28:67;;:::o;1343:119:66:-;1393:4;1417:15;1427:1;1430;1417:9;:15::i;:::-;1409:24;;;;;;;;-1:-1:-1;1450:5:66;;1343:119::o;148:196:65:-;578:10;;-1:-1:-1;;;;;578:10:65;564;:24;556:79;;;;-1:-1:-1;;;;;556:79:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;235:25:65;;;;227:76;;;;-1:-1:-1;;;;;227:76:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;313:10;:24;;-1:-1:-1;;313:24:65;-1:-1:-1;;;;;313:24:65;;;;;;;;;;148:196::o;66:155:66:-;116:4;140:1;136;:5;132:83;;;-1:-1:-1;164:1:66;157:8;;132:83;-1:-1:-1;203:1:66;196:8;;:25:81;;;-1:-1:-1;;;;;196:25:81;;:::o;1604:119:66:-;1654:4;1678:15;1688:1;1691;1678:9;:15::i;:::-;1670:24;;;;;;;;-1:-1:-1;1711:5:66;;;1604:119::o;1867:::-;1917:4;1941:15;1951:1;1954;1941:9;:15::i;:::-;1933:24;;;;;;;;-1:-1:-1;1974:5:66;;1867:119::o;1097:110::-;1153:4;1176:6;;;:24;;;1199:1;1194;1190;1186;:5;:9;;;;;;;;:14;1176:24;1169:31;1097:110;-1:-1:-1;;;1097:110:66:o;830:92::-;-1:-1:-1;909:6:66;;830:92::o;441:386:67:-;578:10:65;;-1:-1:-1;;;;;578:10:65;564;:24;556:79;;;;-1:-1:-1;;;;;556:79:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;536:25:67;;;;528:81;;;;-1:-1:-1;;;;;528:81:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;658:13;:27;;-1:-1:-1;;658:27:67;-1:-1:-1;;;;;658:27:67;;;;;717:54;721:15;252:7;717:3;:54::i;:::-;695:19;:76;786:34;;;-1:-1:-1;;;;;786:34:67;;;;;;;;;;;;;;;441:386;:::o",
  "source": "pragma solidity ^0.5.2;\n\nimport \"./DxMath.sol\";\nimport \"./AuctioneerManaged.sol\";\nimport \"@gnosis.pm/util-contracts/contracts/Proxy.sol\";\n\n\ncontract DxUpgrade is Proxied, AuctioneerManaged, DxMath {\n    uint constant WAITING_PERIOD_CHANGE_MASTERCOPY = 30 days;\n\n    address public newMasterCopy;\n    // Time when new masterCopy is updatabale\n    uint public masterCopyCountdown;\n\n    event NewMasterCopyProposal(address newMasterCopy);\n\n    function startMasterCopyCountdown(address _masterCopy) public onlyAuctioneer {\n        require(_masterCopy != address(0), \"The new master copy must be a valid address\");\n\n        // Update masterCopyCountdown\n        newMasterCopy = _masterCopy;\n        masterCopyCountdown = add(block.timestamp, WAITING_PERIOD_CHANGE_MASTERCOPY);\n        emit NewMasterCopyProposal(_masterCopy);\n    }\n\n    function updateMasterCopy() public {\n        require(newMasterCopy != address(0), \"The new master copy must be a valid address\");\n        require(block.timestamp >= masterCopyCountdown, \"The master contract cannot be updated in a waiting period\");\n\n        // Update masterCopy\n        masterCopy = newMasterCopy;\n        newMasterCopy = address(0);\n    }\n\n}\n",
  "sourcePath": "@gnosis.pm/dx-contracts/contracts/base/DxUpgrade.sol",
  "ast": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/DxUpgrade.sol",
    "exportedSymbols": {
      "DxUpgrade": [
        19599
      ]
    },
    "id": 19600,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 19514,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:67"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/DxMath.sol",
        "file": "./DxMath.sol",
        "id": 19515,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 19513,
        "src": "25:22:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/AuctioneerManaged.sol",
        "file": "./AuctioneerManaged.sol",
        "id": 19516,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 19355,
        "src": "48:33:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/util-contracts/contracts/Proxy.sol",
        "file": "@gnosis.pm/util-contracts/contracts/Proxy.sol",
        "id": 19517,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 22444,
        "src": "82:55:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19518,
              "name": "Proxied",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 22412,
              "src": "162:7:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Proxied_$22412",
                "typeString": "contract Proxied"
              }
            },
            "id": 19519,
            "nodeType": "InheritanceSpecifier",
            "src": "162:7:67"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19520,
              "name": "AuctioneerManaged",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19354,
              "src": "171:17:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AuctioneerManaged_$19354",
                "typeString": "contract AuctioneerManaged"
              }
            },
            "id": 19521,
            "nodeType": "InheritanceSpecifier",
            "src": "171:17:67"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19522,
              "name": "DxMath",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19512,
              "src": "190:6:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DxMath_$19512",
                "typeString": "contract DxMath"
              }
            },
            "id": 19523,
            "nodeType": "InheritanceSpecifier",
            "src": "190:6:67"
          }
        ],
        "contractDependencies": [
          19354,
          19512,
          22412
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 19599,
        "linearizedBaseContracts": [
          19599,
          19512,
          19354,
          22412
        ],
        "name": "DxUpgrade",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 19526,
            "name": "WAITING_PERIOD_CHANGE_MASTERCOPY",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "203:56:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 19524,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "203:4:67",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "3330",
              "id": 19525,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "252:7:67",
              "subdenomination": "days",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_2592000_by_1",
                "typeString": "int_const 2592000"
              },
              "value": "30"
            },
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 19528,
            "name": "newMasterCopy",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "266:28:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 19527,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "266:7:67",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 19530,
            "name": "masterCopyCountdown",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "346:31:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 19529,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "346:4:67",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 19534,
            "name": "NewMasterCopyProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 19533,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 19532,
                  "indexed": false,
                  "name": "newMasterCopy",
                  "nodeType": "VariableDeclaration",
                  "scope": 19534,
                  "src": "412:21:67",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 19531,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "412:7:67",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "411:23:67"
            },
            "src": "384:51:67"
          },
          {
            "body": {
              "id": 19566,
              "nodeType": "Block",
              "src": "518:309:67",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 19546,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 19542,
                          "name": "_masterCopy",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19536,
                          "src": "536:11:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 19544,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "559:1:67",
                              "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": 19543,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "551:7:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 19545,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "551:10:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "536:25:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373",
                        "id": 19547,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "563:45:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        },
                        "value": "The new master copy must be a valid address"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        }
                      ],
                      "id": 19541,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "528:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19548,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "528:81:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19549,
                  "nodeType": "ExpressionStatement",
                  "src": "528:81:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19552,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19550,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "658:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 19551,
                      "name": "_masterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19536,
                      "src": "674:11:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "658:27:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19553,
                  "nodeType": "ExpressionStatement",
                  "src": "658:27:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19560,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19554,
                      "name": "masterCopyCountdown",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19530,
                      "src": "695:19:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 19556,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "721:5:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 19557,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "timestamp",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "721:15:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 19558,
                          "name": "WAITING_PERIOD_CHANGE_MASTERCOPY",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19526,
                          "src": "738:32:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 19555,
                        "name": "add",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19469,
                        "src": "717:3:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 19559,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "717:54:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "695:76:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 19561,
                  "nodeType": "ExpressionStatement",
                  "src": "695:76:67"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 19563,
                        "name": "_masterCopy",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19536,
                        "src": "808:11:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 19562,
                      "name": "NewMasterCopyProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19534,
                      "src": "786:21:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 19564,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "786:34:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19565,
                  "nodeType": "EmitStatement",
                  "src": "781:39:67"
                }
              ]
            },
            "documentation": null,
            "id": 19567,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 19539,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 19538,
                  "name": "onlyAuctioneer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 19353,
                  "src": "503:14:67",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "503:14:67"
              }
            ],
            "name": "startMasterCopyCountdown",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 19537,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 19536,
                  "name": "_masterCopy",
                  "nodeType": "VariableDeclaration",
                  "scope": 19567,
                  "src": "475:19:67",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 19535,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "475:7:67",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "474:21:67"
            },
            "returnParameters": {
              "id": 19540,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "518:0:67"
            },
            "scope": 19599,
            "src": "441:386:67",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 19597,
              "nodeType": "Block",
              "src": "868:320:67",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 19575,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 19571,
                          "name": "newMasterCopy",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19528,
                          "src": "886:13:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 19573,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "911:1:67",
                              "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": 19572,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "903:7:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 19574,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "903:10:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "886:27:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373",
                        "id": 19576,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "915:45:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        },
                        "value": "The new master copy must be a valid address"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        }
                      ],
                      "id": 19570,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "878:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19577,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "878:83:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19578,
                  "nodeType": "ExpressionStatement",
                  "src": "878:83:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 19583,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 19580,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "979:5:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 19581,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "timestamp",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "979:15:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 19582,
                          "name": "masterCopyCountdown",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19530,
                          "src": "998:19:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "979:38:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206d617374657220636f6e74726163742063616e6e6f74206265207570646174656420696e20612077616974696e6720706572696f64",
                        "id": 19584,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1019:59:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_a03c19070962d3e17e8a3ed7cddd899a9e889ba48f158adaf8da7950882c7289",
                          "typeString": "literal_string \"The master contract cannot be updated in a waiting period\""
                        },
                        "value": "The master contract cannot be updated in a waiting period"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_a03c19070962d3e17e8a3ed7cddd899a9e889ba48f158adaf8da7950882c7289",
                          "typeString": "literal_string \"The master contract cannot be updated in a waiting period\""
                        }
                      ],
                      "id": 19579,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "971:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19585,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "971:108:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19586,
                  "nodeType": "ExpressionStatement",
                  "src": "971:108:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19589,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19587,
                      "name": "masterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22411,
                      "src": "1119:10:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 19588,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "1132:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "1119:26:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19590,
                  "nodeType": "ExpressionStatement",
                  "src": "1119:26:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19595,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19591,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "1155:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 19593,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1179:1:67",
                          "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": 19592,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "1171:7:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 19594,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1171:10:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "1155:26:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19596,
                  "nodeType": "ExpressionStatement",
                  "src": "1155:26:67"
                }
              ]
            },
            "documentation": null,
            "id": 19598,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "updateMasterCopy",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 19568,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "858:2:67"
            },
            "returnParameters": {
              "id": 19569,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "868:0:67"
            },
            "scope": 19599,
            "src": "833:355:67",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 19600,
        "src": "140:1051:67"
      }
    ],
    "src": "0:1192:67"
  },
  "legacyAST": {
    "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/DxUpgrade.sol",
    "exportedSymbols": {
      "DxUpgrade": [
        19599
      ]
    },
    "id": 19600,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 19514,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:67"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/DxMath.sol",
        "file": "./DxMath.sol",
        "id": 19515,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 19513,
        "src": "25:22:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/AuctioneerManaged.sol",
        "file": "./AuctioneerManaged.sol",
        "id": 19516,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 19355,
        "src": "48:33:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@gnosis.pm/util-contracts/contracts/Proxy.sol",
        "file": "@gnosis.pm/util-contracts/contracts/Proxy.sol",
        "id": 19517,
        "nodeType": "ImportDirective",
        "scope": 19600,
        "sourceUnit": 22444,
        "src": "82:55:67",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19518,
              "name": "Proxied",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 22412,
              "src": "162:7:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Proxied_$22412",
                "typeString": "contract Proxied"
              }
            },
            "id": 19519,
            "nodeType": "InheritanceSpecifier",
            "src": "162:7:67"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19520,
              "name": "AuctioneerManaged",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19354,
              "src": "171:17:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AuctioneerManaged_$19354",
                "typeString": "contract AuctioneerManaged"
              }
            },
            "id": 19521,
            "nodeType": "InheritanceSpecifier",
            "src": "171:17:67"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 19522,
              "name": "DxMath",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19512,
              "src": "190:6:67",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_DxMath_$19512",
                "typeString": "contract DxMath"
              }
            },
            "id": 19523,
            "nodeType": "InheritanceSpecifier",
            "src": "190:6:67"
          }
        ],
        "contractDependencies": [
          19354,
          19512,
          22412
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 19599,
        "linearizedBaseContracts": [
          19599,
          19512,
          19354,
          22412
        ],
        "name": "DxUpgrade",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": true,
            "id": 19526,
            "name": "WAITING_PERIOD_CHANGE_MASTERCOPY",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "203:56:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 19524,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "203:4:67",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "3330",
              "id": 19525,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "252:7:67",
              "subdenomination": "days",
              "typeDescriptions": {
                "typeIdentifier": "t_rational_2592000_by_1",
                "typeString": "int_const 2592000"
              },
              "value": "30"
            },
            "visibility": "internal"
          },
          {
            "constant": false,
            "id": 19528,
            "name": "newMasterCopy",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "266:28:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 19527,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "266:7:67",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 19530,
            "name": "masterCopyCountdown",
            "nodeType": "VariableDeclaration",
            "scope": 19599,
            "src": "346:31:67",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 19529,
              "name": "uint",
              "nodeType": "ElementaryTypeName",
              "src": "346:4:67",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 19534,
            "name": "NewMasterCopyProposal",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 19533,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 19532,
                  "indexed": false,
                  "name": "newMasterCopy",
                  "nodeType": "VariableDeclaration",
                  "scope": 19534,
                  "src": "412:21:67",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 19531,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "412:7:67",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "411:23:67"
            },
            "src": "384:51:67"
          },
          {
            "body": {
              "id": 19566,
              "nodeType": "Block",
              "src": "518:309:67",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 19546,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 19542,
                          "name": "_masterCopy",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19536,
                          "src": "536:11:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 19544,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "559:1:67",
                              "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": 19543,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "551:7:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 19545,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "551:10:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "536:25:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373",
                        "id": 19547,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "563:45:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        },
                        "value": "The new master copy must be a valid address"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        }
                      ],
                      "id": 19541,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "528:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19548,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "528:81:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19549,
                  "nodeType": "ExpressionStatement",
                  "src": "528:81:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19552,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19550,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "658:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 19551,
                      "name": "_masterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19536,
                      "src": "674:11:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "658:27:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19553,
                  "nodeType": "ExpressionStatement",
                  "src": "658:27:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19560,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19554,
                      "name": "masterCopyCountdown",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19530,
                      "src": "695:19:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 19556,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "721:5:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 19557,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "timestamp",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "721:15:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 19558,
                          "name": "WAITING_PERIOD_CHANGE_MASTERCOPY",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19526,
                          "src": "738:32:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 19555,
                        "name": "add",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19469,
                        "src": "717:3:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$",
                          "typeString": "function (uint256,uint256) pure returns (uint256)"
                        }
                      },
                      "id": 19559,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "717:54:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "695:76:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 19561,
                  "nodeType": "ExpressionStatement",
                  "src": "695:76:67"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 19563,
                        "name": "_masterCopy",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19536,
                        "src": "808:11:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 19562,
                      "name": "NewMasterCopyProposal",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19534,
                      "src": "786:21:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 19564,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "786:34:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19565,
                  "nodeType": "EmitStatement",
                  "src": "781:39:67"
                }
              ]
            },
            "documentation": null,
            "id": 19567,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 19539,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 19538,
                  "name": "onlyAuctioneer",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 19353,
                  "src": "503:14:67",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "503:14:67"
              }
            ],
            "name": "startMasterCopyCountdown",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 19537,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 19536,
                  "name": "_masterCopy",
                  "nodeType": "VariableDeclaration",
                  "scope": 19567,
                  "src": "475:19:67",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 19535,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "475:7:67",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "474:21:67"
            },
            "returnParameters": {
              "id": 19540,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "518:0:67"
            },
            "scope": 19599,
            "src": "441:386:67",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 19597,
              "nodeType": "Block",
              "src": "868:320:67",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 19575,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "id": 19571,
                          "name": "newMasterCopy",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19528,
                          "src": "886:13:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "!=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 19573,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "911:1:67",
                              "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": 19572,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "lValueRequested": false,
                            "nodeType": "ElementaryTypeNameExpression",
                            "src": "903:7:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_type$_t_address_$",
                              "typeString": "type(address)"
                            },
                            "typeName": "address"
                          },
                          "id": 19574,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "typeConversion",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "903:10:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "src": "886:27:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206e6577206d617374657220636f7079206d75737420626520612076616c69642061646472657373",
                        "id": 19576,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "915:45:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        },
                        "value": "The new master copy must be a valid address"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_b4f9384a4dbe1122a33f2375adc2caf2e41a8affb2bd23b5a834a1f46c15ffd7",
                          "typeString": "literal_string \"The new master copy must be a valid address\""
                        }
                      ],
                      "id": 19570,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "878:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19577,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "878:83:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19578,
                  "nodeType": "ExpressionStatement",
                  "src": "878:83:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "id": 19583,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 19580,
                            "name": "block",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23680,
                            "src": "979:5:67",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_block",
                              "typeString": "block"
                            }
                          },
                          "id": 19581,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "timestamp",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "979:15:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": ">=",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 19582,
                          "name": "masterCopyCountdown",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 19530,
                          "src": "998:19:67",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "src": "979:38:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "546865206d617374657220636f6e74726163742063616e6e6f74206265207570646174656420696e20612077616974696e6720706572696f64",
                        "id": 19584,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "1019:59:67",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_a03c19070962d3e17e8a3ed7cddd899a9e889ba48f158adaf8da7950882c7289",
                          "typeString": "literal_string \"The master contract cannot be updated in a waiting period\""
                        },
                        "value": "The master contract cannot be updated in a waiting period"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_a03c19070962d3e17e8a3ed7cddd899a9e889ba48f158adaf8da7950882c7289",
                          "typeString": "literal_string \"The master contract cannot be updated in a waiting period\""
                        }
                      ],
                      "id": 19579,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "971:7:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 19585,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "971:108:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 19586,
                  "nodeType": "ExpressionStatement",
                  "src": "971:108:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19589,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19587,
                      "name": "masterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22411,
                      "src": "1119:10:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "id": 19588,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "1132:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "1119:26:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19590,
                  "nodeType": "ExpressionStatement",
                  "src": "1119:26:67"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 19595,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 19591,
                      "name": "newMasterCopy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 19528,
                      "src": "1155:13:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "hexValue": "30",
                          "id": 19593,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "kind": "number",
                          "lValueRequested": false,
                          "nodeType": "Literal",
                          "src": "1179:1:67",
                          "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": 19592,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "lValueRequested": false,
                        "nodeType": "ElementaryTypeNameExpression",
                        "src": "1171:7:67",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_address_$",
                          "typeString": "type(address)"
                        },
                        "typeName": "address"
                      },
                      "id": 19594,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "1171:10:67",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "1155:26:67",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 19596,
                  "nodeType": "ExpressionStatement",
                  "src": "1155:26:67"
                }
              ]
            },
            "documentation": null,
            "id": 19598,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "updateMasterCopy",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 19568,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "858:2:67"
            },
            "returnParameters": {
              "id": 19569,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "868:0:67"
            },
            "scope": 19599,
            "src": "833:355:67",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 19600,
        "src": "140:1051:67"
      }
    ],
    "src": "0:1192:67"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.468Z",
  "devdoc": {
    "methods": {
      "add(uint256,uint256)": {
        "details": "Returns sum if no overflow occurred",
        "params": {
          "a": "First addend",
          "b": "Second addend"
        },
        "return": "Sum"
      },
      "mul(uint256,uint256)": {
        "details": "Returns product if no overflow occurred",
        "params": {
          "a": "First factor",
          "b": "Second factor"
        },
        "return": "Product"
      },
      "safeToAdd(uint256,uint256)": {
        "details": "Returns whether an add operation causes an overflow",
        "params": {
          "a": "First addend",
          "b": "Second addend"
        },
        "return": "Did no overflow occur?"
      },
      "safeToMul(uint256,uint256)": {
        "details": "Returns whether a multiply operation causes an overflow",
        "params": {
          "a": "First factor",
          "b": "Second factor"
        },
        "return": "Did no overflow occur?"
      },
      "safeToSub(uint256,uint256)": {
        "details": "Returns whether a subtraction operation causes an underflow",
        "params": {
          "a": "Minuend",
          "b": "Subtrahend"
        },
        "return": "Did no underflow occur?"
      },
      "sub(uint256,uint256)": {
        "details": "Returns difference if no overflow occurred",
        "params": {
          "a": "Minuend",
          "b": "Subtrahend"
        },
        "return": "Difference"
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}