Skip to content

Commit

Permalink
Separate PoR baobab and aggregator config files (#41)
Browse files Browse the repository at this point in the history
* feat: make 2 different adapter for PoR

* feat: update README and HISTORY files

* feat: make 2 different default aggregator config for PoR
  • Loading branch information
bayram98 authored Nov 15, 2023
1 parent 0025ed8 commit fd7090e
Show file tree
Hide file tree
Showing 7 changed files with 289 additions and 257 deletions.
257 changes: 129 additions & 128 deletions HISTORY.md

Large diffs are not rendered by default.

256 changes: 129 additions & 127 deletions README.md

Large diffs are not rendered by default.

File renamed without changes.
19 changes: 19 additions & 0 deletions adapter/peg-cypress.por.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"adapterHash": "0xb38421cb04ad0b8ca4a684a39d2fc98b1b5d1b69fadec4d04f90bb01b9b1dd13",
"name": "PEG-POR",
"decimals": 4,
"feeds": [
{
"name": "Pennygold-PEG-POR",
"definition": {
"url": "https://tmc-nft.pennygold.kr/api/v2/balance/getTotalNftAmount",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "PARSE", "args": ["data", "PEG", "amount"] }
]
}
}
]
}

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

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

0 comments on commit fd7090e

Please sign in to comment.