pub fn process_beacon_update<D: Storage<DataPoint>>(
storage: &mut D,
beacon_id: Bytes32,
timestamp: Uint,
data: Bytes,
) -> Result<(), Error>
Expand description
Called privately to process the Beacon update. Returns the updated Beacon value.
ยงArguments
storage
The storage betweenbeacon_id
toDatapoint
beacon_id
The Beacon IDtimestamp
Timestamp used in the signaturedata
Fulfillment data (anint256
encoded in contract ABI)