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 ¶ added in v1.0.3
type AlonzoAmount struct {
Coin int64
Value MultiAsset.MultiAsset[int64]
// contains filtered or unexported fields
}
func (AlonzoAmount) Clone ¶ added in v1.0.3
func (am AlonzoAmount) Clone() AlonzoAmount
func (AlonzoAmount) ToShelley ¶ added in v1.0.3
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 ¶ added in v1.0.3
func (amt Amount) ToAlonzo() AlonzoAmount
Click to show internal directories.
Click to hide internal directories.