Skip to content

Commit

Permalink
Expose constants from Proxy Pallet (paritytech#6420)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi authored Jun 19, 2020
1 parent 4f0b601 commit 369f9fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frame/proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down

0 comments on commit 369f9fc

Please sign in to comment.