refactor(tokens): split 1418-LOC god-file into tokens package (P3B.7)
Some checks failed
CI / build (push) Failing after 3s
Some checks failed
CI / build (push) Failing after 3s
Move app/token_deployer.py verbatim to app/tokens/deployer.py with all 8 classes (TokenDeployment, DeployParams, ChainDeployer, EVMDeployer, SolanaDeployer, TronDeployer, TokenDeployerFactory, DeploymentStorage) and get_storage() preserved. The legacy app/token_deployer.py becomes a 13-line re-export shim. Public API fully preserved. Routes unchanged (56). Phase 3B of AUDIT-2026-Q3.md.
This commit is contained in:
parent
42739fb8ee
commit
60bbffc0df
3 changed files with 1450 additions and 1418 deletions
File diff suppressed because it is too large
Load diff
19
app/tokens/__init__.py
Normal file
19
app/tokens/__init__.py
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
"""Tokens subsystem.
|
||||||
|
|
||||||
|
Phase 3B of AUDIT-2026-Q3.md.
|
||||||
|
|
||||||
|
Re-exports the canonical public API of the token deployer. Implementation
|
||||||
|
lives in app.tokens.deployer (moved verbatim from app.token_deployer on
|
||||||
|
2026-07-07).
|
||||||
|
"""
|
||||||
|
from app.tokens.deployer import ( # noqa: F401
|
||||||
|
ChainDeployer,
|
||||||
|
DeployParams,
|
||||||
|
DeploymentStorage,
|
||||||
|
EVMDeployer,
|
||||||
|
SolanaDeployer,
|
||||||
|
TokenDeployment,
|
||||||
|
TokenDeployerFactory,
|
||||||
|
TronDeployer,
|
||||||
|
get_storage,
|
||||||
|
)
|
||||||
1418
app/tokens/deployer.py
Normal file
1418
app/tokens/deployer.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue