🔬
SecureChain.AI
  • 🙏Welcome to SecureChain.AI
  • Overview
    • 😞The Problem
    • 💡The Solution
    • 🚀Vision
    • 🎯Mission
    • 🤖AI in SecureChain AI
  • Ecosystem
    • 💼Wallet
    • ♾️Mainnet Info
    • 🧪Testnet Info
    • 🌉Cross-chain Bridge
    • 💻Dapps
    • 🛡️Security Services
  • Developer Guide
    • 🛠️Resources
    • ⛓️Consensus
    • 🏹Genesis
    • 📦SC20 Standard
    • 📝Smart Contracts
  • Governance
    • 🏙️SecureChain Foundation
    • 📋The Validators
    • 🪙SCAI Tokenomics
    • 🧘‍♂️Integrity and Compliance
  • Roadmap
    • 🥇2023
    • 🥈2024
    • 🥉2025
  • Help
    • ❔FAQ
    • 👨‍💼Community Chat
  • Legal
    • ⚖️Terms of Service
    • 🔏Privacy Policy
    • 🏛️Disclaimers
Powered by GitBook
On this page
  1. Developer Guide

SC20 Standard

PreviousGenesisNextSmart Contracts

Last updated 2 years ago

SecureChain is fully compatible with standard,interfaces and events as follows:

// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
// ----------------------------------------------------------------------------
contract ERC20Interface {
    function totalSupply() public constant returns (uint);
    function balanceOf(address tokenOwner) public constant returns (uint balance);
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

EIP reference:

Implementation reference:

📦
ERC20
eip-20
EtherAuthority ERC20 Contract