File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2642,11 +2642,19 @@ pub mod zkapp_command {
26422642 /// <https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/pickles/pickles_intf.ml#L316>
26432643 pub type SideLoadedProof = Arc < mina_p2p_messages:: v2:: PicklesProofProofsVerifiedMaxStableV2 > ;
26442644
2645+ /// Authorization methods for zkApp account updates.
2646+ ///
2647+ /// Defines how an account update is authorized to modify an account's state.
2648+ ///
26452649 /// <https://github.com/MinaProtocol/mina/blob/2ee6e004ba8c6a0541056076aab22ea162f7eb3a/src/lib/mina_base/control.ml#L11>
26462650 #[ derive( Clone , PartialEq ) ]
26472651 pub enum Control {
2652+ /// Verified by a zero-knowledge proof against the account's verification
2653+ /// key.
26482654 Proof ( SideLoadedProof ) ,
2655+ /// Signed by the account's private key.
26492656 Signature ( Signature ) ,
2657+ /// No authorization (only valid for certain operations).
26502658 NoneGiven ,
26512659 }
26522660
You can’t perform that action at this time.
0 commit comments