mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-01 12:55:45 +00:00
18d53dbf91
# Description Adds Snowbridge to the Rococo bridge hub runtime. Includes config changes required in Rococo asset hub. --------- Co-authored-by: Alistair Singh <alistair.singh7@gmail.com> Co-authored-by: ron <yrong1997@gmail.com> Co-authored-by: Vincent Geddes <vincent.geddes@hey.com> Co-authored-by: claravanstaden <Cats 4 life!>
14 lines
336 B
Rust
14 lines
336 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::VersionedMultiLocation;
|
|
|
|
sp_api::decl_runtime_apis! {
|
|
pub trait ControlApi
|
|
{
|
|
fn agent_id(location: VersionedMultiLocation) -> Option<AgentId>;
|
|
}
|
|
}
|