From 97b06e1eaf2577007ec414c7132aced07bb8f29e Mon Sep 17 00:00:00 2001
From: joshua-mir <joshua@parity.io>
Date: Tue, 8 Sep 2020 11:41:27 +0200
Subject: [PATCH] Add metadata shadows to multisig pallet (#7029)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Add metadata shadows to multisig pallet

* Update frame/multisig/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
---
 substrate/frame/multisig/src/lib.rs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/substrate/frame/multisig/src/lib.rs b/substrate/frame/multisig/src/lib.rs
index f8f6e8ed63b..72a0f7cd070 100644
--- a/substrate/frame/multisig/src/lib.rs
+++ b/substrate/frame/multisig/src/lib.rs
@@ -262,6 +262,16 @@ decl_module! {
 		/// Deposit one of this module's events by using the default implementation.
 		fn deposit_event() = default;
 
+		/// The base amount of currency needed to reserve for creating a multisig execution or to store
+		/// a dispatch call for later.
+		const DepositBase: BalanceOf<T> = T::DepositBase::get();
+
+		/// The amount of currency needed per unit threshold when creating a multisig execution.
+		const DepositFactor: BalanceOf<T> = T::DepositFactor::get();
+
+		/// The maximum amount of signatories allowed for a given multisig.
+		const MaxSignatories: u16 = T::MaxSignatories::get();
+
 		/// Immediately dispatch a multi-signature call using a single approval from the caller.
 		///
 		/// The dispatch origin for this call must be _Signed_.
-- 
GitLab