dkg 0.1.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dkg/__init__.py +3 -0
- dkg/asset.py +781 -0
- dkg/constants.py +39 -0
- dkg/data/interfaces/Assertion.json +131 -0
- dkg/data/interfaces/AssertionStorage.json +229 -0
- dkg/data/interfaces/CommitManagerV1.json +534 -0
- dkg/data/interfaces/CommitManagerV1U1.json +720 -0
- dkg/data/interfaces/ContentAsset.json +671 -0
- dkg/data/interfaces/ContentAssetStorage.json +706 -0
- dkg/data/interfaces/HashingProxy.json +227 -0
- dkg/data/interfaces/Hub.json +356 -0
- dkg/data/interfaces/Identity.json +193 -0
- dkg/data/interfaces/IdentityStorage.json +342 -0
- dkg/data/interfaces/ParametersStorage.json +468 -0
- dkg/data/interfaces/Profile.json +292 -0
- dkg/data/interfaces/ProfileStorage.json +596 -0
- dkg/data/interfaces/ProofManagerV1.json +525 -0
- dkg/data/interfaces/ProofManagerV1U1.json +546 -0
- dkg/data/interfaces/ScoringProxy.json +242 -0
- dkg/data/interfaces/ServiceAgreementStorageProxy.json +1299 -0
- dkg/data/interfaces/ServiceAgreementStorageV1.json +901 -0
- dkg/data/interfaces/ServiceAgreementStorageV1U1.json +1097 -0
- dkg/data/interfaces/ServiceAgreementV1.json +741 -0
- dkg/data/interfaces/ShardingTable.json +268 -0
- dkg/data/interfaces/ShardingTableStorage.json +317 -0
- dkg/data/interfaces/Staking.json +456 -0
- dkg/data/interfaces/StakingStorage.json +407 -0
- dkg/data/interfaces/Token.json +544 -0
- dkg/data/interfaces/UnfinalizedStateStorage.json +171 -0
- dkg/data/interfaces/WhitelistStorage.json +124 -0
- dkg/dataclasses.py +45 -0
- dkg/exceptions.py +161 -0
- dkg/graph.py +63 -0
- dkg/main.py +74 -0
- dkg/manager.py +64 -0
- dkg/method.py +131 -0
- dkg/module.py +63 -0
- dkg/node.py +54 -0
- dkg/providers/__init__.py +2 -0
- dkg/providers/blockchain.py +181 -0
- dkg/providers/node_http.py +62 -0
- dkg/types/__init__.py +8 -0
- dkg/types/blockchain.py +58 -0
- dkg/types/dkg_node.py +20 -0
- dkg/types/encoding.py +22 -0
- dkg/types/evm.py +25 -0
- dkg/types/generics.py +21 -0
- dkg/types/network.py +20 -0
- dkg/types/rdf.py +21 -0
- dkg/utils/__init__.py +0 -0
- dkg/utils/blockchain_request.py +159 -0
- dkg/utils/decorators.py +46 -0
- dkg/utils/merkle.py +173 -0
- dkg/utils/metadata.py +50 -0
- dkg/utils/node_request.py +197 -0
- dkg/utils/rdf.py +51 -0
- dkg/utils/string_transformations.py +22 -0
- dkg/utils/ual.py +41 -0
- dkg-0.1.0b1.dist-info/LICENSE +202 -0
- dkg-0.1.0b1.dist-info/METADATA +453 -0
- dkg-0.1.0b1.dist-info/RECORD +62 -0
- dkg-0.1.0b1.dist-info/WHEEL +4 -0
| @@ -0,0 +1,546 @@ | |
| 1 | 
            +
            [
         | 
| 2 | 
            +
              {
         | 
| 3 | 
            +
                "inputs": [
         | 
| 4 | 
            +
                  {
         | 
| 5 | 
            +
                    "internalType": "address",
         | 
| 6 | 
            +
                    "name": "hubAddress",
         | 
| 7 | 
            +
                    "type": "address"
         | 
| 8 | 
            +
                  }
         | 
| 9 | 
            +
                ],
         | 
| 10 | 
            +
                "stateMutability": "nonpayable",
         | 
| 11 | 
            +
                "type": "constructor"
         | 
| 12 | 
            +
              },
         | 
| 13 | 
            +
              {
         | 
| 14 | 
            +
                "inputs": [
         | 
| 15 | 
            +
                  {
         | 
| 16 | 
            +
                    "internalType": "bytes32",
         | 
| 17 | 
            +
                    "name": "agreementId",
         | 
| 18 | 
            +
                    "type": "bytes32"
         | 
| 19 | 
            +
                  },
         | 
| 20 | 
            +
                  {
         | 
| 21 | 
            +
                    "internalType": "uint16",
         | 
| 22 | 
            +
                    "name": "epoch",
         | 
| 23 | 
            +
                    "type": "uint16"
         | 
| 24 | 
            +
                  },
         | 
| 25 | 
            +
                  {
         | 
| 26 | 
            +
                    "internalType": "uint256",
         | 
| 27 | 
            +
                    "name": "stateIndex",
         | 
| 28 | 
            +
                    "type": "uint256"
         | 
| 29 | 
            +
                  },
         | 
| 30 | 
            +
                  {
         | 
| 31 | 
            +
                    "internalType": "uint72",
         | 
| 32 | 
            +
                    "name": "identityId",
         | 
| 33 | 
            +
                    "type": "uint72"
         | 
| 34 | 
            +
                  },
         | 
| 35 | 
            +
                  {
         | 
| 36 | 
            +
                    "internalType": "bytes",
         | 
| 37 | 
            +
                    "name": "nodeId",
         | 
| 38 | 
            +
                    "type": "bytes"
         | 
| 39 | 
            +
                  }
         | 
| 40 | 
            +
                ],
         | 
| 41 | 
            +
                "name": "NodeAlreadyRewarded",
         | 
| 42 | 
            +
                "type": "error"
         | 
| 43 | 
            +
              },
         | 
| 44 | 
            +
              {
         | 
| 45 | 
            +
                "inputs": [
         | 
| 46 | 
            +
                  {
         | 
| 47 | 
            +
                    "internalType": "bytes32",
         | 
| 48 | 
            +
                    "name": "agreementId",
         | 
| 49 | 
            +
                    "type": "bytes32"
         | 
| 50 | 
            +
                  },
         | 
| 51 | 
            +
                  {
         | 
| 52 | 
            +
                    "internalType": "uint16",
         | 
| 53 | 
            +
                    "name": "epoch",
         | 
| 54 | 
            +
                    "type": "uint16"
         | 
| 55 | 
            +
                  },
         | 
| 56 | 
            +
                  {
         | 
| 57 | 
            +
                    "internalType": "uint256",
         | 
| 58 | 
            +
                    "name": "stateIndex",
         | 
| 59 | 
            +
                    "type": "uint256"
         | 
| 60 | 
            +
                  },
         | 
| 61 | 
            +
                  {
         | 
| 62 | 
            +
                    "internalType": "uint72",
         | 
| 63 | 
            +
                    "name": "identityId",
         | 
| 64 | 
            +
                    "type": "uint72"
         | 
| 65 | 
            +
                  },
         | 
| 66 | 
            +
                  {
         | 
| 67 | 
            +
                    "internalType": "bytes",
         | 
| 68 | 
            +
                    "name": "nodeId",
         | 
| 69 | 
            +
                    "type": "bytes"
         | 
| 70 | 
            +
                  },
         | 
| 71 | 
            +
                  {
         | 
| 72 | 
            +
                    "internalType": "uint8",
         | 
| 73 | 
            +
                    "name": "rank",
         | 
| 74 | 
            +
                    "type": "uint8"
         | 
| 75 | 
            +
                  }
         | 
| 76 | 
            +
                ],
         | 
| 77 | 
            +
                "name": "NodeNotAwarded",
         | 
| 78 | 
            +
                "type": "error"
         | 
| 79 | 
            +
              },
         | 
| 80 | 
            +
              {
         | 
| 81 | 
            +
                "inputs": [
         | 
| 82 | 
            +
                  {
         | 
| 83 | 
            +
                    "internalType": "address",
         | 
| 84 | 
            +
                    "name": "caller",
         | 
| 85 | 
            +
                    "type": "address"
         | 
| 86 | 
            +
                  }
         | 
| 87 | 
            +
                ],
         | 
| 88 | 
            +
                "name": "OnlyHubOwnerFunction",
         | 
| 89 | 
            +
                "type": "error"
         | 
| 90 | 
            +
              },
         | 
| 91 | 
            +
              {
         | 
| 92 | 
            +
                "inputs": [
         | 
| 93 | 
            +
                  {
         | 
| 94 | 
            +
                    "internalType": "bytes32",
         | 
| 95 | 
            +
                    "name": "agreementId",
         | 
| 96 | 
            +
                    "type": "bytes32"
         | 
| 97 | 
            +
                  },
         | 
| 98 | 
            +
                  {
         | 
| 99 | 
            +
                    "internalType": "uint16",
         | 
| 100 | 
            +
                    "name": "epoch",
         | 
| 101 | 
            +
                    "type": "uint16"
         | 
| 102 | 
            +
                  },
         | 
| 103 | 
            +
                  {
         | 
| 104 | 
            +
                    "internalType": "uint256",
         | 
| 105 | 
            +
                    "name": "stateIndex",
         | 
| 106 | 
            +
                    "type": "uint256"
         | 
| 107 | 
            +
                  },
         | 
| 108 | 
            +
                  {
         | 
| 109 | 
            +
                    "internalType": "uint256",
         | 
| 110 | 
            +
                    "name": "proofWindowOpen",
         | 
| 111 | 
            +
                    "type": "uint256"
         | 
| 112 | 
            +
                  },
         | 
| 113 | 
            +
                  {
         | 
| 114 | 
            +
                    "internalType": "uint256",
         | 
| 115 | 
            +
                    "name": "proofWindowClose",
         | 
| 116 | 
            +
                    "type": "uint256"
         | 
| 117 | 
            +
                  },
         | 
| 118 | 
            +
                  {
         | 
| 119 | 
            +
                    "internalType": "uint256",
         | 
| 120 | 
            +
                    "name": "timeNow",
         | 
| 121 | 
            +
                    "type": "uint256"
         | 
| 122 | 
            +
                  }
         | 
| 123 | 
            +
                ],
         | 
| 124 | 
            +
                "name": "ProofWindowClosed",
         | 
| 125 | 
            +
                "type": "error"
         | 
| 126 | 
            +
              },
         | 
| 127 | 
            +
              {
         | 
| 128 | 
            +
                "inputs": [
         | 
| 129 | 
            +
                  {
         | 
| 130 | 
            +
                    "internalType": "bytes32",
         | 
| 131 | 
            +
                    "name": "agreementId",
         | 
| 132 | 
            +
                    "type": "bytes32"
         | 
| 133 | 
            +
                  }
         | 
| 134 | 
            +
                ],
         | 
| 135 | 
            +
                "name": "ServiceAgreementDoesntExist",
         | 
| 136 | 
            +
                "type": "error"
         | 
| 137 | 
            +
              },
         | 
| 138 | 
            +
              {
         | 
| 139 | 
            +
                "inputs": [
         | 
| 140 | 
            +
                  {
         | 
| 141 | 
            +
                    "internalType": "bytes32",
         | 
| 142 | 
            +
                    "name": "agreementId",
         | 
| 143 | 
            +
                    "type": "bytes32"
         | 
| 144 | 
            +
                  },
         | 
| 145 | 
            +
                  {
         | 
| 146 | 
            +
                    "internalType": "uint256",
         | 
| 147 | 
            +
                    "name": "startTime",
         | 
| 148 | 
            +
                    "type": "uint256"
         | 
| 149 | 
            +
                  },
         | 
| 150 | 
            +
                  {
         | 
| 151 | 
            +
                    "internalType": "uint16",
         | 
| 152 | 
            +
                    "name": "epochsNumber",
         | 
| 153 | 
            +
                    "type": "uint16"
         | 
| 154 | 
            +
                  },
         | 
| 155 | 
            +
                  {
         | 
| 156 | 
            +
                    "internalType": "uint128",
         | 
| 157 | 
            +
                    "name": "epochLength",
         | 
| 158 | 
            +
                    "type": "uint128"
         | 
| 159 | 
            +
                  }
         | 
| 160 | 
            +
                ],
         | 
| 161 | 
            +
                "name": "ServiceAgreementHasBeenExpired",
         | 
| 162 | 
            +
                "type": "error"
         | 
| 163 | 
            +
              },
         | 
| 164 | 
            +
              {
         | 
| 165 | 
            +
                "inputs": [
         | 
| 166 | 
            +
                  {
         | 
| 167 | 
            +
                    "internalType": "bytes32",
         | 
| 168 | 
            +
                    "name": "agreementId",
         | 
| 169 | 
            +
                    "type": "bytes32"
         | 
| 170 | 
            +
                  },
         | 
| 171 | 
            +
                  {
         | 
| 172 | 
            +
                    "internalType": "uint16",
         | 
| 173 | 
            +
                    "name": "epoch",
         | 
| 174 | 
            +
                    "type": "uint16"
         | 
| 175 | 
            +
                  },
         | 
| 176 | 
            +
                  {
         | 
| 177 | 
            +
                    "internalType": "uint256",
         | 
| 178 | 
            +
                    "name": "stateIndex",
         | 
| 179 | 
            +
                    "type": "uint256"
         | 
| 180 | 
            +
                  },
         | 
| 181 | 
            +
                  {
         | 
| 182 | 
            +
                    "internalType": "uint72",
         | 
| 183 | 
            +
                    "name": "identityId",
         | 
| 184 | 
            +
                    "type": "uint72"
         | 
| 185 | 
            +
                  },
         | 
| 186 | 
            +
                  {
         | 
| 187 | 
            +
                    "internalType": "bytes",
         | 
| 188 | 
            +
                    "name": "nodeId",
         | 
| 189 | 
            +
                    "type": "bytes"
         | 
| 190 | 
            +
                  },
         | 
| 191 | 
            +
                  {
         | 
| 192 | 
            +
                    "internalType": "bytes32[]",
         | 
| 193 | 
            +
                    "name": "merkleProof",
         | 
| 194 | 
            +
                    "type": "bytes32[]"
         | 
| 195 | 
            +
                  },
         | 
| 196 | 
            +
                  {
         | 
| 197 | 
            +
                    "internalType": "bytes32",
         | 
| 198 | 
            +
                    "name": "merkleRoot",
         | 
| 199 | 
            +
                    "type": "bytes32"
         | 
| 200 | 
            +
                  },
         | 
| 201 | 
            +
                  {
         | 
| 202 | 
            +
                    "internalType": "bytes32",
         | 
| 203 | 
            +
                    "name": "chunkHash",
         | 
| 204 | 
            +
                    "type": "bytes32"
         | 
| 205 | 
            +
                  },
         | 
| 206 | 
            +
                  {
         | 
| 207 | 
            +
                    "internalType": "uint256",
         | 
| 208 | 
            +
                    "name": "challenge",
         | 
| 209 | 
            +
                    "type": "uint256"
         | 
| 210 | 
            +
                  }
         | 
| 211 | 
            +
                ],
         | 
| 212 | 
            +
                "name": "WrongMerkleProof",
         | 
| 213 | 
            +
                "type": "error"
         | 
| 214 | 
            +
              },
         | 
| 215 | 
            +
              {
         | 
| 216 | 
            +
                "anonymous": false,
         | 
| 217 | 
            +
                "inputs": [
         | 
| 218 | 
            +
                  {
         | 
| 219 | 
            +
                    "indexed": true,
         | 
| 220 | 
            +
                    "internalType": "address",
         | 
| 221 | 
            +
                    "name": "assetContract",
         | 
| 222 | 
            +
                    "type": "address"
         | 
| 223 | 
            +
                  },
         | 
| 224 | 
            +
                  {
         | 
| 225 | 
            +
                    "indexed": true,
         | 
| 226 | 
            +
                    "internalType": "uint256",
         | 
| 227 | 
            +
                    "name": "tokenId",
         | 
| 228 | 
            +
                    "type": "uint256"
         | 
| 229 | 
            +
                  },
         | 
| 230 | 
            +
                  {
         | 
| 231 | 
            +
                    "indexed": false,
         | 
| 232 | 
            +
                    "internalType": "bytes",
         | 
| 233 | 
            +
                    "name": "keyword",
         | 
| 234 | 
            +
                    "type": "bytes"
         | 
| 235 | 
            +
                  },
         | 
| 236 | 
            +
                  {
         | 
| 237 | 
            +
                    "indexed": false,
         | 
| 238 | 
            +
                    "internalType": "uint8",
         | 
| 239 | 
            +
                    "name": "hashFunctionId",
         | 
| 240 | 
            +
                    "type": "uint8"
         | 
| 241 | 
            +
                  },
         | 
| 242 | 
            +
                  {
         | 
| 243 | 
            +
                    "indexed": false,
         | 
| 244 | 
            +
                    "internalType": "uint16",
         | 
| 245 | 
            +
                    "name": "epoch",
         | 
| 246 | 
            +
                    "type": "uint16"
         | 
| 247 | 
            +
                  },
         | 
| 248 | 
            +
                  {
         | 
| 249 | 
            +
                    "indexed": false,
         | 
| 250 | 
            +
                    "internalType": "uint256",
         | 
| 251 | 
            +
                    "name": "stateIndex",
         | 
| 252 | 
            +
                    "type": "uint256"
         | 
| 253 | 
            +
                  },
         | 
| 254 | 
            +
                  {
         | 
| 255 | 
            +
                    "indexed": true,
         | 
| 256 | 
            +
                    "internalType": "uint72",
         | 
| 257 | 
            +
                    "name": "identityId",
         | 
| 258 | 
            +
                    "type": "uint72"
         | 
| 259 | 
            +
                  }
         | 
| 260 | 
            +
                ],
         | 
| 261 | 
            +
                "name": "ProofSubmitted",
         | 
| 262 | 
            +
                "type": "event"
         | 
| 263 | 
            +
              },
         | 
| 264 | 
            +
              {
         | 
| 265 | 
            +
                "inputs": [],
         | 
| 266 | 
            +
                "name": "assertionStorage",
         | 
| 267 | 
            +
                "outputs": [
         | 
| 268 | 
            +
                  {
         | 
| 269 | 
            +
                    "internalType": "contract AssertionStorage",
         | 
| 270 | 
            +
                    "name": "",
         | 
| 271 | 
            +
                    "type": "address"
         | 
| 272 | 
            +
                  }
         | 
| 273 | 
            +
                ],
         | 
| 274 | 
            +
                "stateMutability": "view",
         | 
| 275 | 
            +
                "type": "function"
         | 
| 276 | 
            +
              },
         | 
| 277 | 
            +
              {
         | 
| 278 | 
            +
                "inputs": [
         | 
| 279 | 
            +
                  {
         | 
| 280 | 
            +
                    "internalType": "address",
         | 
| 281 | 
            +
                    "name": "assetContract",
         | 
| 282 | 
            +
                    "type": "address"
         | 
| 283 | 
            +
                  },
         | 
| 284 | 
            +
                  {
         | 
| 285 | 
            +
                    "internalType": "uint256",
         | 
| 286 | 
            +
                    "name": "tokenId",
         | 
| 287 | 
            +
                    "type": "uint256"
         | 
| 288 | 
            +
                  },
         | 
| 289 | 
            +
                  {
         | 
| 290 | 
            +
                    "internalType": "uint16",
         | 
| 291 | 
            +
                    "name": "epoch",
         | 
| 292 | 
            +
                    "type": "uint16"
         | 
| 293 | 
            +
                  }
         | 
| 294 | 
            +
                ],
         | 
| 295 | 
            +
                "name": "getChallenge",
         | 
| 296 | 
            +
                "outputs": [
         | 
| 297 | 
            +
                  {
         | 
| 298 | 
            +
                    "internalType": "bytes32",
         | 
| 299 | 
            +
                    "name": "",
         | 
| 300 | 
            +
                    "type": "bytes32"
         | 
| 301 | 
            +
                  },
         | 
| 302 | 
            +
                  {
         | 
| 303 | 
            +
                    "internalType": "uint256",
         | 
| 304 | 
            +
                    "name": "",
         | 
| 305 | 
            +
                    "type": "uint256"
         | 
| 306 | 
            +
                  }
         | 
| 307 | 
            +
                ],
         | 
| 308 | 
            +
                "stateMutability": "view",
         | 
| 309 | 
            +
                "type": "function"
         | 
| 310 | 
            +
              },
         | 
| 311 | 
            +
              {
         | 
| 312 | 
            +
                "inputs": [],
         | 
| 313 | 
            +
                "name": "hashingProxy",
         | 
| 314 | 
            +
                "outputs": [
         | 
| 315 | 
            +
                  {
         | 
| 316 | 
            +
                    "internalType": "contract HashingProxy",
         | 
| 317 | 
            +
                    "name": "",
         | 
| 318 | 
            +
                    "type": "address"
         | 
| 319 | 
            +
                  }
         | 
| 320 | 
            +
                ],
         | 
| 321 | 
            +
                "stateMutability": "view",
         | 
| 322 | 
            +
                "type": "function"
         | 
| 323 | 
            +
              },
         | 
| 324 | 
            +
              {
         | 
| 325 | 
            +
                "inputs": [],
         | 
| 326 | 
            +
                "name": "hub",
         | 
| 327 | 
            +
                "outputs": [
         | 
| 328 | 
            +
                  {
         | 
| 329 | 
            +
                    "internalType": "contract Hub",
         | 
| 330 | 
            +
                    "name": "",
         | 
| 331 | 
            +
                    "type": "address"
         | 
| 332 | 
            +
                  }
         | 
| 333 | 
            +
                ],
         | 
| 334 | 
            +
                "stateMutability": "view",
         | 
| 335 | 
            +
                "type": "function"
         | 
| 336 | 
            +
              },
         | 
| 337 | 
            +
              {
         | 
| 338 | 
            +
                "inputs": [],
         | 
| 339 | 
            +
                "name": "identityStorage",
         | 
| 340 | 
            +
                "outputs": [
         | 
| 341 | 
            +
                  {
         | 
| 342 | 
            +
                    "internalType": "contract IdentityStorage",
         | 
| 343 | 
            +
                    "name": "",
         | 
| 344 | 
            +
                    "type": "address"
         | 
| 345 | 
            +
                  }
         | 
| 346 | 
            +
                ],
         | 
| 347 | 
            +
                "stateMutability": "view",
         | 
| 348 | 
            +
                "type": "function"
         | 
| 349 | 
            +
              },
         | 
| 350 | 
            +
              {
         | 
| 351 | 
            +
                "inputs": [],
         | 
| 352 | 
            +
                "name": "initialize",
         | 
| 353 | 
            +
                "outputs": [],
         | 
| 354 | 
            +
                "stateMutability": "nonpayable",
         | 
| 355 | 
            +
                "type": "function"
         | 
| 356 | 
            +
              },
         | 
| 357 | 
            +
              {
         | 
| 358 | 
            +
                "inputs": [
         | 
| 359 | 
            +
                  {
         | 
| 360 | 
            +
                    "internalType": "bytes32",
         | 
| 361 | 
            +
                    "name": "agreementId",
         | 
| 362 | 
            +
                    "type": "bytes32"
         | 
| 363 | 
            +
                  },
         | 
| 364 | 
            +
                  {
         | 
| 365 | 
            +
                    "internalType": "uint16",
         | 
| 366 | 
            +
                    "name": "epoch",
         | 
| 367 | 
            +
                    "type": "uint16"
         | 
| 368 | 
            +
                  }
         | 
| 369 | 
            +
                ],
         | 
| 370 | 
            +
                "name": "isProofWindowOpen",
         | 
| 371 | 
            +
                "outputs": [
         | 
| 372 | 
            +
                  {
         | 
| 373 | 
            +
                    "internalType": "bool",
         | 
| 374 | 
            +
                    "name": "",
         | 
| 375 | 
            +
                    "type": "bool"
         | 
| 376 | 
            +
                  }
         | 
| 377 | 
            +
                ],
         | 
| 378 | 
            +
                "stateMutability": "view",
         | 
| 379 | 
            +
                "type": "function"
         | 
| 380 | 
            +
              },
         | 
| 381 | 
            +
              {
         | 
| 382 | 
            +
                "inputs": [],
         | 
| 383 | 
            +
                "name": "name",
         | 
| 384 | 
            +
                "outputs": [
         | 
| 385 | 
            +
                  {
         | 
| 386 | 
            +
                    "internalType": "string",
         | 
| 387 | 
            +
                    "name": "",
         | 
| 388 | 
            +
                    "type": "string"
         | 
| 389 | 
            +
                  }
         | 
| 390 | 
            +
                ],
         | 
| 391 | 
            +
                "stateMutability": "pure",
         | 
| 392 | 
            +
                "type": "function"
         | 
| 393 | 
            +
              },
         | 
| 394 | 
            +
              {
         | 
| 395 | 
            +
                "inputs": [],
         | 
| 396 | 
            +
                "name": "parametersStorage",
         | 
| 397 | 
            +
                "outputs": [
         | 
| 398 | 
            +
                  {
         | 
| 399 | 
            +
                    "internalType": "contract ParametersStorage",
         | 
| 400 | 
            +
                    "name": "",
         | 
| 401 | 
            +
                    "type": "address"
         | 
| 402 | 
            +
                  }
         | 
| 403 | 
            +
                ],
         | 
| 404 | 
            +
                "stateMutability": "view",
         | 
| 405 | 
            +
                "type": "function"
         | 
| 406 | 
            +
              },
         | 
| 407 | 
            +
              {
         | 
| 408 | 
            +
                "inputs": [],
         | 
| 409 | 
            +
                "name": "profileStorage",
         | 
| 410 | 
            +
                "outputs": [
         | 
| 411 | 
            +
                  {
         | 
| 412 | 
            +
                    "internalType": "contract ProfileStorage",
         | 
| 413 | 
            +
                    "name": "",
         | 
| 414 | 
            +
                    "type": "address"
         | 
| 415 | 
            +
                  }
         | 
| 416 | 
            +
                ],
         | 
| 417 | 
            +
                "stateMutability": "view",
         | 
| 418 | 
            +
                "type": "function"
         | 
| 419 | 
            +
              },
         | 
| 420 | 
            +
              {
         | 
| 421 | 
            +
                "inputs": [
         | 
| 422 | 
            +
                  {
         | 
| 423 | 
            +
                    "internalType": "uint256",
         | 
| 424 | 
            +
                    "name": "",
         | 
| 425 | 
            +
                    "type": "uint256"
         | 
| 426 | 
            +
                  }
         | 
| 427 | 
            +
                ],
         | 
| 428 | 
            +
                "name": "reqs",
         | 
| 429 | 
            +
                "outputs": [
         | 
| 430 | 
            +
                  {
         | 
| 431 | 
            +
                    "internalType": "bool",
         | 
| 432 | 
            +
                    "name": "",
         | 
| 433 | 
            +
                    "type": "bool"
         | 
| 434 | 
            +
                  }
         | 
| 435 | 
            +
                ],
         | 
| 436 | 
            +
                "stateMutability": "view",
         | 
| 437 | 
            +
                "type": "function"
         | 
| 438 | 
            +
              },
         | 
| 439 | 
            +
              {
         | 
| 440 | 
            +
                "inputs": [
         | 
| 441 | 
            +
                  {
         | 
| 442 | 
            +
                    "components": [
         | 
| 443 | 
            +
                      {
         | 
| 444 | 
            +
                        "internalType": "address",
         | 
| 445 | 
            +
                        "name": "assetContract",
         | 
| 446 | 
            +
                        "type": "address"
         | 
| 447 | 
            +
                      },
         | 
| 448 | 
            +
                      {
         | 
| 449 | 
            +
                        "internalType": "uint256",
         | 
| 450 | 
            +
                        "name": "tokenId",
         | 
| 451 | 
            +
                        "type": "uint256"
         | 
| 452 | 
            +
                      },
         | 
| 453 | 
            +
                      {
         | 
| 454 | 
            +
                        "internalType": "bytes",
         | 
| 455 | 
            +
                        "name": "keyword",
         | 
| 456 | 
            +
                        "type": "bytes"
         | 
| 457 | 
            +
                      },
         | 
| 458 | 
            +
                      {
         | 
| 459 | 
            +
                        "internalType": "uint8",
         | 
| 460 | 
            +
                        "name": "hashFunctionId",
         | 
| 461 | 
            +
                        "type": "uint8"
         | 
| 462 | 
            +
                      },
         | 
| 463 | 
            +
                      {
         | 
| 464 | 
            +
                        "internalType": "uint16",
         | 
| 465 | 
            +
                        "name": "epoch",
         | 
| 466 | 
            +
                        "type": "uint16"
         | 
| 467 | 
            +
                      },
         | 
| 468 | 
            +
                      {
         | 
| 469 | 
            +
                        "internalType": "bytes32[]",
         | 
| 470 | 
            +
                        "name": "proof",
         | 
| 471 | 
            +
                        "type": "bytes32[]"
         | 
| 472 | 
            +
                      },
         | 
| 473 | 
            +
                      {
         | 
| 474 | 
            +
                        "internalType": "bytes32",
         | 
| 475 | 
            +
                        "name": "chunkHash",
         | 
| 476 | 
            +
                        "type": "bytes32"
         | 
| 477 | 
            +
                      }
         | 
| 478 | 
            +
                    ],
         | 
| 479 | 
            +
                    "internalType": "struct ServiceAgreementStructsV1.ProofInputArgs",
         | 
| 480 | 
            +
                    "name": "args",
         | 
| 481 | 
            +
                    "type": "tuple"
         | 
| 482 | 
            +
                  }
         | 
| 483 | 
            +
                ],
         | 
| 484 | 
            +
                "name": "sendProof",
         | 
| 485 | 
            +
                "outputs": [],
         | 
| 486 | 
            +
                "stateMutability": "nonpayable",
         | 
| 487 | 
            +
                "type": "function"
         | 
| 488 | 
            +
              },
         | 
| 489 | 
            +
              {
         | 
| 490 | 
            +
                "inputs": [],
         | 
| 491 | 
            +
                "name": "serviceAgreementStorageProxy",
         | 
| 492 | 
            +
                "outputs": [
         | 
| 493 | 
            +
                  {
         | 
| 494 | 
            +
                    "internalType": "contract ServiceAgreementStorageProxy",
         | 
| 495 | 
            +
                    "name": "",
         | 
| 496 | 
            +
                    "type": "address"
         | 
| 497 | 
            +
                  }
         | 
| 498 | 
            +
                ],
         | 
| 499 | 
            +
                "stateMutability": "view",
         | 
| 500 | 
            +
                "type": "function"
         | 
| 501 | 
            +
              },
         | 
| 502 | 
            +
              {
         | 
| 503 | 
            +
                "inputs": [
         | 
| 504 | 
            +
                  {
         | 
| 505 | 
            +
                    "internalType": "uint256",
         | 
| 506 | 
            +
                    "name": "index",
         | 
| 507 | 
            +
                    "type": "uint256"
         | 
| 508 | 
            +
                  },
         | 
| 509 | 
            +
                  {
         | 
| 510 | 
            +
                    "internalType": "bool",
         | 
| 511 | 
            +
                    "name": "req",
         | 
| 512 | 
            +
                    "type": "bool"
         | 
| 513 | 
            +
                  }
         | 
| 514 | 
            +
                ],
         | 
| 515 | 
            +
                "name": "setReq",
         | 
| 516 | 
            +
                "outputs": [],
         | 
| 517 | 
            +
                "stateMutability": "nonpayable",
         | 
| 518 | 
            +
                "type": "function"
         | 
| 519 | 
            +
              },
         | 
| 520 | 
            +
              {
         | 
| 521 | 
            +
                "inputs": [],
         | 
| 522 | 
            +
                "name": "stakingContract",
         | 
| 523 | 
            +
                "outputs": [
         | 
| 524 | 
            +
                  {
         | 
| 525 | 
            +
                    "internalType": "contract Staking",
         | 
| 526 | 
            +
                    "name": "",
         | 
| 527 | 
            +
                    "type": "address"
         | 
| 528 | 
            +
                  }
         | 
| 529 | 
            +
                ],
         | 
| 530 | 
            +
                "stateMutability": "view",
         | 
| 531 | 
            +
                "type": "function"
         | 
| 532 | 
            +
              },
         | 
| 533 | 
            +
              {
         | 
| 534 | 
            +
                "inputs": [],
         | 
| 535 | 
            +
                "name": "version",
         | 
| 536 | 
            +
                "outputs": [
         | 
| 537 | 
            +
                  {
         | 
| 538 | 
            +
                    "internalType": "string",
         | 
| 539 | 
            +
                    "name": "",
         | 
| 540 | 
            +
                    "type": "string"
         | 
| 541 | 
            +
                  }
         | 
| 542 | 
            +
                ],
         | 
| 543 | 
            +
                "stateMutability": "pure",
         | 
| 544 | 
            +
                "type": "function"
         | 
| 545 | 
            +
              }
         | 
| 546 | 
            +
            ]
         |