Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
chore: bypass all pfs in mantle.testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Aug 30, 2023
1 parent 5240cfb commit d2fcd50
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
10 changes: 10 additions & 0 deletions migrations/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,16 @@
"UsdtUsdPriceFeed": "0x49dbaA6eE184Da1bCAba0764B5Daa363d49b3fe5"
}
},
"mantle": {
"mantle.testnet": {
"BtcUsdPriceFeed": "0x6310a256d2Ea7Be48A91Fdb5559e094a6a0196e7",
"EthUsdPriceFeed": "0x7a1062af6a7640204d15EE4af9b21Be96e3D92ED",
"MntUsdtPriceFeed": "0xD2579AB3e559518493cdAd39966CB4cA83a0630b",
"UsdcUsdPriceFeed": "0xd59238d9117F97B03BCd4F0B23bd8552fa55B8a4",
"UsdtUsdPriceFeed": "0x5f9415518DD7a52f9CDD2035Aa74a08D3813Ff5f",
"WitnetPriceFeedBypass": "0xB1Ee13a85B2593D5191f3a2A08f175b1c918B9bb"
}
},
"meter": {
"meter.testnet": {
"MtrgUsdtPriceFeed": "0x68529970B6055998d9911320E3dBB29dD9406849",
Expand Down
5 changes: 5 additions & 0 deletions migrations/witnet-queries.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,11 @@
"decimals": 9,
"path": "witnet/prices/m/MjtKcsPrice.js"
},
"MntUsdtPrice": {
"base": "MNT",
"quote": "USDT",
"decimals": 6
},
"MovrUsdtPrice": {
"bytecode": "0x0ab30212570801123b68747470733a2f2f6170692e62696e616e63652e636f6d2f6170692f76332f7469636b65722f70726963653f73796d626f6c3d4d4f5652555344541a168418778218646570726963658218571a000f4240185b124a0801122f68747470733a2f2f646174612e676174656170692e696f2f617069322f312f7469636b65722f6d6f76725f757364741a15841877821864646c6173748218571a000f4240185b126a0801124668747470733a2f2f6170692e6b75636f696e2e636f6d2f6170692f76312f6d61726b65742f6f72646572626f6f6b2f6c6576656c313f73796d626f6c3d4d4f56522d555344541a1e85187782186664646174618218646570726963658218571a000f4240185b1a110a0d08051209fb3ff66666666666661003220d0a0908051205fa4020000010031080a3c347180a2080ade20428333080acc7f037",
"base": "MOVR",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "witnet-price-feeds",
"version": "0.7.11",
"version": "0.7.12",
"description": "This repository contains the price feeds currently mantained by the Witnet Foundation within all the EVM-compatible networks supported by the Witnet oracle",
"main": "",
"repository": "https://github.com/witnet/witnet-price-feeds",
Expand Down Expand Up @@ -36,7 +36,7 @@
"ado-contracts": "^1.0.0",
"lodash": "^4.17.21",
"openzeppelin-solidity": "^2.4.0",
"witnet-solidity-bridge": "https://github.com/guidiaz/witnet-solidity-bridge#460ba32fb6853e53f87c344f9f5263a93ac438ab"
"witnet-solidity-bridge": "https://github.com/guidiaz/witnet-solidity-bridge#edecf7c4984cbce734f270cf02a090f38ba74366"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function getRealmNetworkFromArgs () {
}

function getRealmNetworkFromString (network) {
network = network ? network.toLowerCase() : "development"
network = network ? network.replaceAll(":", ".").toLowerCase() : "development"

// Try to extract realm/network info from environment
const envRealm = process.env.WITNET_EVM_REALM
Expand Down

0 comments on commit d2fcd50

Please sign in to comment.