ERC20FlashMintLib Constants
ERC20FLASHMINT_ERC165_STORAGE_LOCATION
ERC-165 storage location (same across all Lattice modules).
keccak256(abi.encode(uint256(keccak256("diamond.lib.storage.ERC165")) - 1)) & ~bytes32(uint256(0xff)).
bytes32 constant ERC20FLASHMINT_ERC165_STORAGE_LOCATION =
0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200;ERC165_MAP_IERC3156FLASHLENDER_SLOT
0xe4143091 is type(IERC3156FlashLender).interfaceId.
keccak256(abi.encode(bytes4(0xe4143091), 0x9ca7f3e2e2bfb15fdf072b85dde92837cddacee6cf2f6b38cd06c9457c1c4200)).
bytes32 constant ERC165_MAP_IERC3156FLASHLENDER_SLOT =
0x4275a6f3829c1d71af9909c7c48ca9008f7cc1253f2e37d9ec6b19b0ee746d41;ERC3156_CALLBACK_SUCCESS
Return value a borrower must echo from IERC3156FlashBorrower.onFlashLoan.
bytes32 constant ERC3156_CALLBACK_SUCCESS = keccak256("ERC3156FlashBorrower.onFlashLoan");