Skip to main content

Module tip20_factory

Module tip20_factory 

Source
Expand description

TIP-20 token factory precompile — deploys new TIP-20 tokens at deterministic addresses.

Modules§

ITIP20Factory
Module containing a contract’s types and functions.
dispatch
ABI dispatch for the TIP20Factory precompile.
slots

Structs§

TIP20Factory

Enums§

TIP20FactoryError
Container for all the ITIP20Factory custom errors.
TIP20FactoryEvent
Container for all the ITIP20Factory events.

Constants§

RESERVED_SIZE 🔒
Number of reserved addresses (0 to RESERVED_SIZE-1) that cannot be deployed via factory
TIP20_PREFIX_BYTES 🔒
TIP20 token address prefix (12 bytes): 0x20C000000000000000000000

Functions§

compute_tip20_address 🔒
Computes the deterministic TIP20 address from sender and salt. Returns the address and the lower bytes used for derivation.