sway_core/language/ty/expression/contract.rs
1use crate::language::ty::*;
2use serde::{Deserialize, Serialize};
3
4#[derive(Clone, Debug, Serialize, Deserialize)]
5pub struct ContractCallParams {
6 // This is none in encoding V1
7 pub(crate) func_selector: Option<[u8; 4]>,
8 pub(crate) contract_address: Box<TyExpression>,
9 pub(crate) contract_caller: Box<TyExpression>,
10}