Covest Labs Docs
  • Covest InSaaS Protocol
    • InSaaS Architecture
      • Basic Signed Quote Model
    • InSaaS Components
      • Governance
      • Risk Assessment
      • Claim Assessment
      • Validator Selection
      • Risk Carrier
    • InSaaS Smart Contracts
      • Policy States
      • Claim Case States
      • Operator
        • Pool Manager
        • Pricing Manager
        • Policy Manager
        • Claim Manager
      • Policyholder
        • Policy Manager
          • issuePolicy
          • redeemPolicy
          • Others
        • Claim Manager
          • submitClaim
          • Others
      • Claim Assessor
        • Claim Manager
      • Governance Board
        • Claim Manager
      • Contract Integration
  • Covest Warranty
    • Key Components
    • System Overview
    • Core Features
      • Contract Management
      • Warranty Certificate
      • Claim Management
      • Customer Portal
    • API Documentations
    • API Diagrams
      • Create Order Flow
      • Redeem Order Flow
Powered by GitBook
On this page
  • isPolicyExist
  • getPolicyStatus
  • getPoliciesStatus
  • getPolicyData
  • getPoliciesData
  1. Covest InSaaS Protocol
  2. InSaaS Smart Contracts
  3. Policyholder
  4. Policy Manager

Others

isPolicyExist

function isPolicyExist(string _policyId_) external view returns (bool)

Get is the policy exist.

Name
Type
Description

policyId

string

The policy id.

Name
Type
Description

[0]

bool

True if the policy is exist, false otherwise.

getPolicyStatus

function getPolicyStatus(string _policyId_) external view returns (PolicyStatus)

Get the policy status.

Name
Type
Description

policyId

string

The policy id.

Name
Type
Description

[0]

The policy status.

getPoliciesStatus

function getPoliciesStatus(string[] _policyIds_) external view returns (PolicyStatus[])

Get the policies status.

Name
Type
Description

policyIds

string[]

The parameter that contains the policy ids.

Name
Type
Description

[0]

The policies status.

getPolicyData

function getPolicyData(string _policyId_) external view returns (PolicyData)

Get the policy data.

Name
Type
Description

policyId

string

The policy id.

Name
Type
Description

[0]

The policy data.

getPoliciesData

function getPoliciesData(string[] _policyIds_) external view returns (PolicyData[])

Get the policies data.

Name
Type
Description

policyIds

string[]

The parameter that contains the policy ids.

Name
Type
Description

[0]

The policies data.

PreviousredeemPolicyNextClaim Manager

Last updated 2 years ago

PolicyStatus
PolicyStatus[]
PolicyData
PolicyData[]