Unverified Commit 6f3d890e authored by Muharem Ismailov's avatar Muharem Ismailov Committed by GitHub
Browse files

FRAME: Unity Balance Conversion for Different IDs of Native Asset (#3659)



Introduce types to define 1:1 balance conversion for different relative
asset ids/locations of native asset.

Examples:
native asset on Asset Hub presented as `VersionedLocatableAsset` type in
the context of Relay Chain is
```
{
  `location`: (0, Parachain(1000)),
  `asset_id`: (1, Here),
}
```
and it's balance should be converted 1:1 by implementations of
`ConversionToAssetBalance` trait.

---------

Co-authored-by: default avatarBranislav Kontur <[email protected]>
parent 753bf2d8
Pipeline #466286 passed with warnings with stages
in 1 hour, 8 minutes, and 29 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment