Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article examines the source code of JPMD, a US dollar deposit token, using the contract published at the following address.

Overview

The token is built on ERC-20. Permissions are managed through multiple roles, each controlling which operations can be performed.

The contract includes centralized controls that allow addresses with specific roles to transfer tokens held by users without the users initiating those transfers. An allowlist controls who can use the token, preventing addresses that are not on the list from using it. Some operations are also subject to a delay and cannot be executed until the designated time.

JPMD is an ERC-20 token deployed by J.P. Morgan on Base for testing, with advanced administrative functions and strict controls, as described in the original July 2025 article.

Features

  • Supply Cap Management

    Token issuance is subject to a cap that administrators can change.

  • Minting, Burning, and Forced Transfers

    Only privileged accounts can mint (mint), burn (burn), or forcibly transfer tokens between arbitrary accounts (forceTransfer).

  • Allowlisted Transfers

    Sending and receiving tokens requires explicit permission through allowAccount. Unauthorized addresses cannot send or receive tokens.

  • Time-Locked Operations

    Some administrative operations, such as allowAccount, cannot be executed immediately because of the timelock. The operation must be performed again after the configured delay has elapsed.

  • Pause Functionality

    Token transfers can be paused and resumed across the system, providing a way to respond to incidents or unauthorized activity.

  • Role-Based Access Control (RBAC)

    Each operation requires a specific role, such as issuer (ISSUER), pauser (PAUSER), or upgrade administrator (UPGRADER).

  • UUPS Upgradeability

    The contract follows the Universal Upgradeable Proxy Standard (UUPS), allowing future changes to its implementation.

These features reflect a design focused on institutional reliability, auditability, and security.

Further Details

A more detailed explanation is available in the following book.

Conclusion

This article provided an overview of the JPMD US dollar deposit token contract.