fireblocks_sdk/models/
transaction_response_contract_call_decoded_data.rs

1// Fireblocks API
2//
3// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
4//
5// The version of the OpenAPI document: 1.8.0
6// Contact: developers@fireblocks.com
7// Generated by: https://openapi-generator.tech
8
9use {
10    crate::models,
11    serde::{Deserialize, Serialize},
12};
13
14/// TransactionResponseContractCallDecodedData : Decoded data for
15/// `CONTRACT_CALL` operations.
16#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
17pub struct TransactionResponseContractCallDecodedData {
18    #[serde(rename = "contractName", skip_serializing_if = "Option::is_none")]
19    pub contract_name: Option<String>,
20    #[serde(rename = "functionCalls", skip_serializing_if = "Option::is_none")]
21    pub function_calls: Option<Vec<serde_json::Value>>,
22}
23
24impl TransactionResponseContractCallDecodedData {
25    /// Decoded data for `CONTRACT_CALL` operations.
26    pub fn new() -> TransactionResponseContractCallDecodedData {
27        TransactionResponseContractCallDecodedData {
28            contract_name: None,
29            function_calls: None,
30        }
31    }
32}