Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@kwenta/quanto-dimensions
Advanced tools
[![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![License: GPL-3.0][license-badge]][license]
This library is designed to provide units/dimension user defined types for quanto perpetual smart contracts.
src
├── Int128
│ ├── BaseInt128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── BaseQuantoPerUSDInt128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── QuantoInt128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDInt128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerBaseInt128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ └── USDPerQuantoInt128
│ ├── Interactions.sol
│ └── ValueType.sol
├── Int256
│ ├── BaseInt256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── BaseQuantoPerUSDInt256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── QuantoInt256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDInt256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerBaseInt256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ └── USDPerQuantoInt256
│ ├── Interactions.sol
│ └── ValueType.sol
├── Uint128
│ ├── BaseQuantoPerUSDUint128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── BaseUint128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── QuantoUint128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerBaseUint128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerQuantoUint128
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ └── USDUint128
│ ├── Interactions.sol
│ └── ValueType.sol
├── Uint256
│ ├── BaseQuantoPerUSDUint256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── BaseUint256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── QuantoUint256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerBaseUint256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ ├── USDPerQuantoUint256
│ │ ├── Interactions.sol
│ │ └── ValueType.sol
│ └── USDUint256
│ ├── Interactions.sol
│ └── ValueType.sol
├── UnitTypes.sol
└── utils
├── DecimalMath.sol
├── SafeCast
│ ├── SafeCastAddress.sol
│ ├── SafeCastBytes32.sol
│ ├── SafeCastI128.sol
│ ├── SafeCastI24.sol
│ ├── SafeCastI256.sol
│ ├── SafeCastI32.sol
│ ├── SafeCastI56.sol
│ ├── SafeCastI64.sol
│ ├── SafeCastU128.sol
│ ├── SafeCastU160.sol
│ ├── SafeCastU256.sol
│ ├── SafeCastU32.sol
│ ├── SafeCastU56.sol
│ └── SafeCastU64.sol
└── SafeCast.sol
Build project
npm run compile
npm run test
forge test --match-test TEST_NAME -vv
FAQs
[![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![License: GPL-3.0][license-badge]][license]
The npm package @kwenta/quanto-dimensions receives a total of 51 weekly downloads. As such, @kwenta/quanto-dimensions popularity was classified as not popular.
We found that @kwenta/quanto-dimensions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.