Decentralized Bio Network
Search…
Decentralized Bio Network
Welcome to DeBio
Overview
Introduction to DeBio
Roadmap Infographic
Tokenomics
Whitepaper
FAQ
Products & Services
Decentralized Genetics
Biomedical Testing
Electronic Medical Record
Interlab Collaboration
Data Bounty
Request Service
Request Genetic Analysis
Sample Collection Process
Getting Started
How to Install Metamask
How to Get Free Testnet Token on Rinkeby
How to do Wallet Binding on DeBio
How to Provide $DBIO/$NEAR Liquidity on Ref Finance and Earn $REF
Complete Guidelines
User Guideline
Lab Guideline
Genetic Analyst Guideline
Hospital Guideline
Doctor Guideline
Developers
Github
Changelog
Back End
Front End
Community Channels
Telegram
Discord
Social media
Facebook
Twitter
Medium
Instagram
LinkedIn
Appchain
Appchain Function Spec
Legal
Terms and Condition
Terms of Token Sale and Use
Privacy Policy
Powered By
GitBook
Appchain Function Spec
Github : https://github.com/debionetwork/debio-node/tree/development
Extrinsics function based on role :
As general user (customer / lab)
Wallet Binding : Pallet User Profile
set_eth_address(eth_address) : bind between polkadot and eth address
As lab
Create, Update, Delete lab : Pallet Lab
registerLab(labInfo)
updateLab(labInfo)
deregisterLab()
Create, Update, Delete service : Pallet Service
createService(service_info)
updateService(service_id, service_info)
deleteService(service_id)
Create, Update, Delete lab certification : Pallet certification
createCertification(certification_info)
updateCertification(certification_id, certification_info)
deleteCertification(certification_id)
Process order : Pallet Genetic Testing
rejectDnaSample(tracking_id, rejected_title, rejected_description)
processDnaSample(tracking_id, status)
submitTestResult(tracking_id, submission)
submitIndependentTestResult(submission)
submitDataStakingDetails(data_hash)
Finished order : Pallet Order
fulfillOrder(order_id)
As customer
Create, Cancel order : Pallet Order
createOrder(service_id,price_index, customer_box_public_key)
cancelOrder(order_id)
Create, Update, Delete EMR : Pallet EMR
addElectronicMedicalRecord()
removeElectronicMedicalRecord()
addElectronicMedicalRecordInfo(title, description)
removeElectronicMedicalRecord(electronic_medical_record_info_id)
As Escrow
Set Order to Paid : Pallet Order
setOrderPaid(orderId)
Set Order to Refunded : Pallet Order
setOrderRefunded(orderId)
Previous
Reference
Next - Legal
Terms and Condition
Last modified
9mo ago
Copy link
Outline
Extrinsics function based on role :
As general user (customer / lab)
As lab
As customer
As Escrow