Contract Overview

Main Zap Protocol Contracts

Zap Protocol’s platform smart contracts exist on the Ethereum blockchain (Mainnet and Kovan Testnet also available) and define the functionality and interactions between entities using the Zap Protocol. Zap Contracts are the backbone of the Zap Protocol and provide keys features such as:

  • Facilitation of Oracles/Service creation with customizable Bonding Curve pricing models.

  • Enable data queries and responses.

  • Manage Subscriptions.

  • Facilitate Token creation based on the Bonding Curve pricing model.

Zap Protocol Consists Of 4 Main Contracts :

Registry Contract :

  • For Data/Service providers, facilitate creating/managing Oracles and Endpoints. Data about Oracles are stored and viewed publicly on the blockchain.

Bondage Contract :

  • Allow users to bond/unbond to Oracles. Users can bond ZAP Tokens to receive DOTS/Secondary Tokens or unbond DOTS/Secondary Tokens to get ZAP Tokens back, all through a Bondage contract.

  • Holds DOTS/SecondaryTokens in escrow during subscriptions periods or pending queries.

Dispatch Contract :

  • Handles the delivery of queried data from data providers to user contracts.

Arbiter Contract :

  • Handle subscriptions activity, including the subscription’s blocktime start/end, and additional information about subscriptions.

assets-LZf-JHix-Ia6ja0-Kt-INp-L-Je2c-Bz-AZ8-Q0-KId-Gwv-L-Je-Fl-US5-Pc1-Sl-RW9vt-zapflow

Mainnet Addresses:

Kovan Addresses:

Registry Contract

image

Bondage Contract

image

Dispatch Contract

image

Arbiter Contract

image

Additional Contracts & Packages

Provider Contract

image

Subscriber Contract

image

Token Factory

image

Curve Contract

image

Last updated

Was this helpful?