Contract Overview

Main Zap Protocol Contracts

Zap Protocol’s platform smart contracts exist on the Ethereum blockchain (Mainnet and Kovan Testnetarrow-up-right 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-zapflowarrow-up-right

Mainnet Addresses:

Kovan Addresses:

Registry Contract

imagearrow-up-right

Bondage Contract

imagearrow-up-right

Dispatch Contract

imagearrow-up-right

Arbiter Contract

imagearrow-up-right

Additional Contracts & Packages

Provider Contract

imagearrow-up-right

Subscriber Contract

imagearrow-up-right

Token Factory

imagearrow-up-right

Curve Contract

imagearrow-up-right

Last updated