Skip to content

Commit

Permalink
remove redundant data
Browse files Browse the repository at this point in the history
  • Loading branch information
Maar-io committed Nov 24, 2022
1 parent 4b22b25 commit bfce2ab
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions logics/impls/rmrk/errors.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
//! Error definition for RMRK contract
//!
use openbrush::traits::{Balance, String};
pub const STORAGE_KEY: u32 = openbrush::storage_unique_key!(Data);

#[derive(Default, Debug)]
#[openbrush::upgradeable_storage(STORAGE_KEY)]
pub struct Data {
pub last_token_id: u64,
pub collection_id: u32,
pub max_supply: u64,
pub price_per_mint: Balance,
}
use openbrush::traits::String;

#[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)]
#[cfg_attr(feature = "std", derive(scale_info::TypeInfo))]
Expand Down

0 comments on commit bfce2ab

Please sign in to comment.