Decentralized Bio Network
  • Welcome to DeBio
  • Overview
  • Introduction to DeBio
  • Roadmap Infographic
  • Tokenomics
    • The Token Model
    • Token Distribution
  • Products & Services
    • Decentralized Genetics
    • Biomedical Testing
    • Electronic Medical Record
    • Interlab Collaboration
    • Request Service
    • Request Genetic Analysis
    • Sample Collection Process
      • Dried Blood Spot
      • Buccal Swab
      • Fecal Matters Stool
      • Urine Clean Catch
      • Saliva
  • Getting Started
    • How to Bridge Your $DBIO and $USDT to the DeBio Network Appchain
    • 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
      • Generate Account
      • Connect Wallet
      • Request Test
      • Data Bounty
      • Request Service
      • Request Genetic Analysis
      • EMR
      • Upload & Encrypt Data
    • Lab Guideline
      • Generate Account
      • Connect Wallet
      • Register Account
      • Process Order (Request Test)
      • Provide Service
    • Genetic Analyst Guideline
      • Generate Account
      • Register Account
      • Process Order (Request Genetic Analysis)
      • Download & Decrypt Data
      • Upload & Encrypt Data
    • Hospital Guideline
    • Doctor Guideline
  • Developers
    • Github
    • Changelog
      • Debio Frontend
      • Debio Node
    • Back End
      • Endpoints
    • Front End
      • Introduction
      • DeBio Techstack
        • Packages
      • Reference
  • Community Channels
    • Telegram
    • Discord
  • Social media
    • Facebook
    • Twitter
    • Medium
    • Instagram
    • LinkedIn
  • Appchain
    • Appchain Function Spec
  • Legal
    • Terms and Condition
      • TnC - Genetic and Biomedical Testing Services for User and Lab
      • TnC - Genetic Analysis Services for User
      • TnC - Genetic Analysis Services for Genetic Analyst
    • Terms of Token Sale and Use
    • Privacy Policy
Powered by GitBook
On this page
  • Extrinsics function based on role :
  • As general user (customer / lab)
  • As lab
  • As customer
  • As Escrow

Was this helpful?

  1. Appchain

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)

PreviousReferenceNextTerms and Condition

Last updated 3 years ago

Was this helpful?