No Transfer or Method Hooks

BSSC Token Integration Standard version 2

Domain: 4. Token Behaviors | Level: SHOULD

Statement of Requirement:

The Token Contract SHOULD NOT implement any transfer hooks or hooks on any method

See it in the Specification

Purpose

Ensure that transfers do not have extra consequences making them harder to understand

Audit procedures

For Solana SPL Token 2022 Tokens, check whether they use the TokenHook extension.

For other Tokens, check whether the methods that transfer funds implement any other behaviour in the same process.

Applicability

Any transfer method that carries out a function other than transfer from one EOA to another is using a Transfer Hook. Solana Tokens that use the "SPL Token" program do not enable transfer hook methods.

Solana Tokens that use the "SPL Token 2022" can use the TokenHook extension.

If transfers do use Transfer Hooks, it is necessary to decide whether, in the opinion of the evaluator, the custom behaviour is justified.

Success Criteria

Failure Criteria

Justifiable Exceptions

There are many examples where a Token Contract can use a Transfer Hook.

Use cases that are typically justified include:

Key Evidence