diff --git a/docs/Data Provider Nodes/bookmaker-ratings-oracle.md b/docs/Data Provider Nodes/bookmaker-ratings-oracle.md deleted file mode 100644 index 45a1d3b4007..00000000000 --- a/docs/Data Provider Nodes/bookmaker-ratings-oracle.md +++ /dev/null @@ -1,145 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "Bookmaker Ratings Oracle" -permalink: "docs/bookmaker-ratings-oracle/" -whatsnext: {"Finage Global Market Data Oracle":"/docs/finage-global-market-data-oracle/"} ---- -Bookmaker Ratings is the premier betting media in Russia and Eastern Europe. Their expansive set of APIs providers users with access to proprietary and aggregated sports odds and sports results data. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0x0A39479Cc18b1c03D27D1e4A783C63754b75213d` -JobID: `c40d034d30fe461981cb745eaab08070` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xc2EA1866804c84f5642a97b7FA38B45Ea8A69F6D` -JobID: `1ceaa2fb40e040f6a19507ceaed23fd1` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract BookmakerRatingsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract BookmakerRatingsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract BookmakerRatingsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* Bookmaker Ratings -* [Copy](../adapters/#copy) -* [EthBytes32](../adapters/#ethbytes32) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `gameIds` -The game ID to query. -#### Solidity Example -`req.add("gameIds", "1589487");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestOdds` function - -```javascript -function requestOdds -( - address _oracle, - bytes32 _jobId, - string memory _gameIds -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("gameIds", _gameIds); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -bytes32 public odds; - -function fulfill(bytes32 _requestId, bytes32 _odds) - public - recordChainlinkFulfillment(_requestId) -{ - odds = _odds; -} -``` - -# Documentation and Support -- Email: info@metaratings.ru \ No newline at end of file diff --git a/docs/Data Provider Nodes/ciphertrace-defi-compli-oracle.md b/docs/Data Provider Nodes/ciphertrace-defi-compli-oracle.md deleted file mode 100644 index 2ddc01c3215..00000000000 --- a/docs/Data Provider Nodes/ciphertrace-defi-compli-oracle.md +++ /dev/null @@ -1,158 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "CipherTrace DeFi Compli Oracle" -permalink: "docs/ciphertrace-defi-compli-oracle/" -whatsnext: {"Bookmaker Ratings Oracle":"/docs/bookmaker-ratings-oracle/"} ---- -CipherTrace, the industry standard in cryptocurrency intelligence, introduces DeFi Compli, a compliance solution enabling DEXs and DeFi applications to abide by the Office of Foreign Assets Control (OFAC) sanction requirements. This oracle delivers CipherTrace's source-signed compliance data directly on-chain to your smart contract. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xAcB07C9f9b0FEC39FD0F305FbA69A26b5772f81A` -JobID: `5348c2c08d03431a8872078bee96c6de` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `22adbb38c8554f6ab36aedf42b17be18` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xf401c4DC6Ae678bB3b44adF1199e42Ea7066BAed` -JobID: `8f156beb0abb44a1ad0fec925ab38707` - -#### Polygon (Matic) Mainnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.MATIC_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x9B4FC5D90287A7EE39BAeB2950B696870A1c0669` -JobID: `6fb6404456574a999a88ed4aaea5a475` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract CipherTraceChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract CipherTraceChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract CipherTraceChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* DeFi Compli -* [Copy](../adapters/#copy) -* [EthBool](../adapters/#ethbool) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `network` -- The blockchain network of the address to check. Defaults to `ETH`. -#### Solidity Example -`req.add("network", "ETH");` -### `lookup_address` -- The address to check against CipherTrace's DeFi Compli service. -#### Solidity Example -`req.add("lookup_address", "0xAcB07C9f9b0FEC39FD0F305FbA69A26b5772f81A");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```javascript -function requestData -( - address _oracle, - bytes32 _jobId, - string memory _network, - string memory _address -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("network", _network); - req.add("lookup_address", _address); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -bool public data; - -function fulfill(bytes32 _requestId, bool _data) - public - recordChainlinkFulfillment(_requestId) -{ - data = _data; -} -``` - -# Documentation and Support -- CipherTrace's industry standard Anti-Money Laundering Compliance Solutions -- Contact CipherTrace \ No newline at end of file diff --git a/docs/Data Provider Nodes/data-provider-nodes-list.md b/docs/Data Provider Nodes/data-provider-nodes-list.md index 082704cdc5b..a533f14c3e7 100644 --- a/docs/Data Provider Nodes/data-provider-nodes-list.md +++ b/docs/Data Provider Nodes/data-provider-nodes-list.md @@ -6,21 +6,22 @@ title: "Data Provider Nodes List" permalink: "docs/data-provider-nodes-list/" --- -| Data Category | Name | Supported Blockchains | -|:------------- |:------------------------------------------------------------------------- |:-------------------------------------------- | -| Collectibles | [WatchSignals Luxury Watch Price Oracle](../watchsignals) | Ethereum, Binance Smart Chain | -| Crypto | [Genesis Volatility Cryptocurrency Options Oracle](../genesis-volatility) | Ethereum, Binance Smart Chain, Polygon, xDAI | -| Crypto | [Kraken Rates Oracle Node](../kraken-rates-oracle-node) | Ethereum | -| Crypto | [LCX (Testnet)](../lcx-testnet) | Ethereum | -| DNS Lookup | [DNS Ownership Oracle](../dns-ownership-oracle) | Ethereum, Binance Smart Chain, Polygon | -| Equities | [dxFeed Price Oracle](../dxfeed-oracle) | Ethereum, Binance Smart Chain | -| Equities | [Finage Global Market Data Oracle](../finage-global-market-data-oracle) | Ethereum, Binance Smart Chain | -| Equities | [Tiingo EOD Stock Price Oracle](../tiingo-eod-stock-price-oracle) | Ethereum, Binance Smart Chain | -| Identity | [CipherTrace DeFi Compli Oracle](../ciphertrace-defi-compli-oracle) | Ethereum, Binance Smart Chain, Polygon | -| Location | [GeoDB Oracle Node](../geodb-oracle-node) | Ethereum, Binance Smart Chain | -| Real Estate | [ProspectNow Real Estate Data Oracle](../prospectnow-data-oracle) | Ethereum, Polygon | -| Real Estate | [SmartZip Real Estate AVM Oracle](../smartzip-awm-oracle) | Ethereum, Binance Smart Chain | -| Sports | [Bookmaker Ratings Oracle](../bookmaker-ratings-oracle) | Ethereum, Binance Smart Chain | -| Sports | [SportMonks Sports Data Oracle](../sport-monks-oracle) | Ethereum, Binance Smart Chain | -| Sports | [TheRunDown Oracle Node](../therundown-oracle-node) | Ethereum, Polygon | -| Time | [Chainlink Alarm Clock (Testnet)](../chainlink-alarm-clock) | Ethereum | \ No newline at end of file +| Data Category | Name | Supported Blockchains | +|:------------- |:--------------------------------------------------------------------------------------------------------------------------- |:-------------------------------------------- | +| Collectibles | [WatchSignals Luxury Watch Price Oracle](https://market.link/data-providers/f76be519-e41e-48a0-9430-47319eda0f43) | Ethereum, Binance Smart Chain | +| Crypto | [Genesis Volatility Cryptocurrency Options Oracle](https://market.link/data-providers/9a9dfca2-6a47-4d12-a095-2224beec8c41) | Ethereum, Binance Smart Chain, Polygon, xDAI | +| Crypto | [Kraken Rates Oracle Node](../kraken-rates-oracle-node) | Ethereum | +| Crypto | [LCX (Testnet)](../lcx-testnet) | Ethereum | +| DNS Lookup | [DNS Ownership Oracle](../dns-ownership-oracle) | Ethereum, Binance Smart Chain, Polygon | +| Equities | [dxFeed Price Oracle](https://market.link/data-providers/eb5c92a8-6093-4657-9a68-a6d10719946e) | Ethereum, Binance Smart Chain | +| Equities | [Finage Global Market Data Oracle](https://market.link/data-providers/c5c21570-04cb-480b-a4c4-5254b86251ee) | Ethereum, Binance Smart Chain | +| Equities | [Tiingo EOD Stock Price Oracle](https://market.link/data-providers/f6564cff-68a8-49f0-92b4-17f5cd76b178) | Ethereum, Binance Smart Chain | +| Identity | [CipherTrace DeFi Compli Oracle](https://market.link/data-providers/57a9cf23-fc11-45e7-ba5b-18975e4562cf) | Ethereum, Binance Smart Chain, Polygon | +| Location | [GeoDB Oracle Node](https://market.link/data-providers/929200a7-c4e8-47b2-a13d-06798716bb93) | Ethereum, Binance Smart Chain | +| Real Estate | [ProspectNow Real Estate Data Oracle](https://market.link/data-providers/804f9733-09d4-4a3f-8e16-9477b7e4fd18) | Ethereum, Polygon | +| Real Estate | [SmartZip Real Estate AVM Oracle](https://market.link/data-providers/7c5a6a8c-5008-4f5f-8914-6264f45bff61) | Ethereum, Binance Smart Chain | +| Sports | [Bookmaker Ratings Oracle](https://market.link/data-providers/3620ffd3-d6be-4ede-961c-9f9fd91a5b84) | Ethereum, Binance Smart Chain | +| Sports | [SportMonks Sports Data Oracle](https://market.link/data-providers/fa1019e0-e0bc-4538-8b7a-3f490d28423b) | Ethereum, Binance Smart Chain | +| Sports | [SportsDataIO Oracle](https://market.link/data-providers/5fcd7b71-33aa-4679-bc70-75d3ebe01c04) | Ethereum, Binance Smart Chain | +| Sports | [TheRunDown Oracle Node](https://market.link/data-providers/098c3c5e-811d-4b8a-b2e3-d1806909c7d7) | Ethereum, Polygon | +| Time | [Chainlink Alarm Clock (Testnet)](../chainlink-alarm-clock) | Ethereum | \ No newline at end of file diff --git a/docs/Data Provider Nodes/dxfeed-oracle.md b/docs/Data Provider Nodes/dxfeed-oracle.md deleted file mode 100644 index 10f2d31cb2b..00000000000 --- a/docs/Data Provider Nodes/dxfeed-oracle.md +++ /dev/null @@ -1,173 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "dxFeed Price Oracle" -permalink: "docs/dxfeed-oracle/" -whatsnext: {"CipherTrace DeFi Compli Oracle":"/docs/ciphertrace-defi-compli-oracle/"} ---- -dxFeed, a subsidiary of Devexperts, is an industry leader in providing high-quality financial data, including real-time and historical market data services, reference data, corporate actions, "time machine" market replay and more. This oracle will initially provide real-time pricing data for a range of equities and cryptocurrencies. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xECcB8F881cE2552EdA4115a162ffE2666B601c33` -JobID: `beeca27f5c0942b0958b64c284b5117d` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `0391a670ba8e4a2f80750acfe65b0c89` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x97a585920a3D0E8922406c5E6D826F76F29ecCd4` -JobID: `c37e674b864a47ccb33096ca007d64e4` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract DxFeedChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract DxFeedChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract DxFeedChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* dxFeed -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthUint256](../adapters/#ethuint256) -* [EthTx](../adapters/#ethtx) - -## Request Parameters -### `base` -- The asset or asset pair to request the price of. -#### Solidity Example -`req.add("base", "BTC/USDT:CXDXF");` - -### Parameter Options - -#### Equities - -- `BAC` -- `BRK/A` -- `C` -- `GS` -- `JPM` -- `MA` -- `MS` -- `PYPL` -- `V` -- `WFC` - -#### Cryptocurrency Pairs -- `BSV/BTC:CXDXF` -- `ETC/BTC:CXDXF` -- `EOS/BTC:CXDXF` -- `BCH/USDT:CXDXF` -- `BSV/USDT:CXDXF` -- `BTC/USDT:CXDXF` -- `ETC/USDT:CXDXF` -- `LTC/USDT:CXDXF` -- `XRP/USDT:CXDXF` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestPrice` function - -```javascript -function requestPrice -( - address _oracle, - bytes32 _jobId, - string memory _base -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, address(this), this.fulfill.selector); - req.add("base", _base); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -uint256 public price; - -function fulfill(bytes32 _requestId, uint256 _price) - public - recordChainlinkFulfillment(_requestId) -{ - price = _price; -} -``` - -# Documentation and Support -- dxFeed API Documentation -- dxFeed Help Desk \ No newline at end of file diff --git a/docs/Data Provider Nodes/finage-global-market-data-oracle.md b/docs/Data Provider Nodes/finage-global-market-data-oracle.md deleted file mode 100644 index d95b4c31791..00000000000 --- a/docs/Data Provider Nodes/finage-global-market-data-oracle.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "Finage Global Market Data Oracle" -permalink: "docs/finage-global-market-data-oracle/" ---- - -Finage is a leading real-time stock, forex, and cryptocurrency data provider. They offer market data for 60,000+ securities, and a broad selection of data such as financial statements, Ownership, News Sentiments, Earning Call Transcripts and Mergers and Acquisitions. This oracle will initially provide a given stock’s performance relative to its sector’s performance. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](..//intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples/) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xE98dFc0C36408b54326Fa11235D573574B1e8eC3` -JobID: `3e478404a3ca4cf5abd2820efe7c1913` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `955810d193e144abb85ae2edea65344d` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xa80bEAEBf1955D8AA9B5f741388e5A43Ba309935` -JobID: `55d23024c541439ca28b456044d01304` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```solidity Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract FinageChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```solidity Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract FinageChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```solidity Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract FinageChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* Finage Relative Stock Performance -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthInt256](../adapters/#ethint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `symbol` -- The symbol of the stock to query -#### Solidity Example -`req.add("symbol", "AAPL");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```javascript -function requestData -( - address _oracle, - bytes32 _jobId, - string memory _symbol -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("symbol", _symbol); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -int256 public data; - -function fulfill(bytes32 _requestId, int256 _data) - public - recordChainlinkFulfillment(_requestId) -{ - data = _data; -} -``` - -# Documentation and Support -- The `Finage Relative Stock Performance` job depends on calls to the Finage Stock Market Aggregates API and the Stock Market Details API -- For assistance, reach out to Finage using this form \ No newline at end of file diff --git a/docs/Data Provider Nodes/flightaware-chainlink-testnet.md b/docs/Data Provider Nodes/flightaware-chainlink-testnet.md deleted file mode 100644 index fcea0e74d48..00000000000 --- a/docs/Data Provider Nodes/flightaware-chainlink-testnet.md +++ /dev/null @@ -1,165 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "FlightAware Chainlink (Testnet)" -permalink: "docs/flightaware-chainlink-testnet/" -hidden: true ---- -This Chainlink has a dedicated connection to FlightAware. - -# Steps for using this oracle - -- Write and deploy your [Chainlinked](../request-and-receive-data/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Chainlink Network Details - -You will need to use the following LINK token address, oracle address, and Job ID in order to create the Chainlink request. - -#### Kovan -LINK Token address: `0xa36085f69e2889c224210f603d836748e7dc0088` -Oracle address: `0x2f90A6D021db21e1B2A077c5a37B3C7E75D15b7e` -JobID: `a644d4e30977459d9a596bef89c09e71 ` -Sleep JobID: `f0003b2c52024e7fa931d6ee9a947c87` - -# Create your Chainlinked contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract FlightAwareChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract FlightAwareChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract FlightAwareChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -# Tasks - -- [FlightAware](../external-adapters/) -- [Copy](../adapters/#copy) -- [Ethuint256](../adapters/#ethuint256) -- [EthTx](../adapters/#ethtx) - -# Request Parameters - -### `endpoint` - -The endpoint to query (optional, defaults to "FlightInfoEx") - -#### Solidity example - -```javascript -req.add("endpoint", "FlightInfoEx"); -``` - -### `flight` - -The flight identification/number (required) - -#### Solidity example - -```javascript -req.add("flight", "NAX105"); -``` - -### `departure` - -The unix timestamp of the departure (required) - -#### Solidity example - -```javascript -req.addUint("departure", 1594378824); -``` - -### `until` - -Required for the Sleep job - -#### Solidity example - -```javascript -req.addUint("until", now + 1 hours); -``` - -# Chainlink Examples - -The examples below utilize the different endpoints available from this Chainlink: - -```javascript -function createRequest -( - address _oracle, - bytes32 _jobId, - string memory _flight, - uint256 _departure, -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("flight", _flight); - req.addUint("departure", _departure); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` - -Here is an example of the `fulfill` method: - -```javascript -uint256 public result; - -function fulfill(bytes32 _requestId, uint256 _result) - public - recordChainlinkFulfillment(_requestId) -{ - result = _result; -} -``` \ No newline at end of file diff --git a/docs/Data Provider Nodes/genesis-volatility.md b/docs/Data Provider Nodes/genesis-volatility.md deleted file mode 100644 index 01ef0a65eb1..00000000000 --- a/docs/Data Provider Nodes/genesis-volatility.md +++ /dev/null @@ -1,160 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "Genesis Volatility Cryptocurrency Options Oracle" -whatsnext: {"dxFeed Price Oracle":"/docs/dxfeed-oracle/"} -permalink: "docs/genesis-volatility/" ---- -Genesis Volatility is a leading provider of data analytics on the crypto derivatives market, covering the largest exchanges. This oracle will initially supply the 30 day constant maturity 30/20 delta skew for either BTC or ETH. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0x2587B47e53a02789F986E9a7e837fE5879f1fe30` -JobID: `da5f65bda578430f9ba520716d42e397` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `5fd92f9bbc67465a80b8c4770dd89212` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xCAEd48E87a5c04D7dCD70C9efd3Ee2fA852a5874` -JobID: `3d240b3bbd094aa8a8fbf979a8be1492` - -#### Polygon (Matic) Mainnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.MATIC_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x5C7E97565989804455C2AB0eCfE0A456f448682d` -JobID: `b787c7fc8937433298302d4bf2cd7249` - -#### xDAI Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.XDAI_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x670714Ef34E469DBC90d82087E95db1B1E71F279` -JobID: `5428e2d7e7d24b849878412c0aa9f821` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract REPLACE_MEChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract REPLACE_MEChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract REPLACE_MEChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* GVol -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthInt256](../adapters/#ethint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `symbol` -The symbol of the currency to query. Choose `ETH` or `BTC`. -#### Solidity Example -`req.add("symbol", "BTC");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestSkew` function - -```javascript -function requestSkew -( - address _oracle, - bytes32 _jobId, - string memory _symbol -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("symbol", _symbol); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -int256 public skew; - -function fulfill(bytes32 _requestId, int256 _skew) - public - recordChainlinkFulfillment(_requestId) -{ - skew = _skew; -} -``` - -# Documentation and Support - -- Genesis Volatility 30/20 Delta Skew API Documentation -- For additional support reach out to info@genesisvolatility.io \ No newline at end of file diff --git a/docs/Data Provider Nodes/geodb-oracle-node.md b/docs/Data Provider Nodes/geodb-oracle-node.md deleted file mode 100644 index b2c050ce68b..00000000000 --- a/docs/Data Provider Nodes/geodb-oracle-node.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "GeoDB Oracle Node" -permalink: "docs/geodb-oracle-node/" -whatsnext: {"TheRundown Oracle Node":"/docs/therundown-oracle-node/"} -metadata: - image: - 0: "/files/070eb54-cl.png" ---- -GeoDB is a decentralized Big Data ecosystem that compensates data providers who share data and makes data affordable and trusted for data consumers. It uses blockchain technology to collect user data without compromising identities, distribute rewards to data providers, and validate and manage the ecosystem using a decentralized governance model. This oracle, given a location, radius around it, and time duration, returns the number of GeoCash Users in that area during that time. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet - -Payment Amount: 3 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xdCDD8Cb3d4E7332C404772dBFE83C583D17fe821` -JobID: `8a2b5fe5465349229f22f732a3e098cb` - -#### Ethereum Kovan Testnet - -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `ef0e16c96ce04795b261725db827ba32` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xa31ffd6ad080985284cf2fc19ed4df61e8ba22d9` -JobID: `f88bd47507b245babccefc9f81ee1b72` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract GeoDBChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract GeoDBChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract GeoDBChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks - -* GeoDB -* [Copy](/docs/adapters/#copy) -* [Multiply](/docs/adapters/#multiply) -* [EthUint256](/docs/adapters/#ethuint256) -* [EthTx](/docs/adapters/#ethtx) - -# Request Parameters - -### lat -Latitude coordinate. - -#### Solidity Example -`req.add("lat", "45.7905");` - -### lng -Longitude coordinate. - -#### Solidity Example -`req.add("lng", "11.9202");` - -### radius -Radius around the coordinates in meters. - -#### Solidity Example -`req.add("radius", "500000");` - -### start -Start time, format: "yyyy-mm-dd hh:mm:ss". - -#### Solidity Example -`req.add("start", "2021-01-01 20:00:00");` - -### end -End time, format: "yyyy-mm-dd hh:mm:ss". - -#### Solidity Example -`req.add("end", "2021-02-21 20:30:00");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -```javascript -function requestUsers -( - address _oracle, - bytes32 _jobId, - string _lat, - string _lng, - string _radius, - string _start, - string _end -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("lat", _lat); - req.add("lng", _lng); - req.add("radius", _radius); - req.add("start", _start); - req.add("end", _end); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` - -Here is an example of the fulfill method: - -```javascript -uint256 public users; - -function fulfill(bytes32 _requestId, uint256 _users) - public - recordChainlinkFulfillment(_requestId) -{ - users = _users; -} -``` - -# Documentation and Support - -For support, reach out to GeoDB via Discord or Telegram \ No newline at end of file diff --git a/docs/Data Provider Nodes/prospectnow-data-oracle.md b/docs/Data Provider Nodes/prospectnow-data-oracle.md deleted file mode 100644 index 06705430890..00000000000 --- a/docs/Data Provider Nodes/prospectnow-data-oracle.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "ProspectNow Real Estate Data Oracle" -permalink: "docs/prospectnow-data-oracle/" ---- -ProspectNow offers detailed information for every property on record in the United States, including over 100 million residential properties and 42 million commercial properties across all 50 states. We aggregate and clean real estate market data derived from a trusted network of public, private, and internal datasets. This oracle will initially provide the average price per square foot of residential real estate for the last quarter, given a specific ZIP Code. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0x65475b50b77FdfC64071473a6989AF7a1Cc87a72` -JobID: `530e9f4998394bd1a38c1aefee821c85` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `0db4e3fca4c14b009c58106754b63e71` - -#### Polygon (Matic) Mainnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.MATIC_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x65475b50b77FdfC64071473a6989AF7a1Cc87a72` -JobID: `00ec4c8a31bb46c7a40e07ba11358996` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract ProspectNowChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract ProspectNowChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract ProspectNowChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* [ProspectNow](https://market.link/adapters/9b0a46fc-9851-42a3-bc1b-07747bf4e31c) -* [JsonParse](../adapters/#jsonparse) -* [Multiply](../adapters/#multiply) -* [EthUint256](../adapters/#ethuint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `parameter` -- `propertyZip`: ZIP code to be used. -#### Solidity Example -`req.add("propertyZip", "80123");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```solidity -function requestData -( - address _oracle, - bytes32 _jobId, - string memory _propertyZip -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, address(this), this.fulfill.selector); - req.add("propertyZip", _propertyZip); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```solidity -uint public data; - -function fulfill(bytes32 _requestId, uint _data) - public - recordChainlinkFulfillment(_requestId) -{ - data = _data; -} -``` - -### Outputs -- Returns a `uint` representing the average price per square foot of residential real estate in a given ZIP Code over the last quarter - -# Documentation and Support -- Documentation for ProspectNow's [Territory Analyzer API](https://api-documentation-site.s3-us-west-2.amazonaws.com/index.html#req_4eaa0c6a57d848e287920138b837c5a1), which this oracle inherits behavior from -- Reach out to [ProspectNow](https://www.prospectnow.com/contact-us/) via this form \ No newline at end of file diff --git a/docs/Data Provider Nodes/smartzip-awm-oracle.md b/docs/Data Provider Nodes/smartzip-awm-oracle.md deleted file mode 100644 index 796cd9a4082..00000000000 --- a/docs/Data Provider Nodes/smartzip-awm-oracle.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "SmartZip Real Estate AVM Oracle" -permalink: "docs/smartzip-awm-oracle/" ---- -SmartZip is the leader of predictive analytics in real estate. With SmartZip, developers can easily integrate the most comprehensive real estate database into their applications including property values, rental rates, likelihood of selling and much more. - -SmartZip’s proprietary predictive analytics model aggregates data from 24 sources and contains over 1 billion data points on residential real estate, including up-to-date market valuations, rental incomes and other key data points. Initially, this oracle will return a given home's value calculated by SmartZip's patented Automated Valuation Model (AVM). - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xCedA711FED764518654b53Dcf35356da87996B84` -JobID: `94f9b202c7e04c988ce39674f825389d` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `4b799094ee034ec9b6f2c9f511840027` - -#### Polygon (Matic) Mainnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.MATIC_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xDB5DC05bD23880e3C2F4CB49000F2FDf54a1Ce4C` -JobID: `8f3f6c145cda49b8916a688fb876aecb` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract SmartZipChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract SmartZipChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract SmartZipChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* [SmartZip](https://market.link/adapters/544b4a12-9484-448e-a7b7-986a810a0f51/data-sources) -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthUint256](../adapters/#ethuint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `propertyID` -- A SmartZip UUID associated with a given home -#### Solidity Example -`req.add("property_id", "100000125583");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```solidity -function requestData -( - address _oracle, - bytes32 _jobId, - string memory _propertyId -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, address(this), this.fulfill.selector); - req.add("property_id", _propertyId); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```solidity -uint256 public data; - -function fulfill(bytes32 _requestId, uint256 _data) - public - recordChainlinkFulfillment(_requestId) -{ - data = _data; -} -``` - -### Outputs -- A `uint` representing the AVM in USD calculated by SmartZip. - -# Documentation and Support -- SmartZip's [interactive API documentation](https://data-api.smartzip-services.com/) -- For support reach out to [info@smartzip.com](mailto:info@smartzip.com) \ No newline at end of file diff --git a/docs/Data Provider Nodes/sport-monks-oracle.md b/docs/Data Provider Nodes/sport-monks-oracle.md deleted file mode 100644 index 5d87dd2ea9f..00000000000 --- a/docs/Data Provider Nodes/sport-monks-oracle.md +++ /dev/null @@ -1,161 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "SportMonks Sports Data Oracle" -permalink: "docs/sport-monks-oracle/" ---- - -SportMonks is a provider of reliable sport data feeds, powered by a fast, highly available, and easy to implement API. They currently provide live data on three sports: soccer, F1, and cricket. They offer a variety of data such as live scores, player statistics, team stats, seasons stats, bookmakers and markets, (live) odds, predictions and coverage across more than 1,200 leagues. This oracle will initially provide Match Results and Toss Results for the 2021 Indian Premier League Cricket season. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1.0 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0xaec4ebb0abc0e3977b778cdefea0b90fab6836b2` -JobID: `5862903735414799b8e86001391f1444` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `f6409e245f2a46e1a65200ff1e1fd134` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x5391a6663ced4394b73e1a849065ffd8f5419646` -JobID: `6a2714341af64485a3751e1ea98fa866` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```solidity Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract SportMonksChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```solidity Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract SportMonksChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```solidity Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract SportMonksChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* SportMonks -* [Copy](../adapters/#copy) -* [EthBytes32](../adapters/#ethbytes32) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `endpoint` -- The desired result, choose `match-results` or `toss-results`, defaults to `match-results` -### `round` -- The round to query. Use `1st Match`, `2nd Match`, `3rd Match`, etc. -### `season_id` -- The id of the season to query. Defaults to `708`, the identifier for the 2021 Indian Premier League Cricket season. - -#### Solidity Example -`req.add("endpoint", "toss-results");` -`req.add("round", "4th Match");` -`req.add("season_id", "708");` - -#### Outputs -Returns a `string`: `home` or `away` encoded as `bytes32` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```solidity -function requestData -( - address _oracle, - bytes32 _jobId, - string memory _endpoint, - string memory _round, - string memory _seasonId -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("endpoint", _endpoint); - req.add("round", _round); - req.add("season_id", _seasonId); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```solidity -bytes32 public data; - -function fulfill(bytes32 _requestId, bytes32 _data) - public - recordChainlinkFulfillment(_requestId) -{ - data = _data; -} -``` - -# Documentation and Support - -- This job inherits behavior from the GET All Fixtures` API -- For support reach out to support@sportmonks.com \ No newline at end of file diff --git a/docs/Data Provider Nodes/therundown-oracle-node.md b/docs/Data Provider Nodes/therundown-oracle-node.md deleted file mode 100644 index 0ebd6f5a96f..00000000000 --- a/docs/Data Provider Nodes/therundown-oracle-node.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "TheRundown Oracle Node" -permalink: "docs/therundown-oracle-node/" -whatsnext: {"DNS Ownership Oracle":"/docs/dns-ownership-oracle/"} -metadata: - image: - 0: "/files/bf220ba-cl.png" ---- -TheRundown is the leading platform for real-time odds from the most popular sportsbooks, sports and markets. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0x0ae3a0e0e3feb67ec83f423b3b653051aa9bf4d3` -JobID: `8ea9bb3a6b3f41c1b8cc6a041895a660` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `dbb65efc02d34cddb920eca1bec22ade` - -#### Polygon (Matic) Mainnet -Payment Amount: 0.03 LINK -LINK Token Address: `{{variables.MATIC_MAINNET_LINK_TOKEN}}` -Oracle Address: `0xcD5BdCc649f81B9E53671Eb0D17c2831AF04e1d1` -JobID: `96cf91943c8f40b19c6eb401f49f36f9` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract TheRundownChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract TheRundownChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract TheRundownChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* TheRundown -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthUint256](../adapters/#ethuint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `matchId` -Numerical identifier for a given match. -#### Solidity Example -`req.add("matchId", "5527455bb80a5e9884153786aeb5f2b2");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestScore` function - -```javascript -function requestScore -( - address _oracle, - bytes32 _jobId, - string memory _matchId -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req. add("matchId", _matchId); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -uint256 public score; - -function fulfill(bytes32 _requestId, uint256 _score) - public - recordChainlinkFulfillment(_requestId) -{ - score = _score; -} -``` - -# Documentation and Support -- For support, reach out to TheRundown \ No newline at end of file diff --git a/docs/Data Provider Nodes/tiingo-eod-stock-price-oracle.md b/docs/Data Provider Nodes/tiingo-eod-stock-price-oracle.md deleted file mode 100644 index a9dd3817015..00000000000 --- a/docs/Data Provider Nodes/tiingo-eod-stock-price-oracle.md +++ /dev/null @@ -1,199 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "Tiingo EOD Stock Price Oracle" -permalink: "docs/tiingo-eod-stock-price-oracle/" -whatsnext: {"GeoDB Oracle Node":"/docs/geodb-oracle-node/"} -metadata: - image: - 0: "/files/be9eb4e-cl.png" ---- -Tiingo consists of a data research and analytics arm, a news aggregator, and a professional suite of APIs. With coverage of over 65,000 Equities and ETFs, the Tiingo End of Day Stock Price oracle gives you access to one of the most expansive data sets available for US & Chinese markets. Our stock price data is decentralized across at least 3 data sources on average for each price feed. This means if any one of them goes down, you keep going. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](../intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -You will need to use the following LINK token address, oracle address, and Job ID in order to create the Chainlink request. - -#### Ethereum Mainnet -Payment amount: 3 LINK -LINK Token address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle address: `0x4a1803f29fe5350e9a164d9865576af798e8eef8` -JobID: `d89c60f0b0c045a5a317b1b70215dd16` - -####Ethereum Kovan Testnet -Payment amount: 1 LINK -LINK Token address: 0xa36085F69e2889c224210F603D836748e7dC0088 -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455` -JobID: `4fbb2eec517440ca94982726f12ac523` - -Requests on Kovan will return mocked data for testing purposes. Teams looking to test with live data on Kovan should contact support@tiingo.com for access. - -#### Binance Smart Chain Mainnet -Payment amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle address: `0x3ee8dfe6094f642f1d19b7adf6b1a71c57453a8d ` -JobID: `2a3a607ac0254695935be32e9390178d` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract TiingoChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract TiingoChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract TiingoChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks - -- [Tiingo](https://market.link/adapters/ce0a34cf-306e-4fa4-8d27-271028694cb2/data-sources?network=1) -- [Copy](/docs/adapters/#copy) -- [Multiply](/docs/adapters/#multiply) -- [EthUint256](/docs/adapters/#ethuint256) -- [EthTx](/docs/adapters/#ethtx) - -# Request Parameters - -### ticker - -The stock ticker to query. - -#### Solidity Example - -```javascript -req.add("ticker", "MSTR"); -``` - -### field - -The value to be returned. Defaults to `close`. Available values: -- `date` -- `close` -- `high` -- `low` -- `open` -- `volume` -- `adjClose` -- `adjHigh` -- `adjLow` -- `adjOpen` -- `adjVolume` -- `divCash` -- `splitFactor`. - -For a full list of supported tickers, refer to the End-of-Day Prices and Meta Information documentation - -#### Solidity Example - -```javascript -req.add("field", "close"); -``` - -### times - -The amount to multiply the result by (since Solidity does not handle decimals). - -#### Solidity Example - -```javascript -req.addInt("times", 100); -``` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -```javascript -function requestPrice -( - address _oracle, - bytes32 _jobId, - string _field, - string _ticker -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, this, this.fulfill.selector); - req.add("field", _field); - req.add("ticker", _ticker); - req.addInt("times", 100); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` - -Here is an example of the fulfill method: - -```javascript -uint256 public currentPrice; - -function fulfill(bytes32 _requestId, uint256 _price) - public - recordChainlinkFulfillment(_requestId) -{ - currentPrice = _price; -} -``` - -# Documentation and Support - -- EOD Stock Price Data API Documentation -- Support \ No newline at end of file diff --git a/docs/Data Provider Nodes/watchsignals.md b/docs/Data Provider Nodes/watchsignals.md deleted file mode 100644 index 40b2612f3ea..00000000000 --- a/docs/Data Provider Nodes/watchsignals.md +++ /dev/null @@ -1,143 +0,0 @@ ---- -layout: nodes.liquid -section: smartContract -date: Last Modified -title: "WatchSignals Luxury Watch Price Oracle" -whatsnext: {"Genesis Volatility Cryptocurrency Options Oracle":"/docs/genesis-volatility/"} -permalink: "docs/watchsignals/" ---- -WatchSignals is the industry leader in market research on luxury watch prices. As a service provided by data-driven platform Zapevo, WatchSignals gathers luxury watch prices from trusted marketplaces, shows serial numbers and collector database information, presents certificates of authenticity, and provides long-term appraisal data. This oracle, given a reference number, returns the average price for a specific model of a luxury watch. - -# Steps For Using This Oracle - -- Write and deploy your [Chainlink](/docs/intermediates-tutorial/) contract using the network details below -- Fund it with [LINK](../link-token-contracts/) -- Call your [request method](./#chainlink-examples) - -# Network Details - -#### Ethereum Mainnet -Payment Amount: 1 LINK -LINK Token Address: `{{variables.MAINNET_LINK_TOKEN}}` -Oracle Address: `0x60B2582FB902Dff0B99c7AC30ABC08AaEfEEB309 ` -JobID: `3d765e2892934cb9b5c734cc43da6620 ` - -#### Ethereum Kovan Testnet -Payment Amount: 0.1 LINK -LINK Token Address: `{{variables.KOVAN_LINK_TOKEN}}` -Oracle Address: `0x56dd6586DB0D08c6Ce7B2f2805af28616E082455 ` -JobID: `77102eb8faae4532b9534d30749f54dc ` - -#### Binance Smart Chain Mainnet -Payment Amount: 0.1 LINK -LINK Token address:`{{variables.BINANCE_MAINNET_LINK_TOKEN}}` -Oracle Address: `0x556e418c54679B6BdeB07419B355791b0784dF4C ` -JobID: `2bbfde60662c4f0f9ef6f46567ca7fbc ` - -# Create Your Contract - -Import `ChainlinkClient.sol` into your contract so you can inherit the Chainlink behavior. - -```javascript Solidity 4 -pragma solidity ^0.4.24; - -import "@chainlink/contracts/v0.4/ChainlinkClient.sol"; - -contract WatchsignalsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 5 -pragma solidity ^0.5.0; - -import "@chainlink/contracts/v0.5/ChainlinkClient.sol"; - -contract WatchsignalsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` -```javascript Solidity 6 -pragma solidity ^0.6.0; - -import "@chainlink/contracts/v0.6/ChainlinkClient.sol"; - -contract WatchsignalsChainlink is ChainlinkClient { - - uint256 oraclePayment; - - constructor(uint256 _oraclePayment) public { - setPublicChainlinkToken(); - oraclePayment = _oraclePayment; - } - // Additional functions here: - -} -``` - -
- Deploy this contract using Remix ↗ - What is Remix? -
- -# Tasks -* WatchSignals -* [Copy](../adapters/#copy) -* [Multiply](../adapters/#multiply) -* [EthUint256](../adapters/#ethuint256) -* [EthTx](../adapters/#ethtx) - -# Request Parameters -### `refNumber` -The reference number of the watch to request the average price of. -#### Solidity Example -`req.add("refNumber", "RM1101");` - -# Chainlink Examples - -The examples below show how to create a request for the Chainlink node. - -### `requestData` function - -```javascript -function requestPrice -( - address _oracle, - bytes32 _jobId, - string memory _refNumber -) - public - onlyOwner -{ - Chainlink.Request memory req = buildChainlinkRequest(_jobId, address(this), this.fulfill.selector); - req.add("refNumber", _refNumber); - sendChainlinkRequestTo(_oracle, req, oraclePayment); -} -``` -### `fulfill` function - -```javascript -uint256 public price; - -function fulfill(bytes32 _requestId, uint256 _price) - public - recordChainlinkFulfillment(_requestId) -{ - price = _price; -} -``` \ No newline at end of file diff --git a/firebase.json b/firebase.json index 51507dd85ae..f6750ce663a 100644 --- a/firebase.json +++ b/firebase.json @@ -44,6 +44,66 @@ "source": "/docs/adapters", "destination": "/docs/core-adapters/", "type": 301 + }, + { + "source": "/docs/watchsignals/", + "destination": "https://market.link/data-providers/f76be519-e41e-48a0-9430-47319eda0f43", + "type": 301 + }, + { + "source": "/docs/genesis-volatility/", + "destination": "https://market.link/data-providers/9a9dfca2-6a47-4d12-a095-2224beec8c41", + "type": 301 + }, + { + "source": "/docs/dxfeed-oracle/", + "destination": "https://market.link/data-providers/eb5c92a8-6093-4657-9a68-a6d10719946e", + "type": 301 + }, + { + "source": "/docs/finage-global-market-data-oracle/", + "destination": "https://market.link/data-providers/c5c21570-04cb-480b-a4c4-5254b86251ee", + "type": 301 + }, + { + "source": "/docs/tiingo-eod-stock-price-oracle/", + "destination": "https://market.link/data-providers/f6564cff-68a8-49f0-92b4-17f5cd76b178", + "type": 301 + }, + { + "source": "/docs/ciphertrace-defi-compli-oracle/", + "destination": "https://market.link/data-providers/57a9cf23-fc11-45e7-ba5b-18975e4562cf", + "type": 301 + }, + { + "source": "/docs/geodb-oracle-node/", + "destination": "https://market.link/data-providers/929200a7-c4e8-47b2-a13d-06798716bb93", + "type": 301 + }, + { + "source": "/docs/prospectnow-data-oracle/", + "destination": "https://market.link/data-providers/804f9733-09d4-4a3f-8e16-9477b7e4fd18", + "type": 301 + }, + { + "source": "/docs/smartzip-awm-oracle/", + "destination": "https://market.link/data-providers/7c5a6a8c-5008-4f5f-8914-6264f45bff61", + "type": 301 + }, + { + "source": "/docs/bookmaker-ratings-oracle/", + "destination": "https://market.link/data-providers/3620ffd3-d6be-4ede-961c-9f9fd91a5b84", + "type": 301 + }, + { + "source": "/docs/sport-monks-oracle/", + "destination": "https://market.link/data-providers/fa1019e0-e0bc-4538-8b7a-3f490d28423b", + "type": 301 + }, + { + "source": "/docs/therundown-oracle-node/", + "destination": "https://market.link/data-providers/098c3c5e-811d-4b8a-b2e3-d1806909c7d7", + "type": 301 } ] }