Skip to main content

match_allowed_call

Function match_allowed_call 

Source
fn match_allowed_call(
    scopes: &[CallScope],
    to: Address,
    selector: [u8; 4],
    recipient: Option<Address>,
) -> AllowedCallMatch
Expand description

Pure TIP-1011 matching logic. Extracted so it can be unit-tested.