Releases: lukso-network/lsp-smart-contracts
Releases · lukso-network/lsp-smart-contracts
lsp0-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP0 ERC725Account standard.
Installation
npm install @lukso/lsp0-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
lsp0Erc725AccountAbi
lsp0Erc725AccountInitAbi
} from "@lukso/lsp0-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 LSP0 contracts, you can look at the file
@lukso/lsp0-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp0-contracts
npm package contains useful constants such as InterfaceIds, and ERC725Y Data Keys related to the LSP0 Standard. You can import and access them as follow:
import {
INTERFACE_ID_LSP0,
OPERATION_TYPES,
LSP0_TYPE_IDS,
ERC1271_VALUES,
} from "@lukso/lsp0-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp-smart-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP Smart Contracts.
Installation
npm install @lukso/lsp-smart-contracts
Available Constants & Types
The @lukso/lsp-smart-contracts
npm package contains useful constants such as InterfaceIds, and ERC725Y Data Keys related to the LSP Standards. You can import and access them as follow:
import {
INTERFACE_IDS,
LSP8_TOKEN_ID_FORMAT,
LSP1_TYPE_IDS,
OPERATIONS,
SupportedStandards,
ERC725YDataKeys,
INTERFACE_ID_LSP1DELEGATE,
LSP6DataKeys,
LSP25_VERSION,
LSPSupportedStandard,
} from "@lukso/lsp-smart-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)