IStateFingerpringComputer.sol defines interface each State Fingerprint Computer contract has to implement. State Fingerprint Computers allow usage of dynamic assets in the PWN Protocol that don't implement ERC-5646 natively.
2. Important links
3. Implementation
// SPDX-License-Identifier: GPL-3.0-onlypragmasolidity 0.8.16;/** * @title IStateFingerpringComputer * @notice State Fingerprint Computer Interface. * @dev Contract can compute state fingerprint of several tokens as long as they share the same state structure. */interface IStateFingerpringComputer {/** * @notice Compute current token state fingerprint for a given token. * @param token Address of a token contract. * @param tokenId Token id to compute state fingerprint for. * @return Current token state fingerprint. */functioncomputeStateFingerprint(address token,uint256 tokenId) externalviewreturns (bytes32);/** * @notice Check if the computer supports a given token address. * @param token Address of a token contract. * @return True if the computer supports the token address, false otherwise. */functionsupportsToken(address token) externalviewreturns (bool);}