# Why Wedefin?

WeDeFin simplifies crypto investing for everyone. For beginners, you can easily invest in our index fund. For professionals, we offer tools to enhance your experience, including an AI assistant.

* **Permissionless & Non-Custodial** – You remain in control of your funds at all times.
* **Earn by Ranking** – If you’re a top trader, your strategy shapes the index fund and earns you rewards.
* **Smart Investing for All** – Whether you’re a beginner or a pro, WeDeFin makes crypto investing easier and more efficient.

## Investing in the Index Fund

The WeDeFin index fund offers users a simplified and effective way to gain exposure to a diverse range of top-performing cryptocurrencies. It is accessible to everyone and operates on a permissionless basis.

### Why investing in the Index:

* **Diversified Crypto Portfolio:** The index encapsulates a curated basket of cryptocurrencies, reducing the need for users to manage multiple assets individually. This diversification minimizes risk and provides well-rounded exposure to the crypto market.
* **Actively Managed Asset Allocation:** Asset allocation is determined by blending strategies from top-performing asset managers on our platform. Their collective insights ensure optimized allocations based on market trends, reducing the burden of making complex investment decisions.
* **Simplicity:** Investing in the crypto market can be intimidating for newcomers. The index simplifies this process by providing an easy-to-understand entry point, making it ideal for those new to the world of cryptocurrencies.
* Re**al-Time Performance Insights:** Stay updated on your index holdings’ performance with real-time data and analytics. Track your investments without the need for complicated tools.

## Create Your Custom Portfolio

The builder page is designed to empower experienced traders and DeFi enthusiasts. This platform allows users to tailor their investment strategies, build custom portfolios, and engage with other members to set the index fund’s asset allocation, with the help of an AI assistant (coming soon).

### **What you get:**

* **Custom Portfolio Management:** The builder app equips users with tools to build and manage custom, non-custodial portfolios aligned with their unique investment goals. From selecting specific cryptocurrencies to adjusting asset allocations, users have full control over their investment strategies.
* **Get Ranked and Shape the Index Fund:** Achieving a high rank means receiving a score for your strategy. This score allows you to compete with other asset managers. If you choose to participate and rank among the top 20, your strategy will influence the asset allocation of the index fund, and you will earn rewards from the fees charged to index users.
* **Real-Time Data and Insights:** Access real-time market data and advanced insights to inform your investment decisions. Stay updated on cryptocurrency trends, price movements, and potential opportunities to optimize your strategies.
* AI **Assistant (coming soon):** An AI assistant will be integrated into your account and, based on your risk profile and investment goals, will help you make decisions regarding your portfolio.

## Some links

DeFi App: <https://app.wedefin.com>

X/Twitter: <https://x.com/wedefin>

Analytics (alpha): <https://wedefin-analytics.streamlit.app/>


# Getting Started

First things first. You need a crypto wallet.

A crypto wallet is a tool that lets you interact with blockchain networks. It doesn’t actually store your crypto but instead holds the private keys that give you access to your funds. Think of it as a login system where only you have the credentials—no banks, no middlemen. If you lose access, no one can reset it for you. That’s why it gives you full control over your assets, but also full responsibility for keeping them safe.

To start using the platform, you need a crypto wallet. We have tested our app with [Metamask](https://metamask.io), [Coinbase Wallet](https://www.coinbase.com/en-gb/wallet), and [Mew Wallet](https://www.mewwallet.com).

* On mobile: Open [https://app.wedefin.com](https://app.wedefin.com/) within your wallet’s built-in browser, and it will automatically detect your wallet.
* On desktop: Just visit the link, and your wallet will be detected automatically as long as the extension is installed.


# Exploring the Index Fund

This is a guideline on how to use the app to invest in the index fund.

If this is your first time visiting the app, you will likely encounter the following dashboard:

<figure><img src="/files/tinn8x7A1BRe9BTmde1w" alt=""><figcaption></figcaption></figure>

The first thing you need to do is connect your wallet by pressing the “Connect” button. This will activate your wallet and require you to approve the connection. Once accepted, you are logged in.

By default, you will be on the Base network. You can change it if you wish, or simply leave it as is.

Next, press “New Account.” Since this is your first time, you will need to create an account on our platform.

<figure><img src="/files/dBGfdcn8UOAzkcfELPz1" alt=""><figcaption></figcaption></figure>

After the account has been created, you will see the final panel setup:

<figure><img src="/files/sWTN0Y9HI1PXfcKxybTt" alt=""><figcaption></figcaption></figure>

For this example, we will deposit approximately 0.002 ETH. Once your assets are in your account, you are ready to set your asset allocation to match that of the index fund. You can always deposit more or withdraw funds. However, if you decide to earn yield (will be explained later), the withdrawal option will be disabled since the assets are in the lending market generating yield.

<figure><img src="/files/P6DPZu02scbW0lfmzxVT" alt=""><figcaption></figcaption></figure>

Your current allocation, when compared with the index, should appear as follows:

<figure><img src="/files/XAswFtLx77qSuDfNNTjr" alt=""><figcaption></figcaption></figure>

This means that on the left (your portfolio), all assets are in ETH, while the index fund’s suggested allocation is on the right. At this point, simply press “Rebalance.”

<figure><img src="/files/xiQpQIQivBUalymsXeZo" alt=""><figcaption></figcaption></figure>

If your portfolio and the index fund are very similar, the “Rebalance” option will appear disabled. If you wish to allocate your assets to earn yield in lending markets (currently, only Aave v3 is supported), simply click “Earn.” This action will send your assets to Aave v3, and your portfolio will be updated accordingly.

<figure><img src="/files/7lSkgkfga6Dp4uD8JvCK" alt=""><figcaption></figcaption></figure>

The green color indicates which assets are earning. To retrieve your assets from the lending markets, press the button beside “Earn,” and the system will retrieve your assets. This will allow you to withdraw them again if you wish or to rebalance to an updated version of the index fund.

Occasionally, in the list of contributors, you will see the “Set Index” button enabled. This means you can set the new index asset allocation. By doing this, you become an actor and earn rewards from everyone who uses the new index until a new actor resets it. The index can only be reset when there are significant changes between the old and new versions.

<figure><img src="/files/xQPRqyf93ErHTrFf6Fcf" alt=""><figcaption></figcaption></figure>

You can monitor the performance of the index fund in the “Index Overview” section.


# Building your own Portfolio

This guideline shows how to use the Builder App to construct your desired portfolio.

In this section of the app, you can create your own portfolio. If this is your first time visiting this section, as with the index fund, you will encounter a similar dashboard:

<figure><img src="/files/zVgKTiihNfZwl3sd9vDh" alt=""><figcaption></figcaption></figure>

As with the index app, the first step is to connect your wallet by pressing the “Connect” button. This action will activate your wallet and prompt you to approve the connection. Once approved, you will be logged in.

By default, you will be on the Base network, similar to the index section. You can change this if desired or leave it as is.

Next, press “New Account.” Since this is your first time, you will need to create an account on our platform. Please note that the index and builder contracts are separate. Therefore, if you wish to create your own portfolio and also have an account for the index, you will need to create accounts in both sections.

<figure><img src="/files/lYs4IK7uCqZVcCSqq8Zi" alt=""><figcaption></figcaption></figure>

After creating your account, you will see the final panel setup:

<figure><img src="/files/y29ic8zZk3Rit4DUyns1" alt=""><figcaption></figcaption></figure>

For this example, we will deposit approximately 0.001 ETH. Once the deposit is in your account, you can start using all the features, such as creating your own portfolio. After 10 interactions (rebalances), you can press the “Get Rank” button if you wish to get ranked and participate in the index fund asset allocation.

Initially, your asset allocation will look like this:

<figure><img src="/files/UoPqyhn2gvNRAYCx5ZHH" alt=""><figcaption></figcaption></figure>

You can toggle “Show All” to view all supported assets. Use the selection checkboxes to add desired assets to your portfolio. After making your selections, you can switch off the toggle to display only the assets you’ve chosen. Once you’ve set your new asset allocation, press “Rebalance” and approve the transaction.

For example, we’ve selected four assets, applied “Equal weights,” and then pressed “Rebalance” to achieve the following allocation:

<figure><img src="/files/CmdloNXbQfrnWRrnQlHO" alt=""><figcaption></figcaption></figure>

To allocate assets to the lending market, you can select them individually in the “Earn” column or send all assets as previously described. Please note that if any asset is in the lending market, you won’t be able to withdraw or rebalance your portfolio. You must first collect all assets and return them to your account.

After these interactions, you will see in the panel that you have completed 2 out of the 10 interactions needed to be eligible for ranking.

<figure><img src="/files/0Td9ArQ9cvtephkbCwTU" alt=""><figcaption></figcaption></figure>

Once you complete the 10 interactions and achieve a ranking, you will appear in the list of contributors on the index fund page if you are among the top 20. In this case, you will start collecting rewards every time someone uses the index fund to set their asset allocation. A percentage of the fee charged to users will be credited to your account as rewards. In the Index app, you can press “Redeem,” and your earned ETH will be deposited into your wallet.


# AI Assistant

Your smart companion to set your asset allocation.

This feature is currently under development and will be added to the Builder App. It will assist you in measuring your risk profile by asking questions, thereby guiding you in selecting the right portfolio for your needs. This feature is coming soon.

<figure><img src="/files/8a9D1iFes6rbITaeF3qS" alt=""><figcaption></figcaption></figure>

## AI Index Fund Contributors

In addition to our AI assistant designed for builders, we have developed AI-driven strategies that operate autonomously within the WeDeFin platform. These AI-managed portfolios interact with the platform’s architecture from the backend, executing investment decisions without human intervention.

The wallet addresses associated with these AI strategies are treated as contributors, evaluated using the same performance metrics as human-operated builder portfolios. This includes assessments based on profits, volatility, holding time, and asset liquidity. Consequently, both human and AI participants are ranked under identical criteria, fostering a collaborative environment where artificial intelligence and human insight collectively shape the index fund’s asset allocation.

By embracing this synergy between human expertise and AI, WeDeFin aims to create a more dynamic and efficient asset management ecosystem, offering users diversified strategies and perspectives within the decentralized finance landscape.


# Decentralization

Non-custody means you always own and have full control of your crypto assets.

## Infrastructure

We believe that DeFi is transformative because it removes intermediaries between individuals and the financial world, empowering people to have constant access to investment opportunities. At WeDeFin, you’ll need a crypto wallet to interact with the platform, as it holds your credentials, which never leave your computer or phone.

Think of it like having a login and password that you’re responsible for storing securely—no one else can do it for you, offering a greater level of security. Additionally, to rebalance your portfolios in our app, we utilize decentralized exchanges, and to generate yield on your positions, we employ lending protocols.

Our platform aggregates DeFi tools that interact with your wallet and other DeFi products, making it easier for you while keeping it decentralized. We never hold your credentials, nor do the DeFi protocols we interact with.

## Actively Managed Index Fund

In traditional finance, asset managers make investment decisions on behalf of clients, creating a centralized system. At WeDeFin, we democratize this process by allowing anyone to become an asset manager, providing equal opportunities for all to contribute to the index fund.

The curation process that determines influence over the final asset allocation is managed by a smart contract. This contract evaluates factors such as profits, volatility, holding time, and asset liquidity to assign greater weighting to certain asset managers.

Consequently, anyone can become an asset manager, with the smart contract ranking their performance to shape the index fund. Fees charged to index fund users are distributed among the top 20 asset managers.

## DeFi Interactions

With current technology, we could automate everything. However, to maintain decentralization, we do not make any decisions on behalf of the user. Every action requires user approval through wallet confirmations. That said, we have optimized the user experience by minimizing the number of confirmations needed, ensuring a balance between security, control, and ease of use.


# Deployed Addresses

Here you can find the latest deployed smart contract addresses and their function

Wedefin is composed by a set of smart contract making the infrastructure modular and entirely onchain without relying on any backend infrastructure. Thanks to the modular architecture, we can update each module without putting users portfolio at risk.

### WEDXGroup

This contract represents a single point of control where we can read the actual addresses of the other smart contracts, and also change if there is an upgrade.

<table><thead><tr><th>Chain</th><th width="427">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0xB3ee13778a3Ed236507F8ec1f950Ffd2446E7419</code></td><td><a href="https://etherscan.io/address/0xB3ee13778a3Ed236507F8ec1f950Ffd2446E7419">link</a></td></tr><tr><td>Base</td><td><code>0x7868cF31E125c671f11c1B5d68BCfB5973DD3886</code></td><td><a href="https://basescan.org/address/0x7868cf31e125c671f11c1b5d68bcfb5973dd3886">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x55C8e8D745A5284fc51ea5C6911853d981c1227e</code></td><td><a href="https://arbiscan.io/address/0x55c8e8d745a5284fc51ea5c6911853d981c1227e">link</a></td></tr></tbody></table>

### WEDXManager

This contract oversees general model parameters, such as max slippage for investors, and also setting the index asset allocation:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0xab99353E9C94fc763A3eAb424D4Fa729C12AB80b</code></td><td><a href="https://etherscan.io/address/0x3CD1Ea9586D60740c7Ab9e62CA74833090429E39">link</a></td></tr><tr><td>Base</td><td><code>0x95AFFc5f1c755F229F6670815fC271cae6Af1C45</code></td><td><a href="https://basescan.org/address/0x95AFFc5f1c755F229F6670815fC271cae6Af1C45">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x637fF5C928648b50518335d7f9141e9CF7f9da36</code></td><td><a href="https://arbiscan.io/address/0x637fF5C928648b50518335d7f9141e9CF7f9da36">link</a></td></tr></tbody></table>

### WEDXDeployerPro

This contract is in charge of creating new accounts for builders/creators by deploying a new instance contract for each user and owned exclusively by them:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0x2705075c6302723658066537832E058446ca0252</code></td><td><a href="https://etherscan.io/address/0x2705075c6302723658066537832E058446ca0252">link</a></td></tr><tr><td>Base</td><td><code>0x20838a590d4F3a0B2e830b1359A713a8C31ADBc4</code></td><td><a href="https://basescan.org/address/0x20838a590d4F3a0B2e830b1359A713a8C31ADBc4">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x73Ab4635e39cB81Fd2274B7F72e6d8aAF90fcCAB</code></td><td><a href="https://arbiscan.io/address/0x73Ab4635e39cB81Fd2274B7F72e6d8aAF90fcCAB">link</a></td></tr></tbody></table>

### WEDXDeployerIndex

Similarly to the DeployerPro, this one manages the account creation of investors:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0xBe37D75098Ca1E7F61b551b9c89E27Cf484C2088</code></td><td><a href="https://etherscan.io/address/0xBe37D75098Ca1E7F61b551b9c89E27Cf484C2088">link</a></td></tr><tr><td>Base</td><td><code>0x5a09ce51E2c5e5Cc18799619a3e2Fac3F8922d01</code></td><td><a href="https://basescan.org/address/0x5a09ce51E2c5e5Cc18799619a3e2Fac3F8922d01">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x5dB0eEC4a91176bd04dEA18cF28089435A7625E8</code></td><td><a href="https://arbiscan.io/address/0x5dB0eEC4a91176bd04dEA18cF28089435A7625E8">link</a></td></tr></tbody></table>

### WEDXSwapper

This smart contract manages all swaps between tokens in the protocol. Currently, it only supports Uniswap v2/v3 and Sushiswap v2/v3, Camelot on Arbitrum, and Aerodrome on Base, but support for more DEXs is being developed:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0xd882209ea34aE70E103EC34C6d8b322Bbb3Cf474</code></td><td><a href="https://etherscan.io/address/0xd882209ea34aE70E103EC34C6d8b322Bbb3Cf474">link</a></td></tr><tr><td>Base</td><td><code>0xc62C7b84330E11A77DF465FEB9755aFB764451FA</code></td><td><a href="https://basescan.org/address/0xc62C7b84330E11A77DF465FEB9755aFB764451FA">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x66993271e1800A3054Ee898AC9C01b04a5e09338</code></td><td><a href="https://arbiscan.io/address/0x66993271e1800A3054Ee898AC9C01b04a5e09338">link</a></td></tr></tbody></table>

### WEDXLender

This contract integrates Aave v3 as a source of yield for wedefin users. More yield sources are coming soon:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0x1894a338C13A068F0f00Bc576f7ED2a74dE8e8bB</code></td><td><a href="https://etherscan.io/address/0x1894a338C13A068F0f00Bc576f7ED2a74dE8e8bB">link</a></td></tr><tr><td>Base</td><td><code>0x317651702772f552747CB40dB7f50e8cc478e3B4</code></td><td><a href="https://basescan.org/address/0x317651702772f552747CB40dB7f50e8cc478e3B4">link</a></td></tr><tr><td>Arbitrum</td><td><code>0xC25dEf7f1f2d66ac995d52d52FE95e607f597683</code></td><td><a href="https://arbiscan.io/address/0xC25dEf7f1f2d66ac995d52d52FE95e607f597683">link</a></td></tr></tbody></table>

### WEDXTreasury

This is an extended ERC-20 token contract (symbol: WEDT) that keeps the accounting of rewards for builders/creators and also protocol's profit:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0x9CD8D94f69Ed3cA784231E162905745c436d22Bc</code></td><td><a href="https://etherscan.io/address/0x9CD8D94f69Ed3cA784231E162905745c436d22Bc">link</a></td></tr><tr><td>Base</td><td><code>0x9b2AE23A9693475f0588E09e814d6977821c1492</code></td><td><a href="https://basescan.org/address/0x9b2ae23a9693475f0588e09e814d6977821c1492">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x5F2D9c9619807182a9C3353FF67fd695b6d1b892</code></td><td><a href="https://arbiscan.io/address/0x5f2d9c9619807182a9c3353ff67fd695b6d1b892">link</a></td></tr></tbody></table>

### WEDXRanker

This smart contract manage the scoring mathematical formula and the whitelisted tokens for the community indexes:

<table><thead><tr><th>Chain</th><th width="520">Address</th><th>Link</th></tr></thead><tbody><tr><td>Ethereum</td><td><code>0x2e75D3bB795F6b36fC0eD5921043D8eBAc88c432</code></td><td><a href="https://etherscan.io/address/0x2e75D3bB795F6b36fC0eD5921043D8eBAc88c432">link</a></td></tr><tr><td>Base</td><td><code>0x0E36533C6ce1252F790d95e3EcA95Aa19518CaC9</code></td><td><a href="https://basescan.org/address/0x0E36533C6ce1252F790d95e3EcA95Aa19518CaC9">link</a></td></tr><tr><td>Arbitrum</td><td><code>0x6C4fCF1Ffc7A66ffb59F900f82306595bb3Bf892</code></td><td><a href="https://arbiscan.io/address/0x6C4fCF1Ffc7A66ffb59F900f82306595bb3Bf892">link</a></td></tr></tbody></table>


# Audits

Audits that have been performed on the smart contracts of Wedefin

Wedefin currently has one audit in its beta version. However, as we evolve and mature the infrastructure we will be performing and adding more audits here.

## Zealynx Security

Audit 2024: Security Assessment [here](https://github.com/ZealynxSecurity/Zealynx/blob/main/Zealynx-portfolio/audit-portfolio/Wedefin-Audit-Report.pdf)


