Generalised proxies in Polkadot (#1190)

* Introduce generalised proxies to polkadot

* Introduce proxy to westend

* Add proxy to Kusama.

* Fix
This commit is contained in:
Gavin Wood
2020-06-04 20:30:38 +02:00
committed by GitHub
parent 3d0bda8a42
commit f2c6eee7f1
27 changed files with 357 additions and 185 deletions
+4
View File
@@ -22,6 +22,10 @@ pub mod currency {
pub const DOLLARS: Balance = DOTS;
pub const CENTS: Balance = DOLLARS / 100;
pub const MILLICENTS: Balance = CENTS / 1_000;
pub const fn deposit(items: u32, bytes: u32) -> Balance {
items as Balance * 15 * CENTS + (bytes as Balance) * 6 * CENTS
}
}
/// Time and blocks.