git.delta.rocks / unique-network / refs/commits / 1d12e73b766b

difftreelog

source

pallets/common/src/erc.rs370 Bsourcehistory
1pub use pallet_evm::PrecompileOutput;2use sp_core::{H160, U256};34/// Does not always represent a full collection, for RFT it is either5/// collection (Implementing ERC721), or specific collection token (Implementing ERC20)6pub trait CommonEvmHandler {7	const CODE: &'static [u8];89	fn call(self, source: &H160, input: &[u8], value: U256) -> Option<PrecompileOutput>;10}