Skip to main content

is_tip20_prefix

Function is_tip20_prefix 

Source
pub fn is_tip20_prefix(addr: Address) -> bool
Expand description

Returns true if addr has the TIP-20 token prefix.

NOTE: This only checks the prefix, not whether the token was actually created. Use TIP20Factory::is_tip20() for full validation.