bwick-config is the single source of truth for every address that can change. Instead of hardcoding the mint, bridge program, AMM, launchpad, and oracle into every app, each app hardcodes only one address, this registry, and reads the rest from it at runtime.
Why it exists: hot-swap without redeploys
The wallet extension, bridge dApp, launchpad frontend, the Telegram bots, and the relayer all resolve their addresses from this contract on startup. When an address rotates (a new token CA, a redeployed contract), the admin callsUpdateConfig once and every client picks up the new value, no app redeploy, no extension re-review, no rebuild.
What it stores
UpdateAdmin.
This is why “is it hot-swappable regardless of the CA?” is yes: the launch token address lives here, and clients read
solana_bwick_spl_mint (and the rest) from this one contract.Interface
This contract is compact, it lives entirely inlib.rs (Config, InstantiateMsg, UpdateConfig, UpdateAdmin, and the query). Read it below.
