How COTALLY works
COTALLY is a single, immutable smart contract on QIE that enforces a merchant's published quantity-discount offer. This page explains exactly what happens to your money.
1. The offer
A merchant sets a maximum (base) unit price, minimum and maximum units, up to eight discount tiers, a funding deadline and a later acceptance deadline, plus a fixed payout address. The contract stores these terms and a hash of the product description. Nobody — including COTALLY and the merchant — can change them afterwards.
2. Your deposit
- You deposit base price × units. This is the most you can ever pay.
- You first approve the exact token amount, then join. Two wallet transactions, both requiring native QIE for gas.
- The discount you see while funding is open is provisional. It can only improve as more units fund; it is fixed when the merchant accepts.
- You may join more than once. The order closes immediately when it sells out.
3. When funding closes
- Minimum reached: the merchant has until the acceptance deadline to accept. Acceptance fixes one clearing price for everyone.
- Minimum not reached: every buyer can claim a full refund.
- Merchant misses the acceptance deadline: every buyer can claim a full refund, and the merchant can withdraw nothing.
A sold-out order can be accepted before its original funding deadline. Otherwise the merchant cannot close funding early to pick a worse tier.
4. Settlement is pull-based
Nothing is sent automatically. After acceptance the merchant (or anyone) triggers a payout of exactly units × clearing price to the fixed payout address, and each buyer claims their own rebate of units × (base − clearing). Refunds are claimed the same way. Unclaimed entitlements stay claimable indefinitely; there is no admin sweep.
5. If COTALLY's servers are down
The website reads your position and sends claims directly to the contract through your wallet. The COTALLY API only stores product descriptions and a search index; it cannot move, block or redirect funds.
6. What acceptance does not mean
Acceptance is a financial event. It does not prove that the product or service was delivered. Fulfilment is the merchant's off-chain responsibility, and v1 has no dispute process.
7. Verify it yourself
Every order has a public receipt page showing contract address, offer hash, totals, clearing price and transaction links. See also terms & limitations and network status.