difftreelog
misk: chage uint256 to U256
in: master
2 files changed
crates/evm-coder/src/events.rsdiffbeforeafterboth15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.161617use ethereum::Log;17use ethereum::Log;18use primitive_types::{H160, H256};18use primitive_types::{H160, H256, U256};191920use crate::types::*;20use crate::types::*;212145 }45 }46}46}474748impl ToTopic for uint256 {48impl ToTopic for U256 {49 fn to_topic(&self) -> H256 {49 fn to_topic(&self) -> H256 {50 let mut out = [0u8; 32];50 let mut out = [0u8; 32];51 self.to_big_endian(&mut out);51 self.to_big_endian(&mut out);pallets/common/src/erc.rsdiffbeforeafterboth26};26};27use pallet_evm_coder_substrate::dispatch_to_evm;27use pallet_evm_coder_substrate::dispatch_to_evm;28use sp_std::{vec, vec::Vec};28use sp_std::{vec, vec::Vec};29use sp_core::U256;29use up_data_structs::{30use up_data_structs::{30 AccessMode, CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property,31 AccessMode, CollectionMode, CollectionPermissions, OwnerRestrictedSet, Property,31 SponsoringRateLimit, SponsorshipState,32 SponsoringRateLimit, SponsorshipState,67 #[indexed]68 #[indexed]68 collection_id: address,69 collection_id: address,69 /// Token ID.70 /// Token ID.70 token_id: uint256,71 token_id: U256,71 },72 },72}73}7374