sway_core/language/ty/expression/
contract.rs

1
2
3
4
5
6
7
8
9
use crate::language::ty::*;

#[derive(Clone, Debug)]
pub struct ContractCallParams {
    // This is none in encoding V1
    pub(crate) func_selector: Option<[u8; 4]>,
    pub(crate) contract_address: Box<TyExpression>,
    pub(crate) contract_caller: Box<TyExpression>,
}