1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

parser fix

This commit is contained in:
Matthias Kretschmann 2021-11-11 14:26:57 +00:00
parent bd25862a77
commit 5aef5dfb35
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -49,9 +49,8 @@ Provider -> Provider: depending on metadataState (expired,retired) and aquarius
Provider -> Aquarius: DDO Provider -> Aquarius: DDO
Aquarius -> Aquarius : validate DDO Aquarius -> Aquarius : validate DDO
Aquarius -> Aquarius : cache DDO Aquarius -> Aquarius : cache DDO
Aquarius -> Aquarius : enhance cached DDO in response with additional infos like `events` & `stats` Aquarius -> Aquarius : enhance cached DDO in response with additional infos like events & stats
```
````
</details> </details>
@ -61,7 +60,7 @@ In Ocean, a DID is a string that looks like this:
```text ```text
did:op:0ebed8226ada17fde24b6bf2b95d27f8f05fcce09139ff5cec31f6d81a7cd2ea did:op:0ebed8226ada17fde24b6bf2b95d27f8f05fcce09139ff5cec31f6d81a7cd2ea
```` ```
The part after `did:op:` is the checksum of the ERC721 contract address and the chain the asset has been published to: The part after `did:op:` is the checksum of the ERC721 contract address and the chain the asset has been published to:
@ -350,25 +349,25 @@ The checksum hash is used when publishing/updating metadata using the `setMetaDa
```solidity ```solidity
event MetadataCreated( event MetadataCreated(
address indexed createdBy, address indexed createdBy,
uint8 state, uint8 state,
string decryptorUrl, string decryptorUrl,
bytes flags, bytes flags,
bytes data, bytes data,
bytes metaDataHash, bytes metaDataHash,
uint256 timestamp, uint256 timestamp,
uint256 blockNumber uint256 blockNumber
); );
event MetadataUpdated( event MetadataUpdated(
address indexed updatedBy, address indexed updatedBy,
uint8 state, uint8 state,
string decryptorUrl, string decryptorUrl,
bytes flags, bytes flags,
bytes data, bytes data,
bytes metaDataHash, bytes metaDataHash,
uint256 timestamp, uint256 timestamp,
uint256 blockNumber uint256 blockNumber
); );
``` ```
@ -601,3 +600,7 @@ Example:
} }
} }
``` ```
```
```