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]>
15 lines
278 B
TOML
15 lines
278 B
TOML
[profile.default]
|
|
src = "src"
|
|
test = "test"
|
|
out = "out"
|
|
libs = ["lib"]
|
|
script = "script"
|
|
solc_version = "0.8.37"
|
|
evm_version = "cancun"
|
|
optimizer = true
|
|
optimizer_runs = 1000
|
|
fs_permissions = [{ access = "read-write", path = "../client/src/gamedata" }]
|
|
|
|
[fmt]
|
|
line_length = 100
|