@lukso/lsp17-contracts
TypeScript icon, indicating that this package has built-in type declarations

0.16.2 • Public • Published

LSP17 Extensions Package · npm version

Package for the LSP17 Extensions, that includes the following extensions:

  • Extension4337 extension, which contains the validateUserOp function from the ERC4337 standard.
  • OnERC721ReceivedExtension extension that contains the onERC721Received function from the ERC721 standard.
  • ERCTokenCallbacks extension that contains implemented callback functions with valid returned values from ERC721, ERC1155 and ERC777 to support receiving tokens via the transfer functions that trigger these callbacks.

Installation

npm install @lukso/lsp17-contracts

Available Constants & Types

The @lukso/lsp17-contracts npm package contains useful constants such as interface IDs related to the LSP17 Extensions. You can import and access them as follows:

import { INTERFACE_ID_LSP17Extension } from "@lukso/lsp17-contracts";

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.16.254latest
0.15.0-rc.56rc

Version History

VersionDownloads (Last 7 Days)Published
0.16.254
0.15.071
0.15.0-rc.56
0.15.0-rc.42
0.15.0-rc.11
0.15.0-rc.01

Package Sidebar

Install

npm i @lukso/lsp17-contracts

Weekly Downloads

135

Version

0.16.2

License

Apache-2.0

Unpacked Size

31.9 kB

Total Files

12

Last publish

Collaborators

  • frozeman
  • lukso-network