Skip to content

Commit

Permalink
chore: fix missing imports in pallet creditcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
beqaabu committed Aug 11, 2024
1 parent 145c780 commit 52eaa6d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pallets/creditcoin/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ pub enum Blockchain {
Other(OtherChain),
}

#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
pub struct BurnId(pub u64);

#[derive(Clone, Encode, Decode, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)]
pub struct BurnInfo<AccountId, Balance> {
pub account: AccountId,
pub amount: Balance,
pub collector: AccountId,
}

impl Blockchain {
pub fn as_bytes(&self) -> &[u8] {
match self {
Expand Down

0 comments on commit 52eaa6d

Please sign in to comment.