Skip to content

Latest commit

 

History

History
82 lines (50 loc) · 1.93 KB

SPECIFICATION.md

File metadata and controls

82 lines (50 loc) · 1.93 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.

NFT 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 unconditionally set the name of an asset.

set_symbol()

This function will unconditionally set the symbol of an asset.

SRC-3

mint()

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

burn()

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

SRC-7

metadata()

This function will return metadata for a particular asset and key pair.

set_metadata()

This function will set metadata for a particular asset and key pair.