![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@perp/curie-contract
Advanced tools
You should have Node 12 installed. Use nvm to install it.
Clone this repository, install NodeJS dependencies, and build the source code:
git clone git@github.com:perpetual-protocol/perp-lushan.git
npm i
npm run build
Since there are some runtime environment dependencies, if the installation failed on your machine, please try a vanilla install instead:
npm run clean
rm -rf node_modules/
rm package-lock.json
npm install
npm run build
To run all the test cases:
npm run test
[0.13.0-staging] - 2021-11-10
@perp/curie-contract
AccountBalance.getLiquidateMarginRequirement
to AccountBalance.getMarginRequirementForLiquidation
Vault.balanceOf
to Vault.getBalance
AccountBalance.getPositionSize
to AccountBalance.getTotalPositionSize
AccountBalance.getPositionValue
to AccountBalance.getTotalPositionValue
Exchange.getOpenNotional
to Exchange.getTotalOpenNotional
Exchange
EX_OPIBS
to EX_OPLBS
EX_OPIAS
to EX_OPLAS
useTakerPosition
to ClearingHouse.AddLiquidityParams
LiquidityChanged
from OrderBook
to ClearingHouse
AccountBalance.getTakerQuote()
to get taker's quote balanceExchange.getTakerOpenNotional()
to get taker's open notionalClearingHouseConfig.getMaxFundingRate()
and ClearingHouseConfig.setMaxFundingRate()
MarketRegistry.hasPool()
MaxFundingRateChanged
to ClearingHouseConfig
TrustedForwarderChanged
to ClearingHouse
TakerBalancesChanged
to AccountBalance
MaxTickCrossedWithinBlockChanged
to Exchange
AccountBalanceChanged
to Exchange
BorrowerChanged
to InsuranceFund
_versionRecipient
from ClearingHouse
and Vault
Quoter
and Multicall2
contracts from core.
FAQs
Perpetual Protocol Curie (V2) core contracts
The npm package @perp/curie-contract receives a total of 3 weekly downloads. As such, @perp/curie-contract popularity was classified as not popular.
We found that @perp/curie-contract demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.