classify_onyx_deposit_handler

Documentation for eth_defi.enzyme.onyx_permission.classify_onyx_deposit_handler function.

classify_onyx_deposit_handler(results)

Classify one active Onyx handler from its current getter results.

Built-in address/controller allowlists are conclusive evidence of prior account approval. When those restrictions are disabled, all relevant issuance hooks must also be absent before a route is called public: an arbitrary hook can revert the transaction through an external compliance or policy engine.

SharesMintHandler is permissioned even without a list because its mint() entrypoint is callable only by the vault owner or an admin, who explicitly selects each recipient. This fits whitelisted’s broader meaning of prior manual account approval.

Parameters

results (collections.abc.Mapping[str, eth_defi.event_reader.multicall_batcher.EncodedCallResult]) – Successful and failed getter results keyed by function name.

Returns

Current identity-approval requirement for this handler.

Return type

eth_defi.vault.deposit_redeem.VaultDepositPermission