check_erc20_approve_pattern

Function check_erc20_approve_pattern 

Source
fn check_erc20_approve_pattern(
    public_methods: &[&FunctionMetadata],
    names: &HashSet<String>,
    diagnostics: &mut Vec<Diagnostic>,
)
Expand description

Detect ERC-20 approve/allowance/transferFrom and note they are not in NEP-17.