util

package
v0.0.0-...-a58d1de Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 2 Imported by: 6

Documentation

Overview

Package util some common utils

Index

Constants

View Source
const (
	// one ether in wei
	OneEtherInWei = 1000000000000000000
)

Variables

This section is empty.

Functions

func GetNonZeroBalance

func GetNonZeroBalance(balances []model.Balance) []model.Balance

func WeiToEther

func WeiToEther(value *big.Int) *big.Float

WeiToEther convert wei to ether in float

Types

This section is empty.

Jump to

Keyboard shortcuts

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