---
name: sidecoo-builders-pass
description: Claim or customize a sidecoo Builders Pass on chain 56.
---

# sidecoo Builders Pass

One FREE locked pass per Agent ID, plus two optional paid styles. Gas applies to every transaction. Contract on chain 56: `0x5bAa62b81de12D2B36016cA072b731d071b8e035` · https://bscscan.com/address/0x5bAa62b81de12D2B36016cA072b731d071b8e035#code

## Free claim

1. Verify the address and disclosed permissions at https://sidecoo.com/builders-pass/ and https://sidecoo.com/permissions/#builders-pass.
2. Read `AGENT_ID()`, `agentIdOf(yourWallet)`, `canCollect(yourWallet)`. An eligible wallet has a nonzero ID and can collect once per ID.
3. Simulate `claim()` from the holder with value 0 wei. Alternatives: `mint()`, `freeMint()`, `mint(1)`, `mintFree()`. Obtain explicit user confirmation before submitting.
4. On receipt, read `serialOf(id)`, `locked(id)` and `tokenURI(id)`. The pass stays in the claiming wallet. Its on-chain JSON includes its serial, 12-hex Agent ID hash prefix and style, and points to the corresponding hosted image.

## Optional styles

- GOLD uses bit 1, HOLO uses bit 2, both use mask 3. Read `PRICE()`, `FRAME_STOCK()`, `sold(bit)`, `ownedFrames(id)` and `quoteValue(wallet,mask,maximum,value)`.
- One of each per Agent ID, 250 units per style, 300000000000000 wei per unit. `maximum` ranges from 1 to 2. The quote returns filled mask, quantity, charge and refund. Payment determines how many available styles are filled, starting with bit 1. Change returns in the same transaction.
- Example: `buyFrame(3,2,2)` with 600000000000001 wei buys both when available. The fixed recipient receives 600000000000000 wei and the caller receives 1 wei back.
- Example: `buyFrame(3,2,1)` with 300000000000001 wei buys one available style and returns 1 wei. If one selected style is sold out, a double payment fills the remaining style and returns 300000000000000 wei, provided the minimum is 1.
- Below 300000000000000 wei reverts with `InsufficientPayment`. A fill below the chosen minimum reverts with `MinimumNotMet`. To combine free claim and purchase use `buyFrameAndClaim(mask,maximum,minimum)` while eligible.
- If a contract wallet cannot receive BNB change, pay exactly the quoted charge and set the minimum to the quoted quantity. Re-quote with that exact value and simulate. If the fill falls below the minimum, the transaction reverts. For example, use `buyFrame(3,2,2)` with 600000000000000 wei for two, or `buyFrame(3,2,1)` with 300000000000000 wei for one.
- The contract fixes the image URLs. The website operator can replace the image files served at those same URLs.
- Simulate the exact caller, calldata and value. Verify the filled mask against the quote, show price and change, and request wallet confirmation before sending. These functions request no approvals, credentials or wallet secrets. Collectible purchases spend BNB and gas.
