is_protocol_curator
Documentation for eth_defi.vault.curator.is_protocol_curator function.
- is_protocol_curator(slug)
Check whether a curator slug represents a protocol-curated vault.
Protocol-curated means the protocol itself operates the vault rather than a third-party risk manager.
- Parameters
slug (str) – Curator slug as returned by
identify_curator().- Returns
Trueif the slug identifies a protocol acting as its own curator.- Return type