{
  "_format": "hh-sol-artifact-1",
  "contractName": "MockChainlinkAggregator",
  "sourceName": "contracts/TestContracts/MockChainlinkAggregator.sol",
  "abi": [
    {
      "inputs": [],
      "name": "decimals",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "description",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint80",
          "name": "",
          "type": "uint80"
        }
      ],
      "name": "getRoundData",
      "outputs": [
        {
          "internalType": "uint80",
          "name": "roundId",
          "type": "uint80"
        },
        {
          "internalType": "int256",
          "name": "answer",
          "type": "int256"
        },
        {
          "internalType": "uint256",
          "name": "startedAt",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "updatedAt",
          "type": "uint256"
        },
        {
          "internalType": "uint80",
          "name": "answeredInRound",
          "type": "uint80"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "latestRoundData",
      "outputs": [
        {
          "internalType": "uint80",
          "name": "roundId",
          "type": "uint80"
        },
        {
          "internalType": "int256",
          "name": "answer",
          "type": "int256"
        },
        {
          "internalType": "uint256",
          "name": "startedAt",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "updatedAt",
          "type": "uint256"
        },
        {
          "internalType": "uint80",
          "name": "answeredInRound",
          "type": "uint80"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint8",
          "name": "_decimals",
          "type": "uint8"
        }
      ],
      "name": "setDecimals",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "setDecimalsRevert",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "setLatestRevert",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint80",
          "name": "_latestRoundId",
          "type": "uint80"
        }
      ],
      "name": "setLatestRoundId",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "int256",
          "name": "_prevPrice",
          "type": "int256"
        }
      ],
      "name": "setPrevPrice",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "setPrevRevert",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint80",
          "name": "_prevRoundId",
          "type": "uint80"
        }
      ],
      "name": "setPrevRoundId",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_prevUpdateTime",
          "type": "uint256"
        }
      ],
      "name": "setPrevUpdateTime",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "int256",
          "name": "_price",
          "type": "int256"
        }
      ],
      "name": "setPrice",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_updateTime",
          "type": "uint256"
        }
      ],
      "name": "setUpdateTime",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "version",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60806040526000805460ff1916600817905534801561001d57600080fd5b506105f38061002d6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80637394e78911610097578063a68e594511610066578063a68e5945146102f0578063bf73eea61461033e578063f7a3080614610351578063feaf968c1461036457600080fd5b80637394e7891461021657806375354ffa146102295780637a1395aa146102825780639a6fc8f5146102a657600080fd5b806354fd4d50116100d357806354fd4d501461016a57806366543a6c146101795780637134b990146101c65780637284e416146101fc57600080fd5b806313886538146100fa57806329ccf0cf1461010f578063313ce5671461014b575b600080fd5b61010d610108366004610500565b600255565b005b600580547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff8116600160b01b9182900460ff1615909102179055005b61015361036c565b60405160ff90911681526020015b60405180910390f35b60405160018152602001610161565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055005b61010d6101d4366004610519565b6005805469ffffffffffffffffffff191669ffffffffffffffffffff92909216919091179055565b60408051602081018252600081529051610161919061054c565b61010d610224366004610500565b600455565b61010d610237366004610519565b6005805469ffffffffffffffffffff9092166a0100000000000000000000027fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff909216919091179055565b61010d61029036600461059a565b6000805460ff191660ff92909216919091179055565b6102b96102b4366004610519565b6103d8565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610161565b600580547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff811675010000000000000000000000000000000000000000009182900460ff1615909102179055005b61010d61034c366004610500565b600355565b61010d61035f366004610500565b600155565b6102b9610473565b600554600090600160b01b900460ff16156103ce5760405162461bcd60e51b815260206004820152601160248201527f646563696d616c7320726576657274656400000000000000000000000000000060448201526064015b60405180910390fd5b5060005460ff1690565b6000806000806000600560159054906101000a900460ff161561043d5760405162461bcd60e51b815260206004820152601560248201527f676574526f756e6444617461207265766572746564000000000000000000000060448201526064016103c5565b50506005546002546003546a010000000000000000000090920469ffffffffffffffffffff169690955060009450909250839150565b6000806000806000600560149054906101000a900460ff16156104d85760405162461bcd60e51b815260206004820152601860248201527f6c6174657374526f756e6444617461207265766572746564000000000000000060448201526064016103c5565b505060055460015460035469ffffffffffffffffffff90921695909450600093509091508290565b60006020828403121561051257600080fd5b5035919050565b60006020828403121561052b57600080fd5b813569ffffffffffffffffffff8116811461054557600080fd5b9392505050565b600060208083528351808285015260005b818110156105795785810183015185820160400152820161055d565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156105ac57600080fd5b813560ff8116811461054557600080fdfea2646970667358221220c8bfc519f30b7061834187bba9602dfe7bebbfd79f66f20f5dfc804b1f7d30e764736f6c63430008130033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80637394e78911610097578063a68e594511610066578063a68e5945146102f0578063bf73eea61461033e578063f7a3080614610351578063feaf968c1461036457600080fd5b80637394e7891461021657806375354ffa146102295780637a1395aa146102825780639a6fc8f5146102a657600080fd5b806354fd4d50116100d357806354fd4d501461016a57806366543a6c146101795780637134b990146101c65780637284e416146101fc57600080fd5b806313886538146100fa57806329ccf0cf1461010f578063313ce5671461014b575b600080fd5b61010d610108366004610500565b600255565b005b600580547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff8116600160b01b9182900460ff1615909102179055005b61015361036c565b60405160ff90911681526020015b60405180910390f35b60405160018152602001610161565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116740100000000000000000000000000000000000000009182900460ff1615909102179055005b61010d6101d4366004610519565b6005805469ffffffffffffffffffff191669ffffffffffffffffffff92909216919091179055565b60408051602081018252600081529051610161919061054c565b61010d610224366004610500565b600455565b61010d610237366004610519565b6005805469ffffffffffffffffffff9092166a0100000000000000000000027fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff909216919091179055565b61010d61029036600461059a565b6000805460ff191660ff92909216919091179055565b6102b96102b4366004610519565b6103d8565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610161565b600580547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff811675010000000000000000000000000000000000000000009182900460ff1615909102179055005b61010d61034c366004610500565b600355565b61010d61035f366004610500565b600155565b6102b9610473565b600554600090600160b01b900460ff16156103ce5760405162461bcd60e51b815260206004820152601160248201527f646563696d616c7320726576657274656400000000000000000000000000000060448201526064015b60405180910390fd5b5060005460ff1690565b6000806000806000600560159054906101000a900460ff161561043d5760405162461bcd60e51b815260206004820152601560248201527f676574526f756e6444617461207265766572746564000000000000000000000060448201526064016103c5565b50506005546002546003546a010000000000000000000090920469ffffffffffffffffffff169690955060009450909250839150565b6000806000806000600560149054906101000a900460ff16156104d85760405162461bcd60e51b815260206004820152601860248201527f6c6174657374526f756e6444617461207265766572746564000000000000000060448201526064016103c5565b505060055460015460035469ffffffffffffffffffff90921695909450600093509091508290565b60006020828403121561051257600080fd5b5035919050565b60006020828403121561052b57600080fd5b813569ffffffffffffffffffff8116811461054557600080fd5b9392505050565b600060208083528351808285015260005b818110156105795785810183015185820160400152820161055d565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156105ac57600080fd5b813560ff8116811461054557600080fdfea2646970667358221220c8bfc519f30b7061834187bba9602dfe7bebbfd79f66f20f5dfc804b1f7d30e764736f6c63430008130033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
