Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateTokenConfigs ¶
MigrateTokenConfigs canonicalizes token storage keys and backfills the PRC20 reverse index (F-2026-17022). Before this version tokens were keyed by the raw address (case-sensitive) and there was no PRC20 index. The keeper now keys every row by the canonical address (EIP-55 for EVM) and maintains a PRC20 → storage-key index for O(1) GetTokenConfigByPRC20.
This migration re-keys any row whose stored key differs from its canonical key, then (re)builds the PRC20 index over every row. Both steps are idempotent and safe to run on already-canonical / empty state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.