2023-12-21 16:51:15 +03:00
|
|
|
/*
|
2024-06-26 12:34:36 +03:00
|
|
|
* AquaVM Workflow Engine
|
2023-12-21 16:51:15 +03:00
|
|
|
*
|
2024-06-26 12:34:36 +03:00
|
|
|
* Copyright (C) 2024 Fluence DAO
|
2023-12-21 16:51:15 +03:00
|
|
|
*
|
2024-06-26 12:34:36 +03:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation version 3 of the
|
|
|
|
* License.
|
2023-12-21 16:51:15 +03:00
|
|
|
*
|
2024-06-26 12:34:36 +03:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2023-12-21 16:51:15 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
use air::RunParameters;
|
|
|
|
|
|
|
|
use serde::Deserialize;
|
|
|
|
use serde::Serialize;
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
|
|
|
pub struct AquaVMProvingParameters {
|
|
|
|
pub air: String,
|
|
|
|
pub prev_data: Vec<u8>,
|
|
|
|
pub current_data: Vec<u8>,
|
|
|
|
pub run_params: RunParameters,
|
|
|
|
pub call_results: Vec<u8>,
|
|
|
|
}
|