Skip to content

Releases: lukso-network/lsp-smart-contracts

lsp20-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP20 Call Verification standard.

Installation

npm i @lukso/lsp20-contracts

Available Constants & Types

The @lukso/lsp20-contracts npm package contains useful constants such as InterfaceIds, and specific constants related to the LSP20 Standard. You can import and access them as follow:

import {
  LSP20_SUCCESS_VALUES,
  INTERFACE_ID_LSP20CallVerifier,
  INTERFACE_ID_LSP20CallVerification,
} from "@lukso/lsp20-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp2-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP2 ERC725Y JSON Schema standard.

Installation

npm install @lukso/lsp2-contracts

Available Constants & Types

The @lukso/lsp2-contracts npm package contains useful constants such as ERC725Y Data Keys related to the LSP2 Standard. You can import and access them as follow:

import { LSP2ArrayKey, Verification } from "@lukso/lsp2-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp1delegate-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Smart contract implementations of LSP1 Universal Receiver Delegate
to register and manage:

  • LSP5 Received Assets
  • LSP10 Vaults

Currently there are Universal Receiver Delegate contracts for:

Installation

npm install @lukso/lsp1delegate-contracts

Type-safe ABIs, contract interfaces and React Hooks

This release includes new type-safe features generated by wagmi:

  • ABIs + typed events
import {
    lsp1UniversalReceiverDelegateUpAbi
    lsp1UniversalReceiverDelegateVaultAbi
} from "@lukso/lsp1delegate-contracts/types";
  • React hooks
  • contract Interfaces (based on Viem types) including the following helper functions:
    • getFunction(...)
    • getEvent(...)
    • encodeFunctionData(...)
    • decodeFunctionData(...)

To see all the React hooks available for the LSP1 Delegate contracts, you can look at the file @lukso/lsp1delegate-contracts/types/index.ts under your node_modules dependencies.

Available Constants & Types

The @lukso/lsp1delegate-contracts npm package contains useful constants such as InterfaceIds related to the LSP1Delegate Standard. You can import and access them as follow:

import { INTERFACE_ID_LSP1DELEGATE } from "@lukso/lsp1delegate-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp17contractextension-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP17 Contract Extension

Installation

npm install @lukso/lsp17contractextension-contracts

Available Constants & Types

The @lukso/lsp17contractextension-contracts npm package contains useful constants such as InterfaceIds, and ERC725Y Data Keys related to the LSP17 Standard. You can import and access them as follow:

import {
  INTERFACE_ID_LSP17Extendable,
  INTERFACE_ID_LSP17Extension,
  LSP17DataKeys,
} from "@lukso/lsp17contractextension-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp17-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

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

  • the Extension4337 extension, which contains the validateUserOp function from the ERC4337 standard.
  • the OnERC721ReceivedExtension extension that contains the onERC721Received function from the ERC721 standard.

Installation

npm install @lukso/lsp17-contracts

Available Constants & Types

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

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

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp16-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP16-UniversalFactory standard, contains a contract that allows deploying contracts on multiple chains with the same address.

Installation

npm install @lukso/lsp16-contracts

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp14-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP14 Ownable 2 Step standard.

Installation

npm install @lukso/lsp14-contracts

Available Constants & Types

The @lukso/lsp14-contracts npm package contains useful constants such as InterfaceIds, and ERC725Y Data Keys related to the LSP14 Standard. You can import and access them as follow:

import { LSP14_TYPE_IDS, INTERFACE_ID_LSP14 } from "@lukso/lsp14-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp12-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP12 Issued Assets standard.

Installation

npm install @lukso/lsp12-contracts

Available Constants & Types

The @lukso/lsp12-contracts npm package contains useful constants such as ERC725Y Data Keys related to the LSP12 Standard. You can import and access them as follow:

import { LSP12DataKeys } from "@lukso/lsp12-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp10-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP10 Received Vaults standard.

Installation

npm install @lukso/lsp10-contracts

Available Constants & Types

The @lukso/lsp10-contracts npm package contains useful constants such as ERC725Y Data Keys related to the LSP10 Standard. You can import and access them as follow:

import { LSP10DataKeys } from "@lukso/lsp10-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)

lsp1-contracts: v0.15.0

05 Apr 16:05
5481427
Compare
Choose a tag to compare

0.15.0 (2024-04-05)

Package for the LSP1 Universal Receiver standard.

Installation

npm install @lukso/lsp1-contracts

Available Constants & Types

The @lukso/lsp1-contracts npm package contains useful constants such as InterfaceIds, and ERC725Y Data Keys related to the LSP1 Standard. You can import and access them as follow:

import { INTERFACE_ID_LSP1, LSP1DataKeys } from "@lukso/lsp1-contracts";

Miscellaneous Chores

  • release lsp-smart-contracts 0.15.0 (fbbd048)