diff --git a/docs/tools/erc725js/classes/ERC725.md b/docs/tools/erc725js/classes/ERC725.md
index 36a5b465b5..bed34ec359 100644
--- a/docs/tools/erc725js/classes/ERC725.md
+++ b/docs/tools/erc725js/classes/ERC725.md
@@ -4,6 +4,84 @@ sidebar_position: 1
# ERC725
+## checkPermissions
+
+```js
+myErc725.checkPermissions(requiredPermissions, grantedPermissions);
+```
+
+```js
+ERC725.checkPermissions(requiredPermissions, grantedPermissions);
+```
+
+Check if the required permissions are included in the granted permissions as defined by the [LSP6 KeyManager Standard](https://docs.lukso.tech/standards/universal-profile/lsp6-key-manager).
+
+:::info
+
+`checkPermissions` is available as either a static or non-static method so can be called without instantiating an ERC725 object.
+
+:::
+
+#### Parameters
+
+##### 1. `requiredPermissions` - String[] | String
+
+An array of required permissions or a single required permission. (32bytes hex or the official name of the permission).
+
+##### 2. `grantedPermissions` - String
+
+The granted permissions. (32bytes hex).
+
+#### Returns
+
+| Type | Description |
+| :------ | :----------------------------------------------------------------------------------------------------------------------------------------------- |
+| boolean | A boolean value indicating whether the required permissions are included in the granted permissions as defined by the [LSP6 KeyManager Standard] |
+
+#### Permission-Name Example
+
+```javascript title="Checking permissions by name"
+const requiredPermissions = 'CHANGEOWNER';
+const grantedPermissions =
+ '0x000000000000000000000000000000000000000000000000000000000000ff51';
+ERC725.checkPermissions(requiredPermissions, grantedPermissions);
+// true
+
+// This method is also available on the instance:
+
+const requiredPermissions = ['CHANGEOWNER', 'CALL'];
+const grantedPermissions =
+ '0x0000000000000000000000000000000000000000000000000000000000000051';
+myErc725.checkPermissions(requiredPermissions, grantedPermissions);
+// false
+```
+
+#### 32bytes hex Example
+
+```javascript title="Checking permissions by 32bytes hex"
+const requiredPermissions = [
+ '0x0000000000000000000000000000000000000000000000000000000000000001',
+ '0x0000000000000000000000000000000000000000000000000000000000000800',
+];
+const grantedPermissions =
+ '0x0000000000000000000000000000000000000000000000000000000000000051';
+
+ERC725.checkPermissions(requiredPermissions, grantedPermissions);
+// false
+
+// This method is also available on the instance:
+
+const requiredPermissions =
+ '0x0000000000000000000000000000000000000000000000000000000000000001';
+const grantedPermissions =
+ '0x0000000000000000000000000000000000000000000000000000000000000051';
+
+myErc725.checkPermissions(requiredPermissions, grantedPermissions);
+// true
+```
+
+---
+
## decodeData
```js
@@ -53,7 +131,7 @@ An array of extra [LSP-2 ERC725YJSONSchema] objects that can be used to find the
:::
-#### Single-Key Example
+### Single-Key Example
```javascript title="Decoding an object with one key"
myErc725.decodeData([
@@ -95,7 +173,7 @@ myErc725.decodeData({
*/
```
-#### Multi-Key Example
+### Multi-Key Example
```javascript title="Decoding an object with multiple keys"
myErc725.decodeData([
@@ -146,7 +224,7 @@ myErc725.decodeData([
*/
```
-#### Dynamic-Key Example
+### Dynamic-Key Example
```javascript title="Decoding an object with dynamic key and a custom schema"
const schemas = [
@@ -275,11 +353,28 @@ When encoding JSON, it is possible to pass in the JSON object and the URL where
:::
+:::info
+
+When encoding some values using specific `string` or `bytesN` as `valueType`, if the data passed is a non-hex value, _erc725.js_ will convert the value
+to its utf8-hex representation for you. For instance:
+
+- If `valueType` is `string` and you provide a `number` as input.
+
+_Example: input `42` --> will encode as `0x3432` (utf-8 hex code for `4` = `0x34`, for `2` = `0x32`)._
+
+- If `valueType` is `bytes32` or `bytes4`, it will convert as follow:
+
+_Example 1: input `week` encoded as `bytes4` --> will encode as `0x7765656b`._
+
+_Example 2: input `1122334455` encoded as `bytes4` --> will encode as `0x42e576f7`._
+
+:::
+
#### Parameters
-##### 1. `data` - Object or array of Objects
+##### 1. `data` - Array of Objects
-An object or array of objects containing the following properties:
+An array of objects containing the following properties:
| Name | Type | Description |
| :--------------------------- | :--------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -305,6 +400,9 @@ After the `data` is encoded, the object is ready to be stored in smart contracts
#### Examples
+
+ Encode a JSONURL
with JSON and uploaded URL
+
```javascript title="Encode a JSONURL with JSON and uploaded URL"
myErc725.encodeData([
{
@@ -358,10 +456,12 @@ myErc725.encodeData([
```
```javascript
-myErc725.encodeData({
- keyName: 'LSP1UniversalReceiverDelegate',
- value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
-});
+myErc725.encodeData([
+ {
+ keyName: 'LSP1UniversalReceiverDelegate',
+ value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
+ },
+]);
/**
{
keys: ['0x0cfc51aec37c55a4d0b1a65c6255c4bf2fbdf6277f3cc0730c45b828b6db8b47'],
@@ -370,6 +470,11 @@ myErc725.encodeData({
*/
```
+
+
+
+ Encode a JSONURL
with hash function, hash and uploaded URL
+
```javascript title="Encode a JSONURL with hash function, hash and uploaded URL"
myErc725.encodeData([
{
@@ -389,6 +494,11 @@ myErc725.encodeData([
*/
```
+
+
+
+ Encode dynamic keys
+
```javascript title="Encode dynamic keys"
const schemas = [
{
@@ -445,6 +555,11 @@ myErc725.encodeData(
*/
```
+
+
+
+ Encode multiple keys at once
+
```javascript title="Encode multiple keys at once"
myErc725.encodeData([
{
@@ -487,6 +602,8 @@ myErc725.encodeData([
*/
```
+
+
---
## encodeKeyName
@@ -527,8 +644,8 @@ The hash must be retrievable from the ERC725Y contract via the [getData](#getdat
ERC725.encodeKeyName('LSP3Profile');
// '0x5ef83ad9559033e6e941db7d7c495acdce616347d28e90c7ce47cbfcfcad3bc5'
-ERC725.encodeKeyName('SupportedStandards:LSP3UniversalProfile');
-// '0xeafec4d89fa9619884b60000abe425d64acd861a49b8ddf5c0b6962110481f38'
+ERC725.encodeKeyName('SupportedStandards:LSP3Profile');
+// '0xeafec4d89fa9619884b600005ef83ad9559033e6e941db7d7c495acdce616347'
ERC725.encodeKeyName(
'AddressPermissions:Permissions:cafecafecafecafecafecafecafecafecafecafe',
@@ -760,16 +877,16 @@ The name(s) (or the encoded name(s) as schema key) of the element(s) in the smar
:::
-#### All-Keys Example
+### All-Keys Example
```javascript title="Receiving all keys from the schema"
await myErc725.fetchData();
/**
[
{
- name: 'SupportedStandards:LSP3UniversalProfile',
- key: '0xeafec4d89fa9619884b60000abe425d64acd861a49b8ddf5c0b6962110481f38',
- value: '0xabe425d6'
+ name: 'SupportedStandards:LSP3Profile',
+ key: '0xeafec4d89fa9619884b600005ef83ad9559033e6e941db7d7c495acdce616347',
+ value: '0x5ef83ad9'
},
{
name: 'LSP3Profile',
@@ -801,7 +918,7 @@ await myErc725.fetchData();
*/
```
-#### Single-Key Example
+### Single-Key Example
```javascript title="Receiving one key from the schema"
await myErc725.fetchData('LSP3Profile');
@@ -824,7 +941,7 @@ await myErc725.fetchData(['LSP1UniversalReceiverDelegate']);
*/
```
-#### Multi-Keys / Dynamic-Keys Example
+### Multi-Keys / Dynamic-Keys Example
```javascript title="Receiving multiple keys from the schema"
await myErc725.fetchData(['LSP3Profile', 'LSP1UniversalReceiverDelegate']);
@@ -909,16 +1026,16 @@ The name(s) (or the encoded name(s) as schema key) of the element(s) in the smar
:::
-#### All-Keys Example
+### All-Keys Example
```javascript title="Receiving all keys from the schema"
await myErc725.getData();
/**
[
{
- name: 'SupportedStandards:LSP3UniversalProfile',
- key: '0xeafec4d89fa9619884b60000abe425d64acd861a49b8ddf5c0b6962110481f38',
- value: '0xabe425d6',
+ name: 'SupportedStandards:LSP3Profile',
+ key: '0xeafec4d89fa9619884b600005ef83ad9559033e6e941db7d7c495acdce616347',
+ value: '0x5ef83ad9',
},
{
name: 'LSP1UniversalReceiverDelegate',
@@ -954,7 +1071,7 @@ await myErc725.getData();
*/
```
-#### Single-Key Example
+### Single-Key Example
```javascript title="Receiving one key from the schema"
await myErc725.getData('LSP3Profile');
@@ -995,7 +1112,7 @@ await myErc725.getData('LSP1UniversalReceiverDelegate');
*/
```
-#### Multi-Key Example
+### Multi-Key Example
```javascript title="Receiving multiple keys from the schema"
await myErc725.getData(['LSP3Profile', 'LSP1UniversalReceiverDelegate']);
@@ -1019,7 +1136,7 @@ await myErc725.getData(['LSP3Profile', 'LSP1UniversalReceiverDelegate']);
*/
```
-#### Dynamic-Key Example
+### Dynamic-Key Example
```javascript title="Receiving dynamic keys from the schema"
await myErc725.getData({
@@ -1151,7 +1268,7 @@ An array of extra [LSP-2 ERC725YJSONSchema] objects that can be used to find the
| `result` | Record string | If the parameter `keys` is a string[ ] and the schema was found. |
| `result` | null | If the schema was not found. |
-#### Example using a predefined LSP3 schema
+### Example using a predefined LSP3 schema
```javascript title="Parsing the hashed key from the LSP3 schema"
myErc725.getSchema(
@@ -1190,7 +1307,7 @@ myErc725.getSchema([
*/
```
-#### Example using a custom schema
+### Example using a custom schema
```javascript title="Parsing the hashed key from a custom schema"
myErc725.getSchema(
@@ -1343,7 +1460,7 @@ myErc725.supportsInterface('0xfd4d5c50');
ERC725.supportsInterface('0xfd4d5c50', {
address: '0xe408BDDbBAB1985006A2c481700DD473F932e5cB',
- rpcUrl: 'https://rpc.l16.lukso.network',
+ rpcUrl: 'https://rpc.testnet.lukso.network',
});
// false
```
@@ -1353,8 +1470,8 @@ myErc725.supportsInterface('LSP0ERC725Account');
// false
ERC725.supportsInterface('LSP0ERC725Account', {
- address: '0xe408BDDbBAB1985006A2c481700DD473F932e5cB',
- rpcUrl: 'https://rpc.l16.lukso.network',
+ address: '0x0Dc07C77985fE31996Ed612F568eb441afe5768D',
+ rpcUrl: 'https://rpc.testnet.lukso.network',
});
// true
```
diff --git a/docs/tools/erc725js/getting-started.md b/docs/tools/erc725js/getting-started.md
index 063942bd63..cbe4770260 100644
--- a/docs/tools/erc725js/getting-started.md
+++ b/docs/tools/erc725js/getting-started.md
@@ -35,11 +35,11 @@ import Web3 from 'web3';
// https://github.com/lukso-network/LIPs/blob/master/LSPs/LSP-3-UniversalProfile.md
const schemas = [
{
- name: 'SupportedStandards:LSP3UniversalProfile',
- key: '0xeafec4d89fa9619884b60000abe425d64acd861a49b8ddf5c0b6962110481f38',
+ name: 'SupportedStandards:LSP3Profile',
+ key: '0xeafec4d89fa9619884b600005ef83ad9559033e6e941db7d7c495acdce616347',
keyType: 'Mapping',
valueType: 'bytes',
- valueContent: '0xabe425d6',
+ valueContent: '0x5ef83ad9',
},
{
name: 'LSP3Profile',
@@ -57,8 +57,8 @@ const schemas = [
},
];
-const address = '0x0c03fba782b07bcf810deb3b7f0595024a444f4e';
-const RPC_URL = 'https://rpc.l16.lukso.network';
+const address = '0x0Dc07C77985fE31996Ed612F568eb441afe5768D';
+const RPC_URL = 'https://rpc.testnet.lukso.network';
const config = {
ipfsGateway: 'https://YOUR-IPFS-GATEWAY/ipfs/',
};
@@ -72,17 +72,14 @@ const erc725 = new ERC725(schemas, address, RPC_URL, config);
await erc725.getOwner();
// > '0x28D25E70819140daF65b724158D00c373D1a18ee'
-await erc725.getData('SupportedStandards:LSP3UniversalProfile');
+await erc725.getData('SupportedStandards:LSP3Profile');
/**
{
- 'SupportedStandards:LSP3UniversalProfile': '0xabe425d6'
+ 'SupportedStandards:LSP3Profile': '0x5ef83ad9'
}
*/
-await erc725.getData([
- 'LSP3Profile',
- 'SupportedStandards:LSP3UniversalProfile',
-]);
+await erc725.getData(['LSP3Profile', 'SupportedStandards:LSP3Profile']);
/**
{
LSP3Profile: {
@@ -90,7 +87,7 @@ await erc725.getData([
hash: '0xb4f9d72e83bbe7e250ed9ec80332c493b7b3d73e0d72f7b2c7ab01c39216eb1a',
hashFunction: 'keccak256(utf8)'
},
- 'SupportedStandards:LSP3UniversalProfile': '0xabe425d6'
+ 'SupportedStandards:LSP3Profile': '0x5ef83ad9'
}
*/
diff --git a/docs/tools/erc725js/schemas.md b/docs/tools/erc725js/schemas.md
index b8fb1c38a6..915497697b 100644
--- a/docs/tools/erc725js/schemas.md
+++ b/docs/tools/erc725js/schemas.md
@@ -26,7 +26,7 @@ Current provided LSPs are:
```
LSP1UniversalReceiverDelegate.json
-LSP3UniversalProfileMetadata.json
+LSP3ProfileMetadata.json
LSP4DigitalAssetLegacy.json
LSP4DigitalAsset.json
LSP5ReceivedAssets.json
@@ -39,7 +39,7 @@ LSP12IssuedAssets.json
You can import them from:
```js
-import LSP3 from '@erc725/erc725.js/schemas/LSP3UniversalProfileMetadata.json';
+import LSP3 from '@erc725/erc725.js/schemas/LSP3ProfileMetadata.json';
import LSP5 from '@erc725/erc725.js/schemas/LSP5ReceivedAssets.json';
// ...
diff --git a/docs/tools/lsp-factoryjs/classes/lsp4-digital-asset-metadata.md b/docs/tools/lsp-factoryjs/classes/lsp4-digital-asset-metadata.md
index f7a3407956..51f3f91db3 100644
--- a/docs/tools/lsp-factoryjs/classes/lsp4-digital-asset-metadata.md
+++ b/docs/tools/lsp-factoryjs/classes/lsp4-digital-asset-metadata.md
@@ -242,8 +242,6 @@ await LSP4DigitalAssetMetadata.uploadMetadata(
#### Upload Custom LSP4 Metadata Example
-
-
```javascript title="Uploading LSP4Metadata using custom upload options"
await LSP4DigitalAssetMetadata.uploadMetadata(
{
@@ -259,7 +257,7 @@ await LSP4DigitalAssetMetadata.uploadMetadata(
port: 5001,
protocol: 'https',
},
- }
+ },
);
/**
{
@@ -440,7 +438,6 @@ await lspFactory.LSP4DigitalAssetMetadata.uploadMetadata({
}
*/
```
-
[ipfs-http-client library]: https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-http-client#createoptions
[lsp4]: https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-4-DigitalAsset-Metadata.md
diff --git a/docs/tools/lsp-factoryjs/classes/lsp7-digital-asset.md b/docs/tools/lsp-factoryjs/classes/lsp7-digital-asset.md
index c7f4da1634..7fc0d94c55 100644
--- a/docs/tools/lsp-factoryjs/classes/lsp7-digital-asset.md
+++ b/docs/tools/lsp-factoryjs/classes/lsp7-digital-asset.md
@@ -14,6 +14,7 @@ lspFactory.LSP7DigitalAsset.deploy(digitalAssetProperties [, options]);
Deploys a mintable [LSP7 Digital Asset](../../../standards/nft-2.0/LSP7-Digital-Asset).
:::info
+
By default LSPFactory deploys the [`Mintable`](https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol) implementation of LSP7 digital assets. To call the `mint` function import the `LSP7Mintable` abi from the [lsp-smart-contracts library](https://github.com/lukso-network/lsp-smart-contracts).
:::
@@ -44,7 +45,9 @@ Object which specifies how the LSP7 Digital Asset will be deployed
| [`ipfsGateway`](../deployment/digital-asset#ipfs-upload-options) (optional) | String \| Object | An IPFS gateway URL or an object containing IPFS configuration options. |
:::info
+
You can read more about the `options` object specification on [its official page](../deployment/digital-asset.md#deployment-configuration)
+
:::
### Returns
@@ -154,7 +157,7 @@ await lspFactory.LSP7DigitalAsset.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP7DigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -163,7 +166,7 @@ await lspFactory.LSP7DigitalAsset.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP7DigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
diff --git a/docs/tools/lsp-factoryjs/classes/lsp8-identifiable-digital-asset.md b/docs/tools/lsp-factoryjs/classes/lsp8-identifiable-digital-asset.md
index 5278a0c62a..3dbf002982 100644
--- a/docs/tools/lsp-factoryjs/classes/lsp8-identifiable-digital-asset.md
+++ b/docs/tools/lsp-factoryjs/classes/lsp8-identifiable-digital-asset.md
@@ -14,6 +14,7 @@ lspFactory.LSP8IdentifiableDigitalAsset.deploy(digitalAssetProperties [, options
Deploys a mintable [LSP8 Identifiable Digital Asset](../../../standards/nft-2.0/LSP8-Identifiable-Digital-Asset).
:::info
+
By default LSPFactory deploys the [`Mintable`](https://github.com/lukso-network/lsp-smart-contracts/blob/develop/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol) implementation of LSP8 digital assets. To call the `mint` function import the `LSP8Mintable` abi from the [lsp-smart-contracts library](https://github.com/lukso-network/lsp-smart-contracts).
:::
@@ -43,7 +44,9 @@ Object which specifies how the LSP8 Digital Asset will be deployed
| [`ipfsGateway`](../deployment/digital-asset#ipfs-upload-options) (optional) | String \| Object | An IPFS gateway URL or an object containing IPFS configuration options. |
:::info
+
You can read more about the `options` object specification on [its official page](../deployment/digital-asset.md#deployment-configuration)
+
:::
### Returns
@@ -158,7 +161,7 @@ await lspFactory.LSP8IdentifiableDigitalAsset.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP8IdentifiableDigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -167,7 +170,7 @@ await lspFactory.LSP8IdentifiableDigitalAsset.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP8IdentifiableDigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
diff --git a/docs/tools/lsp-factoryjs/classes/universal-profile.md b/docs/tools/lsp-factoryjs/classes/universal-profile.md
index 962a1fe835..6e7bb540b1 100644
--- a/docs/tools/lsp-factoryjs/classes/universal-profile.md
+++ b/docs/tools/lsp-factoryjs/classes/universal-profile.md
@@ -18,7 +18,7 @@ Deploys and **configures** a [Universal Profile](../../../standards/universal-pr
After, it will:
-- upload metadata to IPFS and set the [LSP3 Profile](../../../standards/universal-profile/lsp3-profile-metadata) metadata,
+- upload metadata to IPFS and set the [LSP3 Profile](../../../standards/universal-profile/lsp3-profile-metadata.md) metadata,
- attach the Universal Receiver Delegate to the ERC725 Account contract,
- set the Key Manager as the owner of the LSP0 ERC725 Account, and
- set all [LSP6 Permissions](../../../standards/universal-profile/lsp6-key-manager#-types-of-permissions) to the `controllerAddresses` except `DELEGATECALL`.
@@ -63,7 +63,9 @@ Object which specifies how the [UniversalProfile](../../../standards/universal-p
| [`ipfsGateway`](../deployment/universal-profile#ipfs-upload-options) (optional) | String \| Object | IPFS gateway url or an object containing IPFS gateway options. |
:::info Contract Deployment Details
+
See the [configuration specification](../deployment/universal-profile#deployment-configuration) for more information about the `options` property.
+
:::
### Returns
@@ -251,7 +253,7 @@ await lspFactory.UniversalProfile.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -260,7 +262,7 @@ await lspFactory.UniversalProfile.deploy(
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
@@ -310,7 +312,7 @@ Deployment Complete
lspFactory.UniversalProfile.uploadProfileData(profileData [, options]);
```
-Processes and uploads the [LSP3Profile Metadata](../../../standards/universal-profile/lsp3-profile-metadata) to IPFS. The IPFS gateway can be set inside the `options` object.
+Processes and uploads the [LSP3Profile Metadata](../../../standards/universal-profile/lsp3-profile-metadata.md) to IPFS. The IPFS gateway can be set inside the `options` object.
Will resize and upload passed images.
@@ -320,9 +322,10 @@ Available as a static or non-static method callable on the LSPFactory library in
#### 1. `profileData` - Object
-Object containing the [LSP3 Metadata](../../../standards/universal-profile/lsp3-profile-metadata) fields which will be processed and uploaded to IPFS.
+Object containing the [LSP3 Metadata](../../../standards/universal-profile/lsp3-profile-metadata.md) fields which will be processed and uploaded to IPFS.
:::info
+
[Read more about how LSP3 Metadata is processed here](../deployment/universal-profile#uploading-lsp3-metadata-to-ipfs).
:::
@@ -559,4 +562,4 @@ await UniversalProfile.uploadProfileData(
```
[all permissions]: ../../../../../standards/universal-profile/lsp6-key-manager#-address-permissions
-[lsp3]: ../../../standards/universal-profile/lsp3-profile-metadata
+[lsp3]: ../../../standards/universal-profile/lsp3-profile-metadata.md
diff --git a/docs/tools/lsp-factoryjs/deployment/digital-asset.md b/docs/tools/lsp-factoryjs/deployment/digital-asset.md
index 155b44c049..86fb6f5b0c 100644
--- a/docs/tools/lsp-factoryjs/deployment/digital-asset.md
+++ b/docs/tools/lsp-factoryjs/deployment/digital-asset.md
@@ -480,7 +480,7 @@ const contracts = lspFactory.LSP7DigitalAsset.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP7DigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -489,7 +489,7 @@ const contracts = lspFactory.LSP7DigitalAsset.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP7DigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
@@ -580,7 +580,7 @@ const contracts = lspFactory.LSP8IdentifiableDigitalAsset.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP8IdentifiableDigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -589,7 +589,7 @@ const contracts = lspFactory.LSP8IdentifiableDigitalAsset.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP8IdentifiableDigitalAsset',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
diff --git a/docs/tools/lsp-factoryjs/deployment/universal-profile.md b/docs/tools/lsp-factoryjs/deployment/universal-profile.md
index 755665c1ce..aeb8f9f107 100644
--- a/docs/tools/lsp-factoryjs/deployment/universal-profile.md
+++ b/docs/tools/lsp-factoryjs/deployment/universal-profile.md
@@ -587,7 +587,7 @@ const contracts = await lspFactory.UniversalProfile.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'PENDING',
transaction: {
...
@@ -596,7 +596,7 @@ const contracts = await lspFactory.UniversalProfile.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32[],bytes[])',
+ functionName: 'setDataBatch(bytes32[],bytes[])',
status: 'COMPLETE',
receipt: {
...
@@ -641,7 +641,7 @@ const contracts = await lspFactory.UniversalProfile.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32,bytes)',
+ functionName: 'setDataBatch(bytes32,bytes)',
status: 'PENDING',
transaction: {
...
@@ -650,7 +650,7 @@ const contracts = await lspFactory.UniversalProfile.deploy({...}, {
{
type: 'TRANSACTION',
contractName: 'LSP0ERC725Account',
- functionName: 'setData(bytes32,bytes)',
+ functionName: 'setDataBatch(bytes32,bytes)',
status: 'COMPLETE',
receipt: {
...