package
Version:
v0.18.14
Opens a new window with list of versions in this module.
Published: Jul 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Amount struct {
*big.Int
}
Amount represense a NEAR yocto
NewAmount returns a new amount from the given string
NewInt64Amount returns a new amount for the given int64 value
Compare compares two amounts
MarshalJSON returns a JSON representation of amount
Scan assigns the value from interface
Sub substitutes a given amount from the current one
Value returns a serialized value
Height represents a block height
HeightFromString returns a new height parsed from a string
String returns height text representation
Valid returns true if height value is valid
type Map map[string]interface{}
Map implements a database-compatible map
func (m *Map) Scan(src interface{}) error
Scan scants the given value into the map
Value returns the db driver value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.