0.15.1 • Published 7 months ago
@lukso/lsp0-contracts v0.15.1
LSP0 ERC725Account · 
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 contracts from the /abi path.
import {
lsp0Erc725AccountAbi,
lsp0Erc725AccountInitAbi,
} from "@lukso/lsp0-contracts/abi";0.15.1
7 months ago
0.15.0
2 years ago
0.15.0-rc.5
2 years ago
0.15.0-rc.4
2 years ago
0.15.0-rc.1
2 years ago
0.15.0-rc.0
2 years ago