{
  "_format": "hh3-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": "uint256[]",
          "name": "prices",
          "type": "uint256[]"
        }
      ],
      "name": "RentPriceChanged",
      "type": "event"
    },
    {
      "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": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "base",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "premium",
              "type": "uint256"
            }
          ],
          "internalType": "struct IPriceOracle.Price",
          "name": "",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "price1Letter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "price2Letter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "price3Letter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "price4Letter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "price5Letter",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceID",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "usdOracle",
      "outputs": [
        {
          "internalType": "contract AggregatorInterface",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x61014060405234801561001157600080fd5b50604051610c31380380610c3183398101604081905261003091610106565b6001600160a01b0382166101205280518190600090610051576100516101f4565b60200260200101516080818152505080600181518110610073576100736101f4565b602002602001015160a0818152505080600281518110610095576100956101f4565b602002602001015160c08181525050806003815181106100b7576100b76101f4565b602002602001015160e08181525050806004815181106100d9576100d96101f4565b60200260200101516101008181525050505061020a565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561011957600080fd5b82516001600160a01b038116811461013057600080fd5b60208401519092506001600160401b0381111561014c57600080fd5b8301601f8101851361015d57600080fd5b80516001600160401b03811115610176576101766100f0565b604051600582901b90603f8201601f191681016001600160401b03811182821017156101a4576101a46100f0565b6040529182526020818401810192908101888411156101c257600080fd5b6020850194505b838510156101e5578451808252602095860195909350016101c9565b50809450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160e05161010051610120516109af6102826000396000818161019901526106ea015260008181610138015261032e01526000818161020c015261036701526000818161015f01526103990152600081816101e501526103cb01526000818160d501526103f501526109af6000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063a200e15311610076578063c8a4271f1161005b578063c8a4271f14610194578063cd5d2c74146101e0578063d820ed421461020757600080fd5b8063a200e1531461015a578063a34e35961461018157600080fd5b806301ffc9a7146100a85780632c0fd74c146100d057806350e9a7151461010557806359b6b86c14610133575b600080fd5b6100bb6100b63660046107a2565b61022e565b60405190151581526020015b60405180910390f35b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100c7565b6101186101133660046107e4565b6102c7565b604080518251815260209283015192810192909252016100c7565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f761018f3660046107e4565b61048d565b6101bb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806102c157507fffffffff0000000000000000000000000000000000000000000000000000000082167f50e9a71500000000000000000000000000000000000000000000000000000000145b92915050565b6040805180820190915260008082526020820152600061031c86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104de92505050565b905060006005821061035957610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b905061041c565b8160040361038b57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b816003036103bd57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b816002036103ef57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b610419847f0000000000000000000000000000000000000000000000000000000000000000610894565b90505b6040518060400160405280610430836106e5565b815260200161048061047b8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c92508b91506107999050565b6106e5565b9052979650505050505050565b60006104d561047b86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508892508791506107999050565b95945050505050565b8051600090819081905b808210156106dc576000858381518110610504576105046108ab565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f8000000000000000000000000000000000000000000000000000000000000000811015610567576105606001846108da565b92506106c9565b7fe0000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156105bc576105606002846108da565b7ff0000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161015610611576105606003846108da565b7ff8000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161015610666576105606004846108da565b7ffc000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156106bb576105606005846108da565b6106c66006846108da565b92505b50826106d4816108ed565b9350506104e8565b50909392505050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107779190610925565b905080610788846305f5e100610894565b610792919061093e565b9392505050565b60009392505050565b6000602082840312156107b457600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461079257600080fd5b600080600080606085870312156107fa57600080fd5b843567ffffffffffffffff81111561081157600080fd5b8501601f8101871361082257600080fd5b803567ffffffffffffffff81111561083957600080fd5b87602082840101111561084b57600080fd5b602091820198909750908601359560400135945092505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176102c1576102c1610865565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b808201808211156102c1576102c1610865565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361091e5761091e610865565b5060010190565b60006020828403121561093757600080fd5b5051919050565b600082610974577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea26469706673582212209e5ca84b8bc64502e2d50a9222cb93c3eb80e1b41c9c3f2b5c1d4736f811a01464736f6c634300081a0033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a35760003560e01c8063a200e15311610076578063c8a4271f1161005b578063c8a4271f14610194578063cd5d2c74146101e0578063d820ed421461020757600080fd5b8063a200e1531461015a578063a34e35961461018157600080fd5b806301ffc9a7146100a85780632c0fd74c146100d057806350e9a7151461010557806359b6b86c14610133575b600080fd5b6100bb6100b63660046107a2565b61022e565b60405190151581526020015b60405180910390f35b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100c7565b6101186101133660046107e4565b6102c7565b604080518251815260209283015192810192909252016100c7565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f761018f3660046107e4565b61048d565b6101bb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c7565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806102c157507fffffffff0000000000000000000000000000000000000000000000000000000082167f50e9a71500000000000000000000000000000000000000000000000000000000145b92915050565b6040805180820190915260008082526020820152600061031c86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506104de92505050565b905060006005821061035957610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b905061041c565b8160040361038b57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b816003036103bd57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b816002036103ef57610352847f0000000000000000000000000000000000000000000000000000000000000000610894565b610419847f0000000000000000000000000000000000000000000000000000000000000000610894565b90505b6040518060400160405280610430836106e5565b815260200161048061047b8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c92508b91506107999050565b6106e5565b9052979650505050505050565b60006104d561047b86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508892508791506107999050565b95945050505050565b8051600090819081905b808210156106dc576000858381518110610504576105046108ab565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f8000000000000000000000000000000000000000000000000000000000000000811015610567576105606001846108da565b92506106c9565b7fe0000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156105bc576105606002846108da565b7ff0000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161015610611576105606003846108da565b7ff8000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161015610666576105606004846108da565b7ffc000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610156106bb576105606005846108da565b6106c66006846108da565b92505b50826106d4816108ed565b9350506104e8565b50909392505050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107779190610925565b905080610788846305f5e100610894565b610792919061093e565b9392505050565b60009392505050565b6000602082840312156107b457600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461079257600080fd5b600080600080606085870312156107fa57600080fd5b843567ffffffffffffffff81111561081157600080fd5b8501601f8101871361082257600080fd5b803567ffffffffffffffff81111561083957600080fd5b87602082840101111561084b57600080fd5b602091820198909750908601359560400135945092505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176102c1576102c1610865565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b808201808211156102c1576102c1610865565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361091e5761091e610865565b5060010190565b60006020828403121561093757600080fd5b5051919050565b600082610974577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea26469706673582212209e5ca84b8bc64502e2d50a9222cb93c3eb80e1b41c9c3f2b5c1d4736f811a01464736f6c634300081a0033",
  "linkReferences": {},
  "deployedLinkReferences": {},
  "immutableReferences": {
    "20586": [
      {
        "length": 32,
        "start": 213
      },
      {
        "length": 32,
        "start": 1013
      }
    ],
    "20588": [
      {
        "length": 32,
        "start": 485
      },
      {
        "length": 32,
        "start": 971
      }
    ],
    "20590": [
      {
        "length": 32,
        "start": 351
      },
      {
        "length": 32,
        "start": 921
      }
    ],
    "20592": [
      {
        "length": 32,
        "start": 524
      },
      {
        "length": 32,
        "start": 871
      }
    ],
    "20594": [
      {
        "length": 32,
        "start": 312
      },
      {
        "length": 32,
        "start": 814
      }
    ],
    "20597": [
      {
        "length": 32,
        "start": 409
      },
      {
        "length": 32,
        "start": 1770
      }
    ]
  },
  "inputSourceName": "project/contracts/ethregistrar/StablePriceOracle.sol",
  "buildInfoId": "solc-0_8_26-f05bdccb11f2cf6df865fc6a27a95b5ace6017ea"
}