Registry / other / fabric-support

fabric-support

JSON →
library2.0.0rscratesunverified

Support code for the runtime.

# Cargo.toml [dependencies] fabric-support = "2.0.0"
INSTALL
IMPORT
SIG · FABRIC-SUPPORT
F
fabric-support
otherrustv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Currency
use fabric_support::traits::Currency;

Gets the free balance of an account using the Currency trait.

use fabric_support::traits::Currency; fn get_balance<C: Currency<AccountId>>(currency: &C, who: &AccountId) -> C::Balance { currency.free_balance(who) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Meta
1
Resources
fabric-support — cargo add fabric-support · libregistry