mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-26 12:21:08 +00:00
2ab3f03f0b
Removes the `bridges/snowbridge/parachain` directory and moves everything up to under `snowbridge` directly. We are cleaning up our local dev env after merging our crates into the polkadot-sdk. --------- Co-authored-by: claravanstaden <Cats 4 life!>
14 lines
326 B
Rust
14 lines
326 B
Rust
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
use snowbridge_core::AgentId;
|
|
use xcm::VersionedLocation;
|
|
|
|
sp_api::decl_runtime_apis! {
|
|
pub trait ControlApi
|
|
{
|
|
fn agent_id(location: VersionedLocation) -> Option<AgentId>;
|
|
}
|
|
}
|