Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@primitivefi/rmm-manager
Advanced tools
This repository is for the manager and routing contracts of the Primitive RMM. These are high-level contracts which are designed to interact with Primitive RMm core contracts.
This repository has a bug bounty through Immunefi. Details are on their website https://immunefi.com/bounty/primitive.
The contract documentation is hosted here: Primitive Docs
This repository has the high level contracts to interact with the Primitive V2 core. The "Manager" contract is split into several small pieces, that are all inherited by the PrimitiveManager
contract.
Stores "general" variables that are meant to be reused by the child contracts. This contract is inherited by several child contracts.
Contains several functions to unwrap WETH or sweep tokens / ETH from the manager.
Manages the margins and provides functions to deposit
and withdraw
.
Utils contract allowing the batching of transactions into one call.
Wraps the positions into ERC1155 tokens (and inherits the ERC1155 contract).
Small contract to prevent reentrancy.
Provides an ensemble of functions to call permit on the compliant tokens.
Provides an ensemble of functions to swap tokens from different engines.
Manages the visual rendering of the position tokens. This contract is external (not inherited by the Manager), and will be deployed as a standalone upgradeable contract.
yarn compile
yarn test
yarn coverage
All audits are located in the audits/ folder.
The deployed contract addresses for all of Primitive are located here: Contract Database
There is no access control for any of the peripheral contracts. However, the PositionRenderer contract will be deployed as an upgradeable contract.
FAQs
∇ Manager and Routing smart contracts for Primitive RMM protocol.
The npm package @primitivefi/rmm-manager receives a total of 661 weekly downloads. As such, @primitivefi/rmm-manager popularity was classified as not popular.
We found that @primitivefi/rmm-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.