Releases: lukso-network/lsp-smart-contracts
universalprofile-contracts: v0.15.0
0.15.0 (2024-04-05)
Smart Contract implementation for Universal Profile, a combination of LSP0 ERC725 Account and LSP3 Profile Metadata.
Installation
npm i @lukso/universalprofile-contracts
Solidity constants
The constants related to LSP3 Profile Metadata can be directly imported from the Constants.sol
file.
import {
_LSP3_SUPPORTED_STANDARDS_KEY,
_LSP3_SUPPORTED_STANDARDS_VALUE,
_LSP3_PROFILE_KEY
} from "universalprofile/contracts/Constants.sol";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp9-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP9 Vault standard.
Installation
npm install @lukso/lsp9-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
lsp9VaultAbi,
lsp9VaultInitAbi
} from "@lukso/lsp9-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 LSP9 contracts, you can look at the file
@lukso/lsp9-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp9-contracts
npm package contains useful constants such as InterfaceIds, ERC725Y Data Keys related to the LSP9 Standard. You can import and access them as follow:
import {
OPERATION_TYPES,
INTERFACE_ID_LSP9,
LSP9_TYPE_IDS,
LSP9DataKeys,
LSP9SupportedStandard,
} from "@lukso/lsp9-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp8-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP8 Identifiable Digital Asset Standard.
Installation
npm install @lukso/lsp8-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
ilsp8IdentifiableDigitalAssetAbi
lsp8BurnableAbi
lsp8BurnableInitAbstractAbi
lsp8CappedSupplyAbi
lsp8CappedSupplyInitAbstractAbi
lsp8EnumerableAbi
lsp8EnumerableInitAbstractAbi
lsp8IdentifiableDigitalAssetAbi
lsp8IdentifiableDigitalAssetInitAbstractAbi
lsp8MintableAbi
lsp8MintableInitAbi
} from "@lukso/lsp8-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 LSP8 contracts, you can look at the file
@lukso/lsp8-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp8-contracts
npm package contains useful constants such as InterfaceIds or ERC725Y Data Keys related to the LSP8 Standard. You can import and access them as follow:
import {
INTERFACE_ID_LSP8,
INTERFACE_ID_LSP8_PREVIOUS,
LSP8DataKeys,
LSP8_TYPE_IDS,
LSP8_TOKEN_ID_FORMAT,
} from "@lukso/lsp8-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp7-contracts: v0.15.0
0.15.0 (2024-04-05)
Installation
npm install @lukso/lsp7-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
ilsp7DigitalAssetAbi
lsp7BurnableAbi
lsp7BurnableInitAbstractAbi
lsp7CappedSupplyAbi
lsp7CappedSupplyInitAbstractAbi
lsp7DigitalAssetAbi
lsp7DigitalAssetInitAbstractAbi
lsp7MintableAbi
lsp7MintableInitAbi
} from "@lukso/lsp7-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 LSP7 contracts, you can look at the file
@lukso/lsp7-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp7-contracts
npm package contains useful constants such as InterfaceIds or ERC725Y Data Keys related to the LSP7 Standard. You can import and access them as follow:
import {
INTERFACE_ID_LSP7,
INTERFACE_ID_LSP7_PREVIOUS,
LSP7_TYPE_IDS,
} from "@lukso/lsp7-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp6-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP6 Key Manager standard, to enable granting multiple permissions to controllers.
Installation
npm install @lukso/lsp6-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
ilsp6KeyManagerAbi
lsp6KeyManagerAbi
lsp6KeyManagerInitAbi
} from "@lukso/lsp6-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 LSP6 contracts, you can look at the file
@lukso/lsp6-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp6-contracts
npm package contains useful constants such as InterfaceIds or ERC725Y Data Keys related to the LSP6 Standard. You can import and access them as follow:
import {
INTERFACE_ID_LSP6,
LSP6DataKeys,
ERC1271_VALUES,
CALLTYPE,
ALL_PERMISSIONS,
PERMISSIONS,
LSP6PermissionName,
} from "@lukso/lsp6-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp5-contracts: v0.15.0
0.15.0 (2024-04-05)
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 follow:
import { LSP5DataKeys } from "@lukso/lsp5-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp4-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP4 Digital Asset Metadata standard.
Installation
npm install @lukso/lsp4-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
lsp4DigitalAssetMetadataAbi,
lsp4DigitalAssetMetadataInitAbstractAbi
} from "@lukso/lsp4-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 LSP4 contracts, you can look at the file
@lukso/lsp4-contracts/types/index.ts
under yournode_modules
dependencies.
Available Constants & Types
The @lukso/lsp4-contracts
npm package contains useful constants such as ERC725Y Data Keys related to the LSP4 Standard. You can import and access them as follow:
import {
LSP4_TOKEN_TYPES,
LSP4SupportedStandard,
LSP4DataKeys,
LSP4DigitalAssetMetadataJSON,
LSP4DigitalAssetMetadata,
LinkMetadata,
ImageMetadata,
AssetMetadata,
AttributeMetadata,
} from "@lukso/lsp4-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp3-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP3 Profile Metadata standard.
Installation
npm install @lukso/lsp3-contracts
Available Constants & Types
The @lukso/lsp3-contracts
npm package contains useful constants such as ERC725Y Data Keys related to the LSP3 Standard. You can import and access them as follow:
import {
LSP3DataKeys,
LSP3SupportedStandard,
LSP3ProfileMetadataJSON,
LSP3ProfileMetadata,
LinkMetadata,
ImageMetadata,
AssetMetadata,
} from "@lukso/lsp3-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp25-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP25 Execute Relay Call standard.
Installation
npm i @lukso/lsp25-contracts
Available Constants & Types
The @lukso/lsp25-contracts
npm package contains useful constants such as InterfaceIds, and specific constants related to the LSP25 Standard. You can import and access them as follow:
import { LSP25_VERSION, INTERFACE_ID_LSP25 } from "@lukso/lsp25-contracts";
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)
lsp23-contracts: v0.15.0
0.15.0 (2024-04-05)
Package for the LSP23 Linked Contracts Factory.
Installation
npm install @lukso/lsp23-contracts
Type-safe ABIs, contract interfaces and React Hooks
This release includes new type-safe features generated by wagmi:
- ABIs + typed events
import {
ilsp23LinkedContractsFactoryAbi
iPostDeploymentModuleAbi
lsp23LinkedContractsFactoryAbi
universalProfileInitPostDeploymentModuleAbi
universalProfilePostDeploymentModuleAbi
} from "@lukso/lsp23-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 LSP23 contracts, you can look at the file
@lukso/lsp23-contracts/types/index.ts
under yournode_modules
dependencies.
Miscellaneous Chores
- release lsp-smart-contracts 0.15.0 (fbbd048)