The DVM should support price requests for the YES_OR_NO_QUERY price identifier. YES_OR_NO_QUERY is intended to be used with ancillary data to allow anyone to request an answer to a “yes or no” question from UMA governance. This UMIP does not attempt to put any other restrictions on the content of the query, and instead leaves construction of the query up to the requester within ancillary data.
Price settlement can happen in four ways:
Return the p1 value from ancillary data if the answer is “NO”.
Return the p2 value from ancillary data if the answer is “YES”.
Return the p3 value from ancillary data if the answer cannot be determined.
Return the p4 value if the answer cannot be determined AND there is either an earlyExpiration:1 key value pair present in ancillary data, or there is a specific last possible request timestamp listed or implied in the ancillary data question and the active price request timestamp falls before that.