bandforband.fun docs
Security & control

Program & verified builds

The wagers program id, its source code, security.txt, and how to check that the deployed bytecode matches the source.

Program

Program id3TojGaWF1N3V1JFtaRWnr2Y2e8qRtNLZPX2ZV7eZbW9y
FrameworkAnchor 1.2
Sourcegithub.com/AYZNN/wagers.fun, in programs/wagers
LicenseApache-2.0
Security contact[email protected] (also in the on-chain security.txt)

Accounts

AccountSeedsHolds
Config"config"Admin, settler, treasury, fee caps, refund timeout, pause and backing flags
Rewards pool"rewards"USDC for promo codes and referral payouts
UserVault"vault", ownerYour vault. Its USDC sits in the token account "vault_token", owner.
Contest"contest", contest idThe contest's rules, rake tier and state. Its USDC sits in "contest_token", contest id.
Entry"entry", contest, playerOne seat: who paid, which side, whether it was claimed
Backing"backing", contest, backerOne backer's bet on a side
Order"order", order idMakes a purchase, tip or promo payment happen exactly once

Every account also stores a layout version and zeroed reserved bytes, so the program can gain fields in an upgrade without moving any existing data.

Verified builds

Every program release is tagged program-v*. A GitHub workflow builds that tag deterministically with solana-verify in Docker and publishes the executable hash. To check it yourself:

cargo install solana-verify --locked
solana-verify get-program-hash -u mainnet-beta 3TojGaWF1N3V1JFtaRWnr2Y2e8qRtNLZPX2ZV7eZbW9y
solana-verify verify-from-repo -u mainnet-beta \
  --program-id 3TojGaWF1N3V1JFtaRWnr2Y2e8qRtNLZPX2ZV7eZbW9y \
  --library-name wagers --mount-path programs/wagers --arch v3 \
  https://github.com/AYZNN/wagers.fun

The two hashes must match. If they do, the code running on-chain is exactly the code in the repository.

Upgrades and configuration

The program's upgrade authority and its admin are a Squads multisig, not a single key. Fee caps, the refund timeout and whether backing is on can only change inside limits written into the program.

On this page