Overview
PAX-28 is the native fungible token standard for HyperPaxeer, designed for ArgusVM’s register-based architecture and the ArgLang smart-contract language. It provides the same functional surface as ERC-20 but with compile-time safety guarantees, optimised gas on register hardware, and Rust-inspired ergonomics.ArgusVM Optimised
Designed for register-based execution — no stack overhead
Built-in Safety
Automatic overflow/underflow protection at the language level
ArgLang Native
Statically typed, Rust-inspired syntax that compiles to AVM bytecode
Interface
All HPX-28 compliant tokens must implement:Events
Reference Implementation
Storage Model
PAX-28 uses Keccak256-based storage slot hashing, adapted for ArgusVM’s register architecture:- Simple state variables get sequential slots (
counter→ slot 0,owner→ slot 1) - Maps use
keccak256(key || base_slot)for slot computation - Nested maps (e.g. allowances) apply hashing recursively:
keccak256(spender || keccak256(owner || base_slot))
Gas Costs
Gas costs are lower than ERC-20 because register-based execution eliminates stack push/pop overhead for every intermediate value.
Differences from ERC-20
Optional Extensions
HPX-28 Capped
HPX-28 Burnable
HPX-28 Mintable
Security Considerations
- Overflow protection is automatic — no SafeMath needed
- Zero-address checks prevent accidental token burns
- Approval race condition: set allowance to 0 before changing, or use
increase_allowance()/decrease_allowance()extensions - Reentrancy: follows checks-effects-interactions pattern — state changes before any external interaction
Cross-Chain Compatibility
PAX-28 is not bytecode-compatible with ERC-20 (different VM architecture). Cross-chain bridges must implement explicit translation:- Lock HPX-28 tokens on HyperPaxeer
- Bridge translates to ERC-20 format
- Mint equivalent ERC-20 on destination chain
- Reverse: burn ERC-20, unlock HPX-28
Status
Resources
ArgusVM Architecture
Register set, ISA, gas model, and bytecode format
Smart Contracts
Deploy contracts on HyperPaxeer