Skip to main content

Contracts

Retriev is currently deployed on:

Retriev Contract

Relevant parameters

  • appeal_timeout: 86400
  • proposal_timeout: 86400
  • max_appeals: 5 (max appeals for a single deal)
  • min_duration: 86400
  • rounds_limit: 12 (number of referee rounds)
  • slashes_threshold: 12 (number of referee failures)

Relevant Methods

  • createAppeal: Start an appeal for a specific deal
    • uint256 deal_index: deal index to appeal
  • createDealProposal: Creates a deal proposal for the specific arguments
    • address owner: Owner of the deal
    • string data_uri: If an IPFS address specify ipfs://
    • uint256 duration: Duration of the deal
    • address[] providers: Providers that can accept the deal
    • address[] appeal_addresses: Addresses that can start the appeal process