Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dydxprotocol/v4-localization

Package Overview
Dependencies
Maintainers
1
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dydxprotocol/v4-localization - npm Package Compare versions

Comparing version 1.1.14 to 1.1.15

10

config/localization/en/tooltips.json

@@ -80,3 +80,3 @@ {

"TITLE": "Initial Margin Fraction",
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the initial margin fraction, you will no longer be allowed to increase your position. To limit risk, the initial margin fraction increases by the square root of position size divided by Base Positional Notional multiplied by Base Initial Margin Fraction."
"BODY": "Initial Margin Fraction defines the amount leverage a trader can initially use when entering a position. IMF is calculated as a trader’s position notional value divided by equity. If a trader’s margin fraction exceeds the initial margin fraction, a trader will no longer be allowed to increase their position."
},

@@ -113,3 +113,3 @@ "INITIAL_STOP": {

"TITLE": "Maintenance Margin Fraction",
"BODY": "Margin fraction is calculated as your position notional value divided by equity. If your margin fraction exceeds the maintenance margin fraction, your position will be automatically closed (liquidated) and a liquidation fee of at least 1% will be assessed (may be higher depending on liquidity at the time of liquidation)."
"BODY": "Maintenance Margin Fraction defines when traders get liquidated. It is calculated as a trader’s position notional value divided by equity. If a trader’s margin fraction exceeds the maintenance margin fraction, their position will be automatically closed (liquidated) and a the liquidation engine will attempt to leave funds in accounts of positive value where possible after they have paid the Maximum Liquidation Penalty of 1.5%."
},

@@ -277,3 +277,9 @@ "MAKER_FEE": {

}
},
"NEW_MARKET_WIDGET": {
"REFERENCE_PRICE": {
"TITLE": "Reference Price",
"BODY": "The Reference Price is the rolling 30 day average of the market's price and is used as an input to automatically calculate the market's parameters on dYdX Chain. The Reference Price should approximately be the same as the market's current price (i.e. round down to the same powers of 10)."
}
}
}

2

package.json
{
"name": "@dydxprotocol/v4-localization",
"version": "1.1.14",
"version": "1.1.15",
"description": "v4 localization",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -33,2 +33,7 @@ // !! GENERATED FILE - DO NOT EDIT

// NEW_MARKET_WIDGET
REFERENCE_PRICE_BODY: 'TOOLTIPS.NEW_MARKET_WIDGET.REFERENCE_PRICE.BODY',
REFERENCE_PRICE_TITLE: 'TOOLTIPS.NEW_MARKET_WIDGET.REFERENCE_PRICE.TITLE',
// PORTFOLIO

@@ -35,0 +40,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc