@lukso/lsp-smart-contracts 0.16.2 → 0.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -2
- package/dist/abi.cjs +13834 -0
- package/dist/abi.d.cts +19732 -0
- package/dist/abi.d.mts +19732 -0
- package/dist/abi.d.ts +19732 -0
- package/dist/abi.mjs +13799 -0
- package/dist/constants.d.cts +2 -1
- package/dist/constants.d.mts +2 -1
- package/dist/constants.d.ts +2 -1
- package/dist/constants.mjs +2 -2
- package/package.json +14 -14
- package/artifacts/LSP0ERC725Account.json +0 -676
- package/artifacts/LSP0ERC725AccountInit.json +0 -696
- package/artifacts/LSP11SocialRecovery.json +0 -1171
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +0 -88
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +0 -88
- package/artifacts/LSP23LinkedContractsFactory.json +0 -544
- package/artifacts/LSP26FollowerSystem.json +0 -248
- package/artifacts/LSP4DigitalAssetMetadata.json +0 -210
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +0 -218
- package/artifacts/LSP6KeyManager.json +0 -600
- package/artifacts/LSP6KeyManagerInit.json +0 -620
- package/artifacts/LSP7CappedSupply.json +0 -817
- package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -825
- package/artifacts/LSP7DigitalAsset.json +0 -794
- package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -802
- package/artifacts/LSP7Mintable.json +0 -853
- package/artifacts/LSP7MintableInit.json +0 -873
- package/artifacts/LSP7Votes.json +0 -1154
- package/artifacts/LSP8Burnable.json +0 -943
- package/artifacts/LSP8BurnableInitAbstract.json +0 -951
- package/artifacts/LSP8CappedSupply.json +0 -948
- package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -956
- package/artifacts/LSP8Enumerable.json +0 -944
- package/artifacts/LSP8EnumerableInitAbstract.json +0 -952
- package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -925
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -933
- package/artifacts/LSP8Mintable.json +0 -995
- package/artifacts/LSP8MintableInit.json +0 -1015
- package/artifacts/LSP8Votes.json +0 -1230
- package/artifacts/LSP8VotesInitAbstract.json +0 -1222
- package/artifacts/LSP9Vault.json +0 -631
- package/artifacts/LSP9VaultInit.json +0 -651
- package/artifacts/UniversalProfile.json +0 -676
- package/artifacts/UniversalProfileInit.json +0 -696
- package/types/index.ts +0 -25392
package/dist/constants.d.cts
CHANGED
|
@@ -37538,4 +37538,5 @@ declare const LSP1_TYPE_IDS: {
|
|
|
37538
37538
|
readonly LSP0OwnershipTransferred_RecipientNotification: "0xceca317f109c43507871523e82dc2a3cc64dfa18f12da0b6db14f6e23f995538";
|
|
37539
37539
|
};
|
|
37540
37540
|
|
|
37541
|
-
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS,
|
|
37541
|
+
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS, StateVariables, SupportedStandards };
|
|
37542
|
+
export type { LSPSupportedStandard };
|
package/dist/constants.d.mts
CHANGED
|
@@ -37538,4 +37538,5 @@ declare const LSP1_TYPE_IDS: {
|
|
|
37538
37538
|
readonly LSP0OwnershipTransferred_RecipientNotification: "0xceca317f109c43507871523e82dc2a3cc64dfa18f12da0b6db14f6e23f995538";
|
|
37539
37539
|
};
|
|
37540
37540
|
|
|
37541
|
-
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS,
|
|
37541
|
+
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS, StateVariables, SupportedStandards };
|
|
37542
|
+
export type { LSPSupportedStandard };
|
package/dist/constants.d.ts
CHANGED
|
@@ -37538,4 +37538,5 @@ declare const LSP1_TYPE_IDS: {
|
|
|
37538
37538
|
readonly LSP0OwnershipTransferred_RecipientNotification: "0xceca317f109c43507871523e82dc2a3cc64dfa18f12da0b6db14f6e23f995538";
|
|
37539
37539
|
};
|
|
37540
37540
|
|
|
37541
|
-
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS,
|
|
37541
|
+
export { ContractsDocs, ERC725YDataKeys, ErrorSelectors, EventSigHashes, FunctionSelectors, INTERFACE_IDS, LSP1_TYPE_IDS, StateVariables, SupportedStandards };
|
|
37542
|
+
export type { LSPSupportedStandard };
|
package/dist/constants.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { LSP4DataKeys, LSP4SupportedStandard } from '@lukso/lsp4-contracts';
|
|
|
6
6
|
export { LSP4_TOKEN_TYPES } from '@lukso/lsp4-contracts';
|
|
7
7
|
import { LSP8DataKeys, LSP8_TYPE_IDS, INTERFACE_ID_LSP8 } from '@lukso/lsp8-contracts';
|
|
8
8
|
export { INTERFACE_ID_LSP8_PREVIOUS, LSP8_TOKEN_ID_FORMAT } from '@lukso/lsp8-contracts';
|
|
9
|
-
import {
|
|
9
|
+
import { INTERFACE_ID_LSP20CallVerifier, INTERFACE_ID_LSP20CallVerification } from '@lukso/lsp20-contracts';
|
|
10
10
|
export { LSP20_SUCCESS_VALUES } from '@lukso/lsp20-contracts';
|
|
11
11
|
import { INTERFACE_ID_LSP25 } from '@lukso/lsp25-contracts';
|
|
12
12
|
export { LSP25_VERSION } from '@lukso/lsp25-contracts';
|
|
@@ -17,7 +17,7 @@ import { INTERFACE_ID_LSP1DELEGATE } from '@lukso/lsp1delegate-contracts';
|
|
|
17
17
|
import { LSP9DataKeys, LSP9_TYPE_IDS, LSP9SupportedStandard, INTERFACE_ID_LSP9 } from '@lukso/lsp9-contracts';
|
|
18
18
|
import { INTERFACE_ID_LSP11 } from '@lukso/lsp11-contracts';
|
|
19
19
|
import { LSP14_TYPE_IDS, INTERFACE_ID_LSP14 } from '@lukso/lsp14-contracts';
|
|
20
|
-
import { LSP17DataKeys,
|
|
20
|
+
import { LSP17DataKeys, INTERFACE_ID_LSP17Extension, INTERFACE_ID_LSP17Extendable } from '@lukso/lsp17contractextension-contracts';
|
|
21
21
|
import { INTERFACE_ID_LSP26 } from '@lukso/lsp26-contracts';
|
|
22
22
|
import { LSP3DataKeys, LSP3SupportedStandard } from '@lukso/lsp3-contracts';
|
|
23
23
|
import { LSP5DataKeys } from '@lukso/lsp5-contracts';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukso/lsp-smart-contracts",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"description": "The reference smart contract implementation for the LUKSO LSP standards",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "",
|
|
@@ -21,12 +21,7 @@
|
|
|
21
21
|
"contracts/**/*.sol",
|
|
22
22
|
"!contracts/Mocks/**/*.sol",
|
|
23
23
|
"artifacts/*.json",
|
|
24
|
-
"dist"
|
|
25
|
-
"types",
|
|
26
|
-
"!types/factories",
|
|
27
|
-
"./README.md",
|
|
28
|
-
"./CONTRIBUTING.md",
|
|
29
|
-
"./LICENSE"
|
|
24
|
+
"dist"
|
|
30
25
|
],
|
|
31
26
|
"main": "./dist/constants.cjs",
|
|
32
27
|
"module": "./dist/constants.mjs",
|
|
@@ -47,6 +42,11 @@
|
|
|
47
42
|
"import": "./dist/constants.mjs",
|
|
48
43
|
"types": "./dist/constants.d.ts"
|
|
49
44
|
},
|
|
45
|
+
"./abi": {
|
|
46
|
+
"require": "./dist/abi.cjs",
|
|
47
|
+
"import": "./dist/abi.mjs",
|
|
48
|
+
"types": "./dist/abi.d.ts"
|
|
49
|
+
},
|
|
50
50
|
"./artifacts/*": "./artifacts/*",
|
|
51
51
|
"./dist/*": "./dist/*",
|
|
52
52
|
"./package.json": "./package.json"
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"build": "hardhat compile --show-stack-traces",
|
|
56
56
|
"build:foundry": "forge build",
|
|
57
57
|
"build:js": "unbuild",
|
|
58
|
-
"build:types": "
|
|
58
|
+
"build:types": "wagmi generate",
|
|
59
59
|
"build:docs": "hardhat dodoc && prettier -w ./docs && bash dodoc/postProcessingContracts.sh && dodoc/postProcessingLibraries.sh",
|
|
60
60
|
"clean": "hardhat clean && rm -Rf dist/ cache/ node_modules/ .turbo/ types/ typechain/ build/ artifacts/",
|
|
61
61
|
"format": "prettier --write .",
|
|
62
62
|
"lint": "eslint . --ext .ts,.js",
|
|
63
63
|
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
|
|
64
|
-
"package": "hardhat prepare-package",
|
|
64
|
+
"build:package": "hardhat prepare-package",
|
|
65
65
|
"test": "hardhat test --no-compile tests/**/*.test.ts tests/LSP7DigitalAsset/**/*.ts tests/LSP8IdentifiableDigitalAsset/**/*.ts",
|
|
66
|
-
"test:foundry": "FOUNDRY_PROFILE=lsp_smart_contracts forge test
|
|
66
|
+
"test:foundry": "FOUNDRY_PROFILE=lsp_smart_contracts forge test -vvvv",
|
|
67
67
|
"test:coverage": "hardhat coverage",
|
|
68
68
|
"test:benchmark": "hardhat test --no-compile tests/Benchmark.test.ts"
|
|
69
69
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@lukso/lsp14-contracts": "~0.15.0",
|
|
77
77
|
"@lukso/lsp16-contracts": "~0.15.0",
|
|
78
78
|
"@lukso/lsp17-contracts": "~0.16.0",
|
|
79
|
-
"@lukso/lsp17contractextension-contracts": "~0.16.
|
|
79
|
+
"@lukso/lsp17contractextension-contracts": "~0.16.2",
|
|
80
80
|
"@lukso/lsp1delegate-contracts": "~0.15.0",
|
|
81
81
|
"@lukso/lsp2-contracts": "~0.15.0",
|
|
82
82
|
"@lukso/lsp20-contracts": "~0.15.0",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"@lukso/lsp25-contracts": "~0.15.0",
|
|
85
85
|
"@lukso/lsp26-contracts": "~0.1.0",
|
|
86
86
|
"@lukso/lsp3-contracts": "~0.16.0",
|
|
87
|
-
"@lukso/lsp4-contracts": "~0.16.
|
|
87
|
+
"@lukso/lsp4-contracts": "~0.16.2",
|
|
88
88
|
"@lukso/lsp5-contracts": "~0.15.0",
|
|
89
89
|
"@lukso/lsp6-contracts": "~0.15.0",
|
|
90
|
-
"@lukso/lsp7-contracts": "~0.16.
|
|
91
|
-
"@lukso/lsp8-contracts": "~0.16.
|
|
90
|
+
"@lukso/lsp7-contracts": "~0.16.3",
|
|
91
|
+
"@lukso/lsp8-contracts": "~0.16.2",
|
|
92
92
|
"@lukso/lsp9-contracts": "~0.15.0",
|
|
93
93
|
"@lukso/universalprofile-contracts": "~0.15.0"
|
|
94
94
|
}
|