diff --git a/new/0074-stateful-multisig-pallet.html b/new/0074-stateful-multisig-pallet.html index 3283d1b..6507b04 100644 --- a/new/0074-stateful-multisig-pallet.html +++ b/new/0074-stateful-multisig-pallet.html @@ -286,6 +286,14 @@ DAOs can utilize multisig accounts to ensure that decisions are made collectivel
  • Any multisig account owener can execute proposal if it's approved by enough signers. (Dave in the diagram)
  • State Transition Functions

    +

    having the following enum to store the call or the hash:

    +
    #![allow(unused)]
    +fn main() {
    +enum CallOrHash<T: Config> {
    +	Call(<T as Config>::RuntimeCall),
    +	Hash(T::Hash),
    +}
    +}
    @@ -327,7 +335,7 @@ DAOs can utilize multisig accounts to ensure that decisions are made collectivel /// # Arguments /// /// * `multisig_account` - The multisig account ID. - /// * `call` - The dispatchable call to be executed. + /// * `call_or_hash` - The enum having the call or the hash of the call to be approved and executed later. /// /// # Errors /// @@ -337,7 +345,7 @@ DAOs can utilize multisig accounts to ensure that decisions are made collectivel pub fn start_proposal( origin: OriginFor<T>, multisig_account: T::AccountId, - call_hash: T::Hash, + call_or_hash: CallOrHash, ) -> DispatchResult }