0.15.1 • Published 7 months ago

@lukso/lsp5-contracts v0.15.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 months ago

LSP5 Received Assets · npm version

Package for the LSP5 Received Assets standard.

Installation

npm install @lukso/lsp5-contracts

Available Constants & Types

The @lukso/lsp5-contracts npm package contains useful constants such as ERC725Y Data Keys related to the LSP5 Standard. You can import and access them as follows.

In Javascript.

import { LSP5DataKeys } from "@lukso/lsp5-contracts";

In Solidity.

import {
    _LSP5_RECEIVED_ASSETS_ARRAY_KEY,
    _LSP5_RECEIVED_ASSETS_MAP_KEY_PREFIX
} from "@lukso/lsp5-contracts/contracts/LSP5Constants.sol";