{
  "_format": "hh-sol-artifact-1",
  "contractName": "StablePriceOracle",
  "sourceName": "contracts/ethregistrar/StablePriceOracle.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract AggregatorInterface",
          "name": "_usdOracle",
          "type": "address"
        },
        {
          "internalType": "uint256[]",
          "name": "_rentPrices",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "oracle",
          "type": "address"
        }
      ],
      "name": "OracleChanged",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256[]",
          "name": "prices",
          "type": "uint256[]"
        }
      ],
      "name": "RentPriceChanged",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "name",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expires",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "duration",
          "type": "uint256"
        }
      ],
      "name": "premium",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "name",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expires",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "duration",
          "type": "uint256"
        }
      ],
      "name": "price",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "rentPrices",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256[]",
          "name": "_rentPrices",
          "type": "uint256[]"
        }
      ],
      "name": "setPrices",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceID",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "usdOracle",
      "outputs": [
        {
          "internalType": "contract AggregatorInterface",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60a06040523480156200001157600080fd5b50604051620011a4380380620011a48339810160408190526200003491620001cc565b6200003f3362000064565b6001600160601b0319606083901b166080526200005c81620000b4565b505062000316565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200012890600190602084019062000165565b507f73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df816040516200015a9190620002ba565b60405180910390a150565b828054828255906000526020600020908101928215620001a3579160200282015b82811115620001a357825182559160200191906001019062000186565b50620001b1929150620001b5565b5090565b5b80821115620001b15760008155600101620001b6565b60008060408385031215620001df578182fd5b82516001600160a01b0381168114620001f6578283fd5b602084810151919350906001600160401b038082111562000215578384fd5b818601915086601f83011262000229578384fd5b8151818111156200023e576200023e62000300565b8060051b604051601f19603f8301168101818110858211171562000266576200026662000300565b604052828152858101935084860182860187018b101562000285578788fd5b8795505b83861015620002a957805185526001959095019493860193860162000289565b508096505050505050509250929050565b6020808252825182820181905260009190848201906040850190845b81811015620002f457835183529284019291840191600101620002d6565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610e686200033c6000396000818161017801526109090152610e686000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c806379cf92d311610076578063a34e35961161005b578063a34e359614610160578063c8a4271f14610173578063f2fde38b1461019a57600080fd5b806379cf92d31461010e5780638da5cb5b1461012157600080fd5b806301ffc9a7146100a857806306d5d0b6146100d057806350e9a715146100f1578063715018a614610104575b600080fd5b6100bb6100b6366004610bc8565b6101ad565b60405190151581526020015b60405180910390f35b6100e36100de366004610c9a565b610246565b6040519081526020016100c7565b6100e36100ff366004610c20565b610267565b61010c61038f565b005b61010c61011c366004610aea565b610421565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b6100e361016e366004610c20565b6104f0565b61013b7f000000000000000000000000000000000000000000000000000000000000000081565b61010c6101a8366004610ab6565b610548565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000148061024057507fffffffff0000000000000000000000000000000000000000000000000000000082167ff3a7928300000000000000000000000000000000000000000000000000000000145b92915050565b6001818154811061025657600080fd5b600091825260209091200154905081565b6000806102a986868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061067892505050565b6001549091508111156102bb57506001545b600081116102c857600080fd5b600061032a8460016102da8186610d84565b81548110610311577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001546108a690919063ffffffff16565b905061037961037288888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a92508991506108df9050565b82906108e8565b905061038481610904565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61041f60006109bf565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161040c565b80516104b5906001906020840190610a56565b507f73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df816040516104e59190610cb2565b60405180910390a150565b60008061053e61053987878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508992508891506108df9050565b610904565b9695505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161040c565b73ffffffffffffffffffffffffffffffffffffffff811661066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161040c565b610675816109bf565b50565b8051600090819081905b8082101561089d5760008583815181106106c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f800000000000000000000000000000000000000000000000000000000000000081101561072857610721600184610cf6565b925061088a565b7fe0000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561077d57610721600284610cf6565b7ff0000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156107d257610721600384610cf6565b7ff8000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561082757610721600484610cf6565b7ffc000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561087c57610721600584610cf6565b610887600684610cf6565b92505b508261089581610d9b565b935050610682565b50909392505050565b6000826108b557506000610240565b60006108c18385610d47565b9050826108ce8583610d0e565b146108d857600080fd5b9392505050565b60009392505050565b6000806108f58385610cf6565b9050838110156108d857600080fd5b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561096d57600080fd5b505afa158015610981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a59190610c08565b90506108d8816109b9856305f5e1006108a6565b90610a34565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808211610a4257600080fd5b6000610a4e8385610d0e565b949350505050565b828054828255906000526020600020908101928215610a91579160200282015b82811115610a91578251825591602001919060010190610a76565b50610a9d929150610aa1565b5090565b5b80821115610a9d5760008155600101610aa2565b600060208284031215610ac7578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108d8578182fd5b60006020808385031215610afc578182fd5b823567ffffffffffffffff80821115610b13578384fd5b818501915085601f830112610b26578384fd5b813581811115610b3857610b38610e03565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610b7b57610b7b610e03565b604052828152858101935084860182860187018a1015610b99578788fd5b8795505b83861015610bbb578035855260019590950194938601938601610b9d565b5098975050505050505050565b600060208284031215610bd9578081fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146108d8578182fd5b600060208284031215610c19578081fd5b5051919050565b60008060008060608587031215610c35578283fd5b843567ffffffffffffffff80821115610c4c578485fd5b818701915087601f830112610c5f578485fd5b813581811115610c6d578586fd5b886020828501011115610c7e578586fd5b6020928301999098509187013596604001359550909350505050565b600060208284031215610cab578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610cea57835183529284019291840191600101610cce565b50909695505050505050565b60008219821115610d0957610d09610dd4565b500190565b600082610d42577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610d7f57610d7f610dd4565b500290565b600082821015610d9657610d96610dd4565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610dcd57610dcd610dd4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220bcfd1916b15285ceaa381f1b87eaf080e0ed91ce7e70d761796eef648a86d84364736f6c63430008040033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a35760003560e01c806379cf92d311610076578063a34e35961161005b578063a34e359614610160578063c8a4271f14610173578063f2fde38b1461019a57600080fd5b806379cf92d31461010e5780638da5cb5b1461012157600080fd5b806301ffc9a7146100a857806306d5d0b6146100d057806350e9a715146100f1578063715018a614610104575b600080fd5b6100bb6100b6366004610bc8565b6101ad565b60405190151581526020015b60405180910390f35b6100e36100de366004610c9a565b610246565b6040519081526020016100c7565b6100e36100ff366004610c20565b610267565b61010c61038f565b005b61010c61011c366004610aea565b610421565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b6100e361016e366004610c20565b6104f0565b61013b7f000000000000000000000000000000000000000000000000000000000000000081565b61010c6101a8366004610ab6565b610548565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000148061024057507fffffffff0000000000000000000000000000000000000000000000000000000082167ff3a7928300000000000000000000000000000000000000000000000000000000145b92915050565b6001818154811061025657600080fd5b600091825260209091200154905081565b6000806102a986868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061067892505050565b6001549091508111156102bb57506001545b600081116102c857600080fd5b600061032a8460016102da8186610d84565b81548110610311577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001546108a690919063ffffffff16565b905061037961037288888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a92508991506108df9050565b82906108e8565b905061038481610904565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61041f60006109bf565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161040c565b80516104b5906001906020840190610a56565b507f73422d94aedd596c2d4d39f27a01033adc390a9054efaf259afefd95ef7331df816040516104e59190610cb2565b60405180910390a150565b60008061053e61053987878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508992508891506108df9050565b610904565b9695505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161040c565b73ffffffffffffffffffffffffffffffffffffffff811661066c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161040c565b610675816109bf565b50565b8051600090819081905b8082101561089d5760008583815181106106c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f800000000000000000000000000000000000000000000000000000000000000081101561072857610721600184610cf6565b925061088a565b7fe0000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561077d57610721600284610cf6565b7ff0000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156107d257610721600384610cf6565b7ff8000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561082757610721600484610cf6565b7ffc000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216101561087c57610721600584610cf6565b610887600684610cf6565b92505b508261089581610d9b565b935050610682565b50909392505050565b6000826108b557506000610240565b60006108c18385610d47565b9050826108ce8583610d0e565b146108d857600080fd5b9392505050565b60009392505050565b6000806108f58385610cf6565b9050838110156108d857600080fd5b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561096d57600080fd5b505afa158015610981573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a59190610c08565b90506108d8816109b9856305f5e1006108a6565b90610a34565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808211610a4257600080fd5b6000610a4e8385610d0e565b949350505050565b828054828255906000526020600020908101928215610a91579160200282015b82811115610a91578251825591602001919060010190610a76565b50610a9d929150610aa1565b5090565b5b80821115610a9d5760008155600101610aa2565b600060208284031215610ac7578081fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146108d8578182fd5b60006020808385031215610afc578182fd5b823567ffffffffffffffff80821115610b13578384fd5b818501915085601f830112610b26578384fd5b813581811115610b3857610b38610e03565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610b7b57610b7b610e03565b604052828152858101935084860182860187018a1015610b99578788fd5b8795505b83861015610bbb578035855260019590950194938601938601610b9d565b5098975050505050505050565b600060208284031215610bd9578081fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146108d8578182fd5b600060208284031215610c19578081fd5b5051919050565b60008060008060608587031215610c35578283fd5b843567ffffffffffffffff80821115610c4c578485fd5b818701915087601f830112610c5f578485fd5b813581811115610c6d578586fd5b886020828501011115610c7e578586fd5b6020928301999098509187013596604001359550909350505050565b600060208284031215610cab578081fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610cea57835183529284019291840191600101610cce565b50909695505050505050565b60008219821115610d0957610d09610dd4565b500190565b600082610d42577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610d7f57610d7f610dd4565b500290565b600082821015610d9657610d96610dd4565b500390565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610dcd57610dcd610dd4565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220bcfd1916b15285ceaa381f1b87eaf080e0ed91ce7e70d761796eef648a86d84364736f6c63430008040033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
