{
  "_format": "hh-sol-artifact-1",
  "contractName": "xSUSHIOracle",
  "sourceName": "contracts/oracles/xSUSHIOracle.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IERC20",
          "name": "sushi_",
          "type": "address"
        },
        {
          "internalType": "contract IERC20",
          "name": "bar_",
          "type": "address"
        },
        {
          "internalType": "contract IAggregator",
          "name": "sushiOracle_",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "inputs": [],
      "name": "bar",
      "outputs": [
        {
          "internalType": "contract IERC20",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "get",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "divide",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "decimals",
          "type": "uint256"
        }
      ],
      "name": "getDataParameter",
      "outputs": [
        {
          "internalType": "bytes",
          "name": "",
          "type": "bytes"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "",
          "type": "bytes"
        }
      ],
      "name": "name",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "peek",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "peekSpot",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "rate",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "sushi",
      "outputs": [
        {
          "internalType": "contract IERC20",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "sushiOracle",
      "outputs": [
        {
          "internalType": "contract IAggregator",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes",
          "name": "",
          "type": "bytes"
        }
      ],
      "name": "symbol",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60e060405234801561001057600080fd5b506040516108853803806108858339818101604052606081101561003357600080fd5b50805160208201516040909201516001600160601b0319606092831b811660805292821b831660a052901b1660c05260805160601c60a05160601c60c05160601c6107da6100ab60003980610380528061061c52508061047f52806104ea528061058c52508061035c52806104bb52506107da6000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063d39bbef011610066578063d39bbef0146101d5578063d568866c14610257578063d6d7d525146102c7578063eeb8a8d3146102c7578063febb0f7e1461035257610093565b80630a08790314610098578063a1e66a40146100bc578063c699c4d6146100c4578063cc9e38c6146101a9575b600080fd5b6100a061035a565b604080516001600160a01b039092168252519081900360200190f35b6100a061037e565b610134600480360360208110156100da57600080fd5b8101906020810181356401000000008111156100f557600080fd5b82018360208201111561010757600080fd5b8035906020019184600183028401116401000000008311171561012957600080fd5b5090925090506103a2565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016e578181015183820152602001610156565b50505050905090810190601f16801561019b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610134600480360360408110156101bf57600080fd5b506001600160a01b0381351690602001356103cb565b610245600480360360208110156101eb57600080fd5b81019060208101813564010000000081111561020657600080fd5b82018360208201111561021857600080fd5b8035906020019184600183028401116401000000008311171561023a57600080fd5b5090925090506103fa565b60408051918252519081900360200190f35b6101346004803603602081101561026d57600080fd5b81019060208101813564010000000081111561028857600080fd5b82018360208201111561029a57600080fd5b803590602001918460018302840111640100000000831117156102bc57600080fd5b50909250905061040e565b610337600480360360208110156102dd57600080fd5b8101906020810181356401000000008111156102f857600080fd5b82018360208201111561030a57600080fd5b8035906020019184600183028401116401000000008311171561032c57600080fd5b50909250905061043a565b60408051921515835260208301919091528051918290030190f35b6100a061047d565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60408051808201909152600b81526a7853555348492d4c494e4b60a81b60208201525b92915050565b604080516001600160a01b03939093166020840152828101919091528051808303820181526060909201905290565b6000610406838361043a565b949350505050565b505060408051808201909152601081526f78535553484920436861696e6c696e6b60801b602082015290565b6000806000808585604081101561045057600080fd5b506001600160a01b038135169250602001359050600161047083836104a1565b9350935050509250929050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806ec097ce7bc90715b34b9f100000000090506106a47f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561054657600080fd5b505afa15801561055a573d6000803e3d6000fd5b505050506040513d602081101561057057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916318160ddd916004808301926020929190829003018186803b1580156105d257600080fd5b505afa1580156105e6573d6000803e3d6000fd5b505050506040513d60208110156105fc57600080fd5b5051604080516350d25bcd60e01b81529051610696916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916350d25bcd91600480820192602092909190829003018186803b15801561066357600080fd5b505afa158015610677573d6000803e3d6000fd5b505050506040513d602081101561068d57600080fd5b50518590610738565b8161069d57fe5b0490610738565b90506001600160a01b0384161561072657836001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106ee57600080fd5b505afa158015610702573d6000803e3d6000fd5b505050506040513d602081101561071857600080fd5b5051818161072257fe5b0490505b82818161072f57fe5b04949350505050565b60008115806107535750508082028282828161075057fe5b04145b6103c5576040805162461bcd60e51b815260206004820152601860248201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604482015290519081900360640190fdfea26469706673582212200c18acde06b5bbc9e366c5f8082aac5cf3d7be7ef91a913bfbebd52b96f69d2964736f6c634300060c0033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063d39bbef011610066578063d39bbef0146101d5578063d568866c14610257578063d6d7d525146102c7578063eeb8a8d3146102c7578063febb0f7e1461035257610093565b80630a08790314610098578063a1e66a40146100bc578063c699c4d6146100c4578063cc9e38c6146101a9575b600080fd5b6100a061035a565b604080516001600160a01b039092168252519081900360200190f35b6100a061037e565b610134600480360360208110156100da57600080fd5b8101906020810181356401000000008111156100f557600080fd5b82018360208201111561010757600080fd5b8035906020019184600183028401116401000000008311171561012957600080fd5b5090925090506103a2565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016e578181015183820152602001610156565b50505050905090810190601f16801561019b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610134600480360360408110156101bf57600080fd5b506001600160a01b0381351690602001356103cb565b610245600480360360208110156101eb57600080fd5b81019060208101813564010000000081111561020657600080fd5b82018360208201111561021857600080fd5b8035906020019184600183028401116401000000008311171561023a57600080fd5b5090925090506103fa565b60408051918252519081900360200190f35b6101346004803603602081101561026d57600080fd5b81019060208101813564010000000081111561028857600080fd5b82018360208201111561029a57600080fd5b803590602001918460018302840111640100000000831117156102bc57600080fd5b50909250905061040e565b610337600480360360208110156102dd57600080fd5b8101906020810181356401000000008111156102f857600080fd5b82018360208201111561030a57600080fd5b8035906020019184600183028401116401000000008311171561032c57600080fd5b50909250905061043a565b60408051921515835260208301919091528051918290030190f35b6100a061047d565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60408051808201909152600b81526a7853555348492d4c494e4b60a81b60208201525b92915050565b604080516001600160a01b03939093166020840152828101919091528051808303820181526060909201905290565b6000610406838361043a565b949350505050565b505060408051808201909152601081526f78535553484920436861696e6c696e6b60801b602082015290565b6000806000808585604081101561045057600080fd5b506001600160a01b038135169250602001359050600161047083836104a1565b9350935050509250929050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806ec097ce7bc90715b34b9f100000000090506106a47f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561054657600080fd5b505afa15801561055a573d6000803e3d6000fd5b505050506040513d602081101561057057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916318160ddd916004808301926020929190829003018186803b1580156105d257600080fd5b505afa1580156105e6573d6000803e3d6000fd5b505050506040513d60208110156105fc57600080fd5b5051604080516350d25bcd60e01b81529051610696916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916350d25bcd91600480820192602092909190829003018186803b15801561066357600080fd5b505afa158015610677573d6000803e3d6000fd5b505050506040513d602081101561068d57600080fd5b50518590610738565b8161069d57fe5b0490610738565b90506001600160a01b0384161561072657836001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106ee57600080fd5b505afa158015610702573d6000803e3d6000fd5b505050506040513d602081101561071857600080fd5b5051818161072257fe5b0490505b82818161072f57fe5b04949350505050565b60008115806107535750508082028282828161075057fe5b04145b6103c5576040805162461bcd60e51b815260206004820152601860248201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604482015290519081900360640190fdfea26469706673582212200c18acde06b5bbc9e366c5f8082aac5cf3d7be7ef91a913bfbebd52b96f69d2964736f6c634300060c0033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
