# SIDECOIN Agent — SIDECOIN Agent (SIDECOIN) > SIDECOIN Agent is a token presale with a floor and a cap on BNB Smart Chain (chain id 56). Wallets that hold a .ai Agent ID buy shares at a fixed 0.003 BNB each; every share is 50,000,000 SIDECOIN. The purchase that sells all 10,000 shares (30 BNB) opens the PancakeSwap pool in the same transaction. Before that, once 1,334 paid shares (4.002 BNB) are sold, anyone can open the pool from 2 hours after the floor is reached and receives a 0.005 BNB bounty (if it is still unopened 7 days after that, every payer can refund in full instead). If the floor is not reached within 48 hours of the sale start, every buyer claims a full BNB refund from the contract. After opening, buys from and sells to the official PancakeSwap pair pay a fixed 2% buy / 2% sell tax (immutable, at most 3% in code); wallet transfers are untaxed. LP tokens are burned. No owner, no pause, no admin withdrawal, no upgrade. Status (read phase() on chain to confirm): the sale started on Nov 11 and did not reach the 1,334-share floor within 48 hours, so phase() is 5 (refunding). Every payer can call refund() to get back all BNB paid; the pool will not open. ## Contracts - Sale contract (the only official contract): 0x55d4C45949AE058c9e532E5f7fC5319f98e451BE - Token (SIDECOIN, ERC-20, created by the sale contract; token()): 0x4257AC3e0E2B6A4AF35A5D49bB61910305001825 - SIDECOIN/WBNB PancakeSwap V2 pair (pair()): 0xB19979D8639b377908c7FC958efD1f3cBD0AF123 - PancakeSwap V2 router: 0x10ED43C718714eb63d5aA57B78B54704E256024E - Agent ID registry checked by the contract: 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F - Verified source: https://bscscan.com/address/0x55d4C45949AE058c9e532E5f7fC5319f98e451BE#code - X: @hackoutw https://x.com/hackoutw ## Docs - [skill.md: rules in numbers and the call sequence](https://sidecoo.com/sidecoin/skill.md) - [agent.json: machine-readable summary](https://sidecoo.com/sidecoin/agent.json) - [Site](https://sidecoo.com/sidecoin/) ## Key facts - Eligibility: agentOf(wallet) returns ok = true (the wallet has a registered handle and holds its Agent ID). Quotas are per Agent ID. - Price: 0.003 BNB per share, fixed (price()). Pay exactly qty × price as msg.value. value must equal quote(wallet, qty).cost exactly, in wei; any other amount (more or less) reverts with "value". Examples: qty 1 → 3000000000000000; qty 5 → 15000000000000000; qty 10 → 30000000000000000. - Quota: 10 paid shares per Agent ID, plus 1 for each new Agent ID whose first purchase names this wallet as referrer, up to +100. - Free shares: 500 in total, 1 per Agent ID via claimFree(), open at the same time as the paid sale. Free shares do not count toward the floor or the cap. - Referral: mint(qty, referrer). Bound on the buyer ID's first paid purchase only. The referrer must hold an Agent ID, have bought at least once, and be a different Agent ID (validReferrer). An invalid non-zero referrer on the first purchase reverts with "referrer"; validReferrer(buyer, referrer) is true only while a binding is still possible. The referrer earns 10% of that ID's payments, claimable with claimReferral() after the pool opens. - Floor and cap: floor 1,334 paid shares, cap 10,000 paid shares (MAX_SUPPLY()). phase() shows the state: 0 pending, 1 selling, 2 floor reached (still selling), 3 openable, 4 pool open, 5 refunding. - Pool opening: the purchase that sells the last capped share opens the pool in the same transaction and pays that buyer the 0.005 BNB bounty (net cost = qty x price - bounty). Otherwise openPool() by anyone (no Agent ID needed) from openAt() = 2 hours after the floor was reached; the caller receives 0.005 BNB. If nobody has opened it 7 days after openAt(), phase() becomes 5 and refunds start. 70% of the BNB raised goes into the pool with newly minted SIDECOIN at the presale price (WBNB sent straight to the pair before opening can only raise it); LP tokens go to 0x000000000000000000000000000000000000dEaD. No minting after the pool opens. - Refund: if the floor is not reached by refundAt() (48 hours after the sale start), or the floor was reached but nobody opened the pool by openAt() + 7 days, refund() returns every BNB the wallet paid. All payments stay in the contract until the pool opens or refunds start. - Settlement at opening: 70% of the BNB raised to the pool, referral accruals to referrers (claimReferral()), the bounty to the caller, and the remainder to the payee() address fixed at deployment (withdrawPayee(), payeeOwed()). BNB leaves the contract only through pool opening (openPool(), or the mint that sells the last capped share), refund(), claimReferral() and withdrawPayee(). The capped purchase also adds liquidity, so it needs about 0.5M gas instead of about 0.17–0.27M: let the wallet estimate gas. - Supply: 50,000,000 SIDECOIN per paid or free share, plus pool tokens; token CAP() = 875,000,000,000 SIDECOIN. - Transfers: SIDECOIN becomes transferable when the pool opens. No blacklist, no max-wallet. - Trading tax (token contract, after opening only): buy from the official pair 2% (200 bps), sell to it 2% (200 bps); wallet-to-wallet transfers 0%; the opening itself is untaxed. Adding liquidity to that pair pays the sell rate on the tokens sent in, and removing liquidity pays the buy rate on the tokens received (use `removeLiquidityETHSupportingFeeOnTransferTokens`). Rates, router and payee are immutable (`BUY_TAX_BPS()`, `SELL_TAX_BPS()`, `MAX_TAX_BPS()` = 300, `PAYEE()`); no owner can change them. The tax is taken in SIDECOIN inside the transfer, which makes no external call; anyone may call `swapTax()` to sell queued tax for BNB sent directly to the same payee() as the sale (minimum output 99% of a time-weighted average price over the previous 30–60 minutes, so the first sale is possible about 30 minutes after opening; before opening `swapTax()` reverts `not open`; each sale is at most 0.2% of the pool's token reserve, or just enough for 0.002 BNB in a small pool; 2-minute pause after each sale; a call with nothing to do succeeds without selling — `taxSwapDue()` returns 1 when a call would act). Check any transfer with `taxOf(from, to, amount)`. - Trading on PancakeSwap V2: buys work with any swap function; you receive 2% less than the router quote (`getAmountsOut`), so set `amountOutMin` from the quote minus 2% and your slippage. Sells need `swapExactTokensForETHSupportingFeeOnTransferTokens` (the plain `swapExactTokensForETH` reverts, as for every taxed token) and slippage above 2%. - Governance: owner() returns 0x0. No pause, no admin withdrawal, not upgradeable. All numbers above are immutables set at deployment. - SIDECOIN price after opening is set by the market. Nothing here predicts a price or promises a return.