379cb741ed
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
22 lines
848 B
Rust
22 lines
848 B
Rust
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
use pezframe_support::traits::tokens::Balance as BalanceT;
|
|
use snowbridge_core::PricingParameters;
|
|
use snowbridge_merkle_tree::MerkleProof;
|
|
use snowbridge_outbound_queue_primitives::v1::{Command, Fee};
|
|
|
|
pezsp_api::decl_runtime_apis! {
|
|
pub trait OutboundQueueApi<Balance> where Balance: BalanceT
|
|
{
|
|
/// Generate a merkle proof for a committed message identified by `leaf_index`.
|
|
/// The merkle root is stored in the block header as a
|
|
/// `pezsp_runtime::generic::DigestItem::Other`
|
|
fn prove_message(leaf_index: u64) -> Option<MerkleProof>;
|
|
|
|
/// Calculate the delivery fee for `command`
|
|
fn calculate_fee(command: Command, parameters: Option<PricingParameters<Balance>>) -> Fee<Balance>;
|
|
}
|
|
}
|