From d96ced18c2aa6d6e1c003154bd2ccde8dcdeb03e Mon Sep 17 00:00:00 2001 From: CJ42 Date: Mon, 25 Mar 2024 11:10:34 +0000 Subject: [PATCH] refactor: adjust interface ID constant names --- packages/lsp-smart-contracts/constants.ts | 8 ++++---- packages/lsp0-contracts/constants.ts | 2 +- packages/lsp6-contracts/constants.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/lsp-smart-contracts/constants.ts b/packages/lsp-smart-contracts/constants.ts index b52770160..bfce04bc9 100644 --- a/packages/lsp-smart-contracts/constants.ts +++ b/packages/lsp-smart-contracts/constants.ts @@ -4,13 +4,13 @@ */ // export * from './contracts'; -import { INTERFACE_ID_LSP0ERC725Account, LSP0_TYPE_IDS } from '@lukso/lsp0-contracts'; +import { INTERFACE_ID_LSP0, LSP0_TYPE_IDS } from '@lukso/lsp0-contracts'; import { INTERFACE_ID_LSP1, LSP1DataKeys } from '@lukso/lsp1-contracts'; import { INTERFACE_ID_LSP1DELEGATE } from '@lukso/lsp1delegate-contracts'; import { LSP3DataKeys } from '@lukso/lsp3-contracts'; import { LSP4DataKeys } from '@lukso/lsp4-contracts'; import { LSP5DataKeys } from '@lukso/lsp5-contracts'; -import { INTERFACE_ID_LSP6KEYMANAGER, LSP6DataKeys } from '@lukso/lsp6-contracts'; +import { INTERFACE_ID_LSP6, LSP6DataKeys } from '@lukso/lsp6-contracts'; import { INTERFACE_ID_LSP7, LSP7_TYPE_IDS } from '@lukso/lsp7-contracts'; import { INTERFACE_ID_LSP8, LSP8DataKeys, LSP8_TYPE_IDS } from '@lukso/lsp8-contracts'; import { INTERFACE_ID_LSP9, LSP9DataKeys, LSP9_TYPE_IDS } from '@lukso/lsp9-contracts'; @@ -58,10 +58,10 @@ export const INTERFACE_IDS = { ERC1155: '0xd9b67a26', ERC725X: '0x7545acac', ERC725Y: '0x629aa694', - LSP0ERC725Account: INTERFACE_ID_LSP0ERC725Account, + LSP0ERC725Account: INTERFACE_ID_LSP0, LSP1UniversalReceiver: INTERFACE_ID_LSP1, LSP1UniversalReceiverDelegate: INTERFACE_ID_LSP1DELEGATE, - LSP6KeyManager: INTERFACE_ID_LSP6KEYMANAGER, + LSP6KeyManager: INTERFACE_ID_LSP6, LSP7DigitalAsset: INTERFACE_ID_LSP7, LSP8IdentifiableDigitalAsset: INTERFACE_ID_LSP8, LSP9Vault: INTERFACE_ID_LSP9, diff --git a/packages/lsp0-contracts/constants.ts b/packages/lsp0-contracts/constants.ts index 9fe90d5e5..ccef5e1d0 100644 --- a/packages/lsp0-contracts/constants.ts +++ b/packages/lsp0-contracts/constants.ts @@ -1,6 +1,6 @@ // ERC165 Interface ID // ---------- -export const INTERFACE_ID_LSP0ERC725Account = '0x24871b3d'; +export const INTERFACE_ID_LSP0 = '0x24871b3d'; // ERC1271 // ---------- diff --git a/packages/lsp6-contracts/constants.ts b/packages/lsp6-contracts/constants.ts index 1f6e72493..9b372d0c7 100644 --- a/packages/lsp6-contracts/constants.ts +++ b/packages/lsp6-contracts/constants.ts @@ -1,6 +1,6 @@ import { LSP2ArrayKey } from '@lukso/lsp2-contracts'; -export const INTERFACE_ID_LSP6KEYMANAGER = '0x23f34c62'; +export const INTERFACE_ID_LSP6 = '0x23f34c62'; /** * @dev values returned by the `isValidSignature` function of the ERC1271 standard.