Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions node/primitives/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,6 @@ pub trait TokenPriceHandler<CurrencyId, Price> {
fn set_token_price(asset_id: CurrencyId, price: Price);
}

/// Asset redeem handler
pub trait AssetRedeem<CurrencyId, AccountId, Balance> {
/// Asset redeem
fn asset_redeem(
asset_id: CurrencyId,
target: AccountId,
amount: Balance,
to_name: Option<Vec<u8>>,
);
}

/// Bridge asset from other blockchain to Bifrost
pub trait BridgeAssetFrom<AccountId, CurrencyId, Precision, Balance> {
fn bridge_asset_from(
target: AccountId,
bridge_asset: BridgeAssetBalance<AccountId, CurrencyId, Precision, Balance>,
);
}

/// Bridge asset from Bifrost to other blockchain
pub trait BridgeAssetTo<AccountId, CurrencyId, Precision, Balance> {
type Error;
Expand Down
32 changes: 0 additions & 32 deletions pallets/bridge/Cargo.toml

This file was deleted.

147 changes: 0 additions & 147 deletions pallets/bridge/src/lib.rs

This file was deleted.

86 changes: 0 additions & 86 deletions pallets/bridge/src/mock.rs

This file was deleted.

21 changes: 0 additions & 21 deletions pallets/bridge/src/tests.rs

This file was deleted.