diff --git a/deployment/artifacts/lynx.json b/deployment/artifacts/lynx.json index 20114c44..8e11555a 100644 --- a/deployment/artifacts/lynx.json +++ b/deployment/artifacts/lynx.json @@ -1037,12 +1037,12 @@ "stateMutability": "pure", "inputs": [ { - "name": "pending", + "name": "", "type": "uint256", "internalType": "uint256" }, { - "name": "duration", + "name": "", "type": "uint256", "internalType": "uint256" } @@ -1087,6 +1087,57 @@ } ] }, + { + "type": "function", + "name": "getParticipant", + "stateMutability": "view", + "inputs": [ + { + "name": "ritualId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "provider", + "type": "address", + "internalType": "address" + }, + { + "name": "transcript", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "components": [ + { + "name": "provider", + "type": "address", + "internalType": "address" + }, + { + "name": "aggregated", + "type": "bool", + "internalType": "bool" + }, + { + "name": "transcript", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "decryptionRequestStaticKey", + "type": "bytes", + "internalType": "bytes" + } + ], + "internalType": "struct Coordinator.Participant" + } + ] + }, { "type": "function", "name": "getParticipantFromProvider", @@ -1180,12 +1231,12 @@ "stateMutability": "view", "inputs": [ { - "name": "_provider", + "name": "provider", "type": "address", "internalType": "address" }, { - "name": "_ritualId", + "name": "ritualId", "type": "uint256", "internalType": "uint256" } @@ -1215,6 +1266,25 @@ } ] }, + { + "type": "function", + "name": "getProviders", + "stateMutability": "view", + "inputs": [ + { + "name": "ritualId", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ] + }, { "type": "function", "name": "getPublicKeyFromRitualId", @@ -1228,7 +1298,7 @@ ], "outputs": [ { - "name": "dkgPublicKey", + "name": "", "type": "tuple", "components": [ { @@ -1499,13 +1569,37 @@ } ] }, + { + "type": "function", + "name": "isParticipant", + "stateMutability": "view", + "inputs": [ + { + "name": "ritualId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "provider", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ] + }, { "type": "function", "name": "isProviderPublicKeySet", "stateMutability": "view", "inputs": [ { - "name": "_provider", + "name": "provider", "type": "address", "internalType": "address" } @@ -1863,7 +1957,7 @@ "stateMutability": "nonpayable", "inputs": [ { - "name": "_publicKey", + "name": "publicKey", "type": "tuple", "components": [ {