raceadmin

Pewpew Racing — Admin Panel

Admin Panel

Active GAME Contracts

Active GAME_CONTRACT:
Active GAME_VIEWS:
Active USDC:
Active PEWPEW:

GAME_CONTRACT ↔ GAME_VIEWS Wiring

Uses: GAME_CONTRACT.setGameView(address) and GAME_VIEWS.setGame(address)

Set Views on Game (GAME_CONTRACT.setGameView)

Set Game on Views (GAME_VIEWS.setGame)

Verify Wiring (read-only)

GAME_CONTRACT.getWiredAddresses().views:
GAME_CONTRACT.getWiredAddresses().aux:
GAME_VIEWS.game():

CarShop Admin

CarShop:

Set CarNFT Address

Set Game Contract (CarShop.setGameContract)

Tip: this input auto-follows the Active GAME_CONTRACT above.

Set Model Price (USDC, rarity 0)

This CarShop version only allows setting price for rarity 0.

View Model Price (rarity 0)

UpgradeRegistry Admin

UpgradeRegistry:

Initialize Default Upgrade Prices

Loads all canonical upgrade definitions + prices. Only run once per deployment.

RacerUpgrades1155 Admin

RacerUpgrades1155:

Set Game Contract

Set Upgrade Registry

Set Upgrade Shop

Set Base Metadata URI

UpgradeShop Admin

UpgradeShop:

Set Tokens + Router + WPLS

Set Upgrade Registry

Set RacerUpgrades1155

Set Game Contract

Set Slippage Bps

GAME_CONTRACT Rescue

GAME_CONTRACT:

Rescue USDC (6 decimals, human)

Rescue ERC20 (18 decimals, human)

Rescue PLS (18 decimals, human)

GAME_CONTRACT — Setters

GAME_CONTRACT:

Set Race Fees (PLS, human)

Set Tokens (GAME_CONTRACT)

Set Economy Wiring (router/pewswap5)

Set Core Contracts (carNFT/upgradeRegistry/upgrades1155)

Set Slippage Bps