package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

Move moves exactly n from src to dst.
MoveUpTo moves up to n from src to dst, and returns the amount moved.
NewFromUint64 creates a new Quantity from an uint64 or panics.
NewQuantity creates a new Quantity, initialized to zero.

# Variables

ErrInsufficientBalance is the error returned when an operation fails due to insufficient balance.
ErrInvalidAccount is the error returned when an operation fails due to a missing account.
ErrInvalidQuantity is the error returned on malformed arguments.

# Structs

Quantity is a arbitrary precision unsigned integer that never underflows.