-
Notifications
You must be signed in to change notification settings - Fork 0
/
IBlockchainConnector.py
39 lines (26 loc) · 980 Bytes
/
IBlockchainConnector.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
class BlockchainConnector:
def __init__(self, backend, endpoints):
self.backend = backend
self.endpoints = endpoints
def getConnectorConfig(self):
pass
def createParticipant(self, participant, participant_type):
pass
def updateParticipant(self, participant, participant_type):
pass
def submitAssetCreateTransaction(self, asset, asset_type, ass_data, owner):
pass
def submitAssetAppendTransaction(self, asset_id, asset_type, ass_data, prev_trans_id, prev_owner, new_owner):
pass
def getAssetBlockInLedger(self, trans_id, trans_type):
pass
def getAssetTransactions(self, asset_id, asset_type, trans_type):
pass
def getAsset(self, asset_id, asset_type):
pass
def getAssetMutableData(self, asset_id, asset_type):
pass
def getAssetOwnership(self, asset_id, asset_type):
pass
class BlockchainConnectorException(Exception):
pass