synthetix
Advanced tools
Comparing version 2.4.2-beta-1 to 2.5.0-alpha
@@ -16,4 +16,3 @@ #!/usr/bin/env node | ||
}; | ||
const getTarget = ({ network = 'mainnet', contract } = {}) => { | ||
const getTarget = ({ network = 'mainnet', contract }) => { | ||
const deployment = loadDeploymentFile({ network }); | ||
@@ -24,3 +23,3 @@ if (contract) return deployment.targets[contract]; | ||
const getSource = ({ network = 'mainnet', contract } = {}) => { | ||
const getSource = ({ network = 'mainnet', contract }) => { | ||
const deployment = loadDeploymentFile({ network }); | ||
@@ -31,3 +30,3 @@ if (contract) return deployment.sources[contract]; | ||
const getSynths = ({ network = 'mainnet' } = {}) => { | ||
const getSynths = ({ network = 'mainnet' }) => { | ||
const pathToSynthList = path.join(__dirname, 'publish', 'deployed', network, 'synths.json'); | ||
@@ -83,4 +82,4 @@ if (!fs.existsSync(pathToSynthList)) { | ||
// perform as CLI tool if args given | ||
if (require.main === module) { | ||
if (process.argv.length > 1) { | ||
program.parse(process.argv); | ||
} |
{ | ||
"name": "synthetix", | ||
"version": "2.4.2-beta-1", | ||
"version": "2.5.0-alpha", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Synthetix", |
@@ -9,24 +9,6 @@ [ | ||
}, | ||
{ "name": "sEUR", "asset": "EUR", "category": "forex", "sign": "€", "desc": "Euros" }, | ||
{ "name": "sJPY", "asset": "JPY", "category": "forex", "sign": "¥", "desc": "Japanese Yen" }, | ||
{ "name": "sUSD", "asset": "USD", "category": "forex", "sign": "$", "desc": "US Dollars" }, | ||
{ | ||
"name": "sEUR", | ||
"asset": "EUR", | ||
"category": "forex", | ||
"sign": "€", | ||
"desc": "Euros" | ||
}, | ||
{ | ||
"name": "sJPY", | ||
"asset": "JPY", | ||
"category": "forex", | ||
"sign": "¥", | ||
"desc": "Japanese Yen" | ||
}, | ||
{ | ||
"name": "sUSD", | ||
"asset": "USD", | ||
"category": "forex", | ||
"sign": "$", | ||
"desc": "US Dollars" | ||
}, | ||
{ | ||
"name": "sAUD", | ||
@@ -38,73 +20,25 @@ "asset": "AUD", | ||
}, | ||
{ "name": "sKRW", "asset": "KRW", "category": "forex", "sign": "₩", "desc": "South Korean Won" }, | ||
{ "name": "sGBP", "asset": "GBP", "category": "forex", "sign": "£", "desc": "Pound Sterling" }, | ||
{ "name": "sCHF", "asset": "CHF", "category": "forex", "sign": "Fr", "desc": "Swiss Franc" }, | ||
{ "name": "sCNY", "asset": "CNY", "category": "forex", "sign": "¥", "desc": "Chinese Yuan" }, | ||
{ "name": "sSGD", "asset": "SGD", "category": "forex", "sign": "$", "desc": "Singapore Dollar" }, | ||
{ "name": "sCAD", "asset": "CAD", "category": "forex", "sign": "$", "desc": "Canadian Dollar" }, | ||
{ "name": "sRUB", "asset": "RUB", "category": "forex", "sign": "₽", "desc": "Russian Ruble" }, | ||
{ "name": "sINR", "asset": "INR", "category": "forex", "sign": "₹", "desc": "Indian Rupee" }, | ||
{ "name": "sBRL", "asset": "BRL", "category": "forex", "sign": "R$", "desc": "Brazilian Real" }, | ||
{ | ||
"name": "sKRW", | ||
"asset": "KRW", | ||
"name": "sNZD", | ||
"asset": "NZD", | ||
"category": "forex", | ||
"sign": "₩", | ||
"desc": "South Korean Won" | ||
"sign": "$", | ||
"desc": "New Zealand Dollar" | ||
}, | ||
{ "name": "sPLN", "asset": "PLN", "category": "forex", "sign": "zł", "desc": "Poland Złoty" }, | ||
{ "name": "sXAU", "asset": "XAU", "category": "commodity", "sign": "oz", "desc": "Gold Ounce" }, | ||
{ "name": "sXAG", "asset": "XAG", "category": "commodity", "sign": "oz", "desc": "Silver Ounce" }, | ||
{ "name": "sBTC", "asset": "BTC", "category": "crypto", "sign": "₿", "desc": "Bitcoin" }, | ||
{ "name": "sETH", "asset": "ETH", "category": "crypto", "sign": "Ξ", "desc": "Ether" }, | ||
{ "name": "sBNB", "asset": "BNB", "category": "crypto", "sign": "", "desc": "Binance Coin" }, | ||
{ | ||
"name": "sGBP", | ||
"asset": "GBP", | ||
"category": "forex", | ||
"sign": "£", | ||
"desc": "Pound Sterling" | ||
}, | ||
{ | ||
"name": "sCHF", | ||
"asset": "CHF", | ||
"category": "forex", | ||
"sign": "Fr", | ||
"desc": "Swiss Franc" | ||
}, | ||
{ | ||
"name": "sCNY", | ||
"asset": "CNY", | ||
"category": "forex", | ||
"sign": "¥", | ||
"desc": "Chinese Yuan" | ||
}, | ||
{ | ||
"name": "sINR", | ||
"asset": "INR", | ||
"category": "forex", | ||
"sign": "₹", | ||
"desc": "Indian Rupee" | ||
}, | ||
{ | ||
"name": "sXAU", | ||
"asset": "XAU", | ||
"category": "commodity", | ||
"sign": "oz", | ||
"desc": "Gold Ounce" | ||
}, | ||
{ | ||
"name": "sXAG", | ||
"asset": "XAG", | ||
"category": "commodity", | ||
"sign": "oz", | ||
"desc": "Silver Ounce" | ||
}, | ||
{ | ||
"name": "sBTC", | ||
"asset": "BTC", | ||
"category": "crypto", | ||
"sign": "₿", | ||
"desc": "Bitcoin" | ||
}, | ||
{ | ||
"name": "sETH", | ||
"asset": "ETH", | ||
"category": "crypto", | ||
"sign": "Ξ", | ||
"desc": "Ether" | ||
}, | ||
{ | ||
"name": "sBNB", | ||
"asset": "BNB", | ||
"category": "crypto", | ||
"sign": "", | ||
"desc": "Binance Coin" | ||
}, | ||
{ | ||
"name": "iBTC", | ||
@@ -111,0 +45,0 @@ "asset": "BTC", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42821
2002306