Skip to main content

receiver_contract_id

Function receiver_contract_id 

Source
pub fn receiver_contract_id(
    hir: &Hir<'_>,
    recv: &Expr<'_>,
) -> Option<ContractId>
Expand description

Static contract type of a method-call receiver: a contract-typed variable or an IFoo(addr) interface wrap.