Skip to content

Commit

Permalink
add PEG-PoR adapter and aggregator configuration (#37)
Browse files Browse the repository at this point in the history
* feat: config Peg PoR adapter settings

* feat: config Peg PoR aggregator settings

* fix: update README & HISTORY

* fix: decrease PoR submission from 12 to 1 hour
  • Loading branch information
bayram98 authored Nov 7, 2023
1 parent 6747e9f commit 3026ca3
Show file tree
Hide file tree
Showing 6 changed files with 301 additions and 245 deletions.
249 changes: 126 additions & 123 deletions HISTORY.md

Large diffs are not rendered by default.

249 changes: 127 additions & 122 deletions README.md

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions adapter/peg.por.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"adapterHash": "0xb208c8a40f643fed96107fa0697bf640badd2ebea84438a3ee5044a3a1ae6060",
"name": "PEG-POR",
"decimals": 4,
"feeds": [
{
"name": "Pennygold-PEG-POR",
"definition": {
"url": "https://dev.pennygold.kr/api/v2/balance/getTotalNftAmount",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "PARSE", "args": ["data", "PEG", "amount"] }
]
}
}
]
}
10 changes: 10 additions & 0 deletions aggregator/baobab/peg.por.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"aggregatorHash": "0xdfc65be0daca54cfd5c081bb325d855e71b1a9cd6d2c5e44fcc1d7d0756f7811",
"name": "PEG-POR",
"address": "0x58798D6Ca40480DF2FAd1b69939C3D29d91b60d3",
"heartbeat": 3600000,
"threshold": 0.0001,
"absoluteThreshold": 0.1,
"adapterHash": "0xb208c8a40f643fed96107fa0697bf640badd2ebea84438a3ee5044a3a1ae6060"
}

10 changes: 10 additions & 0 deletions aggregator/cypress/peg.por.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"aggregatorHash": "0xdfc65be0daca54cfd5c081bb325d855e71b1a9cd6d2c5e44fcc1d7d0756f7811",
"name": "PEG-POR",
"address": "0xb5e91e5CE0B8e6fc3029b4E9ce057675a2c96dd1",
"heartbeat": 3600000,
"threshold": 0.0001,
"absoluteThreshold": 0.1,
"adapterHash": "0xb208c8a40f643fed96107fa0697bf640badd2ebea84438a3ee5044a3a1ae6060"
}

10 changes: 10 additions & 0 deletions aggregator/default/peg.por.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"aggregatorHash": "0xdfc65be0daca54cfd5c081bb325d855e71b1a9cd6d2c5e44fcc1d7d0756f7811",
"name": "PEG-POR",
"address": "",
"heartbeat": 3600000,
"threshold": 0.0001,
"absoluteThreshold": 0.1,
"adapterHash": "0xb208c8a40f643fed96107fa0697bf640badd2ebea84438a3ee5044a3a1ae6060"
}

0 comments on commit 3026ca3

Please sign in to comment.