git.delta.rocks / unique-network / refs/commits / 49a238852f14

difftreelog

White list state updated

str-mv2020-08-03parent: #256d067.patch.diff
in: master

1 file changed

modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
86 pub description: Vec<u16>, // 256 include null escape char86 pub description: Vec<u16>, // 256 include null escape char
87 pub token_prefix: Vec<u8>, // 16 include null escape char87 pub token_prefix: Vec<u8>, // 16 include null escape char
88 pub custom_data_size: u32,88 pub custom_data_size: u32,
89<<<<<<< HEAD
90 pub offchain_schema: Vec<u8>,89 pub offchain_schema: Vec<u8>,
91=======
92>>>>>>> 10c381b426801d64ec3dcf8623de6b7e279067a2
93 pub sponsor: AccountId, // Who pays fees. If set to default address, the fees are applied to the transaction sender90 pub sponsor: AccountId, // Who pays fees. If set to default address, the fees are applied to the transaction sender
94 pub unconfirmed_sponsor: AccountId, // Sponsor address that has not yet confirmed sponsorship91 pub unconfirmed_sponsor: AccountId, // Sponsor address that has not yet confirmed sponsorship
95}92}
138135
139 pub Collection get(fn collection): map hasher(identity) u64 => CollectionType<T::AccountId>;136 pub Collection get(fn collection): map hasher(identity) u64 => CollectionType<T::AccountId>;
140 pub AdminList get(fn admin_list_collection): map hasher(identity) u64 => Vec<T::AccountId>;137 pub AdminList get(fn admin_list_collection): map hasher(identity) u64 => Vec<T::AccountId>;
138 pub WhiteList get(fn white_list): map hasher(identity) u64 => Vec<T::AccountId>;
141139
142 // Balance owner per collection map140 // Balance owner per collection map
143 pub Balance get(fn balance_count): double_map hasher(blake2_128_concat) u64, hasher(blake2_128_concat) T::AccountId => u64;141 pub Balance get(fn balance_count): double_map hasher(blake2_128_concat) u64, hasher(blake2_128_concat) T::AccountId => u64;
250 <ItemListIndex>::remove(collection_id);248 <ItemListIndex>::remove(collection_id);
251 <AdminList<T>>::remove(collection_id);249 <AdminList<T>>::remove(collection_id);
252 <Collection<T>>::remove(collection_id);250 <Collection<T>>::remove(collection_id);
251 <WhiteList<T>>::remove(collection_id);
253252
254 Ok(())253 Ok(())
255 }254 }