mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat: Create EE architecture * feat: Move Fireblocks to EE * feat: Add dual CE/EE licensing model Update root LICENSE to dual-license format distinguishing Community Edition (MIT) from Enterprise Edition (ee/LICENSE), aligned with the formancehq/stack licensing model. * refactor: Rename main_ee.go to ee.go for cleaner build tag convention * feat: Move Coinbase Prime to EE * feat: just * fix: tidy & package name
18 lines
647 B
Go
18 lines
647 B
Go
package coinbaseprime
|
|
|
|
import "github.com/formancehq/go-libs/v3/currency"
|
|
|
|
// fiatCurrenciesFallback provides ISO4217 fiat currency precisions as a
|
|
// fallback. Crypto asset precisions are loaded dynamically from the
|
|
// Coinbase Prime API at install time.
|
|
var fiatCurrenciesFallback = map[string]int{
|
|
"USD": currency.ISO4217Currencies["USD"],
|
|
"EUR": currency.ISO4217Currencies["EUR"],
|
|
"GBP": currency.ISO4217Currencies["GBP"],
|
|
"CAD": currency.ISO4217Currencies["CAD"],
|
|
"AUD": currency.ISO4217Currencies["AUD"],
|
|
"JPY": currency.ISO4217Currencies["JPY"],
|
|
"CHF": currency.ISO4217Currencies["CHF"],
|
|
"SGD": currency.ISO4217Currencies["SGD"],
|
|
}
|