bitsharesbase.objects module

class bitsharesbase.objects.AccountCreateExtensions(*args, **kwargs)

Bases: bitsharesbase.objects.Extension

class Active_special_authority(*args, **kwargs)

Bases: bitsharesbase.objects.SpecialAuthority

class Buyback_options(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class Null_ext(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class Owner_special_authority(*args, **kwargs)

Bases: bitsharesbase.objects.SpecialAuthority

sorted_options = [('null_ext', <class 'bitsharesbase.objects.AccountCreateExtensions.Null_ext'>), ('owner_special_authority', <class 'bitsharesbase.objects.AccountCreateExtensions.Owner_special_authority'>), ('active_special_authority', <class 'bitsharesbase.objects.AccountCreateExtensions.Active_special_authority'>), ('buyback_options', <class 'bitsharesbase.objects.AccountCreateExtensions.Buyback_options'>)]
bitsharesbase.objects.AccountId(asset)
class bitsharesbase.objects.AccountOptions(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.Asset(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

bitsharesbase.objects.AssetId(asset)
class bitsharesbase.objects.AssetOptions(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.BitAssetOptions(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.CallOrderExtension(*args, **kwargs)

Bases: bitsharesbase.objects.Extension

sorted_options = [('target_collateral_ratio', <function CallOrderExtension.targetCollateralRatio>)]
targetCollateralRatio()
class bitsharesbase.objects.Extension(*args, **kwargs)

Bases: graphenebase.types.Array

class bitsharesbase.objects.Memo(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.ObjectId(object_str, type_verify=None)

Bases: graphenebase.types.ObjectId

Need to overwrite a few attributes to load proper object_types from bitshares

object_types = {'OBJECT_TYPE_COUNT': 16, 'account': 2, 'asset': 3, 'balance': 15, 'base': 1, 'call_order': 8, 'committee_member': 5, 'custom': 9, 'force_settlement': 4, 'limit_order': 7, 'null': 0, 'operation_history': 11, 'proposal': 10, 'vesting_balance': 13, 'withdraw_permission': 12, 'witness': 6, 'worker': 14}
class bitsharesbase.objects.Operation(op, **kwargs)

Bases: graphenebase.objects.Operation

Need to overwrite a few attributes to load proper operations from bitshares

module = 'bitsharesbase.operations'
operations = {'account_create': 5, 'account_transfer': 9, 'account_update': 6, 'account_upgrade': 8, 'account_whitelist': 7, 'assert': 36, 'asset_claim_fees': 43, 'asset_create': 10, 'asset_fund_fee_pool': 16, 'asset_global_settle': 18, 'asset_issue': 14, 'asset_publish_feed': 19, 'asset_reserve': 15, 'asset_settle': 17, 'asset_settle_cancel': 42, 'asset_update': 11, 'asset_update_bitasset': 12, 'asset_update_feed_producers': 13, 'balance_claim': 37, 'bid_collateral': 45, 'blind_transfer': 40, 'call_order_update': 3, 'committee_member_create': 29, 'committee_member_update': 30, 'committee_member_update_global_parameters': 31, 'custom': 35, 'execute_bid': 46, 'fba_distribute': 44, 'fill_order': 4, 'limit_order_cancel': 2, 'limit_order_create': 1, 'override_transfer': 38, 'proposal_create': 22, 'proposal_delete': 24, 'proposal_update': 23, 'transfer': 0, 'transfer_from_blind': 41, 'transfer_to_blind': 39, 'vesting_balance_create': 32, 'vesting_balance_withdraw': 33, 'withdraw_permission_claim': 27, 'withdraw_permission_create': 25, 'withdraw_permission_delete': 28, 'withdraw_permission_update': 26, 'witness_create': 20, 'witness_update': 21, 'worker_create': 34}
class bitsharesbase.objects.Permission(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.Price(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.PriceFeed(*args, **kwargs)

Bases: graphenebase.objects.GrapheneObject

class bitsharesbase.objects.SpecialAuthority(o)

Bases: graphenebase.types.Static_variant

class bitsharesbase.objects.Worker_initializer(o)

Bases: graphenebase.types.Static_variant