Function process_beacon_update

Source
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 between beacon_id to Datapoint
  • beacon_id The Beacon ID
  • timestamp Timestamp used in the signature
  • data Fulfillment data (an int256 encoded in contract ABI)