-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zianksm/feature-adjust-interface
Feature adjust interface
- Loading branch information
Showing
12 changed files
with
160 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
use subxt::{tx::SubmittableExtrinsic, OnlineClient, PolkadotConfig}; | ||
|
||
use crate::tx::extrinsics::prelude::{ | ||
transfer_nft_contract::types::ContractTransactionPayload, NotificationMessage, | ||
}; | ||
use crate::{tx::extrinsics::prelude::{ | ||
transfer_nft_contract::types::ContractTransactionPayload, extrinsics::TransactionMessage, | ||
}, types::{SenderChannel, ReceiverChannel}}; | ||
|
||
pub type MigrationTask<T> = std::pin::Pin<Box<dyn futures::Future<Output = T>>>; | ||
pub type MigrationTransactionPayload = ContractTransactionPayload; | ||
pub type MigrationTransactionResultNotifier = | ||
tokio::sync::mpsc::UnboundedSender<NotificationMessage>; | ||
SenderChannel<TransactionMessage>; | ||
pub type MigrationTransactionResultReceiver = | ||
tokio::sync::mpsc::UnboundedReceiver<NotificationMessage>; | ||
ReceiverChannel<TransactionMessage>; | ||
pub type MigrationTransaction = SubmittableExtrinsic<PolkadotConfig, OnlineClient<PolkadotConfig>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
pub mod reserve; | ||
pub mod traits; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.