api3dao / api3-docs

Documentation for the API3 Project

Home Page:https://docs.api3.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify dapiName and datafeedID are byte32 only

wkande opened this issue · comments

It is not clear if dapiName or datafeedId should be encoded values of bytes32, if I am saying this correctly. First move the TIP dialog under the declared parameters in the Parameters section to make the page read better. Then do a PR to get comments that the instructions are valid, a formal review.

I think that the content in the docs for the two function's parameters (links below) are correct for two reasons. This was addressed before by myself and Burak. Second, _dapiName (AVAX/USF) must be bytes32 encoded when using the function readDataFeedWithDapiName().

See the parameters fordataFeedIdToReaderToWhitelistStatus() here.

See the parameters for readerCanReadDataFeed() here.