IETSEnrichTarget
Overview
License: MIT
interface IETSEnrichTarget
Events info
RequestEnrichTarget
event RequestEnrichTarget(uint256 targetId)
emitted when Target enrichment is requested via requestEnrichTarget().
Parameters:
Name | Type | Description |
---|---|---|
targetId | uint256 | Target record to enrich. |
Functions info
requestEnrichTarget (0x6a34db1c)
function requestEnrichTarget(uint256 _targetId) external
Request enrichment for a Target using the hybrid ETS Enrich Target API.
Parameters:
Name | Type | Description |
---|---|---|
_targetId | uint256 | Id of Target being enriched. |
fulfillEnrichTarget (0x5b6411ab)
function fulfillEnrichTarget(
uint256 _targetId,
string calldata _ipfsHash,
uint256 _httpStatus
) external
Updates Target record with additional metadata stored behind IPFS hash.
Parameters:
Name | Type | Description |
---|---|---|
_targetId | uint256 | Id of Target being enriched & updated. |
_ipfsHash | string | IPFS hash with metadata related to the Target. |
_httpStatus | uint256 | HTTP response code from off-chain ETS Enrich Target API. |