@lukso/lsp11-contracts 0.1.2 → 0.1.3
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 +13 -1
- package/dist/abi.cjs +1064 -0
- package/dist/abi.d.cts +1400 -0
- package/dist/abi.d.mts +1400 -0
- package/dist/abi.d.ts +1400 -0
- package/dist/abi.mjs +1061 -0
- package/package.json +32 -22
- package/artifacts/ILSP11SocialRecovery.json +0 -670
- package/artifacts/LSP11SocialRecovery.json +0 -1171
- /package/dist/{index.cjs → constants.cjs} +0 -0
- /package/dist/{index.d.cts → constants.d.cts} +0 -0
- /package/dist/{index.d.mts → constants.d.mts} +0 -0
- /package/dist/{index.d.ts → constants.d.ts} +0 -0
- /package/dist/{index.mjs → constants.mjs} +0 -0
package/README.md
CHANGED
@@ -10,8 +10,20 @@ npm install @lukso/lsp11-contracts
|
|
10
10
|
|
11
11
|
## Available Constants & Types
|
12
12
|
|
13
|
-
The `@lukso/lsp11-contracts` npm package contains useful constants such as interface ID related to the LSP11 standard. You can import and access them as follows
|
13
|
+
The `@lukso/lsp11-contracts` npm package contains useful constants such as interface ID related to the LSP11 standard. You can import and access them as follows.
|
14
|
+
|
15
|
+
In Javascript.
|
14
16
|
|
15
17
|
```js
|
16
18
|
import { INTERFACE_ID_LSP11 } from "@lukso/lsp11-contracts";
|
17
19
|
```
|
20
|
+
|
21
|
+
In Solidity.
|
22
|
+
|
23
|
+
<!-- prettier-ignore -->
|
24
|
+
```solidity
|
25
|
+
import {
|
26
|
+
_INTERFACEID_LSP11,
|
27
|
+
LSP11_VERSION
|
28
|
+
} from "@lukso/lsp11-contracts/contracts/LSP11Constants.sol";
|
29
|
+
```
|