mirror of
https://github.com/lux-apps/game.git
synced 2026-10-30 18:15:14 +00:00
Deploy.s.sol deploys Lux, the Statistics implementation and its transparent proxy, then every level factory in deployId order, registers each with Lux, and writes client/src/gamedata/deploy.<network>.json in the client's shape (0..29 plus lux/implementation/proxyAdmin/proxyStats); the proxyAdmin address is read from the proxy's ERC1967 admin slot. Network is NETWORK or, for chain 1337, "local". Upgrade.s.sol replaces upgrade_proxy.mjs: deploy a new implementation and point the proxy at it. Co-authored-by: Hanzo Dev <[email protected]>