numeric

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fee

type Fee[T constraints.Float] [1]T

func NewUncheck

func NewUncheck[T constraints.Float](x T) Fee[T]

func (Fee[T]) Unwrap

func (f Fee[T]) Unwrap() T

type GasFee

type GasFee int

func DoubleGasFee

func DoubleGasFee[T GasFeeTypeSet](x T) GasFee

func (GasFee) Unwrap

func (gas GasFee) Unwrap() int

type GasFeeTypeSet

type GasFeeTypeSet interface {
	GasFee

	Unwrap() int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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