Skip to content

Commit a69245b

Browse files
authored
Expose constants from Proxy Pallet (#6420)
1 parent 4e1ebc2 commit a69245b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ decl_module! {
135135
/// Deposit one of this module's events by using the default implementation.
136136
fn deposit_event() = default;
137137

138+
/// The base amount of currency needed to reserve for creating a proxy.
139+
const ProxyDepositBase: BalanceOf<T> = T::ProxyDepositBase::get();
140+
141+
/// The amount of currency needed per proxy added.
142+
const ProxyDepositFactor: BalanceOf<T> = T::ProxyDepositFactor::get();
143+
144+
/// The maximum amount of proxies allowed for a single account.
145+
const MaxProxies: u16 = T::MaxProxies::get();
146+
138147
/// Dispatch the given `call` from an account that the sender is authorised for through
139148
/// `add_proxy`.
140149
///

0 commit comments

Comments
 (0)