Gate withdrawals on verified ad revenue
Let users earn freely and withdraw only what their verified ad activity actually paid for. Entitlement is spent at request time so pending requests cannot double-spend it.
5 entries
Let users earn freely and withdraw only what their verified ad activity actually paid for. Entitlement is spent at request time so pending requests cannot double-spend it.
Compute the fee once, show the net before they confirm, and keep every threshold in the settings table so repricing is not a code change.
Earn in integer credits, convert to coin only at withdrawal, and keep the rate in settings. Repricing the whole site becomes one field.
Auto-pay when the API answers, hold when it does not, and never refund on a timeout. The three-state queue that keeps a faucet solvent.
Debit on request, not on approval. The state machine that makes double payouts and phantom balances impossible.