@iden3/universal-verifier-v2-abi
Version:
585 lines • 13.7 kB
JSON
[
{
"inputs": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
},
{
"internalType": "address",
"name": "userAddress",
"type": "address"
}
],
"name": "areMultiRequestProofsVerified",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "groupID",
"type": "uint256"
}
],
"name": "getGroupedRequests",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "contract IRequestValidator",
"name": "validator",
"type": "address"
},
{
"internalType": "bytes",
"name": "params",
"type": "bytes"
},
{
"internalType": "address",
"name": "creator",
"type": "address"
}
],
"internalType": "struct IVerifier.RequestInfo[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getGroupsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
}
],
"name": "getMultiRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "requestIds",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "groupIds",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"internalType": "struct IVerifier.MultiRequest",
"name": "multiRequest",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
},
{
"internalType": "address",
"name": "userAddress",
"type": "address"
}
],
"name": "getMultiRequestProofsStatus",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isVerified",
"type": "bool"
},
{
"internalType": "string",
"name": "validatorVersion",
"type": "string"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
],
"internalType": "struct IVerifier.RequestProofStatus[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "getRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "contract IRequestValidator",
"name": "validator",
"type": "address"
},
{
"internalType": "bytes",
"name": "params",
"type": "bytes"
},
{
"internalType": "address",
"name": "creator",
"type": "address"
}
],
"internalType": "struct IVerifier.RequestInfo",
"name": "request",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "getRequestProofStatus",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isVerified",
"type": "bool"
},
{
"internalType": "string",
"name": "validatorVersion",
"type": "string"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
],
"internalType": "struct IVerifier.RequestProofStatus",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getRequestsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "string",
"name": "responseFieldName",
"type": "string"
}
],
"name": "getResponseFieldValue",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "getResponseFields",
"outputs": [
{
"components": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "rawValue",
"type": "bytes"
}
],
"internalType": "struct IRequestValidator.ResponseField[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "groupId",
"type": "uint256"
}
],
"name": "groupIdExists",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "isRequestProofVerified",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
}
],
"name": "multiRequestIdExists",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
}
],
"name": "requestIdExists",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "authMethod",
"type": "string"
},
{
"internalType": "contract IAuthValidator",
"name": "validator",
"type": "address"
},
{
"internalType": "bytes",
"name": "params",
"type": "bytes"
}
],
"internalType": "struct IVerifier.AuthMethod",
"name": "authMethod",
"type": "tuple"
}
],
"name": "setAuthMethod",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "multiRequestId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "requestIds",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "groupIds",
"type": "uint256[]"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"internalType": "struct IVerifier.MultiRequest",
"name": "multiRequest",
"type": "tuple"
}
],
"name": "setMultiRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "contract IRequestValidator",
"name": "validator",
"type": "address"
},
{
"internalType": "bytes",
"name": "params",
"type": "bytes"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"internalType": "struct IVerifier.Request[]",
"name": "requests",
"type": "tuple[]"
}
],
"name": "setRequests",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "authMethod",
"type": "string"
},
{
"internalType": "bytes",
"name": "proof",
"type": "bytes"
}
],
"internalType": "struct IVerifier.AuthResponse",
"name": "authResponse",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "requestId",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "proof",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"internalType": "struct IVerifier.Response[]",
"name": "responses",
"type": "tuple[]"
},
{
"internalType": "bytes",
"name": "crossChainProofs",
"type": "bytes"
}
],
"name": "submitResponse",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]