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 ¶
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. |
Click to show internal directories.
Click to hide internal directories.