git.delta.rocks / unique-network / refs/commits / 7aa4c5840673

difftreelog

misk: chage uint256 to U256

Trubnikov Sergey2023-01-17parent: #1107c89.patch.diff
in: master

2 files changed

modifiedcrates/evm-coder/src/events.rsdiffbeforeafterboth
15// 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/>.
1616
17use ethereum::Log;17use ethereum::Log;
18use primitive_types::{H160, H256};18use primitive_types::{H160, H256, U256};
1919
20use crate::types::*;20use crate::types::*;
2121
45 }45 }
46}46}
4747
48impl 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);
modifiedpallets/common/src/erc.rsdiffbeforeafterboth
26};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