{
  "contractName": "FixedPriceOracle",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "frozen",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "whitelist",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "name": "prices",
      "outputs": [
        {
          "name": "numerator",
          "type": "uint256"
        },
        {
          "name": "denominator",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "name": "whitelistAddress",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "token",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "numerator",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "denominator",
          "type": "uint256"
        }
      ],
      "name": "PriceSet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [],
      "name": "Freeze",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "token",
          "type": "address"
        }
      ],
      "name": "hasReliablePrice",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "token",
          "type": "address"
        }
      ],
      "name": "getPrice",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        },
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "token",
          "type": "address"
        }
      ],
      "name": "getPriceValue",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        },
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "tokens",
          "type": "address[]"
        },
        {
          "name": "numerators",
          "type": "uint256[]"
        },
        {
          "name": "denominators",
          "type": "uint256[]"
        }
      ],
      "name": "setPrices",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "token",
          "type": "address"
        },
        {
          "name": "numerator",
          "type": "uint256"
        },
        {
          "name": "denominator",
          "type": "uint256"
        }
      ],
      "name": "setPrice",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "freeze",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"frozen\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"token\",\"type\":\"address\"},{\"name\":\"numerator\",\"type\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"setPrice\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\"},{\"name\":\"numerators\",\"type\":\"uint256[]\"},{\"name\":\"denominators\",\"type\":\"uint256[]\"}],\"name\":\"setPrices\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPriceValue\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"token\",\"type\":\"address\"}],\"name\":\"hasReliablePrice\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"freeze\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"whitelist\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"prices\",\"outputs\":[{\"name\":\"numerator\",\"type\":\"uint256\"},{\"name\":\"denominator\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"whitelistAddress\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"numerator\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"PriceSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Freeze\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"The prices are initialized when configuring the contract, then you  freeze the contract disallowing any further modification.\",\"methods\":{},\"title\":\"An Ether-ERC20 token price oracle with an unmutable price \"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/whitelisting/FixedPriceOracle.sol\":\"FixedPriceOracle\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/anxo/code/gnosis/dx-daostack/contracts/whitelisting/FixedPriceOracle.sol\":{\"keccak256\":\"0xa1476ed722cbf841a63f5cc41d32ca98bfa0712bc7d5e3c997fc4988b99281c3\",\"urls\":[\"bzzr://86bf219c6b88506f094c5e8022c64f93ea02815bfabadb4184ad62e74c04df04\"]},\"@gnosis.pm/dx-contracts/contracts/base/AuctioneerManaged.sol\":{\"keccak256\":\"0x26052b9cdb93c742160f9a9dd637fe25bc1aa15dc1ae6569f225cda5212d53ab\",\"urls\":[\"bzzr://a6eddffb3026dec9e1ed3ee4af4ff848834ef50b930eda15c9101af3aad8f156\"]},\"@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol\":{\"keccak256\":\"0x1467a08055d076763a99f1b80e1e1bcadfac08a062b0794ed9c911bce06f2176\",\"urls\":[\"bzzr://02da93facaf65ec209ff467740c0bb70b91342ec2e69eed1a06fe13b3aba6f50\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b506040516020806109258339810180604052602081101561003057600080fd5b50516001805461010060a860020a031916336101000217905560028054600160a060020a031916600160a060020a039092169190911790556108ae806100776000396000f3fe608060405234801561001057600080fd5b50600436106100bb576000357c0100000000000000000000000000000000000000000000000000000000900480635d864083116100835780635d8640831461032057806362a5af3b146103465780638da5cb5b1461034e57806393e59dc114610372578063cfed246b1461037a576100bb565b8063054f7d9c146100c05780633011e16a146100dc57806336212727146101105780633a4e8a9c146102bb57806341976e09146102fa575b600080fd5b6100c86103a0565b604080519115158252519081900360200190f35b61010e600480360360608110156100f257600080fd5b50600160a060020a0381351690602081013590604001356103a9565b005b61010e6004803603606081101561012657600080fd5b81019060208101813564010000000081111561014157600080fd5b82018360208201111561015357600080fd5b8035906020019184602083028401116401000000008311171561017557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156101c557600080fd5b8201836020820111156101d757600080fd5b803590602001918460208302840111640100000000831117156101f957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561024957600080fd5b82018360208201111561025b57600080fd5b8035906020019184602083028401116401000000008311171561027d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506104b4945050505050565b6102e1600480360360208110156102d157600080fd5b5035600160a060020a031661062c565b6040805192835260208301919091528051918290030190f35b6102e16004803603602081101561031057600080fd5b5035600160a060020a0316610675565b6100c86004803603602081101561033657600080fd5b5035600160a060020a0316610735565b61010e610755565b6103566107dd565b60408051600160a060020a039092168252519081900360200190f35b6103566107f1565b6102e16004803603602081101561039057600080fd5b5035600160a060020a0316610800565b60015460ff1681565b6001546101009004600160a060020a031633146103fa5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b60015460ff161561043f5760405160e560020a62461bcd02815260040180806020018281038252602f815260200180610831602f913960400191505060405180910390fd5b6040805180820182528381526020808201848152600160a060020a03871660008181528084528590209351845590516001909301929092558251858152908101849052825191927fd9359f6744c286382115ed720fc5e2e5da40d7aa33113ed0f1a3a4557c87ae4092918290030190a2505050565b6001546101009004600160a060020a031633146105055760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b60015460ff161561054a5760405160e560020a62461bcd02815260040180806020018281038252602f815260200180610831602f913960400191505060405180910390fd5b60005b8351811015610626576000848281518110151561056657fe5b9060200190602002015190506000848381518110151561058257fe5b9060200190602002015190506000848481518110151561059e57fe5b6020908102909101810151604080518082018252858152808401838152600160a060020a038816600081815280875284902092518355905160019092019190915581518681529384018390528151929450927fd9359f6744c286382115ed720fc5e2e5da40d7aa33113ed0f1a3a4557c87ae40929081900390910190a250505060010161054d565b50505050565b600080610637610819565b505050600160a060020a038116600090815260208181526040918290208251808401909352805480845260019091015492909101829052905b915091565b600254604080517f6d1ea3fa000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009384938493911691636d1ea3fa91602480820192602092909190829003018186803b1580156106e157600080fd5b505afa1580156106f5573d6000803e3d6000fd5b505050506040513d602081101561070b57600080fd5b5051905080156107285761071e8461062c565b9250925050610670565b5060009150819050610670565b600160a060020a0316600090815260208190526040902060010154151590565b6001546101009004600160a060020a031633146107a65760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b6001805460ff1916811790556040517f615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de90600090a1565b6001546101009004600160a060020a031681565b600254600160a060020a031681565b6000602081905290815260409020805460019091015482565b60408051808201909152600080825260208201529056fe54686520636f6e74726163742069732066726f7a656e2c206e6f74206368616e6765732061726520616c6c6f7765644f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6ea165627a7a723058204c67952e8c946e1edc6392d84e2e28d23c870fac89e5357a9cce741ccc35d36b0029",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100bb576000357c0100000000000000000000000000000000000000000000000000000000900480635d864083116100835780635d8640831461032057806362a5af3b146103465780638da5cb5b1461034e57806393e59dc114610372578063cfed246b1461037a576100bb565b8063054f7d9c146100c05780633011e16a146100dc57806336212727146101105780633a4e8a9c146102bb57806341976e09146102fa575b600080fd5b6100c86103a0565b604080519115158252519081900360200190f35b61010e600480360360608110156100f257600080fd5b50600160a060020a0381351690602081013590604001356103a9565b005b61010e6004803603606081101561012657600080fd5b81019060208101813564010000000081111561014157600080fd5b82018360208201111561015357600080fd5b8035906020019184602083028401116401000000008311171561017557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092959493602081019350359150506401000000008111156101c557600080fd5b8201836020820111156101d757600080fd5b803590602001918460208302840111640100000000831117156101f957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561024957600080fd5b82018360208201111561025b57600080fd5b8035906020019184602083028401116401000000008311171561027d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506104b4945050505050565b6102e1600480360360208110156102d157600080fd5b5035600160a060020a031661062c565b6040805192835260208301919091528051918290030190f35b6102e16004803603602081101561031057600080fd5b5035600160a060020a0316610675565b6100c86004803603602081101561033657600080fd5b5035600160a060020a0316610735565b61010e610755565b6103566107dd565b60408051600160a060020a039092168252519081900360200190f35b6103566107f1565b6102e16004803603602081101561039057600080fd5b5035600160a060020a0316610800565b60015460ff1681565b6001546101009004600160a060020a031633146103fa5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b60015460ff161561043f5760405160e560020a62461bcd02815260040180806020018281038252602f815260200180610831602f913960400191505060405180910390fd5b6040805180820182528381526020808201848152600160a060020a03871660008181528084528590209351845590516001909301929092558251858152908101849052825191927fd9359f6744c286382115ed720fc5e2e5da40d7aa33113ed0f1a3a4557c87ae4092918290030190a2505050565b6001546101009004600160a060020a031633146105055760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b60015460ff161561054a5760405160e560020a62461bcd02815260040180806020018281038252602f815260200180610831602f913960400191505060405180910390fd5b60005b8351811015610626576000848281518110151561056657fe5b9060200190602002015190506000848381518110151561058257fe5b9060200190602002015190506000848481518110151561059e57fe5b6020908102909101810151604080518082018252858152808401838152600160a060020a038816600081815280875284902092518355905160019092019190915581518681529384018390528151929450927fd9359f6744c286382115ed720fc5e2e5da40d7aa33113ed0f1a3a4557c87ae40929081900390910190a250505060010161054d565b50505050565b600080610637610819565b505050600160a060020a038116600090815260208181526040918290208251808401909352805480845260019091015492909101829052905b915091565b600254604080517f6d1ea3fa000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009384938493911691636d1ea3fa91602480820192602092909190829003018186803b1580156106e157600080fd5b505afa1580156106f5573d6000803e3d6000fd5b505050506040513d602081101561070b57600080fd5b5051905080156107285761071e8461062c565b9250925050610670565b5060009150819050610670565b600160a060020a0316600090815260208190526040902060010154151590565b6001546101009004600160a060020a031633146107a65760405160e560020a62461bcd0281526004018080602001828103825260238152602001806108606023913960400191505060405180910390fd5b6001805460ff1916811790556040517f615acbaede366d76a8b8cb2a9ada6a71495f0786513d71aa97aaf0c3910b78de90600090a1565b6001546101009004600160a060020a031681565b600254600160a060020a031681565b6000602081905290815260409020805460019091015482565b60408051808201909152600080825260208201529056fe54686520636f6e74726163742069732066726f7a656e2c206e6f74206368616e6765732061726520616c6c6f7765644f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6ea165627a7a723058204c67952e8c946e1edc6392d84e2e28d23c870fac89e5357a9cce741ccc35d36b0029",
  "sourceMap": "313:2082:15:-;;;897:134;8:9:-1;5:2;;;30:1;27;20:12;5:2;897:134:15;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;897:134:15;952:5;:18;;-1:-1:-1;;;;;;952:18:15;960:10;952:18;;;;;980:9;:44;;-1:-1:-1;;;;;;980:44:15;-1:-1:-1;;;;;980:44:15;;;;;;;;;313:2082;;;-1:-1:-1;313:2082:15;;",
  "deployedSourceMap": "313:2082:15:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;313:2082:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;390:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;2089:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2089:210:15;;;;;;;;;;;;;:::i;:::-;;1613:470;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1613:470:15;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;1613:470:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;1613:470:15;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1613:470:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;1613:470:15;;;;;;;;-1:-1:-1;1613:470:15;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;1613:470:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;1613:470:15;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1613:470:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;1613:470:15;;;;;;;;-1:-1:-1;1613:470:15;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;1613:470:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;1613:470:15;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1613:470:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;1613:470:15;;-1:-1:-1;1613:470:15;;-1:-1:-1;;;;;1613:470:15:i;1432:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1432:175:15;-1:-1:-1;;;;;1432:175:15;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1165:261;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1165:261:15;-1:-1:-1;;;;;1165:261:15;;:::i;1037:122::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1037:122:15;-1:-1:-1;;;;;1037:122:15;;:::i;2305:88::-;;;:::i;414:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;414:20:15;;;;;;;;;;;;;;440:31;;;:::i;345:39::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;345:39:15;-1:-1:-1;;;;;345:39:15;;:::i;390:18::-;;;;;;:::o;2089:210::-;531:5;;;;;-1:-1:-1;;;;;531:5:15;517:10;:19;509:67;;;;-1:-1:-1;;;;;509:67:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;640:6;;;;639:7;631:67;;;;-1:-1:-1;;;;;631:67:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2209:29;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2193:13:15;;-1:-1:-1;2193:13:15;;;;;;;;;:45;;;;;;;;;;;;;;2253:39;;;;;;;;;;;;;2193:13;;2253:39;;;;;;;;;2089:210;;;:::o;1613:470::-;531:5;;;;;-1:-1:-1;;;;;531:5:15;517:10;:19;509:67;;;;-1:-1:-1;;;;;509:67:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;640:6;;;;639:7;631:67;;;;-1:-1:-1;;;;;631:67:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1781:6;1776:301;1797:6;:13;1793:1;:17;1776:301;;;1831:13;1847:6;1854:1;1847:9;;;;;;;;;;;;;;;;;;1831:25;;1870:14;1887:10;1898:1;1887:13;;;;;;;;;;;;;;;;;;1870:30;;1914:16;1933:12;1946:1;1933:15;;;;;;;;;;;;;;;;;;;;1979:29;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1963:13:15;;-1:-1:-1;1963:13:15;;;;;;;;;:45;;;;;;;;;;;;;;2027:39;;;;;;;;;;;;;1933:15;;-1:-1:-1;1963:13:15;2027:39;;;;;;;;;;;-1:-1:-1;;;1812:3:15;;1776:301;;;;1613:470;;;:::o;1432:175::-;1491:4;1497;1513:18;;:::i;:::-;-1:-1:-1;;;;;;;;1534:13:15;;:6;:13;;;;;;;;;;;;1513:34;;;;;;;;;;;;;;;;;;;;;;;;;;1432:175;;;;:::o;1165:261::-;1262:9;;:31;;;;;;-1:-1:-1;;;;;1262:31:15;;;;;;;;;1219:4;;;;;;1262:9;;;:24;;:31;;;;;;;;;;;;;;;:9;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;1262:31:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1262:31:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1262:31:15;;-1:-1:-1;1304:115:15;;;;1344:20;1358:5;1344:13;:20::i;:::-;1337:27;;;;;;;1304:115;-1:-1:-1;1403:1:15;;-1:-1:-1;1403:1:15;;-1:-1:-1;1395:13:15;;1037:122;-1:-1:-1;;;;;1122:13:15;1099:4;1122:13;;;;;;;;;;:25;;;:30;;;1037:122::o;2305:88::-;531:5;;;;;-1:-1:-1;;;;;531:5:15;517:10;:19;509:67;;;;-1:-1:-1;;;;;509:67:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2359:4;2350:13;;-1:-1:-1;;2350:13:15;;;;;2378:8;;;;2350:6;;2378:8;2305:88::o;414:20::-;;;;;;-1:-1:-1;;;;;414:20:15;;:::o;440:31::-;;;-1:-1:-1;;;;;440:31:15;;:::o;345:39::-;;;;;;;;;;;;;;;;;;;;:::o;313:2082::-;;;;;;;;;;-1:-1:-1;313:2082:15;;;;;;;;:::o",
  "source": "pragma solidity ^0.5.4;\n\nimport \"@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol\";\n\n/**\n * @title An Ether-ERC20 token price oracle with an unmutable price\n * \n * @dev The prices are initialized when configuring the contract, then you \n *  freeze the contract disallowing any further modification.\n */\n\ncontract FixedPriceOracle {\n    mapping(address => Price) public prices;\n    bool public frozen;\n    address public owner;\n    TokenWhitelist public whitelist;\n\n    modifier onlyOwner() {\n        require(msg.sender == owner, \"Only the owner can do the operation\");\n        _;\n    }\n\n    modifier notFrozen() {\n        require(!frozen, \"The contract is frozen, not changes are allowed\");\n        _;\n    }\n\n    struct Price {\n        uint numerator;\n        uint denominator;\n    }\n\n    event PriceSet(address indexed token, uint numerator, uint denominator);\n\n    event Freeze();\n\n    constructor(address whitelistAddress) public {\n        owner = msg.sender;\n        whitelist = TokenWhitelist(whitelistAddress);\n    }\n\n    function hasReliablePrice(address token) public view returns (bool) {\n        return prices[token].denominator != 0;\n    }\n\n    function getPrice(address token) public view returns (uint, uint) {\n        bool approvedToken = whitelist.approvedTokens(token);\n\n        if (approvedToken) {\n            return getPriceValue(token);\n        } else {\n            return (0, 0);\n        }\n\n    }\n\n    function getPriceValue(address token) public view returns (uint, uint) {\n        Price memory price = prices[token];\n        return (price.numerator, price.denominator);\n    }\n\n    function setPrices(address[] memory tokens, uint[] memory numerators, uint[] memory denominators)\n        public\n        onlyOwner\n        notFrozen\n    {\n        for (uint i = 0; i < tokens.length; i++) {\n            address token = tokens[i];\n            uint numerator = numerators[i];\n            uint denominator = denominators[i];\n\n            prices[token] = Price(numerator, denominator);\n            emit PriceSet(token, numerator, denominator);\n        }\n    }\n\n    function setPrice(address token, uint numerator, uint denominator) public onlyOwner notFrozen {\n        prices[token] = Price(numerator, denominator);\n        emit PriceSet(token, numerator, denominator);\n    }\n\n    function freeze() public onlyOwner {\n        frozen = true;\n        emit Freeze();\n    }\n}\n",
  "sourcePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/whitelisting/FixedPriceOracle.sol",
  "ast": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/whitelisting/FixedPriceOracle.sol",
    "exportedSymbols": {
      "FixedPriceOracle": [
        1419
      ]
    },
    "id": 1420,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1182,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:15"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol",
        "file": "@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol",
        "id": 1183,
        "nodeType": "ImportDirective",
        "scope": 1420,
        "sourceUnit": 19857,
        "src": "25:67:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": "@title An Ether-ERC20 token price oracle with an unmutable price\n\n * @dev The prices are initialized when configuring the contract, then you \n freeze the contract disallowing any further modification.",
        "fullyImplemented": true,
        "id": 1419,
        "linearizedBaseContracts": [
          1419
        ],
        "name": "FixedPriceOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 1187,
            "name": "prices",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "345:39:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
              "typeString": "mapping(address => struct FixedPriceOracle.Price)"
            },
            "typeName": {
              "id": 1186,
              "keyType": {
                "id": 1184,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "353:7:15",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "345:25:15",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                "typeString": "mapping(address => struct FixedPriceOracle.Price)"
              },
              "valueType": {
                "contractScope": null,
                "id": 1185,
                "name": "Price",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 1220,
                "src": "364:5:15",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Price_$1220_storage_ptr",
                  "typeString": "struct FixedPriceOracle.Price"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1189,
            "name": "frozen",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "390:18:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 1188,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "390:4:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1191,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "414:20:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1190,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "414:7:15",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1193,
            "name": "whitelist",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "440:31:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
              "typeString": "contract TokenWhitelist"
            },
            "typeName": {
              "contractScope": null,
              "id": 1192,
              "name": "TokenWhitelist",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19856,
              "src": "440:14:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                "typeString": "contract TokenWhitelist"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1204,
              "nodeType": "Block",
              "src": "499:95:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 1199,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1196,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "517:3:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 1197,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "517:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 1198,
                          "name": "owner",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1191,
                          "src": "531:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "517:19:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6e",
                        "id": 1200,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "538:37:15",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        },
                        "value": "Only the owner can do the operation"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        }
                      ],
                      "id": 1195,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "509:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 1201,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "509:67:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1202,
                  "nodeType": "ExpressionStatement",
                  "src": "509:67:15"
                },
                {
                  "id": 1203,
                  "nodeType": "PlaceholderStatement",
                  "src": "586:1:15"
                }
              ]
            },
            "documentation": null,
            "id": 1205,
            "name": "onlyOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 1194,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "496:2:15"
            },
            "src": "478:116:15",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 1214,
              "nodeType": "Block",
              "src": "621:95:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1209,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "UnaryOperation",
                        "operator": "!",
                        "prefix": true,
                        "src": "639:7:15",
                        "subExpression": {
                          "argumentTypes": null,
                          "id": 1208,
                          "name": "frozen",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1189,
                          "src": "640:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "54686520636f6e74726163742069732066726f7a656e2c206e6f74206368616e6765732061726520616c6c6f776564",
                        "id": 1210,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "648:49:15",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_54e8994c0582d990a804e767fdccaa65e7e3da4868162882c729dd2a66123b2b",
                          "typeString": "literal_string \"The contract is frozen, not changes are allowed\""
                        },
                        "value": "The contract is frozen, not changes are allowed"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_54e8994c0582d990a804e767fdccaa65e7e3da4868162882c729dd2a66123b2b",
                          "typeString": "literal_string \"The contract is frozen, not changes are allowed\""
                        }
                      ],
                      "id": 1207,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "631:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 1211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "631:67:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1212,
                  "nodeType": "ExpressionStatement",
                  "src": "631:67:15"
                },
                {
                  "id": 1213,
                  "nodeType": "PlaceholderStatement",
                  "src": "708:1:15"
                }
              ]
            },
            "documentation": null,
            "id": 1215,
            "name": "notFrozen",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 1206,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "618:2:15"
            },
            "src": "600:116:15",
            "visibility": "internal"
          },
          {
            "canonicalName": "FixedPriceOracle.Price",
            "id": 1220,
            "members": [
              {
                "constant": false,
                "id": 1217,
                "name": "numerator",
                "nodeType": "VariableDeclaration",
                "scope": 1220,
                "src": "745:14:15",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1216,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "745:4:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 1219,
                "name": "denominator",
                "nodeType": "VariableDeclaration",
                "scope": 1220,
                "src": "769:16:15",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1218,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "769:4:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Price",
            "nodeType": "StructDefinition",
            "scope": 1419,
            "src": "722:70:15",
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1228,
            "name": "PriceSet",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1222,
                  "indexed": true,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "813:21:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1221,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "813:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1224,
                  "indexed": false,
                  "name": "numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "836:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1223,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "836:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1226,
                  "indexed": false,
                  "name": "denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "852:16:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1225,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "812:57:15"
            },
            "src": "798:72:15"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1230,
            "name": "Freeze",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1229,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "888:2:15"
            },
            "src": "876:15:15"
          },
          {
            "body": {
              "id": 1246,
              "nodeType": "Block",
              "src": "942:89:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1238,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1235,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1191,
                      "src": "952:5:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1236,
                        "name": "msg",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23690,
                        "src": "960:3:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_magic_message",
                          "typeString": "msg"
                        }
                      },
                      "id": 1237,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "sender",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "960:10:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "952:18:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1239,
                  "nodeType": "ExpressionStatement",
                  "src": "952:18:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1244,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1240,
                      "name": "whitelist",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1193,
                      "src": "980:9:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                        "typeString": "contract TokenWhitelist"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 1242,
                          "name": "whitelistAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1232,
                          "src": "1007:16:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 1241,
                        "name": "TokenWhitelist",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19856,
                        "src": "992:14:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_TokenWhitelist_$19856_$",
                          "typeString": "type(contract TokenWhitelist)"
                        }
                      },
                      "id": 1243,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "992:32:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                        "typeString": "contract TokenWhitelist"
                      }
                    },
                    "src": "980:44:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                      "typeString": "contract TokenWhitelist"
                    }
                  },
                  "id": 1245,
                  "nodeType": "ExpressionStatement",
                  "src": "980:44:15"
                }
              ]
            },
            "documentation": null,
            "id": 1247,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1233,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1232,
                  "name": "whitelistAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 1247,
                  "src": "909:24:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1231,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "909:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "908:26:15"
            },
            "returnParameters": {
              "id": 1234,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "942:0:15"
            },
            "scope": 1419,
            "src": "897:134:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1261,
              "nodeType": "Block",
              "src": "1105:54:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1254,
                          "name": "prices",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1187,
                          "src": "1122:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                            "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                          }
                        },
                        "id": 1256,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 1255,
                          "name": "token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1249,
                          "src": "1129:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1122:13:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Price_$1220_storage",
                          "typeString": "struct FixedPriceOracle.Price storage ref"
                        }
                      },
                      "id": 1257,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "denominator",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1219,
                      "src": "1122:25:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 1258,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1151:1:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "1122:30:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 1253,
                  "id": 1260,
                  "nodeType": "Return",
                  "src": "1115:37:15"
                }
              ]
            },
            "documentation": null,
            "id": 1262,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "hasReliablePrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1250,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1249,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1262,
                  "src": "1063:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1248,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1063:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1062:15:15"
            },
            "returnParameters": {
              "id": 1253,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1252,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1262,
                  "src": "1099:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 1251,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1099:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1098:6:15"
            },
            "scope": 1419,
            "src": "1037:122:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1290,
              "nodeType": "Block",
              "src": "1231:195:15",
              "statements": [
                {
                  "assignments": [
                    1272
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1272,
                      "name": "approvedToken",
                      "nodeType": "VariableDeclaration",
                      "scope": 1290,
                      "src": "1241:18:15",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "typeName": {
                        "id": 1271,
                        "name": "bool",
                        "nodeType": "ElementaryTypeName",
                        "src": "1241:4:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1277,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1275,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1264,
                        "src": "1287:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1273,
                        "name": "whitelist",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1193,
                        "src": "1262:9:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                          "typeString": "contract TokenWhitelist"
                        }
                      },
                      "id": 1274,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "approvedTokens",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 19761,
                      "src": "1262:24:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$",
                        "typeString": "function (address) view external returns (bool)"
                      }
                    },
                    "id": 1276,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1262:31:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1241:52:15"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "id": 1278,
                    "name": "approvedToken",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 1272,
                    "src": "1308:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 1288,
                    "nodeType": "Block",
                    "src": "1381:38:15",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "components": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1284,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1403:1:15",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1285,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1406:1:15",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "id": 1286,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "1402:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_rational_0_by_1_$_t_rational_0_by_1_$",
                            "typeString": "tuple(int_const 0,int_const 0)"
                          }
                        },
                        "functionReturnParameters": 1270,
                        "id": 1287,
                        "nodeType": "Return",
                        "src": "1395:13:15"
                      }
                    ]
                  },
                  "id": 1289,
                  "nodeType": "IfStatement",
                  "src": "1304:115:15",
                  "trueBody": {
                    "id": 1283,
                    "nodeType": "Block",
                    "src": "1323:52:15",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1280,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1264,
                              "src": "1358:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 1279,
                            "name": "getPriceValue",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1313,
                            "src": "1344:13:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$_t_uint256_$",
                              "typeString": "function (address) view returns (uint256,uint256)"
                            }
                          },
                          "id": 1281,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1344:20:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                            "typeString": "tuple(uint256,uint256)"
                          }
                        },
                        "functionReturnParameters": 1270,
                        "id": 1282,
                        "nodeType": "Return",
                        "src": "1337:27:15"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": null,
            "id": 1291,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1265,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1264,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1183:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1263,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1183:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1182:15:15"
            },
            "returnParameters": {
              "id": 1270,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1267,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1219:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1266,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1219:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1269,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1225:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1268,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1225:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1218:12:15"
            },
            "scope": 1419,
            "src": "1165:261:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1312,
              "nodeType": "Block",
              "src": "1503:104:15",
              "statements": [
                {
                  "assignments": [
                    1301
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1301,
                      "name": "price",
                      "nodeType": "VariableDeclaration",
                      "scope": 1312,
                      "src": "1513:18:15",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                        "typeString": "struct FixedPriceOracle.Price"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1300,
                        "name": "Price",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1220,
                        "src": "1513:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Price_$1220_storage_ptr",
                          "typeString": "struct FixedPriceOracle.Price"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1305,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 1302,
                      "name": "prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1187,
                      "src": "1534:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                        "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                      }
                    },
                    "id": 1304,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1303,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1293,
                      "src": "1541:5:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1534:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Price_$1220_storage",
                      "typeString": "struct FixedPriceOracle.Price storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1513:34:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 1306,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1301,
                          "src": "1565:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                            "typeString": "struct FixedPriceOracle.Price memory"
                          }
                        },
                        "id": 1307,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "numerator",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1217,
                        "src": "1565:15:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 1308,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1301,
                          "src": "1582:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                            "typeString": "struct FixedPriceOracle.Price memory"
                          }
                        },
                        "id": 1309,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "denominator",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1219,
                        "src": "1582:17:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "id": 1310,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "1564:36:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "functionReturnParameters": 1299,
                  "id": 1311,
                  "nodeType": "Return",
                  "src": "1557:43:15"
                }
              ]
            },
            "documentation": null,
            "id": 1313,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPriceValue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1294,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1293,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1455:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1292,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1455:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1454:15:15"
            },
            "returnParameters": {
              "id": 1299,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1296,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1491:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1295,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1491:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1298,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1497:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1297,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1497:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1490:12:15"
            },
            "scope": 1419,
            "src": "1432:175:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1375,
              "nodeType": "Block",
              "src": "1766:317:15",
              "statements": [
                {
                  "body": {
                    "id": 1373,
                    "nodeType": "Block",
                    "src": "1817:260:15",
                    "statements": [
                      {
                        "assignments": [
                          1341
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1341,
                            "name": "token",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1831:13:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            "typeName": {
                              "id": 1340,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1831:7:15",
                              "stateMutability": "nonpayable",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1345,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1342,
                            "name": "tokens",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1316,
                            "src": "1847:6:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                              "typeString": "address[] memory"
                            }
                          },
                          "id": 1344,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1343,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1854:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1847:9:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1831:25:15"
                      },
                      {
                        "assignments": [
                          1347
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1347,
                            "name": "numerator",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1870:14:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 1346,
                              "name": "uint",
                              "nodeType": "ElementaryTypeName",
                              "src": "1870:4:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1351,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1348,
                            "name": "numerators",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1319,
                            "src": "1887:10:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          "id": 1350,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1349,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1898:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1887:13:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1870:30:15"
                      },
                      {
                        "assignments": [
                          1353
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1353,
                            "name": "denominator",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1914:16:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 1352,
                              "name": "uint",
                              "nodeType": "ElementaryTypeName",
                              "src": "1914:4:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1357,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1354,
                            "name": "denominators",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1322,
                            "src": "1933:12:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          "id": 1356,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1355,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1946:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1933:15:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1914:34:15"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1365,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 1358,
                              "name": "prices",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1187,
                              "src": "1963:6:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                                "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                              }
                            },
                            "id": 1360,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 1359,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1341,
                              "src": "1970:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "1963:13:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Price_$1220_storage",
                              "typeString": "struct FixedPriceOracle.Price storage ref"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 1362,
                                "name": "numerator",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1347,
                                "src": "1985:9:15",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 1363,
                                "name": "denominator",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1353,
                                "src": "1996:11:15",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 1361,
                              "name": "Price",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1220,
                              "src": "1979:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_struct$_Price_$1220_storage_ptr_$",
                                "typeString": "type(struct FixedPriceOracle.Price storage pointer)"
                              }
                            },
                            "id": 1364,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "structConstructorCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1979:29:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Price_$1220_memory",
                              "typeString": "struct FixedPriceOracle.Price memory"
                            }
                          },
                          "src": "1963:45:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_storage",
                            "typeString": "struct FixedPriceOracle.Price storage ref"
                          }
                        },
                        "id": 1366,
                        "nodeType": "ExpressionStatement",
                        "src": "1963:45:15"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1368,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1341,
                              "src": "2036:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 1369,
                              "name": "numerator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1347,
                              "src": "2043:9:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 1370,
                              "name": "denominator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1353,
                              "src": "2054:11:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 1367,
                            "name": "PriceSet",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1228,
                            "src": "2027:8:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                              "typeString": "function (address,uint256,uint256)"
                            }
                          },
                          "id": 1371,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2027:39:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 1372,
                        "nodeType": "EmitStatement",
                        "src": "2022:44:15"
                      }
                    ]
                  },
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1336,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 1333,
                      "name": "i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1330,
                      "src": "1793:1:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1334,
                        "name": "tokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1316,
                        "src": "1797:6:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                          "typeString": "address[] memory"
                        }
                      },
                      "id": 1335,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "1797:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "1793:17:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 1374,
                  "initializationExpression": {
                    "assignments": [
                      1330
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 1330,
                        "name": "i",
                        "nodeType": "VariableDeclaration",
                        "scope": 1374,
                        "src": "1781:6:15",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 1329,
                          "name": "uint",
                          "nodeType": "ElementaryTypeName",
                          "src": "1781:4:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "value": null,
                        "visibility": "internal"
                      }
                    ],
                    "id": 1332,
                    "initialValue": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 1331,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1790:1:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "1781:10:15"
                  },
                  "loopExpression": {
                    "expression": {
                      "argumentTypes": null,
                      "id": 1338,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "1812:3:15",
                      "subExpression": {
                        "argumentTypes": null,
                        "id": 1337,
                        "name": "i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1330,
                        "src": "1812:1:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1339,
                    "nodeType": "ExpressionStatement",
                    "src": "1812:3:15"
                  },
                  "nodeType": "ForStatement",
                  "src": "1776:301:15"
                }
              ]
            },
            "documentation": null,
            "id": 1376,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1325,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1324,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "1734:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1734:9:15"
              },
              {
                "arguments": null,
                "id": 1327,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1326,
                  "name": "notFrozen",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1215,
                  "src": "1752:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1752:9:15"
              }
            ],
            "name": "setPrices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1323,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1316,
                  "name": "tokens",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1632:23:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                    "typeString": "address[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1314,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "1632:7:15",
                      "stateMutability": "nonpayable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "id": 1315,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1632:9:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
                      "typeString": "address[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1319,
                  "name": "numerators",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1657:24:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1317,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "1657:4:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1318,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1657:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1322,
                  "name": "denominators",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1683:26:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1320,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "1683:4:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1321,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1683:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1631:79:15"
            },
            "returnParameters": {
              "id": 1328,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1766:0:15"
            },
            "scope": 1419,
            "src": "1613:470:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1404,
              "nodeType": "Block",
              "src": "2183:116:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1396,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1389,
                        "name": "prices",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1187,
                        "src": "2193:6:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                          "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                        }
                      },
                      "id": 1391,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1390,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1378,
                        "src": "2200:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2193:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_storage",
                        "typeString": "struct FixedPriceOracle.Price storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 1393,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1380,
                          "src": "2215:9:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 1394,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1382,
                          "src": "2226:11:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 1392,
                        "name": "Price",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1220,
                        "src": "2209:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_Price_$1220_storage_ptr_$",
                          "typeString": "type(struct FixedPriceOracle.Price storage pointer)"
                        }
                      },
                      "id": 1395,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2209:29:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_memory",
                        "typeString": "struct FixedPriceOracle.Price memory"
                      }
                    },
                    "src": "2193:45:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Price_$1220_storage",
                      "typeString": "struct FixedPriceOracle.Price storage ref"
                    }
                  },
                  "id": 1397,
                  "nodeType": "ExpressionStatement",
                  "src": "2193:45:15"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1399,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1378,
                        "src": "2262:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1400,
                        "name": "numerator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1380,
                        "src": "2269:9:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1401,
                        "name": "denominator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1382,
                        "src": "2280:11:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 1398,
                      "name": "PriceSet",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1228,
                      "src": "2253:8:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                        "typeString": "function (address,uint256,uint256)"
                      }
                    },
                    "id": 1402,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2253:39:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1403,
                  "nodeType": "EmitStatement",
                  "src": "2248:44:15"
                }
              ]
            },
            "documentation": null,
            "id": 1405,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1385,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1384,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "2163:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2163:9:15"
              },
              {
                "arguments": null,
                "id": 1387,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1386,
                  "name": "notFrozen",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1215,
                  "src": "2173:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2173:9:15"
              }
            ],
            "name": "setPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1383,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1378,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2107:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1377,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2107:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1380,
                  "name": "numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2122:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1379,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2122:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1382,
                  "name": "denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2138:16:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1381,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2138:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2106:49:15"
            },
            "returnParameters": {
              "id": 1388,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2183:0:15"
            },
            "scope": 1419,
            "src": "2089:210:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1417,
              "nodeType": "Block",
              "src": "2340:53:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1412,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1410,
                      "name": "frozen",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1189,
                      "src": "2350:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "74727565",
                      "id": 1411,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "bool",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2359:4:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "value": "true"
                    },
                    "src": "2350:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 1413,
                  "nodeType": "ExpressionStatement",
                  "src": "2350:13:15"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 1414,
                      "name": "Freeze",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1230,
                      "src": "2378:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 1415,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2378:8:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1416,
                  "nodeType": "EmitStatement",
                  "src": "2373:13:15"
                }
              ]
            },
            "documentation": null,
            "id": 1418,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1408,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1407,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "2330:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2330:9:15"
              }
            ],
            "name": "freeze",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1406,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2320:2:15"
            },
            "returnParameters": {
              "id": 1409,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2340:0:15"
            },
            "scope": 1419,
            "src": "2305:88:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 1420,
        "src": "313:2082:15"
      }
    ],
    "src": "0:2396:15"
  },
  "legacyAST": {
    "absolutePath": "/Users/anxo/code/gnosis/dx-daostack/contracts/whitelisting/FixedPriceOracle.sol",
    "exportedSymbols": {
      "FixedPriceOracle": [
        1419
      ]
    },
    "id": 1420,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 1182,
        "literals": [
          "solidity",
          "^",
          "0.5",
          ".4"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:15"
      },
      {
        "absolutePath": "@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol",
        "file": "@gnosis.pm/dx-contracts/contracts/base/TokenWhitelist.sol",
        "id": 1183,
        "nodeType": "ImportDirective",
        "scope": 1420,
        "sourceUnit": 19857,
        "src": "25:67:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": "@title An Ether-ERC20 token price oracle with an unmutable price\n\n * @dev The prices are initialized when configuring the contract, then you \n freeze the contract disallowing any further modification.",
        "fullyImplemented": true,
        "id": 1419,
        "linearizedBaseContracts": [
          1419
        ],
        "name": "FixedPriceOracle",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "constant": false,
            "id": 1187,
            "name": "prices",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "345:39:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
              "typeString": "mapping(address => struct FixedPriceOracle.Price)"
            },
            "typeName": {
              "id": 1186,
              "keyType": {
                "id": 1184,
                "name": "address",
                "nodeType": "ElementaryTypeName",
                "src": "353:7:15",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                }
              },
              "nodeType": "Mapping",
              "src": "345:25:15",
              "typeDescriptions": {
                "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                "typeString": "mapping(address => struct FixedPriceOracle.Price)"
              },
              "valueType": {
                "contractScope": null,
                "id": 1185,
                "name": "Price",
                "nodeType": "UserDefinedTypeName",
                "referencedDeclaration": 1220,
                "src": "364:5:15",
                "typeDescriptions": {
                  "typeIdentifier": "t_struct$_Price_$1220_storage_ptr",
                  "typeString": "struct FixedPriceOracle.Price"
                }
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1189,
            "name": "frozen",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "390:18:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bool",
              "typeString": "bool"
            },
            "typeName": {
              "id": 1188,
              "name": "bool",
              "nodeType": "ElementaryTypeName",
              "src": "390:4:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bool",
                "typeString": "bool"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1191,
            "name": "owner",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "414:20:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 1190,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "414:7:15",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "constant": false,
            "id": 1193,
            "name": "whitelist",
            "nodeType": "VariableDeclaration",
            "scope": 1419,
            "src": "440:31:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
              "typeString": "contract TokenWhitelist"
            },
            "typeName": {
              "contractScope": null,
              "id": 1192,
              "name": "TokenWhitelist",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 19856,
              "src": "440:14:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                "typeString": "contract TokenWhitelist"
              }
            },
            "value": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1204,
              "nodeType": "Block",
              "src": "499:95:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "commonType": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        "id": 1199,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "argumentTypes": null,
                          "expression": {
                            "argumentTypes": null,
                            "id": 1196,
                            "name": "msg",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 23690,
                            "src": "517:3:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_message",
                              "typeString": "msg"
                            }
                          },
                          "id": 1197,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "sender",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": null,
                          "src": "517:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address_payable",
                            "typeString": "address payable"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "argumentTypes": null,
                          "id": 1198,
                          "name": "owner",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1191,
                          "src": "531:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "src": "517:19:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "4f6e6c7920746865206f776e65722063616e20646f20746865206f7065726174696f6e",
                        "id": 1200,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "538:37:15",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        },
                        "value": "Only the owner can do the operation"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_72b289546cd990aa25119032ba01bc623740f8e982e45ef69119a141103b89bc",
                          "typeString": "literal_string \"Only the owner can do the operation\""
                        }
                      ],
                      "id": 1195,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "509:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 1201,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "509:67:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1202,
                  "nodeType": "ExpressionStatement",
                  "src": "509:67:15"
                },
                {
                  "id": 1203,
                  "nodeType": "PlaceholderStatement",
                  "src": "586:1:15"
                }
              ]
            },
            "documentation": null,
            "id": 1205,
            "name": "onlyOwner",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 1194,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "496:2:15"
            },
            "src": "478:116:15",
            "visibility": "internal"
          },
          {
            "body": {
              "id": 1214,
              "nodeType": "Block",
              "src": "621:95:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1209,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "UnaryOperation",
                        "operator": "!",
                        "prefix": true,
                        "src": "639:7:15",
                        "subExpression": {
                          "argumentTypes": null,
                          "id": 1208,
                          "name": "frozen",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1189,
                          "src": "640:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bool",
                            "typeString": "bool"
                          }
                        },
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "54686520636f6e74726163742069732066726f7a656e2c206e6f74206368616e6765732061726520616c6c6f776564",
                        "id": 1210,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "648:49:15",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_54e8994c0582d990a804e767fdccaa65e7e3da4868162882c729dd2a66123b2b",
                          "typeString": "literal_string \"The contract is frozen, not changes are allowed\""
                        },
                        "value": "The contract is frozen, not changes are allowed"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_54e8994c0582d990a804e767fdccaa65e7e3da4868162882c729dd2a66123b2b",
                          "typeString": "literal_string \"The contract is frozen, not changes are allowed\""
                        }
                      ],
                      "id": 1207,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        23693,
                        23694
                      ],
                      "referencedDeclaration": 23694,
                      "src": "631:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 1211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "631:67:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1212,
                  "nodeType": "ExpressionStatement",
                  "src": "631:67:15"
                },
                {
                  "id": 1213,
                  "nodeType": "PlaceholderStatement",
                  "src": "708:1:15"
                }
              ]
            },
            "documentation": null,
            "id": 1215,
            "name": "notFrozen",
            "nodeType": "ModifierDefinition",
            "parameters": {
              "id": 1206,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "618:2:15"
            },
            "src": "600:116:15",
            "visibility": "internal"
          },
          {
            "canonicalName": "FixedPriceOracle.Price",
            "id": 1220,
            "members": [
              {
                "constant": false,
                "id": 1217,
                "name": "numerator",
                "nodeType": "VariableDeclaration",
                "scope": 1220,
                "src": "745:14:15",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1216,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "745:4:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 1219,
                "name": "denominator",
                "nodeType": "VariableDeclaration",
                "scope": 1220,
                "src": "769:16:15",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 1218,
                  "name": "uint",
                  "nodeType": "ElementaryTypeName",
                  "src": "769:4:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "value": null,
                "visibility": "internal"
              }
            ],
            "name": "Price",
            "nodeType": "StructDefinition",
            "scope": 1419,
            "src": "722:70:15",
            "visibility": "public"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1228,
            "name": "PriceSet",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1222,
                  "indexed": true,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "813:21:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1221,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "813:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1224,
                  "indexed": false,
                  "name": "numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "836:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1223,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "836:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1226,
                  "indexed": false,
                  "name": "denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1228,
                  "src": "852:16:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1225,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "852:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "812:57:15"
            },
            "src": "798:72:15"
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 1230,
            "name": "Freeze",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 1229,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "888:2:15"
            },
            "src": "876:15:15"
          },
          {
            "body": {
              "id": 1246,
              "nodeType": "Block",
              "src": "942:89:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1238,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1235,
                      "name": "owner",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1191,
                      "src": "952:5:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1236,
                        "name": "msg",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 23690,
                        "src": "960:3:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_magic_message",
                          "typeString": "msg"
                        }
                      },
                      "id": 1237,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "sender",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "960:10:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address_payable",
                        "typeString": "address payable"
                      }
                    },
                    "src": "952:18:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 1239,
                  "nodeType": "ExpressionStatement",
                  "src": "952:18:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1244,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1240,
                      "name": "whitelist",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1193,
                      "src": "980:9:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                        "typeString": "contract TokenWhitelist"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 1242,
                          "name": "whitelistAddress",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1232,
                          "src": "1007:16:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        ],
                        "id": 1241,
                        "name": "TokenWhitelist",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 19856,
                        "src": "992:14:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_contract$_TokenWhitelist_$19856_$",
                          "typeString": "type(contract TokenWhitelist)"
                        }
                      },
                      "id": 1243,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "typeConversion",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "992:32:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                        "typeString": "contract TokenWhitelist"
                      }
                    },
                    "src": "980:44:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                      "typeString": "contract TokenWhitelist"
                    }
                  },
                  "id": 1245,
                  "nodeType": "ExpressionStatement",
                  "src": "980:44:15"
                }
              ]
            },
            "documentation": null,
            "id": 1247,
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1233,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1232,
                  "name": "whitelistAddress",
                  "nodeType": "VariableDeclaration",
                  "scope": 1247,
                  "src": "909:24:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1231,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "909:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "908:26:15"
            },
            "returnParameters": {
              "id": 1234,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "942:0:15"
            },
            "scope": 1419,
            "src": "897:134:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1261,
              "nodeType": "Block",
              "src": "1105:54:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "baseExpression": {
                          "argumentTypes": null,
                          "id": 1254,
                          "name": "prices",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1187,
                          "src": "1122:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                            "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                          }
                        },
                        "id": 1256,
                        "indexExpression": {
                          "argumentTypes": null,
                          "id": 1255,
                          "name": "token",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1249,
                          "src": "1129:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "nodeType": "IndexAccess",
                        "src": "1122:13:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Price_$1220_storage",
                          "typeString": "struct FixedPriceOracle.Price storage ref"
                        }
                      },
                      "id": 1257,
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "denominator",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 1219,
                      "src": "1122:25:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "!=",
                    "rightExpression": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 1258,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1151:1:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "src": "1122:30:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 1253,
                  "id": 1260,
                  "nodeType": "Return",
                  "src": "1115:37:15"
                }
              ]
            },
            "documentation": null,
            "id": 1262,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "hasReliablePrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1250,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1249,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1262,
                  "src": "1063:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1248,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1063:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1062:15:15"
            },
            "returnParameters": {
              "id": 1253,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1252,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1262,
                  "src": "1099:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 1251,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1099:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1098:6:15"
            },
            "scope": 1419,
            "src": "1037:122:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1290,
              "nodeType": "Block",
              "src": "1231:195:15",
              "statements": [
                {
                  "assignments": [
                    1272
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1272,
                      "name": "approvedToken",
                      "nodeType": "VariableDeclaration",
                      "scope": 1290,
                      "src": "1241:18:15",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "typeName": {
                        "id": 1271,
                        "name": "bool",
                        "nodeType": "ElementaryTypeName",
                        "src": "1241:4:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1277,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1275,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1264,
                        "src": "1287:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 1273,
                        "name": "whitelist",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1193,
                        "src": "1262:9:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_contract$_TokenWhitelist_$19856",
                          "typeString": "contract TokenWhitelist"
                        }
                      },
                      "id": 1274,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "approvedTokens",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 19761,
                      "src": "1262:24:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$",
                        "typeString": "function (address) view external returns (bool)"
                      }
                    },
                    "id": 1276,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1262:31:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1241:52:15"
                },
                {
                  "condition": {
                    "argumentTypes": null,
                    "id": 1278,
                    "name": "approvedToken",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 1272,
                    "src": "1308:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "falseBody": {
                    "id": 1288,
                    "nodeType": "Block",
                    "src": "1381:38:15",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "components": [
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1284,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1403:1:15",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            },
                            {
                              "argumentTypes": null,
                              "hexValue": "30",
                              "id": 1285,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "kind": "number",
                              "lValueRequested": false,
                              "nodeType": "Literal",
                              "src": "1406:1:15",
                              "subdenomination": null,
                              "typeDescriptions": {
                                "typeIdentifier": "t_rational_0_by_1",
                                "typeString": "int_const 0"
                              },
                              "value": "0"
                            }
                          ],
                          "id": 1286,
                          "isConstant": false,
                          "isInlineArray": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "TupleExpression",
                          "src": "1402:6:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_rational_0_by_1_$_t_rational_0_by_1_$",
                            "typeString": "tuple(int_const 0,int_const 0)"
                          }
                        },
                        "functionReturnParameters": 1270,
                        "id": 1287,
                        "nodeType": "Return",
                        "src": "1395:13:15"
                      }
                    ]
                  },
                  "id": 1289,
                  "nodeType": "IfStatement",
                  "src": "1304:115:15",
                  "trueBody": {
                    "id": 1283,
                    "nodeType": "Block",
                    "src": "1323:52:15",
                    "statements": [
                      {
                        "expression": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1280,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1264,
                              "src": "1358:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            ],
                            "id": 1279,
                            "name": "getPriceValue",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1313,
                            "src": "1344:13:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$_t_uint256_$",
                              "typeString": "function (address) view returns (uint256,uint256)"
                            }
                          },
                          "id": 1281,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "1344:20:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                            "typeString": "tuple(uint256,uint256)"
                          }
                        },
                        "functionReturnParameters": 1270,
                        "id": 1282,
                        "nodeType": "Return",
                        "src": "1337:27:15"
                      }
                    ]
                  }
                }
              ]
            },
            "documentation": null,
            "id": 1291,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1265,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1264,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1183:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1263,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1183:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1182:15:15"
            },
            "returnParameters": {
              "id": 1270,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1267,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1219:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1266,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1219:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1269,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1291,
                  "src": "1225:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1268,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1225:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1218:12:15"
            },
            "scope": 1419,
            "src": "1165:261:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1312,
              "nodeType": "Block",
              "src": "1503:104:15",
              "statements": [
                {
                  "assignments": [
                    1301
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 1301,
                      "name": "price",
                      "nodeType": "VariableDeclaration",
                      "scope": 1312,
                      "src": "1513:18:15",
                      "stateVariable": false,
                      "storageLocation": "memory",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                        "typeString": "struct FixedPriceOracle.Price"
                      },
                      "typeName": {
                        "contractScope": null,
                        "id": 1300,
                        "name": "Price",
                        "nodeType": "UserDefinedTypeName",
                        "referencedDeclaration": 1220,
                        "src": "1513:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_struct$_Price_$1220_storage_ptr",
                          "typeString": "struct FixedPriceOracle.Price"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 1305,
                  "initialValue": {
                    "argumentTypes": null,
                    "baseExpression": {
                      "argumentTypes": null,
                      "id": 1302,
                      "name": "prices",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1187,
                      "src": "1534:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                        "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                      }
                    },
                    "id": 1304,
                    "indexExpression": {
                      "argumentTypes": null,
                      "id": 1303,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1293,
                      "src": "1541:5:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "isConstant": false,
                    "isLValue": true,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "IndexAccess",
                    "src": "1534:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Price_$1220_storage",
                      "typeString": "struct FixedPriceOracle.Price storage ref"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "1513:34:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "components": [
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 1306,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1301,
                          "src": "1565:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                            "typeString": "struct FixedPriceOracle.Price memory"
                          }
                        },
                        "id": 1307,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "numerator",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1217,
                        "src": "1565:15:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "expression": {
                          "argumentTypes": null,
                          "id": 1308,
                          "name": "price",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1301,
                          "src": "1582:5:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_memory_ptr",
                            "typeString": "struct FixedPriceOracle.Price memory"
                          }
                        },
                        "id": 1309,
                        "isConstant": false,
                        "isLValue": true,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "denominator",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 1219,
                        "src": "1582:17:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "id": 1310,
                    "isConstant": false,
                    "isInlineArray": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "nodeType": "TupleExpression",
                    "src": "1564:36:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$",
                      "typeString": "tuple(uint256,uint256)"
                    }
                  },
                  "functionReturnParameters": 1299,
                  "id": 1311,
                  "nodeType": "Return",
                  "src": "1557:43:15"
                }
              ]
            },
            "documentation": null,
            "id": 1313,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "getPriceValue",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1294,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1293,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1455:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1292,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1455:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1454:15:15"
            },
            "returnParameters": {
              "id": 1299,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1296,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1491:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1295,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1491:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1298,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 1313,
                  "src": "1497:4:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1297,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "1497:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1490:12:15"
            },
            "scope": 1419,
            "src": "1432:175:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1375,
              "nodeType": "Block",
              "src": "1766:317:15",
              "statements": [
                {
                  "body": {
                    "id": 1373,
                    "nodeType": "Block",
                    "src": "1817:260:15",
                    "statements": [
                      {
                        "assignments": [
                          1341
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1341,
                            "name": "token",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1831:13:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            },
                            "typeName": {
                              "id": 1340,
                              "name": "address",
                              "nodeType": "ElementaryTypeName",
                              "src": "1831:7:15",
                              "stateMutability": "nonpayable",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1345,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1342,
                            "name": "tokens",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1316,
                            "src": "1847:6:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                              "typeString": "address[] memory"
                            }
                          },
                          "id": 1344,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1343,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1854:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1847:9:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_address",
                            "typeString": "address"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1831:25:15"
                      },
                      {
                        "assignments": [
                          1347
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1347,
                            "name": "numerator",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1870:14:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 1346,
                              "name": "uint",
                              "nodeType": "ElementaryTypeName",
                              "src": "1870:4:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1351,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1348,
                            "name": "numerators",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1319,
                            "src": "1887:10:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          "id": 1350,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1349,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1898:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1887:13:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1870:30:15"
                      },
                      {
                        "assignments": [
                          1353
                        ],
                        "declarations": [
                          {
                            "constant": false,
                            "id": 1353,
                            "name": "denominator",
                            "nodeType": "VariableDeclaration",
                            "scope": 1373,
                            "src": "1914:16:15",
                            "stateVariable": false,
                            "storageLocation": "default",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            },
                            "typeName": {
                              "id": 1352,
                              "name": "uint",
                              "nodeType": "ElementaryTypeName",
                              "src": "1914:4:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            "value": null,
                            "visibility": "internal"
                          }
                        ],
                        "id": 1357,
                        "initialValue": {
                          "argumentTypes": null,
                          "baseExpression": {
                            "argumentTypes": null,
                            "id": 1354,
                            "name": "denominators",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1322,
                            "src": "1933:12:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                              "typeString": "uint256[] memory"
                            }
                          },
                          "id": 1356,
                          "indexExpression": {
                            "argumentTypes": null,
                            "id": 1355,
                            "name": "i",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1330,
                            "src": "1946:1:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_uint256",
                              "typeString": "uint256"
                            }
                          },
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "nodeType": "IndexAccess",
                          "src": "1933:15:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "nodeType": "VariableDeclarationStatement",
                        "src": "1914:34:15"
                      },
                      {
                        "expression": {
                          "argumentTypes": null,
                          "id": 1365,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "leftHandSide": {
                            "argumentTypes": null,
                            "baseExpression": {
                              "argumentTypes": null,
                              "id": 1358,
                              "name": "prices",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1187,
                              "src": "1963:6:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                                "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                              }
                            },
                            "id": 1360,
                            "indexExpression": {
                              "argumentTypes": null,
                              "id": 1359,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1341,
                              "src": "1970:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            "isConstant": false,
                            "isLValue": true,
                            "isPure": false,
                            "lValueRequested": true,
                            "nodeType": "IndexAccess",
                            "src": "1963:13:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Price_$1220_storage",
                              "typeString": "struct FixedPriceOracle.Price storage ref"
                            }
                          },
                          "nodeType": "Assignment",
                          "operator": "=",
                          "rightHandSide": {
                            "argumentTypes": null,
                            "arguments": [
                              {
                                "argumentTypes": null,
                                "id": 1362,
                                "name": "numerator",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1347,
                                "src": "1985:9:15",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              },
                              {
                                "argumentTypes": null,
                                "id": 1363,
                                "name": "denominator",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 1353,
                                "src": "1996:11:15",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                },
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "id": 1361,
                              "name": "Price",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1220,
                              "src": "1979:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_type$_t_struct$_Price_$1220_storage_ptr_$",
                                "typeString": "type(struct FixedPriceOracle.Price storage pointer)"
                              }
                            },
                            "id": 1364,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "structConstructorCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "1979:29:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_struct$_Price_$1220_memory",
                              "typeString": "struct FixedPriceOracle.Price memory"
                            }
                          },
                          "src": "1963:45:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_struct$_Price_$1220_storage",
                            "typeString": "struct FixedPriceOracle.Price storage ref"
                          }
                        },
                        "id": 1366,
                        "nodeType": "ExpressionStatement",
                        "src": "1963:45:15"
                      },
                      {
                        "eventCall": {
                          "argumentTypes": null,
                          "arguments": [
                            {
                              "argumentTypes": null,
                              "id": 1368,
                              "name": "token",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1341,
                              "src": "2036:5:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 1369,
                              "name": "numerator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1347,
                              "src": "2043:9:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            },
                            {
                              "argumentTypes": null,
                              "id": 1370,
                              "name": "denominator",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 1353,
                              "src": "2054:11:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            }
                          ],
                          "expression": {
                            "argumentTypes": [
                              {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              }
                            ],
                            "id": 1367,
                            "name": "PriceSet",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 1228,
                            "src": "2027:8:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                              "typeString": "function (address,uint256,uint256)"
                            }
                          },
                          "id": 1371,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "kind": "functionCall",
                          "lValueRequested": false,
                          "names": [],
                          "nodeType": "FunctionCall",
                          "src": "2027:39:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_tuple$__$",
                            "typeString": "tuple()"
                          }
                        },
                        "id": 1372,
                        "nodeType": "EmitStatement",
                        "src": "2022:44:15"
                      }
                    ]
                  },
                  "condition": {
                    "argumentTypes": null,
                    "commonType": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    },
                    "id": 1336,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "argumentTypes": null,
                      "id": 1333,
                      "name": "i",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1330,
                      "src": "1793:1:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "<",
                    "rightExpression": {
                      "argumentTypes": null,
                      "expression": {
                        "argumentTypes": null,
                        "id": 1334,
                        "name": "tokens",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1316,
                        "src": "1797:6:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                          "typeString": "address[] memory"
                        }
                      },
                      "id": 1335,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "length",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": null,
                      "src": "1797:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "1793:17:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 1374,
                  "initializationExpression": {
                    "assignments": [
                      1330
                    ],
                    "declarations": [
                      {
                        "constant": false,
                        "id": 1330,
                        "name": "i",
                        "nodeType": "VariableDeclaration",
                        "scope": 1374,
                        "src": "1781:6:15",
                        "stateVariable": false,
                        "storageLocation": "default",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        "typeName": {
                          "id": 1329,
                          "name": "uint",
                          "nodeType": "ElementaryTypeName",
                          "src": "1781:4:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        "value": null,
                        "visibility": "internal"
                      }
                    ],
                    "id": 1332,
                    "initialValue": {
                      "argumentTypes": null,
                      "hexValue": "30",
                      "id": 1331,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "number",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "1790:1:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_rational_0_by_1",
                        "typeString": "int_const 0"
                      },
                      "value": "0"
                    },
                    "nodeType": "VariableDeclarationStatement",
                    "src": "1781:10:15"
                  },
                  "loopExpression": {
                    "expression": {
                      "argumentTypes": null,
                      "id": 1338,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "nodeType": "UnaryOperation",
                      "operator": "++",
                      "prefix": false,
                      "src": "1812:3:15",
                      "subExpression": {
                        "argumentTypes": null,
                        "id": 1337,
                        "name": "i",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1330,
                        "src": "1812:1:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1339,
                    "nodeType": "ExpressionStatement",
                    "src": "1812:3:15"
                  },
                  "nodeType": "ForStatement",
                  "src": "1776:301:15"
                }
              ]
            },
            "documentation": null,
            "id": 1376,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1325,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1324,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "1734:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1734:9:15"
              },
              {
                "arguments": null,
                "id": 1327,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1326,
                  "name": "notFrozen",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1215,
                  "src": "1752:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "1752:9:15"
              }
            ],
            "name": "setPrices",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1323,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1316,
                  "name": "tokens",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1632:23:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
                    "typeString": "address[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1314,
                      "name": "address",
                      "nodeType": "ElementaryTypeName",
                      "src": "1632:7:15",
                      "stateMutability": "nonpayable",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "id": 1315,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1632:9:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
                      "typeString": "address[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1319,
                  "name": "numerators",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1657:24:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1317,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "1657:4:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1318,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1657:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1322,
                  "name": "denominators",
                  "nodeType": "VariableDeclaration",
                  "scope": 1376,
                  "src": "1683:26:15",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr",
                    "typeString": "uint256[]"
                  },
                  "typeName": {
                    "baseType": {
                      "id": 1320,
                      "name": "uint",
                      "nodeType": "ElementaryTypeName",
                      "src": "1683:4:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "id": 1321,
                    "length": null,
                    "nodeType": "ArrayTypeName",
                    "src": "1683:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr",
                      "typeString": "uint256[]"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1631:79:15"
            },
            "returnParameters": {
              "id": 1328,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1766:0:15"
            },
            "scope": 1419,
            "src": "1613:470:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1404,
              "nodeType": "Block",
              "src": "2183:116:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1396,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "baseExpression": {
                        "argumentTypes": null,
                        "id": 1389,
                        "name": "prices",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1187,
                        "src": "2193:6:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Price_$1220_storage_$",
                          "typeString": "mapping(address => struct FixedPriceOracle.Price storage ref)"
                        }
                      },
                      "id": 1391,
                      "indexExpression": {
                        "argumentTypes": null,
                        "id": 1390,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1378,
                        "src": "2200:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      "isConstant": false,
                      "isLValue": true,
                      "isPure": false,
                      "lValueRequested": true,
                      "nodeType": "IndexAccess",
                      "src": "2193:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_storage",
                        "typeString": "struct FixedPriceOracle.Price storage ref"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "arguments": [
                        {
                          "argumentTypes": null,
                          "id": 1393,
                          "name": "numerator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1380,
                          "src": "2215:9:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        },
                        {
                          "argumentTypes": null,
                          "id": 1394,
                          "name": "denominator",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 1382,
                          "src": "2226:11:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          },
                          {
                            "typeIdentifier": "t_uint256",
                            "typeString": "uint256"
                          }
                        ],
                        "id": 1392,
                        "name": "Price",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1220,
                        "src": "2209:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_type$_t_struct$_Price_$1220_storage_ptr_$",
                          "typeString": "type(struct FixedPriceOracle.Price storage pointer)"
                        }
                      },
                      "id": 1395,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "structConstructorCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "2209:29:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_struct$_Price_$1220_memory",
                        "typeString": "struct FixedPriceOracle.Price memory"
                      }
                    },
                    "src": "2193:45:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Price_$1220_storage",
                      "typeString": "struct FixedPriceOracle.Price storage ref"
                    }
                  },
                  "id": 1397,
                  "nodeType": "ExpressionStatement",
                  "src": "2193:45:15"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 1399,
                        "name": "token",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1378,
                        "src": "2262:5:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1400,
                        "name": "numerator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1380,
                        "src": "2269:9:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 1401,
                        "name": "denominator",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 1382,
                        "src": "2280:11:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 1398,
                      "name": "PriceSet",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1228,
                      "src": "2253:8:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$",
                        "typeString": "function (address,uint256,uint256)"
                      }
                    },
                    "id": 1402,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2253:39:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1403,
                  "nodeType": "EmitStatement",
                  "src": "2248:44:15"
                }
              ]
            },
            "documentation": null,
            "id": 1405,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1385,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1384,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "2163:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2163:9:15"
              },
              {
                "arguments": null,
                "id": 1387,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1386,
                  "name": "notFrozen",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1215,
                  "src": "2173:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2173:9:15"
              }
            ],
            "name": "setPrice",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1383,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 1378,
                  "name": "token",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2107:13:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 1377,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2107:7:15",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1380,
                  "name": "numerator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2122:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1379,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2122:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 1382,
                  "name": "denominator",
                  "nodeType": "VariableDeclaration",
                  "scope": 1405,
                  "src": "2138:16:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 1381,
                    "name": "uint",
                    "nodeType": "ElementaryTypeName",
                    "src": "2138:4:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "2106:49:15"
            },
            "returnParameters": {
              "id": 1388,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2183:0:15"
            },
            "scope": 1419,
            "src": "2089:210:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 1417,
              "nodeType": "Block",
              "src": "2340:53:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 1412,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "argumentTypes": null,
                      "id": 1410,
                      "name": "frozen",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1189,
                      "src": "2350:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "argumentTypes": null,
                      "hexValue": "74727565",
                      "id": 1411,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "kind": "bool",
                      "lValueRequested": false,
                      "nodeType": "Literal",
                      "src": "2359:4:15",
                      "subdenomination": null,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "value": "true"
                    },
                    "src": "2350:13:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "id": 1413,
                  "nodeType": "ExpressionStatement",
                  "src": "2350:13:15"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 1414,
                      "name": "Freeze",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 1230,
                      "src": "2378:6:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$__$returns$__$",
                        "typeString": "function ()"
                      }
                    },
                    "id": 1415,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "2378:8:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 1416,
                  "nodeType": "EmitStatement",
                  "src": "2373:13:15"
                }
              ]
            },
            "documentation": null,
            "id": 1418,
            "implemented": true,
            "kind": "function",
            "modifiers": [
              {
                "arguments": null,
                "id": 1408,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 1407,
                  "name": "onlyOwner",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 1205,
                  "src": "2330:9:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_modifier$__$",
                    "typeString": "modifier ()"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "2330:9:15"
              }
            ],
            "name": "freeze",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 1406,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2320:2:15"
            },
            "returnParameters": {
              "id": 1409,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2340:0:15"
            },
            "scope": 1419,
            "src": "2305:88:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          }
        ],
        "scope": 1420,
        "src": "313:2082:15"
      }
    ],
    "src": "0:2396:15"
  },
  "compiler": {
    "name": "solc",
    "version": "0.5.4+commit.9549d8ff.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.9",
  "updatedAt": "2019-05-28T21:12:52.256Z",
  "devdoc": {
    "details": "The prices are initialized when configuring the contract, then you  freeze the contract disallowing any further modification.",
    "methods": {},
    "title": "An Ether-ERC20 token price oracle with an unmutable price "
  },
  "userdoc": {
    "methods": {}
  }
}