Expose constants from Proxy Pallet (#6420)

This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2020-06-19 08:26:06 +02:00
1 parent 46627bbb7d
commit 015693227b
1 file changed
+9
+9
View File
@@ -135,6 +135,15 @@ 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 proxy.
const ProxyDepositBase: BalanceOf<T> = T::ProxyDepositBase::get();
/// The amount of currency needed per proxy added.
const ProxyDepositFactor: BalanceOf<T> = T::ProxyDepositFactor::get();
/// The maximum amount of proxies allowed for a single account.
const MaxProxies: u16 = T::MaxProxies::get();
/// Dispatch the given `call` from an account that the sender is authorised for through
/// `add_proxy`.
///