Expand description
Modules§
- ITIP20
Factory - Module containing a contract’s types and functions.
- dispatch
- ABI dispatch for the
TIP20Factoryprecompile. - slots
Structs§
- TIP20
Factory - create
Token Call - Function with signature
createToken(string,string,string,address,address,bytes32)and selector0x68130445. - create
Token With Logo Call - @notice Creates a token and sets its logoURI atomically (TIP-1026).
@dev Solidity overload of
createTokenwith an additionallogoURIargument. Reverts withLogoURITooLongifbytes(logoURI).length > 256, or withInvalidLogoURIiflogoURIis non-empty and either has no parseable scheme or its scheme is not in the allow-list. Function with signaturecreateToken(string,string,string,address,address,bytes32,string)and selector0x5323d222.
Enums§
- TIP20
Factory Error - Container for all the
ITIP20Factorycustom errors. - TIP20
Factory Event - Container for all the
ITIP20Factoryevents.
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.