pub type LocalOriginToLocation = SignedToAccountId32<RuntimeOrigin, AccountId, RococoNetwork>;
Expand description
Local origins on this chain are allowed to dispatch XCM sends/executions.
Aliased Type§
struct LocalOriginToLocation(/* private fields */);
Trait Implementations
Source§impl<RuntimeOrigin, AccountId, Network> TryConvert<RuntimeOrigin, Location> for SignedToAccountId32<RuntimeOrigin, AccountId, Network>where
RuntimeOrigin: OriginTrait + Clone,
AccountId: Into<[u8; 32]>,
Network: Get<Option<NetworkId>>,
<RuntimeOrigin as OriginTrait>::PalletsOrigin: From<RawOrigin<AccountId>> + TryInto<RawOrigin<AccountId>, Error = <RuntimeOrigin as OriginTrait>::PalletsOrigin>,
impl<RuntimeOrigin, AccountId, Network> TryConvert<RuntimeOrigin, Location> for SignedToAccountId32<RuntimeOrigin, AccountId, Network>where
RuntimeOrigin: OriginTrait + Clone,
AccountId: Into<[u8; 32]>,
Network: Get<Option<NetworkId>>,
<RuntimeOrigin as OriginTrait>::PalletsOrigin: From<RawOrigin<AccountId>> + TryInto<RawOrigin<AccountId>, Error = <RuntimeOrigin as OriginTrait>::PalletsOrigin>,
Source§fn try_convert(o: RuntimeOrigin) -> Result<Location, RuntimeOrigin>
fn try_convert(o: RuntimeOrigin) -> Result<Location, RuntimeOrigin>
Attempt to make conversion. If returning Result::Err, the inner must always be
a
.