Package net.commerce.zocalo.currency

These classes represent conserved currencies that form the basis for exchange.

See:
          Description

Interface Summary
Accounts.PositionDisplayAdaptor  
 

Class Summary
Accounts holds assets of value for a user.
CashBank CashBank is the exclusive minter of cash-like currencies.
CouponBank CouponBank is an issuer of Coupons for a particular claim.
Coupons Tradable assets representing a particular Position on a Claim.
Currency The basic trading unit.
CurrencyToken CurrencyToken is a token that makes it possible to find out whether two Currency objects are compatible.
Funds Currency subclass representing money.
Price Prices have a quantity, a maximum, and a scale.
Probability  
Quantity Quantities represent numbers using BigDecimal.
RangedQuantity RangedQuantities are BigDecimals whose values range from zero to some maximum value.
UnaryCouponBank CouponBank doesn't charge for coupons, so sellers get the proceeds of the sale.
 

Package net.commerce.zocalo.currency Description

These classes represent conserved currencies that form the basis for exchange. Currency is the base class for money (represented by Funds) and tradable Coupons, which represent the assets in a prediction market.

CashBank and CouponBank are the issuers of Funds and Coupons respectively. They provide the ability to control the issuance of these currencies. In the capability sense, they should be "closely held", to ensure that the authority to issue new valuable currencies isn't misused.

Accounts manage cash and coupons for users.

© Copyright 2007 Chris Hibbert; © 2006 CommerceNet Consortium, LLC. All rights reserved.

This software is published under the terms of the MIT license, a copy
of which has been included with this distribution in the LICENSE file.