Skip to main content

is_tip20_payment

Function is_tip20_payment 

Source
fn is_tip20_payment(to: Option<&Address>, input: &[u8]) -> bool
Expand description

Returns true if to has the TIP-20 payment prefix and input is recognized payment calldata (selector + exact ABI-encoded length).