Documentation ¶
Index ¶
- func AssetAddressToMetricName(assetAddress string) string
- func ConstructNameForMetric(sourceNetworkId, targetNetworkId uint64, ...) (string, error)
- func ConvertBasedOnDecimal(value *big.Int, decimal uint8) (*float64, error)
- func ConvertToHbar(amount int) float64
- func CreateFeeTransferredIfNotExists(sourceChainId, targetChainId uint64, asset string, transferID string, ...) prometheus.Gauge
- func CreateMajorityReachedIfNotExists(sourceChainId uint64, targetChainId uint64, asset string, transferID string, ...) prometheus.Gauge
- func CreateUserGetHisTokensIfNotExists(sourceChainId, targetChainId uint64, asset string, transferID string, ...) prometheus.Gauge
- func PrepareValueForPrometheusMetricName(value string) string
- func SetFeeTransferred(sourceChainId, targetChainId uint64, asset string, transferID string, ...)
- func SetMajorityReached(sourceChainId, targetChainId uint64, asset string, transferID string, ...)
- func SetUserGetHisTokens(sourceChainId, targetChainId uint64, asset string, transferID string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructNameForMetric ¶
func ConvertBasedOnDecimal ¶
func ConvertToHbar ¶
func CreateFeeTransferredIfNotExists ¶
func CreateFeeTransferredIfNotExists(sourceChainId, targetChainId uint64, asset string, transferID string, prometheusService service.Prometheus, logger *log.Entry) prometheus.Gauge
func CreateMajorityReachedIfNotExists ¶
func CreateMajorityReachedIfNotExists(sourceChainId uint64, targetChainId uint64, asset string, transferID string, prometheusService service.Prometheus, logger *log.Entry) prometheus.Gauge
func CreateUserGetHisTokensIfNotExists ¶
func CreateUserGetHisTokensIfNotExists(sourceChainId, targetChainId uint64, asset string, transferID string, prometheusService service.Prometheus, logger *log.Entry) prometheus.Gauge
func SetFeeTransferred ¶
func SetMajorityReached ¶
func SetUserGetHisTokens ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.