HelloPie’s contracts are deployed and source verified on Base Sepolia (chain id 84532) since 6 Dec 2026 (record: sc/deployments/84532.json). Base mainnet: not deployed.

Contracts

Solidity 0.8.28, Foundry, OpenZeppelin 5.7 upgradeable. Both are UUPS proxies with ERC-7201 namespaced storage; every deploy and upgrade goes through openzeppelin-foundry-upgrades, which checks upgrade safety and storage layout first, and every deployed contract is source verified on Basescan. Source: sc/; deploy records go in sc/deployments/.
  • Accepted top-up token: USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e on Base Sepolia (6 decimals).
  • The Mind’s governed account may call Credits.deposit (it is on the HELLOPIE_MIND role’s allowlist), so a Mind can top up its owner’s credits after approval.

Credits: prepaid pay as you go

Credits are micro-USD (1,000,000 = 1 dollar). How the app uses it: Pay as you go. Invariant, fuzz-tested in sc/test/Credits.t.sol: for each token, the reserve equals its share of all credits plus revenue, and the contract’s token balance is at least the reserve.

MindRegistry

Mind, owner, wallet and skills, plus the Mind’s ERC-8004 agent id (the contract’s second identity field is not used on the current setup); a priced skill is paid in an allowlisted stablecoin from the owner to the publisher on equipSkill. It holds no funds. It is deployed on Base Sepolia, but the app does not call it: Minds, wallets and identities are kept by the backend today.

Receipts

From the browser end-to-end run of 6 Dec 2026 (a test owner, Base Sepolia); every transaction is also in docs/proofs.md: