Function update_dapi_with_beacons

Source
pub fn update_dapi_with_beacons<D: Storage<DataPoint>>(
    d: &mut D,
    beacon_ids: &[Bytes32],
) -> Result<Bytes32, Error>
Expand description

Updates the dAPI that is specified by the beacon IDs. Returns the dAPI ID.

ยงArguments

  • beacon_ids is the list of beacon ids to perform aggregation