Ontology Developer Center
DISCOVERCOMMUNITYSUPPORT
  • Introduction
  • Discover Ontology
  • Getting Started
  • Glossary
  • Decentralized Identity and Data
    • ONT ID
      • Decentralized Identifiers
        • Method Specification for Ontology
        • Method Specification for Ethereum
        • Method Specification for BSC
      • Verifiable Credentials
        • Anonymous Credentials
      • ONT Login
        • Scenarios
        • Protocol Specification
        • Front-end JavaScript SDK
          • Integration and Usage
          • API Reference
        • Front-end UI SDK
          • Integration and Usage
          • API Reference
        • Back-end Go SDK
          • Integration and Usage
          • API Reference
        • Back-end Java SDK
          • Integration and Usage
          • API Reference
      • ONT TAG
        • Workflow
        • API Reference
      • Mercury
      • OScore
    • DDXF
      • Components and Interfaces
      • GREP
      • Overall Scheme
      • Solutions
        • Marketplace
          • Deployment
          • Scenarios
          • SaaS Tenant
          • Java SDK
        • Data Storage
          • Deployment
          • Java SDK
        • Resource Auditor
        • Offline Judge
      • Use Cases
        • E-Shops
  • ONTOLOGY ELEMENTS
    • Smart Contracts
      • Types of smart contracts
    • Token Protocols
    • Consensus Mechanism
    • Ontology Oracle
      • Oracle Process Flow
  • GUIDES & TUTORIALS
    • Development Guides
      • dApp Development
        • Using the dAPI
        • Data Synchronization
      • Smart Contract Development
        • EVM Contract
          • Development Environment and Tools
          • Wallet Setup
          • Contract Development
          • How to Deploy a Smart Contract with GetBlock
        • NeoVM Contract
          • Development tools and environment
          • Launching the IDE
          • Writing and editing program logic
          • Deploying and testing on private net
        • WASM Contract
          • Development Environment
          • Project Initiation - Hello World
          • Creating your own project
          • Development using SmartX
          • Runtime API
          • Contract Fundamentals
          • Inter-contract Interaction
          • Developing Contracts in C++
        • Publish Contract Source Code
    • Integration Guides
      • dApp Integration
        • dAPI Integration
          • Chrome Plugin
          • Mobile wallet dApp
          • QR code mechanism
          • Wake call mechanism
        • Cocos 2D-x
        • Unity 3D applications
      • Mobile Wallet Integration
        • SDK integration
        • dAPI Integration
          • In-wallet applications
          • QR code mechanism
          • Wake call mechanism
        • Stake
      • Using ONT ID
      • Exchange Integration
        • Exchange Docking Guide
        • Exchange API
      • Ontology for dApp Stores
    • EVM & Token Decimals Upgrade
  • ONTOLOGY NODE
    • Abstract
    • Node Deployment
      • Standard Node
      • Rosetta Node
    • Interacting with a Public Node
  • DEVELOPER TOOLS
    • dApp Development Framework
      • Punica CLI
      • Punica boxes
      • Solo Chain
    • IDE
    • APIs
      • HTTP API
        • Restful
        • WebSocket
        • Remote Procedure Call (RPC)
      • Explorer v2 API
        • Block
        • Address
        • Contract
        • Token
        • Transactions
        • ONT ID
        • Summary
        • Node
      • Native Token API
        • ONT Contract API
        • ONG Contract API
      • ONT ID Contract API
      • Web3 API
      • OScore Open API
      • Rosetta Node API
        • Data API
        • Construction API
      • DToken Contract API
      • DDXF
        • Marketplace Contract API
        • Storage API
      • Governance API
    • Digital Wallet
      • Chrome Plugin provider
      • Chrome Plugin dAPI
      • Mobile version provider
      • Mobile version dAPI
    • SDKs
    • Signing Server
      • Installation
      • API reference
  • COMMUNITY
    • Ecosystem Programs
    • Community Libraries
    • Community Events
    • Community Channels
    • Core Contributors
  • SUPPORT
    • FAQ
      • Basic blockchain concepts
      • Ontology Nodes
      • Ontology token protocols
      • Smart contracts
      • SDKs and APIs
    • Contact Us
Powered by GitBook
On this page
  • What are the differences between OEP4, OEP5 and OEP8 protocols?
  • What is the unbinding principle that governs ONG?
  • What is the level of precision that ONT and ONG offer?
  • Are there any special addresses with specific utilities?

Was this helpful?

  1. SUPPORT
  2. FAQ

Ontology token protocols

Queries regarding Ontology's tokens and token protocols

What are the differences between OEP4, OEP5 and OEP8 protocols?

In case you are familiar with Ethereum's ERC20, ERC721, and ERC1155 then the quickest way to understand these protocols would be to understand that OEP4, OEP5, and OEP8 are correlated to them, respectively.

OEP4 is a protocol that homogenizes assets. Any two assets are indistinguishable from each other, but it allows for multiple units of an asset.

OEP5 is a protocol that allows for non-homogeneous assets that are distinguishable from each other. However, every asset exists as a unity.

OEP8 can be understood as a protocol that is a combination of OEP4 and OEP5. It allows for multiple kinds of assets and every asset can have multiple units. Thus, within the scope of the contract, similar assets are homogeneous in nature and have the same properties, while different assets are non-homogeneous and have different properties.

What is the unbinding principle that governs ONG?

The amount of claimable ONG at any given point of time = Amount of ONG unbound per second x ONT possession time x Total amount of owned ONT

The amount of ONG unbound per second: In a decreasing trend - [5, 4, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] gradually decreasing every year.

ONT possession time: Current time - Last recorded time when the ONT balance changed

Total amount of ONT: 1 billion

For example, account A has a 100 ONT balance on day 1, 200 ONT on day 2, and 300 ONT on day 3, the claimable ONG amount for this account is:

(24×60×60)×5×100/1000000000 + (24×60×60)×5×200/1000000000

The claimable ONG on the basis of the 300 ONT balance would be calculated when the next account balance change occurs.

What is the level of precision that ONT and ONG offer?

The ONT quantity is absolute, and thus undividable. ONG is precise to 9 decimal places.

Are there any special addresses with specific utilities?

The three basic contracts on which the token protocols function:

Name

Address(Hex)

Address(Base58)

ONT

0100000000000000000000000000000000000000

AFmseVrdL9f9oyCzZefL9tG6UbvhUMqNMV

ONG

0200000000000000000000000000000000000000

AFmseVrdL9f9oyCzZefL9tG6UbvhfRZMHJ

Governance

Contract

0700000000000000000000000000000000000000

AFmseVrdL9f9oyCzZefL9tG6UbviEH9ugK

PreviousOntology NodesNextSmart contracts

Last updated 5 years ago

Was this helpful?