Locus Finance
  • Welcome to Locus.finance
  • đŸĨGet started
    • Where should i start
      • Connect your wallet
      • Deposit
      • Withdrawal
      • Check the portfolio
      • Add vault tokens to Metamask wallet
    • FAQ
  • đŸĒ™Locus token
    • Buying Locus
    • Locus token overview
    • Locus Staked token (stLocus)
    • Incentives for Liquidity Providers
  • 💰Indexes
    • Locus indexes
      • xETH index
      • xDEFI index
      • xARB index
      • xUSD index
      • Pendle Index
    • Locus index tokens staking (stIndex)
    • How are indexes managed internally?
    • Locus Index technologies
    • Detailed PnL explained
    • Index fees explained
    • Strategies allocation scoring explained
    • Index rebalancing explained
    • Index safety score explained
    • Index risks explained
  • â„šī¸INFORMATION
    • Locus addresses
    • Audits
    • Links
  • ❗EXTRAS
    • Terms of Use
    • Privacy Notice
    • Restricted countries
  • ✅How to
    • How to deposit and withdraw through smart contracts
    • How to add an Arbitrum Network to your wallet to use the Locus Token
    • How to add a Locus token to your personal wallet
    • How do I add tokens to a liquidity pool?
    • How to stake the Locus token
  • Archive
    • Vaults V2 Migration Technical Info
    • Deprecated strategies
    • Mantle Index
Powered by GitBook
On this page

Was this helpful?

  1. Indexes

Locus Index technologies

PreviousHow are indexes managed internally?NextDetailed PnL explained

Last updated 12 months ago

Was this helpful?

From the technological point of view, Locus indexes use one of the most fundamental and audited technologies on the market and tunes it for the possibility of creating indexes. Our goal was always to iterate on the battle-proven DeFi smart-contracts.

This is the list of technologies we use:

Yearn is a decentralized suite of products helping individuals, DAOs, and other protocols earn yield on their digital assets.

Yearn-based indexes help us to store and calculate user shares and revenues. It is battle-tested in numerous projects across the industry.

At the time of writing, the Yearn vaults were audited 47 times in two years with four audits of V3.

Yearn Github:

Yearn Audits: and

It is a cross-chain messaging protocol. LayerZero is very gas-efficient and open to the community. We are choosing this protocol also because we are using the Stargate bridge as a layer above LayerZero.

LayerZero Github:

LayerZero Audits:

Stargate is a community-driven organization building a fully composable native asset bridge, and the first dApp built on LayerZero.

Stargate being a cross-chain bridge is essential to the Locus omnichain index. Stargate is based on LayerZero technology which is well-known to the community.

Diamond proxy (ERC-2535) standardizes diamonds, which are modular smart contract systems that can be upgraded/extended after deployment and have virtually no size limit. More technically, a diamond is a contract with external functions that are supplied by contracts called facets. Facets are separate, independent contracts that can share internal functions, libraries, and state variables.

The diamond proxy allows splitting Locus contracts into small pieces of code which is easier to maintain and update.

OpenZeppelin provides a complete suite of security products to adopt security best practices from the first line of code all the way to running your decentralized application on-chain.

We are using upgradeable contracts technology (UUPS) in order to establish the rules and processes for making upgrades to the contracts, like adding new strategies. This technology allows them to apply for roles within the management of contract security. The ownership of contracts is now always in the hands of multisig.

Locus Audits

Locus has also been audited, see the page dedicated to locus audits Audits.

Github:

Audit:

Diamond proxy Github:

Diamond proxy Security audit:

Contracts upgradeable

OpenZeppelin Github:

OpenZeppelin Audit:

💰
Yearn
https://github.com/yearn
https://chainsecurity.com/security-audit/yearn-v3-vaults/
https://github.com/yearn/yearn-security/tree/master/audits
LayerZero
https://github.com/LayerZero-Labs/LayerZero
https://github.com/LayerZero-Labs/Audits
Stargate
xUSD
https://github.com/stargate-protocol
https://stargateprotocol.gitbook.io/stargate/audits
Diamond Proxy
https://github.com/mudgen/diamond
https://eip2535diamonds.substack.com/p/smart-contract-security-audits-for
Openzeppelin
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/contracts/proxy/utils/UUPSUpgradeable.sol
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/tree/master/audits