git.delta.rocks / unique-network / refs/commits / 10c0fa3cd85a

difftreelog

source

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