Signature
IB20Factory.sol
Description
Returnstrue if and only if token bears the 0xB2 address prefix and the 0xef bytecode stub that createB20 plants when it creates a token. This is the stronger existence check: isB20(address) tests the prefix alone and can return true for an address the Factory has never touched, whereas isB20Initialized confirms the Factory has run to completion at that address.
The flag flips exactly once, the moment the creating createB20 call returns. It never reverts.
Before
createB20 is called, the predicted token address matches the 0xB2 prefix but carries no stub. Calls to that address are no-ops. Only after createB20 returns does the 0xef stub exist, enabling dynamic routing to the token’s native logic.Parameters
Returns
Reverts
Never reverts.Access Control
View function. No role required.Example
Usage Example