mktplace.transactions.exchange_offer_update module

class mktplace.transactions.exchange_offer_update.ExchangeOfferObject(objectid=None, minfo=None)[source]

Bases: mktplace.transactions.market_place_object_update.MarketPlaceObject

ObjectTypeName = 'ExchangeOffer'
ExecutionStyle = ['Any', 'ExecuteOnce', 'ExecuteOncePerParticipant']
classmethod get_valid_object(store, objectid, objecttypes=None)[source]
classmethod is_valid_object(store, objectid)[source]
dump()[source]
class mktplace.transactions.exchange_offer_update.Register(update_type, creator_id=None, input_id=None, output_id=None, ratio=1.0, description=None, name=None, minimum=1, maximum=None, execution=None)[source]

Bases: journal.transaction.Update

UpdateType = 'RegisterExchangeOffer'
ObjectType

alias of ExchangeOfferObject

CreatorType

alias of ParticipantObject

References
check_valid(store, txn)[source]
apply(store, txn)[source]
class mktplace.transactions.exchange_offer_update.Unregister(update_type, object_id, creator_id)[source]

Bases: journal.transaction.Update

UpdateType = 'UnregisterExchangeOffer'
ObjectType

alias of ExchangeOfferObject

CreatorType

alias of ParticipantObject

References
check_valid(store, txn)[source]
apply(store, txn)[source]
class mktplace.transactions.exchange_offer_update.UpdateDescription(update_type, creator_id, description, object_id)[source]

Bases: mktplace.transactions.market_place_object_update.UpdateDescription

UpdateType = 'UpdateExchangeOfferDescription'
ObjectType

alias of ExchangeOfferObject

CreatorType

alias of ParticipantObject

class mktplace.transactions.exchange_offer_update.UpdateName(update_type, object_id, creator_id, name)[source]

Bases: mktplace.transactions.market_place_object_update.UpdateName

UpdateType = 'UpdateExchangeOfferName'
ObjectType

alias of ExchangeOfferObject

CreatorType

alias of ParticipantObject