Repot frame_support::traits; introduce some new currency stuff (#8435)
* Reservable, Transferrable Fungible(s), plus adapters.
* Repot into new dir
* Imbalances for Fungibles
* Repot and balanced fungible.
* Clean up names and bridge-over Imbalanced.
* Repot frame_support::trait. Finally.
* Make build.
* Docs
* Good errors
* Fix tests. Implement fungible::Inspect for Balances.
* Implement additional traits for Balances.
* Revert UI test "fixes"
* Fix UI error
* Fix UI test
* Fixes
* Update lock
* Grumbles
* Grumbles
* Fixes
Co-authored-by:
Bastian Köcher <info@kchr.de>
Showing
- substrate/frame/assets/src/lib.rs 86 additions, 19 deletionssubstrate/frame/assets/src/lib.rs
- substrate/frame/balances/src/lib.rs 166 additions, 8 deletionssubstrate/frame/balances/src/lib.rs
- substrate/frame/support/src/traits.rs 52 additions, 2328 deletionssubstrate/frame/support/src/traits.rs
- substrate/frame/support/src/traits/dispatch.rs 87 additions, 0 deletionssubstrate/frame/support/src/traits/dispatch.rs
- substrate/frame/support/src/traits/filter.rs 282 additions, 0 deletionssubstrate/frame/support/src/traits/filter.rs
- substrate/frame/support/src/traits/hooks.rs 349 additions, 0 deletionssubstrate/frame/support/src/traits/hooks.rs
- substrate/frame/support/src/traits/members.rs 142 additions, 0 deletionssubstrate/frame/support/src/traits/members.rs
- substrate/frame/support/src/traits/metadata.rs 168 additions, 0 deletionssubstrate/frame/support/src/traits/metadata.rs
- substrate/frame/support/src/traits/misc.rs 271 additions, 0 deletionssubstrate/frame/support/src/traits/misc.rs
- substrate/frame/support/src/traits/randomness.rs 54 additions, 0 deletionssubstrate/frame/support/src/traits/randomness.rs
- substrate/frame/support/src/traits/schedule.rs 133 additions, 0 deletionssubstrate/frame/support/src/traits/schedule.rs
- substrate/frame/support/src/traits/storage.rs 45 additions, 0 deletionssubstrate/frame/support/src/traits/storage.rs
- substrate/frame/support/src/traits/stored_map.rs 141 additions, 0 deletionssubstrate/frame/support/src/traits/stored_map.rs
- substrate/frame/support/src/traits/tokens.rs 28 additions, 0 deletionssubstrate/frame/support/src/traits/tokens.rs
- substrate/frame/support/src/traits/tokens/currency.rs 208 additions, 0 deletionssubstrate/frame/support/src/traits/tokens/currency.rs
- substrate/frame/support/src/traits/tokens/currency/lockable.rs 104 additions, 0 deletions...rate/frame/support/src/traits/tokens/currency/lockable.rs
- substrate/frame/support/src/traits/tokens/currency/reservable.rs 83 additions, 0 deletions...te/frame/support/src/traits/tokens/currency/reservable.rs
- substrate/frame/support/src/traits/tokens/fungible.rs 218 additions, 0 deletionssubstrate/frame/support/src/traits/tokens/fungible.rs
- substrate/frame/support/src/traits/tokens/fungible/balanced.rs 363 additions, 0 deletions...rate/frame/support/src/traits/tokens/fungible/balanced.rs
- substrate/frame/support/src/traits/tokens/fungible/imbalance.rs 162 additions, 0 deletions...ate/frame/support/src/traits/tokens/fungible/imbalance.rs
Please register or sign in to comment