Skip to main content

match_flash_loan_call

Function match_flash_loan_call 

Source
fn match_flash_loan_call<'hir>(
    gcx: Gcx<'hir>,
    hir: &Hir<'hir>,
    expr: &Expr<'hir>,
) -> Option<PendingRepayment>
Expand description

EIP-3156 onFlashLoan(address,address,uint256,uint256,bytes) returns (bytes32). Only returns a record when the receiver type declares the exact sig and every tracked arg resolves to a VariableId; literal args yield None.