mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 03:17:56 +00:00
Expose constants from Proxy Pallet (#6420)
This commit is contained in:
@@ -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`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user