Skip to content

Smart Contracts

0XOF is an upgradeable ERC-20 token deployed on Base mainnet using the UUPS proxy pattern.

Contract addresses

Contract Address
0XOF Proxy 0xCfab1A91975d3c54c053E10d14A2423dd6f89652
Implementation 0xd777f4FE62b7f31eCcAaB68359E9D79a8f94cC4e
0XOF/EURC Pool 0x8C95437C3DEcD2d9d93DD5C53232426181E31214

Token details

Property Value
Name 0XOF
Symbol 0XOF
Decimals 6
Standard ERC-20
Version 2.0.0
Chain Base (Chain ID 8453)

Features

The 0XOF contract includes:

  • ERC20Permit — Gasless approvals via signed messages (EIP-2612).
  • UUPS Proxy — Upgradeable by the UPGRADER_ROLE without changing the proxy address.
  • Pausable — Transfers and approvals can be paused by the PAUSER_ROLE.
  • Blocklist — The BLACKLISTER_ROLE can blocklist addresses and wipe their balances.
  • MasterMinter — Allowance-based minting system managed by the MASTER_MINTER_ROLE.
  • Rescue — The RESCUER_ROLE can recover tokens from blocklisted accounts.

Access control roles

Role Purpose
DEFAULT_ADMIN_ROLE Full administrative control
MINTER_ROLE Can mint 0XOF (within allowance)
PAUSER_ROLE Can pause/unpause transfers
UPGRADER_ROLE Can upgrade the implementation contract
BLACKLISTER_ROLE Can blocklist addresses
MASTER_MINTER_ROLE Manages minter allowances
RESCUER_ROLE Can rescue tokens from blocklisted accounts

Source code

The 0XOF contract is verified on Basescan.