# XIQUE wallet guide

Chain ID: 56
Contract: 0x05c441D5D03FFC1eab37033678a21aD6bF3AD1d8
Contract verification: https://bscscan.com/address/0x05c441D5D03FFC1eab37033678a21aD6bF3AD1d8#code
Website: https://sidecoo.com/xique/
Sale start: read saleStart() (configured 1796472000, 2026-12-05 20:00 Asia/Taipei).
Sale cap: 3000 shares. Agent ID cap: 10 shares per Agent ID across all entrypoints. A share sends 1000 XIQUE (18 decimals) to its buyer.
Tier prices (wei per share, 300 shares each): 2000000000000000,2200000000000000,2420000000000000,2662000000000000,2928200000000000,3221020000000000,3543122000000000,3897434200000000,4287177620000000,4715895382000000
Units: price() and mintPrice() are wei per share (1,000 XIQUE). floorPrice() and poolPrice() are wei per XIQUE (1e18 token units). floorPrice() is the current tier's buyback target price.
Fill: The payment determines the number of shares, subject to the remaining Agent ID allowance and sale inventory. The qty argument is advisory. Change returns to the sender in the same transaction.
Gas: max(ceil(eth_estimateGas(transaction) × 1.3), 600000). Set gas explicitly. Estimate with exact from, to, data and value after a successful eth_call.
Example calldata: 0x836a10400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000071afd498d0000
Example valueWei: 4000000000000000
Example arguments: mint(2, 0x0000000000000000000000000000000000000000, 2000000000000000), tier 0 with two shares available, after opening, using an eligible wallet.
Fill rule for the example: the payment sets the number of shares; qty does not limit the share count.

## Read and quote

1. Verify chain 56 and the official contract address. Read `saleStart()` and compare with the latest block timestamp.
2. Read `totalMinted()` and check that the sale has inventory. Sum `priceAtTier((totalMinted + i) / 300)` for the intended shares, using integer division and staying below 3,000 shares. Indices start at zero. `nextStepAt()` is the sold-share count at which the next price starts, or 0 in the last tier.
3. Call `quote(address,uint256)` with the payer and proposed BNB value in wei. The static return tuple is `(uint256 quantity,uint256 paid,uint256 refund,uint8 status,uint256 idRemaining,uint256 remaining,uint256 tier,uint256 currentPrice,uint256 nextStepAt,uint256 saleStart)`. Status codes are 0 ready, 1 before opening, 2 sold out, 3 valid Agent ID required, 4 Agent ID allowance used, 5 payment below one share. Status 0 reports the actual fill for that value. Verify quantity, paid and change.
4. Use `mint(uint256,address,uint256)` with that same value and the highest intended per-share price in wei as `maxPricePerShare`. Zero removes the price cap. Any filled share over a nonzero cap reverts the whole transaction. The higher-priced tier can affect the fill between quote and inclusion, so get a fresh quote just before wallet confirmation.
5. Preflight the exact transaction with `eth_call`, estimate gas, apply the gas rule above and confirm in the wallet. No token approvals are needed to mint. The example locks at tier 0 and pays 0.004 BNB for two shares if available.

Entry alternatives are `mint()`, `mint(uint256)`, `mint(uint256,address)`, and direct BNB with empty calldata. Empty calldata has no referrer. All five paths follow the same per-ID allowance, inventory and change rules. Use empty calldata for preflight and gas estimation when transferring BNB directly.

## Contract permissions
The contract has no administrator, pause, upgrade or privileged withdrawal function. Transfers are unrestricted and have no token tax. The first mint opens PancakeSwap V2 liquidity. LP that this contract receives from each liquidity addition goes directly to 0x000000000000000000000000000000000000dEaD; PancakeSwap mints its protocol-fee LP to its feeTo under its own pair rules. XIQUE is minted only inside mint, in two amounts: 1,000 XIQUE per share to the buyer, and, for each PancakeSwap V2 liquidity addition, the XIQUE paired with that WBNB at the order's target price (the price of the order's last share ÷ 1,000). There is no other minting path.
Payee (sidecoo): 0x225784F1F10aF2c0Bfc50C746c1c0E4d3eA68C51. Agent ID registry: 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F. PancakeSwap V2 pool: read pair().
Referral: 10% of the payment goes to ref in the same transaction, sent with 30,000 gas. ref cannot be the paying wallet; this contract, the pool and WBNB also do not count. When there is no eligible referrer or the transfer fails, that 10% goes to sidecoo.
Verify the XIQUE source at the contract verification link above.

## For the wallet owner
Each share sends 1,000 XIQUE. The mint starts at 0.002 BNB per share, rises 10% every 300 shares, and stops at 3,000 shares. A valid Agent ID can buy up to 10 shares. Of each payment after change, 80% goes to PancakeSwap V2 liquidity through purchases and liquidity additions, 10% goes to the referrer when the transfer succeeds, and 10% goes to sidecoo. The referrer cannot be the paying wallet, this contract, the pool or WBNB. The referral is sent with 30,000 gas; when it is absent or cannot be received, sidecoo receives 20%. LP from the contract's liquidity additions is sent to the burn address. XIQUE is minted only during a purchase (a mint call or a direct BNB transfer): 1,000 per share for the buyer and the amount paired into the pool at each liquidity addition. The contract has no administrator, pause, upgrade or privileged withdrawal function. Check the verified contract at https://bscscan.com/address/0x05c441D5D03FFC1eab37033678a21aD6bF3AD1d8#code.

每份 1,000 XIQUE，起價 0.002 BNB，每 300 份漲 10%，售滿 3,000 份停止。有效 Agent ID 最多鑄造 10 份。扣除找零後，成交款的 80% 進 PancakeSwap V2 回購與加池，推薦轉帳成功時推薦人拿 10%、sidecoo 拿 10%。推薦地址不能是付款錢包本身，本合約、池子、WBNB 也不算；推薦款以 30,000 gas 轉出，沒有推薦人或收不到時，sidecoo 拿 20%。本合約加池取得的 LP 直接送 0x…dEaD；PancakeSwap 依其規則把協議費 LP 給它的 feeTo。XIQUE 只在鑄造時增發兩種量：每份 1,000 顆給買家，以及每次加池配進 PancakeSwap 池子的量，沒有其他增發途徑。合約無管理員、不能暫停、不可升級或特權提領。合約驗證 https://bscscan.com/address/0x05c441D5D03FFC1eab37033678a21aD6bF3AD1d8#code

Trading involves risk, including possible loss of the amount paid.
- Sourcify: https://repo.sourcify.dev/56/0x05c441D5D03FFC1eab37033678a21aD6bF3AD1d8
