difftreelog
Merge branch 'master' of github.com:usetech-llc/nft_parachain
in: master
4 files changed
node/src/chain_spec.rsdiffbeforeafterboth115 balances: endowed_accounts115 balances: endowed_accounts116 .iter()116 .iter()117 .cloned()117 .cloned()118 .map(|k| (k, 1 << 60))118 .map(|k| (k, 1 << 100))119 .collect(),119 .collect(),120 }),120 }),121 aura: Some(AuraConfig {121 aura: Some(AuraConfig {pallets/nft/src/lib.rsdiffbeforeafterboth108 AccountId = <T as system::Trait>::AccountId,108 AccountId = <T as system::Trait>::AccountId,109 {109 {110 Created(u64, AccountId),110 Created(u64, AccountId),111 ItemCreated(u64),111 ItemCreated(u64, u64),112 ItemDestroyed(u64, u64),112 ItemDestroyed(u64, u64),113 }113 }114);114);352 <ItemList<T>>::insert((collection_id, current_index), new_item);352 <ItemList<T>>::insert((collection_id, current_index), new_item);353353354 // call event354 // call event355 Self::deposit_event(RawEvent::ItemCreated(collection_id));355 Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index));356356357 Ok(())357 Ok(())358 }358 }smart_contract/ink-types-node-runtime/.gitignorediffbeforeafterboth1# Ignore build artifacts1# Ignore build artifacts2/target/2/target/3/**/target/3/examples/**/target/445# Ignore backup files creates by cargo fmt.5# Ignore backup files creates by cargo fmt.6**/*.rs.bk6**/*.rs.bk13**/.vscode/**13**/.vscode/**141415# Ignore history files.15# Ignore history files.16**/.history/**16**/.history/**17smart_contract/ink-types-node-runtime/calls/lib.rsdiffbeforeafterboth105 }105 }106 }106 }107108 #[ink(message)]109 fn get_test(&self) -> bool {110 true111 }112107113 #[ink(message)]108 #[ink(message)]114 fn transfer_from(&self, collection_id: u64, item_id: u64, new_owner: AccountId) {109 fn transfer_from(&self, collection_id: u64, item_id: u64, new_owner: AccountId) {