{
  "abi": [
    {
      "inputs": [],
      "name": "BondedResponseModule_AlreadyResponded",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "BondedResponseModule_InvalidRequest",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "BondedResponseModule_TooEarlyToFinalize",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "BondedResponseModule_TooLateToDelete",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "BondedResponseModule_TooLateToPropose",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "Module_OnlyOracle",
      "type": "error"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "_proposer",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "_responseData",
          "type": "bytes"
        }
      ],
      "name": "ProposeResponse",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "_finalizer",
          "type": "address"
        }
      ],
      "name": "RequestFinalized",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        }
      ],
      "name": "decodeRequestData",
      "outputs": [
        {
          "components": [
            {
              "internalType": "contract IAccountingExtension",
              "name": "accountingExtension",
              "type": "address"
            },
            {
              "internalType": "contract IERC20",
              "name": "bondToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "bondSize",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "deadline",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "disputeWindow",
              "type": "uint256"
            }
          ],
          "internalType": "struct IBondedResponseModule.RequestParameters",
          "name": "_params",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "_responseId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "_proposer",
          "type": "address"
        }
      ],
      "name": "deleteResponse",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "_finalizer",
          "type": "address"
        }
      ],
      "name": "finalizeRequest",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "moduleName",
      "outputs": [
        {
          "internalType": "string",
          "name": "_moduleName",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "oracle",
      "outputs": [
        {
          "internalType": "address",
          "name": "_oracle",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "_proposer",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "_responseData",
          "type": "bytes"
        },
        {
          "internalType": "address",
          "name": "_sender",
          "type": "address"
        }
      ],
      "name": "propose",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "createdAt",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "proposer",
              "type": "address"
            },
            {
              "internalType": "bytes32",
              "name": "requestId",
              "type": "bytes32"
            },
            {
              "internalType": "bytes32",
              "name": "disputeId",
              "type": "bytes32"
            },
            {
              "internalType": "bytes",
              "name": "response",
              "type": "bytes"
            }
          ],
          "internalType": "struct IOracle.Response",
          "name": "_response",
          "type": "tuple"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        }
      ],
      "name": "requestData",
      "outputs": [
        {
          "internalType": "bytes",
          "name": "_requestData",
          "type": "bytes"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_requestId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes",
          "name": "_data",
          "type": "bytes"
        }
      ],
      "name": "setupRequest",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "decodeRequestData(bytes32)": "4d610a46",
    "deleteResponse(bytes32,bytes32,address)": "6ab49fb7",
    "finalizeRequest(bytes32,address)": "309de607",
    "moduleName()": "93f0899a",
    "oracle()": "7dc0d1d0",
    "propose(bytes32,address,bytes,address)": "ec229abb",
    "requestData(bytes32)": "3661346b",
    "setupRequest(bytes32,bytes)": "2e76be2a"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.19+commit.7dd6d404\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"BondedResponseModule_AlreadyResponded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BondedResponseModule_InvalidRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BondedResponseModule_TooEarlyToFinalize\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BondedResponseModule_TooLateToDelete\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BondedResponseModule_TooLateToPropose\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Module_OnlyOracle\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_proposer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_responseData\",\"type\":\"bytes\"}],\"name\":\"ProposeResponse\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_finalizer\",\"type\":\"address\"}],\"name\":\"RequestFinalized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"decodeRequestData\",\"outputs\":[{\"components\":[{\"internalType\":\"contract IAccountingExtension\",\"name\":\"accountingExtension\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"bondToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bondSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"disputeWindow\",\"type\":\"uint256\"}],\"internalType\":\"struct IBondedResponseModule.RequestParameters\",\"name\":\"_params\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_responseId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_proposer\",\"type\":\"address\"}],\"name\":\"deleteResponse\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_finalizer\",\"type\":\"address\"}],\"name\":\"finalizeRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"moduleName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"_moduleName\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_proposer\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_responseData\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"propose\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"createdAt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"disputeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"response\",\"type\":\"bytes\"}],\"internalType\":\"struct IOracle.Response\",\"name\":\"_response\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"requestData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"_requestData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"setupRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"ProposeResponse(bytes32,address,bytes)\":{\"params\":{\"_proposer\":\"The user that proposed the response\",\"_requestId\":\"The ID of the request that the response was proposed\",\"_responseData\":\"The data for the response\"}},\"RequestFinalized(bytes32,address)\":{\"params\":{\"_finalizer\":\"The address that initiated the finalization\",\"_requestId\":\"The ID of the request that was finalized\"}}},\"kind\":\"dev\",\"methods\":{\"decodeRequestData(bytes32)\":{\"params\":{\"_requestId\":\"The ID of the request\"},\"returns\":{\"_params\":\"The struct containing the parameters for the request\"}},\"deleteResponse(bytes32,bytes32,address)\":{\"params\":{\"_proposer\":\"The user who proposed the response\",\"_requestId\":\"The ID of the request to delete the response from\",\"_responseId\":\"The ID of the response to delete\"}},\"finalizeRequest(bytes32,address)\":{\"params\":{\"_finalizer\":\"The user who triggered the finalization\",\"_requestId\":\"The ID of the request to finalize\"}},\"moduleName()\":{\"returns\":{\"_moduleName\":\"The name of the module.\"}},\"oracle()\":{\"returns\":{\"_oracle\":\"The address of the oracle\"}},\"propose(bytes32,address,bytes,address)\":{\"details\":\"The user must have previously deposited tokens into the accounting extension\",\"params\":{\"_proposer\":\"The user proposing the response\",\"_requestId\":\"The ID of the request to propose a response for\",\"_responseData\":\"The data for the response\",\"_sender\":\"The address calling propose on the Oracle\"},\"returns\":{\"_response\":\"The struct of proposed response\"}},\"requestData(bytes32)\":{\"params\":{\"_requestId\":\"The id of the request\"},\"returns\":{\"_requestData\":\"The data of the request\"}},\"setupRequest(bytes32,bytes)\":{\"params\":{\"_data\":\"The data of the request\",\"_requestId\":\"The ID of the request\"}}},\"version\":1},\"userdoc\":{\"errors\":{\"BondedResponseModule_AlreadyResponded()\":[{\"notice\":\"Thrown when trying to propose a response while an undisputed response is already proposed\"}],\"BondedResponseModule_InvalidRequest()\":[{\"notice\":\"Thrown when trying to create an invalid request\"}],\"BondedResponseModule_TooEarlyToFinalize()\":[{\"notice\":\"Thrown when trying to finalize a request before the deadline\"}],\"BondedResponseModule_TooLateToDelete()\":[{\"notice\":\"Thrown when trying to delete a response after the proposing deadline\"}],\"BondedResponseModule_TooLateToPropose()\":[{\"notice\":\"Thrown when trying to propose a response after deadline\"}],\"Module_OnlyOracle()\":[{\"notice\":\"Thrown when the caller is not the oracle\"}]},\"events\":{\"ProposeResponse(bytes32,address,bytes)\":{\"notice\":\"Emitted when a response is proposed\"},\"RequestFinalized(bytes32,address)\":{\"notice\":\"Emitted when a request is finalized\"}},\"kind\":\"user\",\"methods\":{\"decodeRequestData(bytes32)\":{\"notice\":\"Returns the decoded data for a request\"},\"deleteResponse(bytes32,bytes32,address)\":{\"notice\":\"Allows a user to delete an undisputed response they proposed before the deadline, releasing the bond\"},\"finalizeRequest(bytes32,address)\":{\"notice\":\"Finalizes the request by releasing the bond of the proposer\"},\"moduleName()\":{\"notice\":\"Returns the name of the module.\"},\"oracle()\":{\"notice\":\"Returns the address of the oracle\"},\"propose(bytes32,address,bytes,address)\":{\"notice\":\"Proposes a response for a request, bonding the proposer's tokens\"},\"requestData(bytes32)\":{\"notice\":\"Returns the data of the request associated with the provided id\"},\"setupRequest(bytes32,bytes)\":{\"notice\":\"Stores the request data and runs module-specific hooks\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"solidity/interfaces/modules/response/IBondedResponseModule.sol\":\"IBondedResponseModule\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[\":@defi-wonderland/=node_modules/@defi-wonderland/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":solmate/=node_modules/solmate/src/\"]},\"sources\":{\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/IModule.sol\":{\"keccak256\":\"0x72c2f68e8c2b749d9ae745269c706b137a640d6bd6f65f966238b547d61e3a05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4edb1aae7c4abd875d2da44a2dd83781c3c0a3d059edf2d1f2be1c44f865456f\",\"dweb:/ipfs/QmbEHy8tENha1ANEEZADpH4THmqC8aHyCXxFYPw4tS5mf4\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/IOracle.sol\":{\"keccak256\":\"0x606262b4bb3b1447b1f6afef8a1b49088956b168a4b066f6f60da4712b95d3cf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a763cdb6ba9f12a93e3d5238d6d3235c5c0c229df94793927f9d2abe00542823\",\"dweb:/ipfs/QmbAbfVyCiHvNvhHxc5r8tK5GUuVBATo15Ma5MirhZPtE6\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/dispute/IDisputeModule.sol\":{\"keccak256\":\"0x21707db43d55ba040893ef0ffefa7f9740c6e03b94d750637e6b2c047a16baa4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ae582ca2fdd6fc82c650333066c95a917221282ad7ef15ea62fb4a31e4ed864d\",\"dweb:/ipfs/QmdxvkpNCK46uYv31TxAtxCiRPSoxbT4hrs94WQfR4ctTM\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/finality/IFinalityModule.sol\":{\"keccak256\":\"0xf6f465732ee119879e3317227f9cf6468055f4f98acdb4365f5b4eacda32948e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://82e1928a7bbc5bce95e1b83d917e1470c72a0bec7494f6f42471b21c0f2b641e\",\"dweb:/ipfs/QmSjaBsNhzCfQd5xwZa98LNYSZ1TqAqo6inRTGD31ua4L8\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/request/IRequestModule.sol\":{\"keccak256\":\"0xefa5dd3334a1676cca1c1860c66c16adb1e399917742476d15de8737b5cb0032\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://03bcff0500f4054b5f71b0badd1779f8dfaa7fc74fc64788991438a1d9d2d14d\",\"dweb:/ipfs/QmdDjbGPgBfbbyT26Xtt9uBD7nYnhSK43fa9skfuBrfjCc\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/resolution/IResolutionModule.sol\":{\"keccak256\":\"0x36e75a87661b234be605a7455c88eaf4e7cbc9f5b4ea08133dd6d9d5af8d6bc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://232536c4e8b2e9114035e57360976ff24931459fb22a026114d392d3e315ea67\",\"dweb:/ipfs/QmPYKU5RDGMqTZZzCCvVy7ssush4EQGgCCbzbeGpnejGno\"]},\"node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/response/IResponseModule.sol\":{\"keccak256\":\"0xd0610065a22a8d3323427d871a73b835e4d0dffb3afe4bb7e8bbee81b8b9ed1b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8c72dcbd36f11e87fc21c922684e5524f0c83830dc945ac92614ea1cd770a1bf\",\"dweb:/ipfs/QmfYnQfSDd2jS9QEAdpmDF6wVXWqitQpmJsSeEHs1mtUQP\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5\",\"dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53\"]},\"solidity/interfaces/extensions/IAccountingExtension.sol\":{\"keccak256\":\"0x31b990f92e67ce2b480ca97fcc54d44dddaa82fa60259439d8556bfbb7963d0e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://23e6ef2026bf40ef58f625b7377c70e4988902ae14df333e9be35129a57a87f0\",\"dweb:/ipfs/QmW1RfXvujkVHqXazdeTKshba9rX6kzSCRfZKBwLi38Ue5\"]},\"solidity/interfaces/modules/response/IBondedResponseModule.sol\":{\"keccak256\":\"0xd6c8945f72efc55d2a264a5e7f5aeb6bf8fa8627dcf476544ef73043ff73a645\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e776d595411b628a052ff3888bcbabd44283b8448f958904bd94c36b5a97da3\",\"dweb:/ipfs/QmVou5H5ozqacDfY8o1Cvj6p9HmoNh6GrHcvk5StQFNz2W\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.19+commit.7dd6d404"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [],
          "type": "error",
          "name": "BondedResponseModule_AlreadyResponded"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "BondedResponseModule_InvalidRequest"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "BondedResponseModule_TooEarlyToFinalize"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "BondedResponseModule_TooLateToDelete"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "BondedResponseModule_TooLateToPropose"
        },
        {
          "inputs": [],
          "type": "error",
          "name": "Module_OnlyOracle"
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "_proposer",
              "type": "address",
              "indexed": false
            },
            {
              "internalType": "bytes",
              "name": "_responseData",
              "type": "bytes",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "ProposeResponse",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32",
              "indexed": true
            },
            {
              "internalType": "address",
              "name": "_finalizer",
              "type": "address",
              "indexed": false
            }
          ],
          "type": "event",
          "name": "RequestFinalized",
          "anonymous": false
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "decodeRequestData",
          "outputs": [
            {
              "internalType": "struct IBondedResponseModule.RequestParameters",
              "name": "_params",
              "type": "tuple",
              "components": [
                {
                  "internalType": "contract IAccountingExtension",
                  "name": "accountingExtension",
                  "type": "address"
                },
                {
                  "internalType": "contract IERC20",
                  "name": "bondToken",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "bondSize",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "deadline",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "disputeWindow",
                  "type": "uint256"
                }
              ]
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            },
            {
              "internalType": "bytes32",
              "name": "_responseId",
              "type": "bytes32"
            },
            {
              "internalType": "address",
              "name": "_proposer",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "deleteResponse"
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            },
            {
              "internalType": "address",
              "name": "_finalizer",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "finalizeRequest"
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "moduleName",
          "outputs": [
            {
              "internalType": "string",
              "name": "_moduleName",
              "type": "string"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "oracle",
          "outputs": [
            {
              "internalType": "address",
              "name": "_oracle",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            },
            {
              "internalType": "address",
              "name": "_proposer",
              "type": "address"
            },
            {
              "internalType": "bytes",
              "name": "_responseData",
              "type": "bytes"
            },
            {
              "internalType": "address",
              "name": "_sender",
              "type": "address"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "propose",
          "outputs": [
            {
              "internalType": "struct IOracle.Response",
              "name": "_response",
              "type": "tuple",
              "components": [
                {
                  "internalType": "uint256",
                  "name": "createdAt",
                  "type": "uint256"
                },
                {
                  "internalType": "address",
                  "name": "proposer",
                  "type": "address"
                },
                {
                  "internalType": "bytes32",
                  "name": "requestId",
                  "type": "bytes32"
                },
                {
                  "internalType": "bytes32",
                  "name": "disputeId",
                  "type": "bytes32"
                },
                {
                  "internalType": "bytes",
                  "name": "response",
                  "type": "bytes"
                }
              ]
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "requestData",
          "outputs": [
            {
              "internalType": "bytes",
              "name": "_requestData",
              "type": "bytes"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes32",
              "name": "_requestId",
              "type": "bytes32"
            },
            {
              "internalType": "bytes",
              "name": "_data",
              "type": "bytes"
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "setupRequest"
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "decodeRequestData(bytes32)": {
            "params": {
              "_requestId": "The ID of the request"
            },
            "returns": {
              "_params": "The struct containing the parameters for the request"
            }
          },
          "deleteResponse(bytes32,bytes32,address)": {
            "params": {
              "_proposer": "The user who proposed the response",
              "_requestId": "The ID of the request to delete the response from",
              "_responseId": "The ID of the response to delete"
            }
          },
          "finalizeRequest(bytes32,address)": {
            "params": {
              "_finalizer": "The user who triggered the finalization",
              "_requestId": "The ID of the request to finalize"
            }
          },
          "moduleName()": {
            "returns": {
              "_moduleName": "The name of the module."
            }
          },
          "oracle()": {
            "returns": {
              "_oracle": "The address of the oracle"
            }
          },
          "propose(bytes32,address,bytes,address)": {
            "details": "The user must have previously deposited tokens into the accounting extension",
            "params": {
              "_proposer": "The user proposing the response",
              "_requestId": "The ID of the request to propose a response for",
              "_responseData": "The data for the response",
              "_sender": "The address calling propose on the Oracle"
            },
            "returns": {
              "_response": "The struct of proposed response"
            }
          },
          "requestData(bytes32)": {
            "params": {
              "_requestId": "The id of the request"
            },
            "returns": {
              "_requestData": "The data of the request"
            }
          },
          "setupRequest(bytes32,bytes)": {
            "params": {
              "_data": "The data of the request",
              "_requestId": "The ID of the request"
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "decodeRequestData(bytes32)": {
            "notice": "Returns the decoded data for a request"
          },
          "deleteResponse(bytes32,bytes32,address)": {
            "notice": "Allows a user to delete an undisputed response they proposed before the deadline, releasing the bond"
          },
          "finalizeRequest(bytes32,address)": {
            "notice": "Finalizes the request by releasing the bond of the proposer"
          },
          "moduleName()": {
            "notice": "Returns the name of the module."
          },
          "oracle()": {
            "notice": "Returns the address of the oracle"
          },
          "propose(bytes32,address,bytes,address)": {
            "notice": "Proposes a response for a request, bonding the proposer's tokens"
          },
          "requestData(bytes32)": {
            "notice": "Returns the data of the request associated with the provided id"
          },
          "setupRequest(bytes32,bytes)": {
            "notice": "Stores the request data and runs module-specific hooks"
          }
        },
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        "@defi-wonderland/=node_modules/@defi-wonderland/",
        "@openzeppelin/=node_modules/@openzeppelin/",
        "ds-test/=node_modules/ds-test/src/",
        "forge-std/=node_modules/forge-std/src/",
        "solmate/=node_modules/solmate/src/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "solidity/interfaces/modules/response/IBondedResponseModule.sol": "IBondedResponseModule"
      },
      "libraries": {}
    },
    "sources": {
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/IModule.sol": {
        "keccak256": "0x72c2f68e8c2b749d9ae745269c706b137a640d6bd6f65f966238b547d61e3a05",
        "urls": [
          "bzz-raw://4edb1aae7c4abd875d2da44a2dd83781c3c0a3d059edf2d1f2be1c44f865456f",
          "dweb:/ipfs/QmbEHy8tENha1ANEEZADpH4THmqC8aHyCXxFYPw4tS5mf4"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/IOracle.sol": {
        "keccak256": "0x606262b4bb3b1447b1f6afef8a1b49088956b168a4b066f6f60da4712b95d3cf",
        "urls": [
          "bzz-raw://a763cdb6ba9f12a93e3d5238d6d3235c5c0c229df94793927f9d2abe00542823",
          "dweb:/ipfs/QmbAbfVyCiHvNvhHxc5r8tK5GUuVBATo15Ma5MirhZPtE6"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/dispute/IDisputeModule.sol": {
        "keccak256": "0x21707db43d55ba040893ef0ffefa7f9740c6e03b94d750637e6b2c047a16baa4",
        "urls": [
          "bzz-raw://ae582ca2fdd6fc82c650333066c95a917221282ad7ef15ea62fb4a31e4ed864d",
          "dweb:/ipfs/QmdxvkpNCK46uYv31TxAtxCiRPSoxbT4hrs94WQfR4ctTM"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/finality/IFinalityModule.sol": {
        "keccak256": "0xf6f465732ee119879e3317227f9cf6468055f4f98acdb4365f5b4eacda32948e",
        "urls": [
          "bzz-raw://82e1928a7bbc5bce95e1b83d917e1470c72a0bec7494f6f42471b21c0f2b641e",
          "dweb:/ipfs/QmSjaBsNhzCfQd5xwZa98LNYSZ1TqAqo6inRTGD31ua4L8"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/request/IRequestModule.sol": {
        "keccak256": "0xefa5dd3334a1676cca1c1860c66c16adb1e399917742476d15de8737b5cb0032",
        "urls": [
          "bzz-raw://03bcff0500f4054b5f71b0badd1779f8dfaa7fc74fc64788991438a1d9d2d14d",
          "dweb:/ipfs/QmdDjbGPgBfbbyT26Xtt9uBD7nYnhSK43fa9skfuBrfjCc"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/resolution/IResolutionModule.sol": {
        "keccak256": "0x36e75a87661b234be605a7455c88eaf4e7cbc9f5b4ea08133dd6d9d5af8d6bc6",
        "urls": [
          "bzz-raw://232536c4e8b2e9114035e57360976ff24931459fb22a026114d392d3e315ea67",
          "dweb:/ipfs/QmPYKU5RDGMqTZZzCCvVy7ssush4EQGgCCbzbeGpnejGno"
        ],
        "license": "MIT"
      },
      "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/response/IResponseModule.sol": {
        "keccak256": "0xd0610065a22a8d3323427d871a73b835e4d0dffb3afe4bb7e8bbee81b8b9ed1b",
        "urls": [
          "bzz-raw://8c72dcbd36f11e87fc21c922684e5524f0c83830dc945ac92614ea1cd770a1bf",
          "dweb:/ipfs/QmfYnQfSDd2jS9QEAdpmDF6wVXWqitQpmJsSeEHs1mtUQP"
        ],
        "license": "MIT"
      },
      "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": {
        "keccak256": "0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305",
        "urls": [
          "bzz-raw://bd39944e8fc06be6dbe2dd1d8449b5336e23c6a7ba3e8e9ae5ae0f37f35283f5",
          "dweb:/ipfs/QmPV3FGYjVwvKSgAXKUN3r9T9GwniZz83CxBpM7vyj2G53"
        ],
        "license": "MIT"
      },
      "solidity/interfaces/extensions/IAccountingExtension.sol": {
        "keccak256": "0x31b990f92e67ce2b480ca97fcc54d44dddaa82fa60259439d8556bfbb7963d0e",
        "urls": [
          "bzz-raw://23e6ef2026bf40ef58f625b7377c70e4988902ae14df333e9be35129a57a87f0",
          "dweb:/ipfs/QmW1RfXvujkVHqXazdeTKshba9rX6kzSCRfZKBwLi38Ue5"
        ],
        "license": "MIT"
      },
      "solidity/interfaces/modules/response/IBondedResponseModule.sol": {
        "keccak256": "0xd6c8945f72efc55d2a264a5e7f5aeb6bf8fa8627dcf476544ef73043ff73a645",
        "urls": [
          "bzz-raw://1e776d595411b628a052ff3888bcbabd44283b8448f958904bd94c36b5a97da3",
          "dweb:/ipfs/QmVou5H5ozqacDfY8o1Cvj6p9HmoNh6GrHcvk5StQFNz2W"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "solidity/interfaces/modules/response/IBondedResponseModule.sol",
    "id": 44190,
    "exportedSymbols": {
      "IAccountingExtension": [
        42580
      ],
      "IBondedResponseModule": [
        44189
      ],
      "IERC20": [
        2822
      ],
      "IOracle": [
        2282
      ],
      "IResponseModule": [
        2434
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:4597:76",
    "nodes": [
      {
        "id": 44099,
        "nodeType": "PragmaDirective",
        "src": "32:24:76",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".19"
        ]
      },
      {
        "id": 44101,
        "nodeType": "ImportDirective",
        "src": "58:70:76",
        "nodes": [],
        "absolutePath": "node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 44190,
        "sourceUnit": 2823,
        "symbolAliases": [
          {
            "foreign": {
              "id": 44100,
              "name": "IERC20",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 2822,
              "src": "66:6:76",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 44103,
        "nodeType": "ImportDirective",
        "src": "129:96:76",
        "nodes": [],
        "absolutePath": "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/IOracle.sol",
        "file": "@defi-wonderland/prophet-core-contracts/solidity/interfaces/IOracle.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 44190,
        "sourceUnit": 2283,
        "symbolAliases": [
          {
            "foreign": {
              "id": 44102,
              "name": "IOracle",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 2282,
              "src": "137:7:76",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 44105,
        "nodeType": "ImportDirective",
        "src": "226:131:76",
        "nodes": [],
        "absolutePath": "node_modules/@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/response/IResponseModule.sol",
        "file": "@defi-wonderland/prophet-core-contracts/solidity/interfaces/modules/response/IResponseModule.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 44190,
        "sourceUnit": 2435,
        "symbolAliases": [
          {
            "foreign": {
              "id": 44104,
              "name": "IResponseModule",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 2434,
              "src": "234:15:76",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 44107,
        "nodeType": "ImportDirective",
        "src": "359:79:76",
        "nodes": [],
        "absolutePath": "solidity/interfaces/extensions/IAccountingExtension.sol",
        "file": "../../extensions/IAccountingExtension.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 44190,
        "sourceUnit": 42581,
        "symbolAliases": [
          {
            "foreign": {
              "id": 44106,
              "name": "IAccountingExtension",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 42580,
              "src": "367:20:76",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "id": 44189,
        "nodeType": "ContractDefinition",
        "src": "573:4055:76",
        "nodes": [
          {
            "id": 44118,
            "nodeType": "EventDefinition",
            "src": "1047:90:76",
            "nodes": [],
            "anonymous": false,
            "documentation": {
              "id": 44110,
              "nodeType": "StructuredDocumentation",
              "src": "800:244:76",
              "text": " @notice Emitted when a response is proposed\n @param _requestId The ID of the request that the response was proposed\n @param _proposer The user that proposed the response\n @param _responseData The data for the response"
            },
            "eventSelector": "2d91e4f59fb1b13bb8fb80cc248d33fd86c25d32236e6b2a5b684412d16cdc7c",
            "name": "ProposeResponse",
            "nameLocation": "1053:15:76",
            "parameters": {
              "id": 44117,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44112,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "_requestId",
                  "nameLocation": "1085:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44118,
                  "src": "1069:26:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44111,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1069:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44114,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "_proposer",
                  "nameLocation": "1105:9:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44118,
                  "src": "1097:17:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 44113,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1097:7:76",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44116,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "_responseData",
                  "nameLocation": "1122:13:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44118,
                  "src": "1116:19:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 44115,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1116:5:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1068:68:76"
            }
          },
          {
            "id": 44121,
            "nodeType": "ErrorDefinition",
            "src": "1399:48:76",
            "nodes": [],
            "documentation": {
              "id": 44119,
              "nodeType": "StructuredDocumentation",
              "src": "1313:83:76",
              "text": " @notice Thrown when trying to finalize a request before the deadline"
            },
            "errorSelector": "0b35ce06",
            "name": "BondedResponseModule_TooEarlyToFinalize",
            "nameLocation": "1405:39:76",
            "parameters": {
              "id": 44120,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1444:2:76"
            }
          },
          {
            "id": 44124,
            "nodeType": "ErrorDefinition",
            "src": "1532:46:76",
            "nodes": [],
            "documentation": {
              "id": 44122,
              "nodeType": "StructuredDocumentation",
              "src": "1451:78:76",
              "text": " @notice Thrown when trying to propose a response after deadline"
            },
            "errorSelector": "17e565d0",
            "name": "BondedResponseModule_TooLateToPropose",
            "nameLocation": "1538:37:76",
            "parameters": {
              "id": 44123,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1575:2:76"
            }
          },
          {
            "id": 44127,
            "nodeType": "ErrorDefinition",
            "src": "1697:46:76",
            "nodes": [],
            "documentation": {
              "id": 44125,
              "nodeType": "StructuredDocumentation",
              "src": "1582:112:76",
              "text": " @notice Thrown when trying to propose a response while an undisputed response is already proposed"
            },
            "errorSelector": "50b60438",
            "name": "BondedResponseModule_AlreadyResponded",
            "nameLocation": "1703:37:76",
            "parameters": {
              "id": 44126,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1740:2:76"
            }
          },
          {
            "id": 44130,
            "nodeType": "ErrorDefinition",
            "src": "1841:45:76",
            "nodes": [],
            "documentation": {
              "id": 44128,
              "nodeType": "StructuredDocumentation",
              "src": "1747:91:76",
              "text": " @notice Thrown when trying to delete a response after the proposing deadline"
            },
            "errorSelector": "632e6e6e",
            "name": "BondedResponseModule_TooLateToDelete",
            "nameLocation": "1847:36:76",
            "parameters": {
              "id": 44129,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1883:2:76"
            }
          },
          {
            "id": 44133,
            "nodeType": "ErrorDefinition",
            "src": "1963:44:76",
            "nodes": [],
            "documentation": {
              "id": 44131,
              "nodeType": "StructuredDocumentation",
              "src": "1890:70:76",
              "text": " @notice Thrown when trying to create an invalid request"
            },
            "errorSelector": "e6b86b60",
            "name": "BondedResponseModule_InvalidRequest",
            "nameLocation": "1969:35:76",
            "parameters": {
              "id": 44132,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2004:2:76"
            }
          },
          {
            "id": 44146,
            "nodeType": "StructDefinition",
            "src": "2650:169:76",
            "nodes": [],
            "canonicalName": "IBondedResponseModule.RequestParameters",
            "members": [
              {
                "constant": false,
                "id": 44136,
                "mutability": "mutable",
                "name": "accountingExtension",
                "nameLocation": "2702:19:76",
                "nodeType": "VariableDeclaration",
                "scope": 44146,
                "src": "2681:40:76",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IAccountingExtension_$42580",
                  "typeString": "contract IAccountingExtension"
                },
                "typeName": {
                  "id": 44135,
                  "nodeType": "UserDefinedTypeName",
                  "pathNode": {
                    "id": 44134,
                    "name": "IAccountingExtension",
                    "nameLocations": [
                      "2681:20:76"
                    ],
                    "nodeType": "IdentifierPath",
                    "referencedDeclaration": 42580,
                    "src": "2681:20:76"
                  },
                  "referencedDeclaration": 42580,
                  "src": "2681:20:76",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IAccountingExtension_$42580",
                    "typeString": "contract IAccountingExtension"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 44139,
                "mutability": "mutable",
                "name": "bondToken",
                "nameLocation": "2734:9:76",
                "nodeType": "VariableDeclaration",
                "scope": 44146,
                "src": "2727:16:76",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_contract$_IERC20_$2822",
                  "typeString": "contract IERC20"
                },
                "typeName": {
                  "id": 44138,
                  "nodeType": "UserDefinedTypeName",
                  "pathNode": {
                    "id": 44137,
                    "name": "IERC20",
                    "nameLocations": [
                      "2727:6:76"
                    ],
                    "nodeType": "IdentifierPath",
                    "referencedDeclaration": 2822,
                    "src": "2727:6:76"
                  },
                  "referencedDeclaration": 2822,
                  "src": "2727:6:76",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IERC20_$2822",
                    "typeString": "contract IERC20"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 44141,
                "mutability": "mutable",
                "name": "bondSize",
                "nameLocation": "2757:8:76",
                "nodeType": "VariableDeclaration",
                "scope": 44146,
                "src": "2749:16:76",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 44140,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2749:7:76",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 44143,
                "mutability": "mutable",
                "name": "deadline",
                "nameLocation": "2779:8:76",
                "nodeType": "VariableDeclaration",
                "scope": 44146,
                "src": "2771:16:76",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 44142,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2771:7:76",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 44145,
                "mutability": "mutable",
                "name": "disputeWindow",
                "nameLocation": "2801:13:76",
                "nodeType": "VariableDeclaration",
                "scope": 44146,
                "src": "2793:21:76",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 44144,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "2793:7:76",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "RequestParameters",
            "nameLocation": "2657:17:76",
            "scope": 44189,
            "visibility": "public"
          },
          {
            "id": 44155,
            "nodeType": "FunctionDefinition",
            "src": "3178:104:76",
            "nodes": [],
            "documentation": {
              "id": 44147,
              "nodeType": "StructuredDocumentation",
              "src": "2995:180:76",
              "text": " @notice Returns the decoded data for a request\n @param _requestId The ID of the request\n @return _params The struct containing the parameters for the request"
            },
            "functionSelector": "4d610a46",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decodeRequestData",
            "nameLocation": "3187:17:76",
            "parameters": {
              "id": 44150,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44149,
                  "mutability": "mutable",
                  "name": "_requestId",
                  "nameLocation": "3213:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44155,
                  "src": "3205:18:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44148,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3205:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3204:20:76"
            },
            "returnParameters": {
              "id": 44154,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44153,
                  "mutability": "mutable",
                  "name": "_params",
                  "nameLocation": "3273:7:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44155,
                  "src": "3248:32:76",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_RequestParameters_$44146_memory_ptr",
                    "typeString": "struct IBondedResponseModule.RequestParameters"
                  },
                  "typeName": {
                    "id": 44152,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 44151,
                      "name": "RequestParameters",
                      "nameLocations": [
                        "3248:17:76"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 44146,
                      "src": "3248:17:76"
                    },
                    "referencedDeclaration": 44146,
                    "src": "3248:17:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_RequestParameters_$44146_storage_ptr",
                      "typeString": "struct IBondedResponseModule.RequestParameters"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3247:34:76"
            },
            "scope": 44189,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 44170,
            "nodeType": "FunctionDefinition",
            "src": "3757:176:76",
            "nodes": [],
            "baseFunctions": [
              2423
            ],
            "documentation": {
              "id": 44156,
              "nodeType": "StructuredDocumentation",
              "src": "3286:468:76",
              "text": " @notice Proposes a response for a request, bonding the proposer's tokens\n @dev The user must have previously deposited tokens into the accounting extension\n @param _requestId The ID of the request to propose a response for\n @param _proposer The user proposing the response\n @param _responseData The data for the response\n @param _sender The address calling propose on the Oracle\n @return _response The struct of proposed response"
            },
            "functionSelector": "ec229abb",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "propose",
            "nameLocation": "3766:7:76",
            "parameters": {
              "id": 44165,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44158,
                  "mutability": "mutable",
                  "name": "_requestId",
                  "nameLocation": "3787:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44170,
                  "src": "3779:18:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44157,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "3779:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44160,
                  "mutability": "mutable",
                  "name": "_proposer",
                  "nameLocation": "3811:9:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44170,
                  "src": "3803:17:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 44159,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3803:7:76",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44162,
                  "mutability": "mutable",
                  "name": "_responseData",
                  "nameLocation": "3841:13:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44170,
                  "src": "3826:28:76",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 44161,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "3826:5:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44164,
                  "mutability": "mutable",
                  "name": "_sender",
                  "nameLocation": "3868:7:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44170,
                  "src": "3860:15:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 44163,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3860:7:76",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3773:106:76"
            },
            "returnParameters": {
              "id": 44169,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44168,
                  "mutability": "mutable",
                  "name": "_response",
                  "nameLocation": "3922:9:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44170,
                  "src": "3898:33:76",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_Response_$2031_memory_ptr",
                    "typeString": "struct IOracle.Response"
                  },
                  "typeName": {
                    "id": 44167,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 44166,
                      "name": "IOracle.Response",
                      "nameLocations": [
                        "3898:7:76",
                        "3906:8:76"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 2031,
                      "src": "3898:16:76"
                    },
                    "referencedDeclaration": 2031,
                    "src": "3898:16:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_Response_$2031_storage_ptr",
                      "typeString": "struct IOracle.Response"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3897:35:76"
            },
            "scope": 44189,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 44180,
            "nodeType": "FunctionDefinition",
            "src": "4250:93:76",
            "nodes": [],
            "baseFunctions": [
              2433
            ],
            "documentation": {
              "id": 44171,
              "nodeType": "StructuredDocumentation",
              "src": "3937:310:76",
              "text": " @notice Allows a user to delete an undisputed response they proposed before the deadline, releasing the bond\n @param _requestId The ID of the request to delete the response from\n @param _responseId The ID of the response to delete\n @param _proposer The user who proposed the response"
            },
            "functionSelector": "6ab49fb7",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "deleteResponse",
            "nameLocation": "4259:14:76",
            "parameters": {
              "id": 44178,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44173,
                  "mutability": "mutable",
                  "name": "_requestId",
                  "nameLocation": "4282:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44180,
                  "src": "4274:18:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44172,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4274:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44175,
                  "mutability": "mutable",
                  "name": "_responseId",
                  "nameLocation": "4302:11:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44180,
                  "src": "4294:19:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44174,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4294:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44177,
                  "mutability": "mutable",
                  "name": "_proposer",
                  "nameLocation": "4323:9:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44180,
                  "src": "4315:17:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 44176,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4315:7:76",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4273:60:76"
            },
            "returnParameters": {
              "id": 44179,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4342:0:76"
            },
            "scope": 44189,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 44188,
            "nodeType": "FunctionDefinition",
            "src": "4552:74:76",
            "nodes": [],
            "baseFunctions": [
              1775
            ],
            "documentation": {
              "id": 44181,
              "nodeType": "StructuredDocumentation",
              "src": "4347:202:76",
              "text": " @notice Finalizes the request by releasing the bond of the proposer\n @param _requestId The ID of the request to finalize\n @param _finalizer The user who triggered the finalization"
            },
            "functionSelector": "309de607",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "finalizeRequest",
            "nameLocation": "4561:15:76",
            "parameters": {
              "id": 44186,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 44183,
                  "mutability": "mutable",
                  "name": "_requestId",
                  "nameLocation": "4585:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44188,
                  "src": "4577:18:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 44182,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "4577:7:76",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 44185,
                  "mutability": "mutable",
                  "name": "_finalizer",
                  "nameLocation": "4605:10:76",
                  "nodeType": "VariableDeclaration",
                  "scope": 44188,
                  "src": "4597:18:76",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 44184,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4597:7:76",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4576:40:76"
            },
            "returnParameters": {
              "id": 44187,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4625:0:76"
            },
            "scope": 44189,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 44108,
              "name": "IResponseModule",
              "nameLocations": [
                "608:15:76"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 2434,
              "src": "608:15:76"
            },
            "id": 44109,
            "nodeType": "InheritanceSpecifier",
            "src": "608:15:76"
          }
        ],
        "canonicalName": "IBondedResponseModule",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          44189,
          2434,
          1782
        ],
        "name": "IBondedResponseModule",
        "nameLocation": "583:21:76",
        "scope": 44190,
        "usedErrors": [
          1745,
          44121,
          44124,
          44127,
          44130,
          44133
        ]
      }
    ],
    "license": "MIT"
  },
  "id": 76
}