Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman authored Jul 25, 2023
1 parent 57df200 commit 944d1ac
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 26 deletions.
24 changes: 13 additions & 11 deletions docs/tools/erc725js/classes/ERC725.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ ERC725.decodePermissions('0x0000000000000000000000000000000000000000000000000000
/**
{
CHANGEOWNER: false,
CHANGEPERMISSIONS: false,
EDITPERMISSIONS: false,
ADDCONTROLLER: false,
SETDATA: false,
CALL: true,
Expand All @@ -239,7 +239,7 @@ ERC725.decodePermissions('0x0000000000000000000000000000000000000000000000000000
/**
{
CHANGEOWNER: false,
CHANGEPERMISSIONS: true,
EDITPERMISSIONS: true,
ADDCONTROLLER: false,
SETDATA: true,
CALL: false,
Expand Down Expand Up @@ -277,9 +277,9 @@ When encoding JSON, it is possible to pass in the JSON object and the URL where

#### 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 |
| :--------------------------- | :--------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -358,10 +358,12 @@ myErc725.encodeData([
```

```javascript
myErc725.encodeData({
keyName: 'LSP1UniversalReceiverDelegate',
value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
});
myErc725.encodeData([
{
keyName: 'LSP1UniversalReceiverDelegate',
value: '0x1183790f29BE3cDfD0A102862fEA1a4a30b3AdAb',
},
]);
/**
{
keys: ['0x0cfc51aec37c55a4d0b1a65c6255c4bf2fbdf6277f3cc0730c45b828b6db8b47'],
Expand Down Expand Up @@ -669,7 +671,7 @@ An object with [LSP6 KeyManager Permissions] as keys and a `boolean` as value. A
ERC725.encodePermissions({
CHANGEOWNER: false,
ADDCONTROLLER: false,
CHANGEPERMISSIONS: false,
EDITPERMISSIONS: false,
ADDEXTENSIONS: false,
CHANGEEXTENSIONS: true,
ADDUNIVERSALRECEIVERDELEGATE: false,
Expand Down Expand Up @@ -699,7 +701,7 @@ ERC725.encodePermissions({
}),
// '0x000000000000000000000000000000000000000000000000000000000000000a'
ERC725.encodePermissions({
CHANGEPERMISSIONS: true,
EDITPERMISSIONS: true,
CHANGEEXTENSIONS: true,
CHANGEUNIVERSALRECEIVERDELEGATE: true,
SETDATA: true,
Expand All @@ -709,7 +711,7 @@ ERC725.encodePermissions({

// This method is also available on the instance:
myErc725.encodePermissions({
CHANGEPERMISSIONS: true,
EDITPERMISSIONS: true,
SETDATA: true,
}),
```
Expand Down
9 changes: 5 additions & 4 deletions docs/tools/lsp-factoryjs/classes/lsp7-digital-asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ By default LSPFactory deploys the [`Mintable`](https://github.com/lukso-network/

:::


### Parameters

#### 1. `digitalAssetProperties` - Object
Expand Down Expand Up @@ -49,9 +50,9 @@ You can read more about the `options` object specification on [its official page

### Returns

| Type | Description |
| :-------- | :---------------------------------------------------------- |
| `Promise` | Resolves to an object containing deployed contract details. |
| Type | Description |
| :----------- | :------------------------------------------------------------------------------------------- |
| `Promise` | Resolves to an object containing deployed contract details. |

### Example

Expand Down Expand Up @@ -197,7 +198,7 @@ Deployment Complete
*/
```

[constructor parameters]: ../../../../../contracts/contracts/LSP7DigitalAsset#constructor
[constructor parameters]: ../../../../../standards/smart-contracts/lsp7-digital-asset#constructor
[contract deployment options]: ../deployment/digital-asset.md
[lsp4]: https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-4-DigitalAsset-Metadata.md
[uploading lsp4 digital asset metadata]: ./lsp4-digital-asset-metadata#uploadMetadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ You can read more about the `options` object specification on [its official page

### Returns

| Type | Description |
| :-------- | :---------------------------------------------------------- |
| `Promise` | Resolves to an object containing deployed contract details. |
| Type | Description |
| :----------- | :------------------------------------------------------------------------------------------- |
| `Promise` | Resolves to an object containing deployed contract details. |

### Example

Expand Down Expand Up @@ -202,7 +202,7 @@ Deployment Complete
```

[contract deployment options]: ../deployment/digital-asset/#deployment-configuration
[constructor parameters]: ../../../../../contracts/contracts/LSP7DigitalAsset#constructor
[constructor parameters]: ../../../../../standards/smart-contracts/lsp7-digital-asset#constructor
[contract deployment options]: ../deployment/digital-asset.md
[lsp4]: https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-4-DigitalAsset-Metadata.md
[uploading lsp4 digital asset metadata]: ./lsp4-digital-asset-metadata#uploadMetadata
Expand Down
14 changes: 7 additions & 7 deletions docs/tools/lsp-factoryjs/classes/universal-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ Read more about configuring Universal Profile smart contracts deployment [here](

Object containing profile properties set during Universal Profile deployment.

| Name | Type | Description |
| :------------------------------------------------------------------------------- | :--------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`controllerAddresses`](../deployment/universal-profile#controller-addresses) | Array | A list of public addresses which will have all [LSP6 permissions](../../../contracts/contracts/LSP6KeyManager/LSP6KeyManager.md) except `DELEGATECALL` set on the Universal Profile contract during deployment. |
| [`lsp3Profile`](../deployment/universal-profile#adding-lsp3-metadata) (optional) | String \| Object | [LSP3 Profile metadata](https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-3-UniversalProfile-Metadata.md) which will be uploaded and set during deployment. |
| Name | Type | Description |
| :------------------------------------------------------------------------------- | :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`controllerAddresses`](../deployment/universal-profile#controller-addresses) | Array | A list of public addresses which will have all [LSP6 permissions](../../../standards/smart-contracts/lsp6-key-manager.md) except `DELEGATECALL` set on the Universal Profile contract during deployment. |
| [`lsp3Profile`](../deployment/universal-profile#adding-lsp3-metadata) (optional) | String \| Object | [LSP3 Profile metadata](https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-3-UniversalProfile-Metadata.md) which will be uploaded and set during deployment. |

#### 2. `options` - Object (optional)

Expand Down Expand Up @@ -174,7 +174,7 @@ await lspFactory.UniversalProfile.deploy(
console.log(contracts);
},
},
},
}
);

/**
Expand Down Expand Up @@ -508,7 +508,7 @@ await UniversalProfile.uploadProfileData(
},
{
ipfsGateway: 'https://ipfs.infura.io',
},
}
);

/**
Expand Down Expand Up @@ -540,7 +540,7 @@ await UniversalProfile.uploadProfileData(
port: 5001,
protocol: 'https',
},
},
}
);

/**
Expand Down

0 comments on commit 944d1ac

Please sign in to comment.