Documentation ¶
Index ¶
- type AlonzoAmount
- type Amount
- func (am Amount) Add(other Amount) Amount
- func (am Amount) Clone() Amount
- func (am Amount) Equal(other Amount) bool
- func (am Amount) Greater(other Amount) bool
- func (am Amount) Less(other Amount) bool
- func (am Amount) RemoveZeroAssets() Amount
- func (am Amount) Sub(other Amount) Amount
- func (amt Amount) ToAlonzo() AlonzoAmount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlonzoAmount ¶
type AlonzoAmount struct { Coin int64 Value MultiAsset.MultiAsset[int64] // contains filtered or unexported fields }
func (AlonzoAmount) Clone ¶
func (am AlonzoAmount) Clone() AlonzoAmount
func (AlonzoAmount) ToShelley ¶
func (amtAl AlonzoAmount) ToShelley() Amount
type Amount ¶
type Amount struct { Coin int64 Value MultiAsset.MultiAsset[int64] // contains filtered or unexported fields }
func (Amount) RemoveZeroAssets ¶
func (Amount) ToAlonzo ¶
func (amt Amount) ToAlonzo() AlonzoAmount
Click to show internal directories.
Click to hide internal directories.