Package for the LSP7 Digital Asset standard.
npm install @lukso/lsp7-contracts
The @lukso/lsp7-contracts
npm package contains useful constants such as interface IDs or ERC725Y data keys related to the LSP7 Standard. You can import and access them as follows:
import {
INTERFACE_ID_LSP7,
INTERFACE_ID_LSP7_PREVIOUS,
LSP7_TYPE_IDS,
} from "@lukso/lsp7-contracts";
The LSP7_TYPE_IDS
includes type IDs for the following type of notifications:
'LSP7Tokens_SenderNotification';
'LSP7Tokens_RecipientNotification';
'LSP7Tokens_OperatorNotification';
'LSP7Tokens_VotesDelegatorNotification';
'LSP7Tokens_VotesDelegateeNotification';