ZYN Intel Verified contract

Developer reference · Base Mainnet

ZBTC integration outline

A concise reference for the deployed ZBTC token, mining events, and public read interfaces. Confirm current values on-chain before integrating.

Network and contract

Mining model

A wallet or contract submits mine(). It mints the current reward to msg.sender, provided that address’s cooldown is zero, the reward is nonzero, and the supply cap is not exceeded. The owner-adjustable global cooldown starts at 10 minutes and applies independently to each address using its last claim timestamp. Read miningCooldown() and cooldownRemaining(address); do not enforce a frontend-only schedule. Rewards halve every 200,000 global claims: claim 200,000 pays 50 ZBTC and claim 200,001 pays 25 ZBTC. There is no automatic cooldown change or fixed halving date.

Automated multi-address farming is allowed by the contract; longer cooldowns do not create per-person emission limits. Epoch 64 returns zero reward while 5,800,000 token wei (0.0000000000058 ZBTC) remain unminted. The deployed token is not upgradeable. Source edits or new deployments cannot change its rules or migrate balances. Owner UI controls only offer increases to 30, 60 or 120 minutes with typed confirmation; these are UI safeguards, not contract-enforced bounds. The on-chain owner setter remains unbounded. See emissions and trade-offs.

Useful view methods include currentReward(), currentEpoch(), mineCount(), remainingMineableSupply(), cooldownRemaining(address), totalSupply(), balanceOf(address), and owner().

Events

Successful claims emit:

event Mined(address indexed miner, uint256 reward, uint256 indexed epoch, uint256 mineCount);

Rewards and event fields use 18-decimal token base units. Indexers should verify the emitting contract address and confirmation status, and handle reorgs according to their own finality requirements.

Public read endpoints

The RPC proxy accepts only eth_call, eth_chainId, eth_blockNumber, eth_getBlockByNumber, eth_getBalance, eth_getCode, eth_gasPrice, and eth_maxPriorityFeePerGas. It rejects write methods. Public endpoint availability and index freshness are not guaranteed.

Client integration and safety

Repository and validation

The source project is maintained in the ZYN-FRESH and deflationary-zbtc workspaces. Run the ZYN-FRESH test suite with npm test. Treat public RPCs as variable-availability dependencies and re-check the deployed contract ABI before relying on this outline.

Risk note: ZBTC is experimental and has no guaranteed value. Mining transactions consume Base ETH, while liquidity and prices can change materially.