{
  "contractName": "IWitRandomnessEvents",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "randomizeBlock",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "finalityBlock",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "randomness",
          "type": "bytes32"
        }
      ],
      "name": "Randomized",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "evmRequester",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "randomizeBlock",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "Witnet.QueryId",
          "name": "witOracleQueryId",
          "type": "uint64"
        }
      ],
      "name": "Randomizing",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"randomizeBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"finalityBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"randomness\",\"type\":\"bytes32\"}],\"name\":\"Randomized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"evmRequester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"randomizeBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"Witnet.QueryId\",\"name\":\"witOracleQueryId\",\"type\":\"uint64\"}],\"name\":\"Randomizing\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"events\":{\"Randomized(uint256,uint256,bytes32)\":{\"notice\":\"Emitted when some requested randomness gets delivered from Witnet.\"},\"Randomizing(address,uint256,uint64)\":{\"notice\":\"Emitted when a new randomize request gets posted to the Wit/Oracle framework.\"}},\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IWitRandomnessEvents.sol\":\"IWitRandomnessEvents\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IWitRandomnessEvents.sol\":{\"keccak256\":\"0x005a56891f103c78ce015fbbcb9cf96f64e3810a70cd20dcdcce2963186788fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6365a0bb99b2ac7990b74b33a4df7b045702362baf11998f8345f1a2530c29ae\",\"dweb:/ipfs/QmY2d5m2E7JwFT4EFzbrXZkiL4sSTowmosMHjSE3fTAwXf\"]},\"project:/contracts/libs/Bech32.sol\":{\"keccak256\":\"0x14618323a0efe7586c20906a2e9cee7ad63baa976ff231c57f7f2d7d3707fb8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a19f05fe84047a7a6d3d6fc39972b432e6e536aa70472386a9d7a6d9aab64a64\",\"dweb:/ipfs/QmcHwUY66yjiotRH4Q3kbRvSzcHyLQ1yHL3KbtQKiMhtZE\"]},\"project:/contracts/libs/Secp256k1.sol\":{\"keccak256\":\"0xbe686002da5004ff39dd70709f3820eba2afe9323ae9cb894009c161e4b1a666\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18fab91775216de0707cea9ad285b10be09127461a13432fea358bf9cb2a0c2e\",\"dweb:/ipfs/QmeRUGsgstnM4hxM9hpkBf3L6cE5btirEaowcMxmuw3utj\"]},\"project:/contracts/libs/Witnet.sol\":{\"keccak256\":\"0x1d446c3e534e40e676d1763bfb2897fadfac8afed904ab757843d7d6770b0a6c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://338fb1073f17d64e8d31bfe492d9475ce906788ee08e6489ce30413f91dc1328\",\"dweb:/ipfs/QmPe5QX2AGTnQFjse1Xttq4ZYWwYAiXoySb5VUui3PqPhk\"]},\"project:/contracts/libs/WitnetBuffer.sol\":{\"keccak256\":\"0x8e07aebe2954ab3e6f2d8eceedb12db7cf915c1f3e8630f4fa9999cecb1c78ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed6c54cc901183d61546e8fd15bd5ea8ef238ebc915642946071d435dd7481ea\",\"dweb:/ipfs/Qmcaqta7YjUSBbBUGqoh44bsCS6UqqoyHjBuz4qnKBShXM\"]},\"project:/contracts/libs/WitnetCBOR.sol\":{\"keccak256\":\"0xd99308373575cc10fb7f2ceb0f6a8625f3911275c1fa27811fae498d98d03d97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4909a999d7b660a2dc54ca957b6eccfa523e2765fc4d6a2574dee7d5cd67b43\",\"dweb:/ipfs/QmWGQT4KDcfSFe1hcHVoWx6E4PhYMaod5iLpJCWBEeShzh\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "generatedSources": [],
  "deployedGeneratedSources": [],
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// SPDX-License-Identifier: MIT\r\n\r\npragma solidity >=0.8.17 <0.9.0;\r\n\r\nimport {Witnet} from \"../libs/Witnet.sol\";\r\n\r\ninterface IWitRandomnessEvents {\r\n    /// Emitted when a new randomize request gets posted to the Wit/Oracle framework.\r\n    event Randomizing(\r\n        address indexed evmRequester,\r\n        uint256 randomizeBlock, \r\n        Witnet.QueryId witOracleQueryId\r\n    );\r\n\r\n    /// Emitted when some requested randomness gets delivered from Witnet.\r\n    event Randomized(\r\n        uint256 randomizeBlock,\r\n        uint256 finalityBlock,\r\n        bytes32 randomness\r\n    );   \r\n}\r\n",
  "sourcePath": "C:\\Users\\guill\\github\\guidiaz\\witnet-solidity-bridge\\contracts\\interfaces\\IWitRandomnessEvents.sol",
  "ast": {
    "absolutePath": "project:/contracts/interfaces/IWitRandomnessEvents.sol",
    "exportedSymbols": {
      "IWitRandomnessEvents": [
        28449
      ],
      "Witnet": [
        40741
      ]
    },
    "id": 28450,
    "license": "MIT",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 28427,
        "literals": [
          "solidity",
          ">=",
          "0.8",
          ".17",
          "<",
          "0.9",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "35:32:88"
      },
      {
        "absolutePath": "project:/contracts/libs/Witnet.sol",
        "file": "../libs/Witnet.sol",
        "id": 28429,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 28450,
        "sourceUnit": 40742,
        "src": "71:42:88",
        "symbolAliases": [
          {
            "foreign": {
              "id": 28428,
              "name": "Witnet",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "referencedDeclaration": 40741,
              "src": "79:6:88",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "canonicalName": "IWitRandomnessEvents",
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": true,
        "id": 28449,
        "linearizedBaseContracts": [
          28449
        ],
        "name": "IWitRandomnessEvents",
        "nameLocation": "127:20:88",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": {
              "id": 28430,
              "nodeType": "StructuredDocumentation",
              "src": "155:81:88",
              "text": "Emitted when a new randomize request gets posted to the Wit/Oracle framework."
            },
            "eventSelector": "d6df60dd4c94a4102a8b1bfbafbe6dda374d30909a84fb32305fc97d91f92f66",
            "id": 28439,
            "name": "Randomizing",
            "nameLocation": "248:11:88",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 28438,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28432,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "evmRequester",
                  "nameLocation": "286:12:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28439,
                  "src": "270:28:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 28431,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "270:7:88",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28434,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "randomizeBlock",
                  "nameLocation": "317:14:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28439,
                  "src": "309:22:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28433,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "309:7:88",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28437,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "witOracleQueryId",
                  "nameLocation": "358:16:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28439,
                  "src": "343:31:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
                    "typeString": "Witnet.QueryId"
                  },
                  "typeName": {
                    "id": 28436,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 28435,
                      "name": "Witnet.QueryId",
                      "nameLocations": [
                        "343:6:88",
                        "350:7:88"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 37151,
                      "src": "343:14:88"
                    },
                    "referencedDeclaration": 37151,
                    "src": "343:14:88",
                    "typeDescriptions": {
                      "typeIdentifier": "t_userDefinedValueType$_QueryId_$37151",
                      "typeString": "Witnet.QueryId"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "259:122:88"
            },
            "src": "242:140:88"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 28440,
              "nodeType": "StructuredDocumentation",
              "src": "390:70:88",
              "text": "Emitted when some requested randomness gets delivered from Witnet."
            },
            "eventSelector": "e7af3c23f23afb584501c994ac9edf8c438702ea485979a2aacb3e3b24f260b9",
            "id": 28448,
            "name": "Randomized",
            "nameLocation": "472:10:88",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 28447,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 28442,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "randomizeBlock",
                  "nameLocation": "501:14:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28448,
                  "src": "493:22:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28441,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "493:7:88",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28444,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "finalityBlock",
                  "nameLocation": "534:13:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28448,
                  "src": "526:21:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 28443,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "526:7:88",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 28446,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "randomness",
                  "nameLocation": "566:10:88",
                  "nodeType": "VariableDeclaration",
                  "scope": 28448,
                  "src": "558:18:88",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 28445,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "558:7:88",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "482:101:88"
            },
            "src": "466:118:88"
          }
        ],
        "scope": 28450,
        "src": "117:473:88",
        "usedErrors": [],
        "usedEvents": [
          28439,
          28448
        ]
      }
    ],
    "src": "35:557:88"
  },
  "compiler": {
    "name": "solc",
    "version": "0.8.30+commit.73712a01.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.4.16",
  "updatedAt": "2025-10-15T14:34:45.918Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "events": {
      "Randomized(uint256,uint256,bytes32)": {
        "notice": "Emitted when some requested randomness gets delivered from Witnet."
      },
      "Randomizing(address,uint256,uint64)": {
        "notice": "Emitted when a new randomize request gets posted to the Wit/Oracle framework."
      }
    },
    "kind": "user",
    "methods": {},
    "version": 1
  }
}