diff --git a/docs/classes/ERC725.md b/docs/classes/ERC725.md index 06ca8d4d..d679fbc0 100644 --- a/docs/classes/ERC725.md +++ b/docs/classes/ERC725.md @@ -322,6 +322,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([ { @@ -389,6 +392,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([ { @@ -408,6 +416,11 @@ myErc725.encodeData([ */ ``` +
+ +
+ Encode dynamic keys + ```javascript title="Encode dynamic keys" const schemas = [ { @@ -464,6 +477,11 @@ myErc725.encodeData( */ ``` +
+ +
+ Encode multiple keys at once + ```javascript title="Encode multiple keys at once" myErc725.encodeData([ { @@ -506,6 +524,8 @@ myErc725.encodeData([ */ ``` +
+ --- ## encodeKeyName