Documentation/Contracts & integration
VEILHUB GUIDE · ETHEREUM SEPOLIA

Contracts & integration

Sepolia addresses, registry reads and deployment status.

Deployment addressesEthereum Sepolia · 11155111
01

Network

Ethereum Sepolia. Chain ID: 11155111. The rental contract constructor rejects other chain IDs. No mainnet deployment or mainnet use is supported.

02

Official dependencies

Squeek NFT: 0xc4c7982657f00509548f3a3a41db7fa439a6856b. SQK (ERC-20, 18 decimals): 0xd78a3956cf63164d1fa1c622ad3c66623162fa1e. SqueekMining proxy: 0x2dccb11fcc2defdd188555e45acb52231e82e218. SqueekStaking proxy: 0x50fd1780526c3186a0c037c7622203bc4fb611ca. Source: the official Squeekchain deployment record linked below.

03

Usage registry

Integrators call isUsable(uint256 tokenId, address account) on the deployed rental contract. True means that account has an active rental in this registry. It does not establish ownership, grant approvals or certify eligibility in an external contract.

04

Listing and payment interface

list(tokenId, pricePerDay, minDays, maxDays) deposits an NFT. rent(tokenId, daysCount, maxTotal, expectedNonce) collects SQK and begins the usage window. listings(tokenId) exposes owner, rate, duration range, fee, listed status, renter, expiry and nonce.

05

Exit and indexing interface

delist(tokenId) stops an idle listing. withdraw(tokenId) returns an eligible NFT to its depositor. earnings(account) reads unpaid revenue and claim() pays the caller. tokenCount() and tokenPage(cursor, size) enumerate historical token IDs in pages of at most 100; inspect each current listing to identify active escrow positions.

06

Events and reads

Listed, Delisted, Rented, Claimed and Withdrawn describe lifecycle changes. FeeUpdated and PauseUpdated describe administration. State on Ethereum is authoritative; off-chain countdowns and cached pages are only views. Confirm the rental’s nft() and sqk() bindings before trusting it.

07

Trade contract

The separate SqueekTrade contract supports list(tokenId, price), cancel(tokenId), buy(tokenId, maxPrice, expectedNonce), earnings(account) and claim(). It reads ERC-2981 royaltyInfo from the official NFT and splits SQK proceeds between seller and royalty receiver. It has no VeilHub trade fee. The app verifies nft() and sqk() before enabling writes.

08

Staking contract status

Official Sepolia Staking is deployed at 0x50fd1780526c3186a0c037c7622203bc4fb611ca. VeilHub reads its power settings and wallet positions. Reward scenarios remain estimates; Staking transactions are handled by the official Squeekchain account.