mktplace.transactions.asset_update module

class mktplace.transactions.asset_update.AssetObject(objectid=None, minfo=None)[source]

Bases: mktplace.transactions.market_place_object_update.MarketPlaceObject

ObjectTypeName = 'Asset'
classmethod is_valid_object(store, objectid)[source]
dump()[source]
class mktplace.transactions.asset_update.Register(update_type, creator_id=None, asset_type_id=None, consumable=True, restricted=True, divisible=False, description=None, name=None)[source]

Bases: journal.transaction.Update

UpdateType = 'RegisterAsset'
ObjectType

alias of AssetObject

CreatorType

alias of ParticipantObject

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

Bases: journal.transaction.Update

UpdateType = 'UnregisterAsset'
ObjectType

alias of AssetObject

CreatorType

alias of ParticipantObject

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

Bases: mktplace.transactions.market_place_object_update.UpdateDescription

UpdateType = 'UpdateAssetDescription'
ObjectType

alias of AssetObject

CreatorType

alias of ParticipantObject

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

Bases: mktplace.transactions.market_place_object_update.UpdateName

UpdateType = 'UpdateAssetName'
ObjectType

alias of AssetObject

CreatorType

alias of ParticipantObject