Verified Network
  • What is the Verified Network
  • How to use it
  • Reference
    • Verified SDK
      • Using the SDK
      • Wallet and Contracts
      • Know your Customer
        • Using the KYC plugin
      • Delegated permissions
      • Investment products
        • Product lifecycle
        • Example of a Product
      • Security tokens
        • Issuing functions
      • Liquidity pools
        • Buy and Sell Orders workflow
        • Buy and Sell Order Complete workflow example
      • Secondary issues
      • Primary issues
        • Primary offer function
      • Margin traded issues
        • Offering collateral
      • Adding money to wallet
        • Paying in supported tokens
      • Issuing cash tokens
        • Issuing and Exchange functions
      • Making payments
        • Transferring cash tokens
      • Withdrawals
        • Redeeming cash tokens
      • Custody of Assets
        • Custody functions
      • Staking to invest
        • Liquidity functions
        • Market maker functions
      • Staking to borrow
        • Bond issuing function
      • Lending
        • Bond purchase function
      • Repayments
        • Bond redemption function
      • Claiming collateral
        • Defaults and Unsold bonds
      • Returns on Investment
        • Manager and Platform returns
    • Verified REST API
      • Market data
        • Get all assets
        • Get Tradable Asset Pairs
        • Get Ticker Information
        • Get Orderbook
      • Order data
        • Get Account Balance
        • Get Trade Balance
        • Get Open Orders
        • Get Closed Orders
        • Query Orders Info
        • Query Trades Info
        • Get Trades History
      • Order Management
        • Add Order
        • Edit Order
        • Cancel Order
    • Verified Subgraphs
    • Verified Applications
      • Doing KYC
        • Creating wallet
        • Using the Verified Dapp
        • Doing KYC
      • Primary issues
        • Creating a new issue
        • Subscribing to issue
        • Closing issue
      • Secondary trading
        • Market orders
        • Limit orders
        • Edit, Cancel, Settle orders
      • Margin trading
        • Post Margin collateral
        • Swaps
        • Edit, Cancel, Settle orders
      • Portfolio
        • Account statement
        • Corporate actions
        • Underwriting liquidity
Powered by GitBook
On this page
  • Create vault
  • Define quorum
  • Add participant
  • Confirmation by participant
  • Prompt co-signatories
  • Sign transaction
  • Check quorum
  • Retrieve shards
  1. Reference
  2. Verified SDK
  3. Custody of Assets

Custody functions

Function definitions

Create vault

createVault(_creator, _id)

Function parameter

Description

_creator

human readable unique identifier for user such as its email address

_id

a messaging token for the user such as a firebase or azure cloud messaging token

Define quorum

defineQuorum(_creator, _id, _minParticipants)

Function parameter

Description

_creator

unique identifier for user

_id

messaging token for user

_minParticipants

minimum number of co-signatories to reach quorum

Add participant

addParticipant(_creator, _id, _participant)

Function parameter

Description

_creator

unique identifier for user

_id

messaging token for user

_participant

unique identifier for co-signatory

Confirmation by participant

confirmParticipant(_creator, _participant, _id)

Function parameter

Description

_creator

unique identifier for user

_id

messaging token for user

_participant

unique identifier for co-signatory

Prompt co-signatories

promptSignatures(_creator, _id)

Function parameter

Description

_creator

human readable unique identifier for user such as its email address

_id

a messaging token for the user such as a firebase or azure cloud messaging token

Sign transaction

signTransaction(_creator, _participant, _id, _tx, _pin)

Function parameter

Description

_creator

unique identifier for user

_participant

unique identifier for co-signatory

_id

messaging token for co-signatory

_tx

unique transaction identifier that co-signatories receive by notification from the Verified Network

_pin

PIN of co-signatory

Check quorum

checkQuorum(_creator, _id, _participant, _txid)

Function parameter

Description

_creator

unique identifier for user

_id

messaging token for user

_participant

unique identifier for co-signatory

_tx

unique transaction identifier that users receive by notification from the Verified Network

Retrieve shards

getShards(_creator, _id, _txid)

Function parameter

Description

_creator

unique identifier for user

_id

messaging token for user

_txid

unique identifier for transaction that needs to be signed by assembling key shards

PreviousCustody of AssetsNextStaking to invest

Last updated 1 year ago