Esempio n. 1
0
 def __init__(self, ipv8, ipfs_api, pub_key):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.putChild("skills",
                   SpecificUserSkillsEndpoint(ipv8, ipfs_api, pub_key))
     self.putChild("statistics",
                   SpecificUserStatisticsEndpoint(ipv8, ipfs_api, pub_key))
     self.pub_key = pub_key
Esempio n. 2
0
 def __init__(self, ipv8, ipfs_api, public_key, submission_id):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key
     self.submission_id = submission_id
     self.putChild(
         "reviews",
         SpecificSubmissionReviewsEndpoint(ipv8, ipfs_api, public_key,
                                           submission_id))
Esempio n. 3
0
 def __init__(self, ipv8, ipfs_api, public_key, project_id):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key
     self.project_id = project_id
Esempio n. 4
0
 def __init__(self, ipv8, ipfs_api, public_key, project_id):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key
     self.project_id = project_id
     self.putChild("submissions", SpecificProjectSubmissionsEndpoint(ipv8, ipfs_api, public_key, project_id))
Esempio n. 5
0
 def __init__(self, ipv8, ipfs_api, public_key):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key.decode('hex')
Esempio n. 6
0
 def __init__(self, ipv8, ipfs_api):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.putChild("import", GithubImportEndpoint(ipv8, ipfs_api))
Esempio n. 7
0
 def __init__(self, ipv8, ipfs_api, public_key, submission_id):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key
     self.submission_id = submission_id
Esempio n. 8
0
 def __init__(self, ipv8, ipfs_api):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.putChild("request", RequestReviewEndpoint(ipv8, ipfs_api))
Esempio n. 9
0
 def __init__(self, ipv8, ipfs_api, public_key, review_id):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.public_key = public_key
     self.review_id = review_id
Esempio n. 10
0
 def __init__(self, ipv8, ipfs_api):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.putChild("myprofile", MyProfileEndpoint(ipv8, ipfs_api))
Esempio n. 11
0
 def __init__(self, ipv8, ipfs_api):
     DAppCrowdEndpoint.__init__(self, ipv8, ipfs_api)
     self.putChild("skills", MyProfileSkillsEndpoint(ipv8, ipfs_api))
     self.putChild("submissions", MySubmissionsEndpoint(ipv8, ipfs_api))
     self.putChild("reviews", MyReviewsEndpoint(ipv8, ipfs_api))