glossary

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2021 License: MIT Imports: 0 Imported by: 2

Documentation

Overview

Package glossary contains a collection of constants that are used throughout the whole project

Index

Constants

View Source
const AkcBase = 100000000

The base unit conversion rate for tokens.

In ETH, the base is 10^18

In BTC, the base is 10^8

By default, we take 10^8 as the base conversion rate similar to BTC

View Source
const StringUnitBase = 10

The numeral system where our bigInt string represents. By default we use decimal (base 10)

Variables

View Source
var IdLength = 40

default length of id from blockchain generate

View Source
var PaginationSize = int32(10)

default select pagination size for query using

View Source
var SystemWallet = "0000000000000000000000000000000000000000"

default wallet of system using for mint or burn token

Functions

This section is empty.

Types

type Status

type Status string

An arbitrary object status is either Active or InActive

const (
	Active   Status = "A"
	InActive        = "I"
)

Directories

Path Synopsis
Package doc contains prefixes for state database document.
Package doc contains prefixes for state database document.
Package transaction contains pre-defined constants relating to token transaction.
Package transaction contains pre-defined constants relating to token transaction.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL