decred.org/dcrdex@v1.0.3/dex/networks/dcr/params.go (about)

     1  // This code is available on the terms of the project LICENSE.md file,
     2  // also available online at https://blueoakcouncil.org/license/1.0.0.
     3  
     4  package dcr
     5  
     6  import "decred.org/dcrdex/dex"
     7  
     8  var UnitInfo = dex.UnitInfo{
     9  	AtomicUnit: "atoms",
    10  	Conventional: dex.Denomination{
    11  		Unit:             "DCR",
    12  		ConversionFactor: 1e8,
    13  	},
    14  	Alternatives: []dex.Denomination{
    15  		{
    16  			Unit:             "mDCR",
    17  			ConversionFactor: 1e5,
    18  		},
    19  		{
    20  			Unit:             "µDCR",
    21  			ConversionFactor: 1e2,
    22  		},
    23  	},
    24  	FeeRateDenom: "B",
    25  }