You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Signs all tx's it can according to given transaction type (use it with AllNeededForDeposit to get almost all tx's)
366
382
// Creates the transactions denoted by the deposit and operator_idx, round_idx, and kickoff_idx.
@@ -411,7 +427,8 @@ message NonceGenRequest {
411
427
412
428
messageNonceGenFirstResponse {
413
429
// ID of the nonce session (used to store nonces in verifier's memory)
414
-
uint32id=1;
430
+
// The id is string representation of a u128 number
431
+
stringid=1;
415
432
// Number of nonces to generate
416
433
uint32num_nonces=2;
417
434
}
@@ -422,8 +439,34 @@ message NonceGenResponse {
422
439
}
423
440
}
424
441
425
-
messageOptimisticPayoutParams {
442
+
messageOptimisticWithdrawParams {
426
443
WithdrawParamswithdrawal=1;
444
+
// An ECDSA signature (of citrea/aggregator) over the withdrawal params
445
+
// to authenticate the withdrawal params. This will be signed manually by citrea
446
+
// after manual verification of the optimistic payout.
447
+
optionalstringverification_signature=2;
448
+
}
449
+
450
+
messageWithdrawParamsWithSig {
451
+
WithdrawParamswithdrawal=1;
452
+
// An ECDSA signature (of citrea/aggregator) over the withdrawal params
453
+
// to authenticate the withdrawal params. This will be signed manually by citrea
454
+
// after manual verification of the optimistic payout.
455
+
// This message contains same data as the one in Optimistic Payout signature, but with a different message name,
456
+
// so that the same signature can't be used for both optimistic payout and normal withdrawal.
457
+
optionalstringverification_signature=2;
458
+
}
459
+
460
+
// Input of the aggregator's withdraw function.
461
+
// It contains the withdrawal params along with the verification signature that signs the withdrawal params.
462
+
// It also contains the operator's xonly public keys that the withdrawal request should be sent to. If the list is empty, the withdrawal will be sent to all operators.
0 commit comments