Skip to content

NexTechArchitect/SISO-Token-ERC20

Repository files navigation


SISO Token Standard

A production-grade, DevOps-ready ERC-20 Primitive.
Featuring Role-Based Access Control, deflationary mechanics, and emergency circuit breakers.

   



📑 Table of Contents


📊 Contract Specifications

Parameter Configuration Value
Token Name SISO Token
Ticker Symbol $SISO
Total Supply 1,000,000,000 (1 Billion)
Precision 18 Decimals (Standard)
Explorer 🔎 View on Sepolia Etherscan

🏗 Project Architecture

Designed with a modular folder structure for maximum clarity and testing efficiency using the Foundry framework.

  • 📂 src/
    • 📄 SisoToken.sol — The core logic (Inherits ERC20, Ownable, Pausable).
  • 📂 script/
    • 🚀 DeploySisoToken.s.sol — Automated blockchain deployment via DevOps pipelines.
    • 🪙 MintSisoToken.s.sol — Admin-controlled minting scripts.
    • 🔥 BurnSisoToken.s.sol — Supply reduction & deflationary logic.
    • ⏸️ PauseSisoToken.s.sol — Emergency circuit breaker controls.
  • 📂 test/
    • 🧪 SisoToken.t.sol — Invariant, Fuzz, and Unit test suite.

🛡 Security & Features

🔐 Attack Surface Reduction

  • RBAC (Role-Based Access Control): Strictly enforces Owner-only minting and admin functions.
  • Circuit Breaker: Emergency pause() functionality to freeze all token transfers during security incidents.
  • Audit Ready: Utilizes battle-tested OpenZeppelin libraries to minimize logic errors.

⚙️ Tokenomics Engine

  • Deflationary Capable: Native burn mechanism allows the owner to permanently reduce total supply.
  • DeFi Compatible: Full support for approve, transferFrom, and increaseAllowance workflows.
  • CI/CD Ready: Scriptable deployment flow for automated testing pipelines.

⚙️ Access Control Matrix

This contract implements a strict Permission Matrix to ensure security while allowing open participation in tokenomics.

🛡️ Administrative Roles

Function User (Public) Owner (Admin) Description
transfer Standard ERC-20 transfers.
approve Grant spending allowance to DeFi protocols.
burn Restricted: Only Admin can destroy tokens.
mint Restricted: Only Admin can print new supply.
pause Emergency: Freezes the entire contract.

🩸 Circuit Breaker Logic

We implement the Pausable module to protect the ecosystem during unforeseen events.

graph LR
    Call[User calls Transfer]
    Check{Is Contract Paused?}
    Status_Active[Active State]
    Status_Paused[Paused State]
    
    Call --> Check
    Check -- No --> Status_Active
    Status_Active --> Execute[✅ Execute Transfer]
    
    Check -- Yes --> Status_Paused
    Status_Paused --> Revert[❌ Revert Transaction]
    
    style Status_Active fill:#1a1a1a,stroke:#b298dc
    style Status_Paused fill:#2d1b4e,stroke:#9d4edd,stroke-width:2px

Loading

Note: When paused, only view functions remain accessible. State-changing actions (Transfer, Mint, Burn) are strictly blocked.


Engineered by NEXTECHARHITECT

Smart Contract Developer · Solidity · Foundry · Web3 Engineering

GitHubTwitter


About

A custom ERC-20 token designed as part of my smart-contract engineering portfolio. The project focuses on clean architecture, secure token logic, and real-world features like mint, burn, pause, and allowance workflows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors