@lukso/lsp0-contracts
v0.16.3
Published
Package for the LSP0ERC725Account standard
Readme
LSP0 ERC725Account · 
npm package for the LSP0 ERC725Account standard.
Installation
npm install @lukso/lsp0-contractsAvailable Constants & Types
The @lukso/lsp0-contracts npm package contains useful constants such as interface IDs, and ERC725Y data keys related to the LSP0 Standard. You can import and access them as follows.
In JavaScript.
import {
INTERFACE_ID_LSP0,
OPERATION_TYPES,
LSP0_TYPE_IDS,
ERC1271_VALUES,
} from "@lukso/lsp0-contracts";In Solidity.
import {
_INTERFACEID_LSP0,
_INTERFACEID_ERC1271,
_ERC1271_SUCCESSVALUE,
_ERC1271_FAILVALUE,
_TYPEID_LSP0_VALUE_RECEIVED,
_TYPEID_LSP0_OwnershipTransferStarted,
_TYPEID_LSP0_OwnershipTransferred_SenderNotification,
_TYPEID_LSP0_OwnershipTransferred_RecipientNotification
} from "@lukso/lsp0-contracts/contracts/LSP0Constants.sol";TypeScript types
You can also import the type-safe ABI of each LSP smart contract from the /abi path.
import {
lsp0Erc725AccountAbi,
lsp0Erc725AccountInitAbi,
} from "@lukso/lsp0-contracts/abi";