Amount

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amount

type Amount struct {
	Coin  int64
	Value MultiAsset.MultiAsset[int64]
	// contains filtered or unexported fields
}

func (Amount) Add

func (am Amount) Add(other Amount) Amount

func (Amount) Clone

func (am Amount) Clone() Amount

func (Amount) Equal

func (am Amount) Equal(other Amount) bool

func (Amount) Greater

func (am Amount) Greater(other Amount) bool

func (Amount) Less

func (am Amount) Less(other Amount) bool

func (Amount) RemoveZeroAssets

func (am Amount) RemoveZeroAssets() Amount

func (Amount) Sub

func (am Amount) Sub(other Amount) Amount

Jump to

Keyboard shortcuts

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