referrerpolicy=no-referrer-when-downgrade
penpal_runtime

Type Alias PoolIdToAccountId

Source
pub type PoolIdToAccountId = AccountIdConverter<AssetConversionPalletId, (Location, Location)>;

Aliased Type§

struct PoolIdToAccountId(/* private fields */);

Trait Implementations

Source§

impl<Seed, PoolId, AccountId> TryConvert<&PoolId, AccountId> for AccountIdConverter<Seed, PoolId>
where PoolId: Encode, AccountId: Decode, Seed: Get<PalletId>,

Source§

fn try_convert(id: &PoolId) -> Result<AccountId, &PoolId>

Attempt to make conversion. If returning Result::Err, the inner must always be a.