Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@arrakisfi/v2-core
Advanced tools
Arrakis Vaults Version 2, Core Smart Contracts.
Read the full developer documentation
Arrakis V2 Core enables anyone to:
create an ArrakisV2
vault instance that manages holdings of a given token pair and issues ERC20 shares to depositor(s) of the token pair
dispatch and collect vault's token pair holdings to/from Uniswap V3 Liquidity Positions via a settable manager
account (or smart contract)
configure and control important vault setup parameters (manager, pools, swap routers, mint restrictions) via the vault owner
account (or smart contract)
The ERC20 vault smart contract at the heart of this LP management system. A vault collects assets in a given token pair and delegates a manager smart contract to deploy vault capital in and out of an arbitrary collection of Uniswap V3 LP Positions for that token pair. Utilize the ERC20 tokenization of the position to aggregate liquidity from multiple shareholders, or create a "private" vault exclusively for a single depositor (see restrictedMint
property).
The entry-point for deploying ArrakisV2 vault instances. Deploy vaults for any token pair and configure the owner, manager, and other initial parameters when calling deployVault
The Arrakis V2 Core contracts are thus neutral concentrated liquidity management infrastructure which anyone can deploy, configure and use freely- no added fees or haircut. Anyone can build "Active Liquidity Management" products on Arrakis V2 infrastructure for both private and public use-cases, and implement their own custom fee fee models and manager systems. While vaults don't have any hardcoded protocol fees, the manager role may still optionally set a fee parameter to take some proportion (or all) of the fees earned by the vault's Uniswap LP positions.
Create .env
file and add ALCHEMY_ID
(for all relevant environment variables, see .env.example
)
Repo uses yarn for package management. Don't have yarn? see here
install dependencies:
yarn
compile contracts:
yarn compile
run tests:
yarn test
Three security audits were performed on the smart contracts in this repository. The auditors were WatchPug, Statemind, and Sherlock and the comprehensive audit reports can be found in the audit/
directory.
The primary license for Arrakis V2 Core is the Business Source License 1.1 (BUSL-1.1), see LICENSE. However, some files are dual licensed under MIT or GPL-2.0-or-later. The respective license of each smart contract is defined by its SPDX header.
FAQs
Arrakis V2 Automated Market Maker
We found that @arrakisfi/v2-core demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.