domain

package
v0.0.0-...-54f9ae5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ETH

type ETH big.Float

func NewETH

func NewETH(value big.Float) ETH

func (ETH) String

func (eth ETH) String() string

func (ETH) ToFloat64

func (eth ETH) ToFloat64() float64

type USD

type USD int64

func NewUSDFromBigFloat

func NewUSDFromBigFloat(f big.Float) USD

func NewUSDFromFloat

func NewUSDFromFloat(f float64) USD

func ToUSD

func ToUSD(f float64) USD

func (USD) String

func (m USD) String() string

func (USD) ToBigFloat

func (m USD) ToBigFloat() *big.Float

func (USD) ToFloat64

func (m USD) ToFloat64() float64

func (USD) ToInt64

func (m USD) ToInt64() int64

Jump to

Keyboard shortcuts

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