Skip to content

Commit

Permalink
improved example titles encodeData
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman authored Mar 30, 2022
1 parent 3bd4b93 commit 0b7a93b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/classes/ERC725.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ An object with the same keys as the object that was passed in as a parameter con

#### Example

```javascript title="Encoding object with one key"
```javascript title="Encode a JSONURL with json and uploaded URL"
const encodedDataOneKey = erc725.encodeData({
LSP3Profile: {
json: profileJson, // check instantiation.js to see the actual JSON
Expand All @@ -121,7 +121,7 @@ const encodedDataOneKey = erc725.encodeData({
*/
```

```javascript title="Encoding object with one key"
```javascript title="Encode a JSONURL with json, hash function, hash and uploaded URL"
const encodedDataOneKeyV2 = erc725.encodeData({
LSP3Profile: {
hashFunction: 'keccak256(utf8)',
Expand All @@ -140,7 +140,7 @@ const encodedDataOneKeyV2 = erc725.encodeData({
*/
```

```javascript title="Encoding object with multiple keys"
```javascript title="Encode multiple keys at once"
const encodedDataManyKeys = erc725.encodeData({
LSP3Profile: {
hashFunction: 'keccak256(utf8)',
Expand Down

0 comments on commit 0b7a93b

Please sign in to comment.