Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Expose Constants from Proxy Pallet #6420

Merged
merged 1 commit into from
Jun 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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