SourceAndAmount(source: P, amount: Amount<T>, ref: Any? = null)
Simple data class to associate the origin, owner, or holder of a particular Amount object.
P
- Any class type that can disambiguate where the amount came from.
T
- The token type of the underlying Amount.