Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.74 KB

SPECIFICATION.md

File metadata and controls

74 lines (45 loc) · 1.74 KB

Table of Contents

Overview

This document provides an overview of the application.

It outlines the use cases, i.e. desirable functionality, in addition to requirements for the smart contract and the user interface.

Use Cases

This section contains general information about the functionality of the application and thus does not touch upon any technical aspects.

If you are interested in a functional overview then this is the section for you.

Asset Contract

SRC-20 Functionality

total_assets()

This function will return the total number of individual assets for a contract.

total_supply()

This function will return the total supply of coins for an asset.

name()

This function will return the name of an asset, such as “Ether”.

symbol()

This function will return the symbol of an asset, such as “ETH”.

decimals()

This function will return the number of decimals an asset uses.

set_name()

This function will set the name of an asset.

set_symbol()

This function will set the symbol of an asset.

set_decimals()

This function will set the decimals of an asset.

SRC-3

mint()

This function will mint new asset using a sub-identifier.

burn()

This function will burn assets with the given sub-identifier.